PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / decision-matrix / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/decision-matrix/style.css

171 lines 6.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Decision Matrix Block */
2 .bkbg-dm-block {
3 box-sizing: border-box;
4 font-family: inherit;
5 }
6
7 .bkbg-dm-header {
8 margin-bottom: 20px;
9 }
10
11 .bkbg-dm-header .bkbg-dm-title {
12 font-family: var(--bkbg-dm-ttl-font-family, inherit);
13 font-weight: var(--bkbg-dm-ttl-font-weight, 700);
14 font-size: var(--bkbg-dm-ttl-font-size-d, var(--bkbg-dm-ttl-fs, 24px));
15 line-height: var(--bkbg-dm-ttl-line-height-d, 1.3);
16 letter-spacing: var(--bkbg-dm-ttl-letter-spacing-d, normal);
17 word-spacing: var(--bkbg-dm-ttl-word-spacing-d, normal);
18 text-transform: var(--bkbg-dm-ttl-text-transform, none);
19 font-style: var(--bkbg-dm-ttl-font-style, normal);
20 text-decoration: var(--bkbg-dm-ttl-text-decoration, none);
21 margin: 0 0 6px;
22 }
23
24 .bkbg-dm-subtitle {
25 font-family: var(--bkbg-dm-sub-font-family, inherit);
26 font-weight: var(--bkbg-dm-sub-font-weight, normal);
27 font-size: var(--bkbg-dm-sub-font-size-d, var(--bkbg-dm-sub-fs, 14px));
28 line-height: var(--bkbg-dm-sub-line-height-d, 1.5);
29 letter-spacing: var(--bkbg-dm-sub-letter-spacing-d, normal);
30 word-spacing: var(--bkbg-dm-sub-word-spacing-d, normal);
31 text-transform: var(--bkbg-dm-sub-text-transform, none);
32 font-style: var(--bkbg-dm-sub-font-style, normal);
33 text-decoration: var(--bkbg-dm-sub-text-decoration, none);
34 margin: 0;
35 }
36
37 .bkbg-dm-table {
38 font-family: var(--bkbg-dm-cel-font-family, inherit);
39 font-size: var(--bkbg-dm-cel-font-size-d, var(--bkbg-dm-cel-fs, 14px));
40 font-weight: var(--bkbg-dm-cel-font-weight, normal);
41 letter-spacing: var(--bkbg-dm-cel-letter-spacing-d, normal);
42 word-spacing: var(--bkbg-dm-cel-word-spacing-d, normal);
43 text-transform: var(--bkbg-dm-cel-text-transform, none);
44 font-style: var(--bkbg-dm-cel-font-style, normal);
45 text-decoration: var(--bkbg-dm-cel-text-decoration, none);
46 }
47
48 /* Winner banner */
49 .bkbg-dm-winner-banner {
50 display: flex;
51 align-items: center;
52 gap: 10px;
53 padding: 12px 18px;
54 margin-bottom: 16px;
55 }
56
57 /* Table container */
58 .bkbg-dm-table-wrap {
59 overflow-x: auto;
60 -webkit-overflow-scrolling: touch;
61 }
62
63 .bkbg-dm-table {
64 width: 100%;
65 border-collapse: collapse;
66 }
67
68 .bkbg-dm-table th,
69 .bkbg-dm-table td {
70 padding: 10px 16px;
71 border: 1px solid var(--bkbg-dm-border, #e2e8f0);
72 vertical-align: middle;
73 line-height: 1.4;
74 }
75
76 .bkbg-dm-table th {
77 font-weight: 700;
78 }
79
80 .bkbg-dm-table tbody tr:hover td {
81 filter: brightness(.97);
82 }
83
84 /* Winner column */
85 .bkbg-dm-table th.is-winner,
86 .bkbg-dm-table td.is-winner {
87 position: relative;
88 }
89
90 /* Total row */
91 .bkbg-dm-total-row td {
92 font-size: 16px;
93 font-weight: 800;
94 padding: 12px 16px;
95 }
96
97 /* Score cell content */
98 .bkbg-dm-score {
99 font-weight: 600;
100 }
101
102 .bkbg-dm-weighted {
103 font-size: 11px;
104 margin-left: 4px;
105 opacity: .8;
106 }
107
108 /* Progress bar inside cell */
109 .bkbg-dm-bar-wrap {
110 height: 4px;
111 border-radius: 2px;
112 background: rgba(0,0,0,.08);
113 margin-top: 5px;
114 overflow: hidden;
115 }
116
117 .bkbg-dm-bar-fill {
118 height: 100%;
119 border-radius: 2px;
120 transition: width .5s ease;
121 }
122
123 @media (max-width: 1024px) {
124 .bkbg-dm-header .bkbg-dm-title {
125 font-size: var(--bkbg-dm-ttl-font-size-t, var(--bkbg-dm-ttl-font-size-d, var(--bkbg-dm-ttl-fs, 24px)));
126 line-height: var(--bkbg-dm-ttl-line-height-t, var(--bkbg-dm-ttl-line-height-d, 1.3));
127 letter-spacing: var(--bkbg-dm-ttl-letter-spacing-t, var(--bkbg-dm-ttl-letter-spacing-d, normal));
128 word-spacing: var(--bkbg-dm-ttl-word-spacing-t, var(--bkbg-dm-ttl-word-spacing-d, normal));
129 }
130 .bkbg-dm-subtitle {
131 font-size: var(--bkbg-dm-sub-font-size-t, var(--bkbg-dm-sub-font-size-d, var(--bkbg-dm-sub-fs, 14px)));
132 line-height: var(--bkbg-dm-sub-line-height-t, var(--bkbg-dm-sub-line-height-d, 1.5));
133 letter-spacing: var(--bkbg-dm-sub-letter-spacing-t, var(--bkbg-dm-sub-letter-spacing-d, normal));
134 word-spacing: var(--bkbg-dm-sub-word-spacing-t, var(--bkbg-dm-sub-word-spacing-d, normal));
135 }
136 .bkbg-dm-table {
137 font-size: var(--bkbg-dm-cel-font-size-t, var(--bkbg-dm-cel-font-size-d, var(--bkbg-dm-cel-fs, 14px)));
138 letter-spacing: var(--bkbg-dm-cel-letter-spacing-t, var(--bkbg-dm-cel-letter-spacing-d, normal));
139 word-spacing: var(--bkbg-dm-cel-word-spacing-t, var(--bkbg-dm-cel-word-spacing-d, normal));
140 }
141 }
142
143 @media (max-width: 767px) {
144 .bkbg-dm-header .bkbg-dm-title {
145 font-size: var(--bkbg-dm-ttl-font-size-m, var(--bkbg-dm-ttl-font-size-t, var(--bkbg-dm-ttl-font-size-d, var(--bkbg-dm-ttl-fs, 24px))));
146 line-height: var(--bkbg-dm-ttl-line-height-m, var(--bkbg-dm-ttl-line-height-t, var(--bkbg-dm-ttl-line-height-d, 1.3)));
147 letter-spacing: var(--bkbg-dm-ttl-letter-spacing-m, var(--bkbg-dm-ttl-letter-spacing-t, var(--bkbg-dm-ttl-letter-spacing-d, normal)));
148 word-spacing: var(--bkbg-dm-ttl-word-spacing-m, var(--bkbg-dm-ttl-word-spacing-t, var(--bkbg-dm-ttl-word-spacing-d, normal)));
149 }
150 .bkbg-dm-subtitle {
151 font-size: var(--bkbg-dm-sub-font-size-m, var(--bkbg-dm-sub-font-size-t, var(--bkbg-dm-sub-font-size-d, var(--bkbg-dm-sub-fs, 14px))));
152 line-height: var(--bkbg-dm-sub-line-height-m, var(--bkbg-dm-sub-line-height-t, var(--bkbg-dm-sub-line-height-d, 1.5)));
153 letter-spacing: var(--bkbg-dm-sub-letter-spacing-m, var(--bkbg-dm-sub-letter-spacing-t, var(--bkbg-dm-sub-letter-spacing-d, normal)));
154 word-spacing: var(--bkbg-dm-sub-word-spacing-m, var(--bkbg-dm-sub-word-spacing-t, var(--bkbg-dm-sub-word-spacing-d, normal)));
155 }
156 .bkbg-dm-table {
157 font-size: var(--bkbg-dm-cel-font-size-m, var(--bkbg-dm-cel-font-size-t, var(--bkbg-dm-cel-font-size-d, var(--bkbg-dm-cel-fs, 14px))));
158 letter-spacing: var(--bkbg-dm-cel-letter-spacing-m, var(--bkbg-dm-cel-letter-spacing-t, var(--bkbg-dm-cel-letter-spacing-d, normal)));
159 word-spacing: var(--bkbg-dm-cel-word-spacing-m, var(--bkbg-dm-cel-word-spacing-t, var(--bkbg-dm-cel-word-spacing-d, normal)));
160 }
161 }
162
163 @media (max-width: 640px) {
164 .bkbg-dm-table th:first-child,
165 .bkbg-dm-table td:first-child {
166 position: sticky;
167 left: 0;
168 z-index: 1;
169 }
170 }
171