PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.6
Booking for Appointments and Events Calendar – Amelia v2.4.6
2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / public / css / frontend / wpa-events-single.css
ameliabooking / public / css / frontend Last commit date
elementor.css 7 months ago wpa-events-single.css 3 weeks ago
wpa-events-single.css
534 lines
1 /**
2 * WPA event single — layout tokens (Figma ref in repo history). Roboto from template assets.
3 */
4
5 .amelia-wpa {
6 /* Palette */
7 --wpa-shade-1000: #0e1920;
8 --wpa-shade-900: #1a2c37;
9 --wpa-shade-700: #4d5b63;
10 --wpa-shade-600: #667279;
11 --wpa-shade-500: #808a90;
12 --wpa-shade-400: #33434c;
13 --wpa-shade-250: #d1d5d7;
14 --wpa-white: #fff;
15 --wpa-bg-soft: #fbfbfb;
16 --wpa-page-bg: #fff;
17 --wpa-blue-900: #265cf2;
18 --wpa-blue-1000: #1246d6;
19 --wpa-blue-600: #a8befa;
20 --wpa-blue-500: #d4defc;
21 --wpa-blue-400: #eaeffe;
22 --wpa-open: #1cb854;
23 --wpa-full: #4561db;
24 --wpa-canceled: #fe5b5b;
25 --wpa-radius-lg: 8px;
26 --wpa-radius-sm: 5px;
27 --wpa-radius-dot: 6px;
28 --wpa-shadow-btn: 0 1px 3px rgba(4, 8, 11, 0.08);
29 --wpa-shadow-footer: 0 2px 7px rgba(11, 7, 58, 0.14), 0 17px 35px rgba(15, 37, 74, 0.1);
30 --wpa-max: 1048px;
31
32 font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
33 font-weight: 400;
34 color: var(--wpa-shade-400);
35 background: var(--wpa-page-bg);
36 line-height: 1.5;
37 -webkit-font-smoothing: antialiased;
38 }
39
40 .amelia-wpa *,
41 .amelia-wpa *::before,
42 .amelia-wpa *::after {
43 box-sizing: border-box;
44 }
45
46 .wpa-events__shell {
47 min-height: 100vh;
48 padding-top: 24px;
49 }
50
51 .wpa-events__inner {
52 max-width: var(--wpa-max);
53 margin: 0 auto;
54 padding: 0 20px 48px;
55 }
56
57 .wpa-events__columns {
58 display: flex;
59 flex-wrap: nowrap;
60 gap: 24px;
61 align-items: flex-start;
62 justify-content: center;
63 }
64
65 .wpa-events__footer-mount {
66 position: sticky;
67 padding-top: 32px;
68 bottom: 0;
69 }
70
71 .wpa-events__col--event {
72 flex: 1 1 0;
73 min-width: 0;
74 max-width: 600px;
75 display: flex;
76 flex-direction: column;
77 gap: 16px;
78 }
79
80 .wpa-events__col--tickets {
81 flex: 0 1 400px;
82 align-self: flex-start;
83 position: sticky;
84 top: 12px;
85 }
86
87 /* Carousel */
88 .wpa-events__carousel {
89 width: 100%;
90 }
91
92 .wpa-events__carousel-viewport {
93 position: relative;
94 width: 100%;
95 height: 300px;
96 border-radius: var(--wpa-radius-lg);
97 overflow: hidden;
98 background: var(--wpa-bg-soft);
99 }
100
101 .wpa-events__carousel-track {
102 display: flex;
103 height: 100%;
104 width: calc(var(--wpa-slides, 1) * 100%);
105 transition: transform 0.28s ease;
106 }
107
108 .wpa-events__carousel-slide {
109 flex: 0 0 calc(100% / var(--wpa-slides, 1));
110 height: 100%;
111 position: relative;
112 }
113
114 .wpa-events__carousel-slide img,
115 .wpa-events__host-avatar img {
116 width: 100%;
117 height: 100%;
118 object-fit: cover;
119 display: block;
120 }
121
122 .wpa-events__carousel-nav {
123 position: absolute;
124 top: 50%;
125 transform: translateY(-50%);
126 width: 28px;
127 height: 28px;
128 padding: 0;
129 border: 1px solid var(--wpa-shade-250);
130 border-radius: var(--wpa-radius-dot);
131 background: var(--wpa-white);
132 box-shadow: var(--wpa-shadow-btn);
133 cursor: pointer;
134 display: flex;
135 align-items: center;
136 justify-content: center;
137 font-size: 16px;
138 line-height: 1;
139 color: var(--wpa-shade-900);
140 }
141
142 .wpa-events__carousel-nav:hover {
143 background: var(--wpa-bg-soft);
144 }
145
146 .wpa-events__carousel-nav--prev {
147 left: 12px;
148 }
149
150 .wpa-events__carousel-nav--next {
151 right: 12px;
152 }
153
154 .wpa-events__carousel-dots {
155 position: absolute;
156 left: 50%;
157 bottom: 12px;
158 transform: translateX(-50%);
159 display: flex;
160 gap: 6px;
161 align-items: center;
162 }
163
164 .wpa-events__carousel-dot {
165 width: 8px;
166 height: 8px;
167 padding: 0;
168 border: 0;
169 border-radius: 999px;
170 background: rgba(255, 255, 255, 0.55);
171 cursor: pointer;
172 }
173
174 .wpa-events__carousel-dot.is-active {
175 width: 18px;
176 background: var(--wpa-white);
177 }
178
179 /* Meta */
180 .wpa-events__meta-row {
181 display: flex;
182 flex-wrap: wrap;
183 gap: 16px;
184 align-items: flex-start;
185 width: 100%;
186 }
187
188 .wpa-events__begin {
189 min-width: 64px;
190 flex-shrink: 0;
191 white-space: nowrap;
192 font-size: 12px;
193 line-height: 18px;
194 }
195
196 .wpa-events__begin-label {
197 color: var(--wpa-shade-500);
198 }
199
200 .wpa-events__begin-date {
201 color: var(--wpa-shade-1000);
202 }
203
204 .wpa-events__begin-day {
205 font-size: 20px;
206 line-height: 24px;
207 font-weight: 500;
208 }
209
210 .wpa-events__begin-time {
211 color: var(--wpa-shade-400);
212 }
213
214 .wpa-events__meta-main {
215 flex: 1 1 200px;
216 min-width: 0;
217 }
218
219 .wpa-events__event-title {
220 margin: 0 0 2px;
221 font-size: 18px;
222 line-height: 28px;
223 font-weight: 500;
224 color: var(--wpa-shade-900);
225 }
226
227 .wpa-events__event-location,
228 .wpa-events__desc {
229 font-size: 15px;
230 line-height: 24px;
231 color: var(--wpa-shade-400);
232 }
233
234 .wpa-events__event-location {
235 margin: 0 0 4px;
236 }
237
238 .wpa-events__event-status-row {
239 display: flex;
240 flex-wrap: wrap;
241 gap: 12px;
242 align-items: center;
243 font-size: 15px;
244 line-height: 24px;
245 }
246
247 .wpa-events__pill {
248 font-weight: 500;
249 }
250
251 .wpa-events__pill--open {
252 color: var(--wpa-open);
253 }
254
255 .wpa-events__pill--closed,
256 .wpa-events__pill--upcoming {
257 color: var(--wpa-shade-500);
258 }
259
260 .wpa-events__pill--full {
261 color: var(--wpa-full);
262 }
263
264 .wpa-events__pill--canceled {
265 color: var(--wpa-canceled);
266 }
267
268 .wpa-events__slots {
269 color: var(--wpa-shade-400);
270 }
271
272 .wpa-events__slots strong {
273 font-weight: 700;
274 }
275
276 .wpa-events__price-block {
277 display: flex;
278 flex-wrap: wrap;
279 gap: 4px;
280 align-items: center;
281 flex-shrink: 0;
282 }
283
284 .wpa-events__price-line {
285 display: flex;
286 align-items: center;
287 gap: 4px;
288 font-size: 18px;
289 line-height: 28px;
290 font-weight: 500;
291 color: var(--wpa-blue-900);
292 }
293
294 .wpa-events__vat-pill {
295 display: inline-flex;
296 align-items: center;
297 padding: 0 4px;
298 border-radius: var(--wpa-radius-sm);
299 border: 1px solid var(--wpa-blue-500);
300 background: var(--wpa-blue-400);
301 color: var(--wpa-blue-1000);
302 font-size: 14px;
303 line-height: 20px;
304 font-weight: 500;
305 }
306
307 .wpa-events__muted {
308 color: var(--wpa-shade-500);
309 }
310
311 /* Blocks */
312 .wpa-events__block {
313 width: 100%;
314 }
315
316 .wpa-events__block-label {
317 margin: 0 0 8px;
318 font-size: 14px;
319 line-height: 20px;
320 font-weight: 500;
321 color: var(--wpa-shade-700);
322 }
323
324 .wpa-events__timetable-line,
325 .wpa-events__rec-line {
326 margin: 0;
327 font-size: 14px;
328 line-height: 20px;
329 color: var(--wpa-shade-400);
330 }
331
332 .wpa-events__timetable-line .wpa-events__timetable-sep {
333 margin: 0 0.25em;
334 color: var(--wpa-shade-400);
335 }
336
337 .wpa-events__timetable-line .wpa-events__timetable-date {
338 font-weight: 500;
339 }
340
341 .wpa-events__link-btn {
342 margin-top: 2px;
343 padding: 0;
344 border: 0;
345 background: none;
346 cursor: pointer;
347 font: inherit;
348 font-size: 15px;
349 line-height: 24px;
350 color: var(--wpa-blue-900);
351 text-align: left;
352 }
353
354 .wpa-events__link-btn:hover {
355 text-decoration: underline;
356 }
357
358 .wpa-events__divider {
359 width: 100%;
360 height: 1px;
361 background: var(--wpa-shade-250);
362 }
363
364 /* Host */
365 .wpa-events__host-list {
366 display: flex;
367 flex-direction: column;
368 gap: 12px;
369 width: 100%;
370 }
371
372 .wpa-events__host {
373 display: flex;
374 gap: 16px;
375 align-items: center;
376 padding: 12px;
377 border-radius: var(--wpa-radius-sm);
378 background: var(--wpa-bg-soft);
379 width: 100%;
380 }
381
382 .wpa-events__host-avatar {
383 display: flex;
384 align-items: center;
385 justify-content: center;
386 width: 48px;
387 height: 48px;
388 border-radius: 50%;
389 overflow: hidden;
390 flex-shrink: 0;
391 }
392
393 .wpa-events__host-avatar img {
394 display: block;
395 width: 100%;
396 height: 100%;
397 object-fit: cover;
398 }
399
400 .wpa-events__host-text {
401 display: flex;
402 flex-direction: column;
403 font-size: 15px;
404 line-height: 24px;
405 }
406
407 .wpa-events__host-name {
408 font-weight: 500;
409 color: var(--wpa-shade-900);
410 }
411
412 .wpa-events__host-role {
413 color: var(--wpa-shade-600);
414 }
415
416 /* Unavailable */
417 .wpa-events__empty {
418 padding: 48px 0;
419 }
420
421 .wpa-events__empty-card {
422 max-width: 440px;
423 margin: 0 auto;
424 text-align: center;
425 padding: 32px 24px;
426 border: 1px solid var(--wpa-shade-250);
427 border-radius: var(--wpa-radius-lg);
428 background: var(--wpa-white);
429 box-shadow: var(--wpa-shadow-footer);
430 }
431
432 .wpa-events__empty-title {
433 margin: 0 0 8px;
434 font-size: 18px;
435 font-weight: 500;
436 color: var(--wpa-shade-900);
437 }
438
439 .wpa-events__empty-text {
440 margin: 0 0 20px;
441 font-size: 15px;
442 color: var(--wpa-shade-500);
443 }
444
445 .wpa-events__empty-link {
446 display: inline-flex;
447 align-items: center;
448 justify-content: center;
449 padding: 8px 20px;
450 border-radius: var(--wpa-radius-lg);
451 border: 1px solid var(--wpa-shade-250);
452 background: var(--wpa-white);
453 color: var(--wpa-shade-900);
454 font-size: 14px;
455 font-weight: 500;
456 text-decoration: none;
457 }
458
459 .wpa-events__empty-link:hover {
460 background: var(--wpa-bg-soft);
461 }
462
463 @media (max-width: 899px) {
464 .wpa-events__shell {
465 padding-top: 16px;
466 }
467
468 .wpa-events__inner {
469 max-width: 100%;
470 padding: 0 16px calc(88px + env(safe-area-inset-bottom, 0px));
471 }
472
473 .wpa-events__columns {
474 flex-direction: column;
475 align-items: stretch;
476 gap: 20px;
477 }
478
479 .wpa-events__col--event,
480 .wpa-events__col--tickets {
481 flex: 1 1 auto;
482 max-width: 100%;
483 width: 100%;
484 position: relative;
485 }
486
487 .wpa-events__col--tickets {
488 min-height: 0;
489 }
490
491 .wpa-events__carousel-viewport {
492 height: 220px;
493 }
494
495 .wpa-events__carousel-nav {
496 width: 32px;
497 height: 32px;
498 }
499
500 .wpa-events__meta-row {
501 flex-direction: column;
502 align-items: flex-start;
503 gap: 12px;
504 }
505
506 .wpa-events__meta-main {
507 flex: 0 1 auto;
508 width: 100%;
509 }
510
511 .wpa-events__price-block {
512 align-self: flex-start;
513 }
514
515 .wpa-events__event-title {
516 font-size: 17px;
517 line-height: 26px;
518 }
519 }
520
521 @media (max-width: 380px) {
522 .wpa-events__inner {
523 padding-inline: 12px;
524 }
525
526 .wpa-events__begin {
527 width: auto;
528 display: flex;
529 flex-wrap: wrap;
530 align-items: baseline;
531 gap: 8px 12px;
532 }
533 }
534