| 1 |
/* ===================================================== |
| 2 |
Comparison Matrix — bkbg-cm-* |
| 3 |
===================================================== */ |
| 4 |
|
| 5 |
.bkbg-cm-app { |
| 6 |
box-sizing: border-box; |
| 7 |
overflow-x: auto; |
| 8 |
-webkit-overflow-scrolling: touch; |
| 9 |
} |
| 10 |
|
| 11 |
.bkbg-cm-table { |
| 12 |
width: 100%; |
| 13 |
border-collapse: collapse; |
| 14 |
table-layout: auto; |
| 15 |
} |
| 16 |
|
| 17 |
/* ── Header row ── */ |
| 18 |
.bkbg-cm-th { |
| 19 |
padding: 16px; |
| 20 |
text-align: center; |
| 21 |
font-family: var(--bkcm-header-font-family, inherit); |
| 22 |
font-size: var(--bkcm-header-font-size-d, 14px); |
| 23 |
font-weight: var(--bkcm-header-font-weight, 700); |
| 24 |
line-height: var(--bkcm-header-line-height-d, 1.5); |
| 25 |
text-transform: var(--bkcm-header-text-transform, none); |
| 26 |
font-style: var(--bkcm-header-font-style, normal); |
| 27 |
text-decoration: var(--bkcm-header-text-decoration, none); |
| 28 |
letter-spacing: var(--bkcm-header-letter-spacing-d, normal); |
| 29 |
word-spacing: var(--bkcm-header-word-spacing-d, normal); |
| 30 |
border: 1px solid var(--cm-border, #e2e8f0); |
| 31 |
vertical-align: bottom; |
| 32 |
white-space: nowrap; |
| 33 |
} |
| 34 |
|
| 35 |
.bkbg-cm-th-feature { |
| 36 |
text-align: left; |
| 37 |
background: var(--cm-header-bg, #f8fafc); |
| 38 |
} |
| 39 |
|
| 40 |
.bkbg-cm-th.bkbg-cm-highlight { |
| 41 |
background: var(--cm-hl-bg, #6366f1); |
| 42 |
color: var(--cm-hl-clr, #ffffff); |
| 43 |
} |
| 44 |
|
| 45 |
.bkbg-cm-th:not(.bkbg-cm-highlight) { |
| 46 |
background: var(--cm-header-bg, #f8fafc); |
| 47 |
color: var(--cm-header-clr, #0f172a); |
| 48 |
} |
| 49 |
|
| 50 |
/* ── Badge ── */ |
| 51 |
.bkbg-cm-badge { |
| 52 |
display: inline-block; |
| 53 |
font-size: 10px; |
| 54 |
font-weight: 700; |
| 55 |
padding: 2px 8px; |
| 56 |
border-radius: 100px; |
| 57 |
margin-bottom: 6px; |
| 58 |
} |
| 59 |
|
| 60 |
.bkbg-cm-plan-name { |
| 61 |
font-size: inherit; |
| 62 |
font-weight: 700; |
| 63 |
display: block; |
| 64 |
} |
| 65 |
|
| 66 |
.bkbg-cm-plan-sub { |
| 67 |
font-size: 11px; |
| 68 |
font-weight: 400; |
| 69 |
opacity: .8; |
| 70 |
display: block; |
| 71 |
margin-top: 2px; |
| 72 |
} |
| 73 |
|
| 74 |
/* ── Sticky header ── */ |
| 75 |
.bkbg-cm-sticky thead tr { |
| 76 |
position: sticky; |
| 77 |
top: 0; |
| 78 |
z-index: 4; |
| 79 |
box-shadow: 0 2px 8px rgba(0,0,0,.06); |
| 80 |
} |
| 81 |
|
| 82 |
/* ── Body rows ── */ |
| 83 |
.bkbg-cm-td { |
| 84 |
padding: 14px 16px; |
| 85 |
border: 1px solid var(--cm-border, #e2e8f0); |
| 86 |
font-family: var(--bkcm-body-font-family, inherit); |
| 87 |
font-size: var(--bkcm-body-font-size-d, inherit); |
| 88 |
font-weight: var(--bkcm-body-font-weight, 400); |
| 89 |
line-height: var(--bkcm-body-line-height-d, 1.5); |
| 90 |
text-transform: var(--bkcm-body-text-transform, none); |
| 91 |
font-style: var(--bkcm-body-font-style, normal); |
| 92 |
text-decoration: var(--bkcm-body-text-decoration, none); |
| 93 |
letter-spacing: var(--bkcm-body-letter-spacing-d, normal); |
| 94 |
word-spacing: var(--bkcm-body-word-spacing-d, normal); |
| 95 |
text-align: center; |
| 96 |
vertical-align: middle; |
| 97 |
} |
| 98 |
|
| 99 |
.bkbg-cm-td-feature { |
| 100 |
text-align: left; |
| 101 |
font-weight: 600; |
| 102 |
color: var(--cm-header-clr, #0f172a); |
| 103 |
} |
| 104 |
|
| 105 |
.bkbg-cm-td.bkbg-cm-hl-col { |
| 106 |
background: color-mix(in srgb, var(--cm-hl-bg, #6366f1) 10%, transparent); |
| 107 |
} |
| 108 |
|
| 109 |
/* ── Group header row ── */ |
| 110 |
.bkbg-cm-group-row td { |
| 111 |
background: var(--cm-header-bg, #f8fafc) !important; |
| 112 |
font-weight: 700; |
| 113 |
font-size: 11px; |
| 114 |
text-transform: uppercase; |
| 115 |
letter-spacing: .05em; |
| 116 |
color: var(--cm-header-clr, #0f172a); |
| 117 |
padding: 8px 16px; |
| 118 |
border: 1px solid var(--cm-border, #e2e8f0); |
| 119 |
} |
| 120 |
|
| 121 |
/* ── Value icons ── */ |
| 122 |
.bkbg-cm-check { |
| 123 |
font-weight: 700; |
| 124 |
font-size: 18px; |
| 125 |
color: var(--cm-check, #10b981); |
| 126 |
} |
| 127 |
.bkbg-cm-cross { |
| 128 |
font-weight: 700; |
| 129 |
font-size: 18px; |
| 130 |
color: var(--cm-cross, #f43f5e); |
| 131 |
} |
| 132 |
.bkbg-cm-check svg, .bkbg-cm-cross svg { width: 1em; height: 1em; fill: currentColor; } |
| 133 |
.bkbg-cm-check .dashicons, .bkbg-cm-cross .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; } |
| 134 |
.bkbg-cm-check .bkbg-icon-img, .bkbg-cm-cross .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; } |
| 135 |
.bkbg-cm-text-val { |
| 136 |
font-weight: 600; |
| 137 |
} |
| 138 |
|
| 139 |
/* ── Responsive ── */ |
| 140 |
@media (max-width: 1024px) { |
| 141 |
.bkbg-cm-th { |
| 142 |
font-size: var(--bkcm-header-font-size-t, var(--bkcm-header-font-size-d, 14px)); |
| 143 |
line-height: var(--bkcm-header-line-height-t, var(--bkcm-header-line-height-d, 1.5)); |
| 144 |
letter-spacing: var(--bkcm-header-letter-spacing-t, var(--bkcm-header-letter-spacing-d, normal)); |
| 145 |
word-spacing: var(--bkcm-header-word-spacing-t, var(--bkcm-header-word-spacing-d, normal)); |
| 146 |
} |
| 147 |
.bkbg-cm-td { |
| 148 |
font-size: var(--bkcm-body-font-size-t, var(--bkcm-body-font-size-d, inherit)); |
| 149 |
line-height: var(--bkcm-body-line-height-t, var(--bkcm-body-line-height-d, 1.5)); |
| 150 |
letter-spacing: var(--bkcm-body-letter-spacing-t, var(--bkcm-body-letter-spacing-d, normal)); |
| 151 |
word-spacing: var(--bkcm-body-word-spacing-t, var(--bkcm-body-word-spacing-d, normal)); |
| 152 |
} |
| 153 |
} |
| 154 |
|
| 155 |
@media (max-width: 767px) { |
| 156 |
.bkbg-cm-th { |
| 157 |
font-size: var(--bkcm-header-font-size-m, var(--bkcm-header-font-size-t, var(--bkcm-header-font-size-d, 14px))); |
| 158 |
line-height: var(--bkcm-header-line-height-m, var(--bkcm-header-line-height-t, var(--bkcm-header-line-height-d, 1.5))); |
| 159 |
letter-spacing: var(--bkcm-header-letter-spacing-m, var(--bkcm-header-letter-spacing-t, var(--bkcm-header-letter-spacing-d, normal))); |
| 160 |
word-spacing: var(--bkcm-header-word-spacing-m, var(--bkcm-header-word-spacing-t, var(--bkcm-header-word-spacing-d, normal))); |
| 161 |
} |
| 162 |
.bkbg-cm-td { |
| 163 |
font-size: var(--bkcm-body-font-size-m, var(--bkcm-body-font-size-t, var(--bkcm-body-font-size-d, inherit))); |
| 164 |
line-height: var(--bkcm-body-line-height-m, var(--bkcm-body-line-height-t, var(--bkcm-body-line-height-d, 1.5))); |
| 165 |
letter-spacing: var(--bkcm-body-letter-spacing-m, var(--bkcm-body-letter-spacing-t, var(--bkcm-body-letter-spacing-d, normal))); |
| 166 |
word-spacing: var(--bkcm-body-word-spacing-m, var(--bkcm-body-word-spacing-t, var(--bkcm-body-word-spacing-d, normal))); |
| 167 |
} |
| 168 |
} |
| 169 |
|
| 170 |
@media (max-width: 640px) { |
| 171 |
.bkbg-cm-th, |
| 172 |
.bkbg-cm-td { |
| 173 |
padding: 10px 8px; |
| 174 |
font-size: 12px; |
| 175 |
} |
| 176 |
} |
| 177 |
|