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 / ticket-stub / style.css

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

298 lines 9.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-ticket-stub-wrap {
2 box-sizing: border-box;
3 font-family: inherit;
4 max-width: 720px;
5 }
6
7 /* ── Ticket card ─────────────────────────────────────────────────────────── */
8 .bkbg-ticket {
9 display: flex;
10 flex-direction: row;
11 align-items: stretch;
12 border-radius: 14px;
13 overflow: hidden;
14 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
15 position: relative;
16 }
17
18 /* ── Main body ───────────────────────────────────────────────────────────── */
19 .bkbg-ts-main {
20 flex: 1;
21 padding: 28px 28px 24px;
22 display: flex;
23 flex-direction: column;
24 gap: 18px;
25 min-width: 0;
26 }
27
28 .bkbg-ts-header {
29 display: flex;
30 align-items: center;
31 gap: 16px;
32 }
33
34 .bkbg-ts-logo {
35 width: 54px;
36 height: 54px;
37 border-radius: 10px;
38 display: flex;
39 align-items: center;
40 justify-content: center;
41 font-size: 28px;
42 flex-shrink: 0;
43 }
44 .bkbg-ts-logo svg { width: 1em; height: 1em; fill: currentColor; }
45 .bkbg-ts-logo .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
46 .bkbg-ts-logo .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
47
48 .bkbg-ts-event {
49 min-width: 0;
50 }
51
52 .bkbg-ts-event-name {
53 margin: 0 0 4px;
54 line-height: 1.2;
55 color: inherit;
56 white-space: normal;
57 font-family: var(--bktks-tt-font-family, inherit);
58 font-size: var(--bktks-tt-font-size-d, 22px);
59 font-weight: var(--bktks-tt-font-weight, 800);
60 font-style: var(--bktks-tt-font-style, normal);
61 line-height: var(--bktks-tt-line-height-d, 1.2);
62 text-decoration: var(--bktks-tt-text-decoration, none);
63 text-transform: var(--bktks-tt-text-transform, none);
64 letter-spacing: var(--bktks-tt-letter-spacing-d, normal);
65 word-spacing: var(--bktks-tt-word-spacing-d, normal);
66 }
67
68 .bkbg-ticket-stub-wrap h2.bkbg-ts-event-name {
69 font-family: var(--bktks-tt-font-family, inherit);
70 font-size: var(--bktks-tt-font-size-d, 22px);
71 font-weight: var(--bktks-tt-font-weight, 800);
72 font-style: var(--bktks-tt-font-style, normal);
73 line-height: var(--bktks-tt-line-height-d, 1.2);
74 text-decoration: var(--bktks-tt-text-decoration, none);
75 text-transform: var(--bktks-tt-text-transform, none);
76 letter-spacing: var(--bktks-tt-letter-spacing-d, normal);
77 word-spacing: var(--bktks-tt-word-spacing-d, normal);
78 margin: 0 0 4px;
79 }
80
81 .bkbg-ts-tagline {
82 margin: 0;
83 font-family: var(--bktks-bt-font-family, inherit);
84 font-size: var(--bktks-bt-font-size-d, 13px);
85 font-weight: var(--bktks-bt-font-weight, 600);
86 font-style: var(--bktks-bt-font-style, normal);
87 line-height: var(--bktks-bt-line-height-d, normal);
88 text-decoration: var(--bktks-bt-text-decoration, none);
89 text-transform: var(--bktks-bt-text-transform, uppercase);
90 letter-spacing: var(--bktks-bt-letter-spacing-d, 0.08em);
91 word-spacing: var(--bktks-bt-word-spacing-d, normal);
92 opacity: 0.9;
93 }
94
95 @media (max-width: 1024px) {
96 .bkbg-ticket-stub-wrap .bkbg-ts-event-name {
97 font-size: var(--bktks-tt-font-size-t, var(--bktks-tt-font-size-d, 22px));
98 line-height: var(--bktks-tt-line-height-t, var(--bktks-tt-line-height-d, 1.2));
99 letter-spacing: var(--bktks-tt-letter-spacing-t, var(--bktks-tt-letter-spacing-d, normal));
100 word-spacing: var(--bktks-tt-word-spacing-t, var(--bktks-tt-word-spacing-d, normal));
101 }
102 .bkbg-ticket-stub-wrap .bkbg-ts-tagline {
103 font-size: var(--bktks-bt-font-size-t, var(--bktks-bt-font-size-d, 13px));
104 line-height: var(--bktks-bt-line-height-t, var(--bktks-bt-line-height-d, normal));
105 letter-spacing: var(--bktks-bt-letter-spacing-t, var(--bktks-bt-letter-spacing-d, 0.08em));
106 word-spacing: var(--bktks-bt-word-spacing-t, var(--bktks-bt-word-spacing-d, normal));
107 }
108 }
109
110 @media (max-width: 767px) {
111 .bkbg-ticket-stub-wrap .bkbg-ts-event-name {
112 font-size: var(--bktks-tt-font-size-m, var(--bktks-tt-font-size-t, var(--bktks-tt-font-size-d, 22px)));
113 line-height: var(--bktks-tt-line-height-m, var(--bktks-tt-line-height-t, var(--bktks-tt-line-height-d, 1.2)));
114 letter-spacing: var(--bktks-tt-letter-spacing-m, var(--bktks-tt-letter-spacing-t, var(--bktks-tt-letter-spacing-d, normal)));
115 word-spacing: var(--bktks-tt-word-spacing-m, var(--bktks-tt-word-spacing-t, var(--bktks-tt-word-spacing-d, normal)));
116 }
117 .bkbg-ticket-stub-wrap .bkbg-ts-tagline {
118 font-size: var(--bktks-bt-font-size-m, var(--bktks-bt-font-size-t, var(--bktks-bt-font-size-d, 13px)));
119 line-height: var(--bktks-bt-line-height-m, var(--bktks-bt-line-height-t, var(--bktks-bt-line-height-d, normal)));
120 letter-spacing: var(--bktks-bt-letter-spacing-m, var(--bktks-bt-letter-spacing-t, var(--bktks-bt-letter-spacing-d, 0.08em)));
121 word-spacing: var(--bktks-bt-word-spacing-m, var(--bktks-bt-word-spacing-t, var(--bktks-bt-word-spacing-d, normal)));
122 }
123 }
124
125 .bkbg-ts-stripe {
126 height: 3px;
127 border-radius: 2px;
128 opacity: 0.6;
129 }
130
131 .bkbg-ts-details {
132 display: grid;
133 grid-template-columns: 1fr 1fr;
134 gap: 12px 16px;
135 }
136
137 .bkbg-ts-detail {
138 display: flex;
139 flex-direction: column;
140 gap: 2px;
141 }
142
143 .bkbg-ts-detail-label {
144 font-size: 0.65rem;
145 font-weight: 700;
146 letter-spacing: 0.12em;
147 text-transform: uppercase;
148 opacity: 0.5;
149 }
150
151 .bkbg-ts-detail-value {
152 font-size: 0.9rem;
153 font-weight: 600;
154 line-height: 1.3;
155 }
156
157 /* ── Perforated divider ──────────────────────────────────────────────────── */
158 .bkbg-ts-perf {
159 width: 32px;
160 flex-shrink: 0;
161 position: relative;
162 display: flex;
163 align-items: center;
164 justify-content: center;
165 }
166
167 /* Dashed line */
168 .bkbg-ts-perf::after {
169 content: '';
170 position: absolute;
171 top: 20px;
172 bottom: 20px;
173 left: 50%;
174 transform: translateX(-50%);
175 border-left: 2px dashed currentColor;
176 opacity: 0.25;
177 }
178
179 /* Notch cutouts (circles at top and bottom edges) */
180 .bkbg-ts-notch {
181 position: absolute;
182 width: 28px;
183 height: 28px;
184 border-radius: 50%;
185 left: 50%;
186 transform: translateX(-50%);
187 z-index: 2;
188 /* Will be colored to match outer bg via JS inline style */
189 }
190
191 .bkbg-ts-notch-top { top: -14px; }
192 .bkbg-ts-notch-bottom { bottom: -14px; }
193
194 /* ── Stub ────────────────────────────────────────────────────────────────── */
195 .bkbg-ts-stub {
196 width: 120px;
197 flex-shrink: 0;
198 padding: 24px 14px;
199 display: flex;
200 flex-direction: column;
201 align-items: center;
202 gap: 14px;
203 }
204
205 .bkbg-ts-stub-info {
206 display: flex;
207 flex-direction: column;
208 gap: 10px;
209 width: 100%;
210 }
211
212 .bkbg-ts-stub-row {
213 display: flex;
214 flex-direction: column;
215 align-items: center;
216 gap: 2px;
217 }
218
219 .bkbg-ts-stub-label {
220 font-size: 0.6rem;
221 font-weight: 700;
222 letter-spacing: 0.14em;
223 text-transform: uppercase;
224 opacity: 0.5;
225 }
226
227 .bkbg-ts-stub-value {
228 font-size: 1.5rem;
229 font-weight: 900;
230 line-height: 1;
231 }
232
233 /* ── Barcode ─────────────────────────────────────────────────────────────── */
234 .bkbg-ts-barcode {
235 display: flex;
236 flex-direction: row;
237 align-items: flex-end;
238 gap: 1.5px;
239 height: 44px;
240 padding: 0 4px;
241 }
242
243 .bkbg-ts-bar {
244 height: 100%;
245 flex-shrink: 0;
246 border-radius: 1px;
247 opacity: 0.8;
248 }
249
250 .bkbg-ts-num {
251 font-size: 0.65rem;
252 font-weight: 700;
253 letter-spacing: 0.08em;
254 text-align: center;
255 text-transform: uppercase;
256 opacity: 0.8;
257 }
258
259 /* ── Responsive ──────────────────────────────────────────────────────────── */
260 @media ( max-width: 500px ) {
261 .bkbg-ticket {
262 flex-direction: column;
263 }
264
265 .bkbg-ts-perf {
266 width: 100%;
267 height: 32px;
268 }
269
270 .bkbg-ts-perf::after {
271 top: 50%;
272 bottom: auto;
273 left: 20px;
274 right: 20px;
275 transform: translateY(-50%);
276 border-left: none;
277 border-top: 2px dashed currentColor;
278 width: calc(100% - 40px);
279 height: 0;
280 }
281
282 .bkbg-ts-notch-top { top: 50%; left: -14px; transform: translateY(-50%); }
283 .bkbg-ts-notch-bottom { bottom: auto; top: 50%; right: -14px; left: auto; transform: translateY(-50%); }
284
285 .bkbg-ts-stub {
286 width: 100%;
287 flex-direction: row;
288 justify-content: space-around;
289 padding: 18px 20px;
290 }
291
292 .bkbg-ts-stub-info {
293 flex-direction: row;
294 gap: 20px;
295 width: auto;
296 }
297 }
298