PluginProbe
Booking Calendar / 11.5
Booking Calendar v11.5
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
booking / includes / page-availability-timeslots / _src / availability_timeslots_page.css

availability_timeslots_page.css in Booking Calendar 11.5, at includes/page-availability-timeslots/_src/availability_timeslots_page.css

914 lines 19.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wpbc_admin_page__tab__time_slots_availability,
2 .wpbc_modal__availability_timeslots__section,
3 .wpbc_ts_page {
4 --wpbc-ts-blue: #5459ac;
5 --wpbc-ts-blue-dark: var(--wpbc-ts-blue);
6 --wpbc-ts-red: #e0000b;
7 --wpbc-ts-red-dark: #cb050f;
8 --wpbc-ts-green: #5e9945;
9 --wpbc-ts-green-soft: #65b938;
10 --wpbc-ts-green-border: rgba(54, 119, 42, 0.36);
11 --wpbc-ts-amber: #c8933a;
12 --wpbc-ts-amber-soft: rgba(245, 166, 35, 0.16);
13 --wpbc-ts-amber-line: rgba(245, 166, 35, 0.42);
14 --wpbc-ts-border: #dfe4ea;
15 --wpbc-ts-border-soft: #edf0f2;
16 --wpbc-ts-text: #1d2327;
17 --wpbc-ts-muted: #646970;
18 --wpbc-ts-unavailable: #4b5563;
19 --wpbc-ts-unavailable-soft: rgba(75, 85, 99, 0.78);
20 --wpbc-ts-unavailable-line: rgba(255, 255, 255, 0.3);
21 --wpbc-ts-working-time: #6b7280;
22 --wpbc-ts-working-time-soft: rgba(107, 114, 128, 0.72);
23 --wpbc-ts-working-time-line: rgba(255, 255, 255, 0.34);
24 --wpbc-ts-bg: #fff;
25 --wpbc-ts-bg-soft: #f6f7f7;
26 --wpbc-ts-sticky-bg: #fff;
27 --wpbc-ts-sticky-shadow: 8px 0 14px -14px rgba(0, 0, 0, 0.42);
28 --wpbc-ts-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
29 --wpbc-ts-tip-bg: #1f2933;
30 --wpbc-ts-radius: 6px;
31 --wpbc-ts-label-width: 150px;
32 --wpbc-ts-row-height: 40px;
33 --wpbc-ts-lane-height: 22px;
34 --wpbc-ts-slot-count: 48;
35 --wpbc-ts-axis-label-size: 10px;
36 --wpbc-ts-axis-label-weight: 400;
37 }
38
39 .wpbc_ts_page {
40 margin: 0;
41 color: var(--wpbc-ts-text);
42 }
43
44 .wpbc_modal__availability_timeslots__section .modal-dialog {
45 width: min(1180px, calc(100vw - 48px));
46 max-width: 1180px;
47 }
48
49 .wpbc_modal__availability_timeslots__section .modal-content {
50 display: flex;
51 flex-direction: column;
52 height: calc(100vh - 48px);
53 min-height: 360px;
54 }
55
56 .wpbc_modal__availability_timeslots__section .modal-header,
57 .wpbc_modal__availability_timeslots__section .modal-footer {
58 flex: 0 0 auto;
59 }
60
61 .wpbc_modal__availability_timeslots__section .modal-body {
62 display: flex;
63 flex: 1 1 auto;
64 flex-direction: column;
65 min-height: 0;
66 overflow: hidden;
67 }
68
69 .wpbc_modal__availability_timeslots__section .modal-footer {
70 display: flex;
71 flex-flow: row wrap;
72 align-items: center;
73 justify-content: flex-end;
74 gap: 10px;
75 }
76
77 .wpbc_ts_popup {
78 --wpbc-ts-label-width: 124px;
79 display: flex;
80 flex: 1 1 auto;
81 flex-direction: column;
82 min-height: 0;
83 }
84
85 .wpbc_ts_popup .wpbc_ts_toolbar {
86 flex: 0 0 auto;
87 gap: 10px;
88 padding: 10px;
89 }
90
91 .wpbc_admin_page__tab__time_slots_availability .wpbc_ui_el__vert_right_bar__content .wpbc_ui_el__expand_colapse_btns {
92 display: none;
93 }
94
95 .wpbc_ts_toolbar {
96 display: flex;
97 flex-flow: row wrap;
98 align-items: flex-start;
99 justify-content: flex-start;
100 gap: 14px;
101 padding: 14px;
102 background: var(--wpbc-ts-bg);
103 border: 1px solid var(--wpbc-ts-border);
104 border-radius: var(--wpbc-ts-radius);
105 box-shadow: var(--wpbc-ts-shadow);
106 }
107
108 .wpbc_ts_control {
109 display: flex;
110 flex-direction: column;
111 gap: 6px;
112 min-width: 112px;
113 }
114
115 .wpbc_ts_control label {
116 color: var(--wpbc-ts-text);
117 font-size: 13px;
118 font-weight: 600;
119 }
120
121 .wpbc_ts_control_resource {
122 min-width: 150px;
123 }
124
125 .wpbc_ts_control_range {
126 min-width: 300px;
127 }
128
129 .wpbc_ts_control_time {
130 min-width: 105px;
131 }
132
133 .wpbc_ts_control_time_range {
134 min-width: 180px;
135 }
136
137 .wpbc_ts_control_precision {
138 min-width: 158px;
139 }
140
141 .wpbc_ts_toolbar .wpbc_ui_control {
142 box-sizing: border-box;
143 min-height: 38px;
144 width: 100%;
145 }
146
147 .wpbc_ts_input_icon {
148 position: relative;
149 flex: 1 1 auto;
150 min-width: 0;
151 }
152
153 .wpbc_ts_input_icon span {
154 position: absolute;
155 top: 50%;
156 left: 12px;
157 transform: translateY(-50%);
158 color: var(--wpbc-ts-muted);
159 pointer-events: none;
160 }
161
162 .wpbc_ts_input_icon input {
163 padding-left: 38px;
164 }
165
166 .wpbc_ts_range_nav {
167 display: flex;
168 align-items: center;
169 gap: 6px;
170 }
171
172 .button.tooltip_top.button-secondary.wpbc_button_no_background.wpbc_ts_range_nav_button {
173 display: inline-flex;
174 flex-flow: column;
175 align-items: center;
176 justify-content: center;
177 min-width: 32px;
178 padding: 1px 0 0;
179 box-shadow: none;
180 line-height: 1;
181 }
182
183 .button.tooltip_top.button-secondary.wpbc_button_no_background.wpbc_ts_range_nav_button .wpbc_icn_keyboard_arrow_left::before,
184 .button.tooltip_top.button-secondary.wpbc_button_no_background.wpbc_ts_range_nav_button .wpbc_icn_keyboard_arrow_right::before {
185 font-size: 21px;
186 }
187
188 .wpbc_ts_range_nav_sidebar {
189 width: 100%;
190 }
191
192 .wpbc_ts_range_nav_sidebar .wpbc_ts_range_nav_button.button {
193 flex: 0 0 auto;
194 }
195
196 .wpbc_ts_zoom {
197 display: flex;
198 align-items: center;
199 gap: 8px;
200 min-height: 38px;
201 }
202
203 .wpbc_ts_control_precision .wpbc_ts_zoom {
204 min-height: 28px;
205 margin-top: 4px;
206 }
207
208 .wpbc_ts_zoom input[type="range"] {
209 width: 74px;
210 accent-color: var(--wpbc-ts-blue, #5459ac);
211 }
212
213 .wpbc_ts_zoom_button.button {
214 min-width: 30px;
215 padding: 0 8px;
216 text-align: center;
217 }
218
219 .wpbc_ts_time_inputs {
220 display: grid;
221 grid-template-columns: 1fr 1fr;
222 gap: 8px;
223 }
224
225 .wpbc_ts_dual_slider {
226 position: relative;
227 height: 28px;
228 margin-top: 7px;
229 min-width: 118px;
230 background: linear-gradient(var(--wpbc-ts-border, #dfe4ea), var(--wpbc-ts-border, #dfe4ea)) center / 100% 4px no-repeat;
231 }
232
233 .wpbc_ts_dual_slider:before {
234 position: absolute;
235 top: 50%;
236 right: 0;
237 left: 0;
238 height: 4px;
239 transform: translateY(-50%);
240 background: var(--wpbc-ts-border, #dfe4ea);
241 border-radius: 999px;
242 content: "";
243 }
244
245 .wpbc_ts_dual_slider input[type="range"] {
246 -webkit-appearance: none;
247 appearance: none;
248 position: absolute;
249 top: 50%;
250 left: 0;
251 z-index: 2;
252 width: 100%;
253 height: 24px;
254 margin: 0;
255 transform: translateY(-50%);
256 background: transparent;
257 pointer-events: none;
258 accent-color: var(--wpbc-ts-blue, #5459ac);
259 }
260
261 .wpbc_ts_dual_slider input[type="range"]:focus {
262 outline: none;
263 }
264
265 .wpbc_ts_dual_slider input[type="range"]::-webkit-slider-runnable-track {
266 height: 4px;
267 background: transparent;
268 border: 0;
269 }
270
271 .wpbc_ts_dual_slider input[type="range"]::-webkit-slider-thumb {
272 -webkit-appearance: none;
273 appearance: none;
274 width: 16px;
275 height: 16px;
276 margin-top: -6px;
277 background: #fff;
278 border: 2px solid var(--wpbc-ts-blue, #5459ac);
279 border-radius: 50%;
280 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
281 cursor: ew-resize;
282 pointer-events: auto;
283 }
284
285 .wpbc_ts_dual_slider input[type="range"]::-moz-range-track {
286 height: 4px;
287 background: transparent;
288 border: 0;
289 }
290
291 .wpbc_ts_dual_slider input[type="range"]::-moz-range-thumb {
292 box-sizing: border-box;
293 width: 16px;
294 height: 16px;
295 background: #fff;
296 border: 2px solid var(--wpbc-ts-blue, #5459ac);
297 border-radius: 50%;
298 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
299 cursor: ew-resize;
300 pointer-events: auto;
301 }
302
303 .wpbc_ts_toolbar_actions {
304 display: flex;
305 flex-flow: row wrap;
306 align-items: center;
307 justify-content: flex-start;
308 gap: 10px;
309 flex: 1 1 100%;
310 }
311
312 .wpbc_ts_toolbar_actions .button,
313 .wpbc_ts_action_button.button,
314 .wpbc_ts_clear_selection.button {
315 display: inline-flex;
316 align-items: center;
317 justify-content: center;
318 gap: 6px;
319 min-height: 38px;
320 }
321
322 .wpbc_ts_action_buttons {
323 display: flex;
324 flex-direction: column;
325 gap: 8px;
326 width: 100%;
327 }
328
329 .wpbc_ts_action_buttons_inline {
330 flex-flow: row wrap;
331 align-items: center;
332 width: auto;
333 }
334
335 .wpbc_ts_footer_action_buttons {
336 margin: auto;
337 }
338
339 .wpbc_ts_button_danger.button,
340 .wpbc_ts_button_danger.button-secondary {
341 color: #fff;
342 background: var(--wpbc-ts-red);
343 border-color: var(--wpbc-ts-red-dark);
344 box-shadow: none;
345 }
346
347 .wpbc_ts_button_danger.button:hover,
348 .wpbc_ts_button_danger.button:focus {
349 color: #fff;
350 background: var(--wpbc-ts-red-dark);
351 border-color: var(--wpbc-ts-red-dark);
352 }
353
354 .wpbc_ts_unblock.button {
355 color: #fff;
356 background: var(--wpbc-ts-green-soft);
357 border-color: var(--wpbc-ts-green-border);
358 box-shadow: none
359 }
360 .wpbc_ts_unblock.button:hover,
361 .wpbc_ts_unblock.button:focus {
362 color: #fff;
363 background: var(--wpbc-ts-green);
364 border-color: var(--wpbc-ts-green-border);
365 box-shadow: none
366 }
367
368 .wpbc_ts_hint {
369 display: flex;
370 align-items: center;
371 gap: 10px;
372 margin: 10px 0 14px;
373 padding: 10px 14px;
374 color: var(--wpbc-ts-text);
375 background: #f5faff;
376 border: 1px solid #c8ddf5;
377 border-radius: var(--wpbc-ts-radius);
378 }
379
380 .wpbc_ts_hint .wpbc_icn_info_outline {
381 color: var(--wpbc-ts-blue);
382 }
383
384 .wpbc_ts_timeline_card {
385 position: relative;
386 isolation: isolate;
387 overflow-x: auto;
388 overflow-y: visible;
389 background: var(--wpbc-ts-bg);
390 border: 1px solid var(--wpbc-ts-border);
391 border-radius: var(--wpbc-ts-radius);
392 box-shadow: var(--wpbc-ts-shadow);
393 }
394
395 .wpbc_ts_loading_overlay {
396 position: absolute;
397 inset: 0;
398 z-index: 20;
399 display: none;
400 align-items: center;
401 justify-content: center;
402 min-height: 160px;
403 background: rgba(255, 255, 255, 0.72);
404 backdrop-filter: blur(1px);
405 }
406
407 .wpbc_ts_timeline_card.is-loading .wpbc_ts_loading_overlay {
408 display: flex;
409 }
410
411 .wpbc_ts_loading_overlay .wpbc_spins_loading_container {
412 padding: 20px 50px;
413 background: #ffffff00;
414 border-radius: var(--wpbc-ts-radius);
415 font-weight: 600;
416 }
417
418 .wpbc_ts_grid {
419 min-width: 1020px;
420 }
421
422 .wpbc_ts_header,
423 .wpbc_ts_row {
424 display: grid;
425 grid-template-columns: var(--wpbc-ts-label-width) minmax(760px, 1fr);
426 }
427
428 .wpbc_ts_header {
429 border-bottom: 1px solid var(--wpbc-ts-border);
430 }
431
432 .wpbc_ts_floating_header {
433 position: fixed;
434 z-index: 11000;
435 display: none;
436 box-sizing: border-box;
437 overflow: hidden;
438 pointer-events: none;
439 background: var(--wpbc-ts-bg);
440 border: 1px solid var(--wpbc-ts-border);
441 border-top: 0;
442 box-shadow: 0 8px 18px -18px rgba(0, 0, 0, 0.8);
443 }
444
445 .wpbc_ts_floating_header.is-visible {
446 display: block;
447 }
448
449 .wpbc_ts_floating_header > .wpbc_ts_header {
450 transform: translateX(var(--wpbc-ts-floating-scroll-left, 0));
451 border-bottom: 0;
452 background: var(--wpbc-ts-bg);
453 }
454
455 .wpbc_ts_floating_header .wpbc_ts_axis_corner {
456 left: var(--wpbc-ts-floating-scroll-left-abs, 0);
457 }
458
459 .wpbc_ts_popup .wpbc_ts_header {
460 position: sticky;
461 top: 0;
462 z-index: 12;
463 background: var(--wpbc-ts-bg);
464 box-shadow: 0 6px 12px -14px rgba(0, 0, 0, 0.7);
465 }
466
467 .wpbc_ts_popup .wpbc_ts_timeline_card {
468 flex: 1 1 auto;
469 min-height: 180px;
470 overflow: auto;
471 }
472
473 .wpbc_ts_timeline_card.is-loading,
474 .wpbc_ts_popup .wpbc_ts_timeline_card.is-loading {
475 overflow-x: hidden;
476 }
477
478 .wpbc_ts_axis_corner {
479 position: sticky;
480 left: 0;
481 z-index: 7;
482 display: flex;
483 flex-direction: column;
484 gap: 10px;
485 padding: 16px 14px 10px;
486 font-weight: 600;
487 background: var(--wpbc-ts-sticky-bg);
488 border-right: 1px solid var(--wpbc-ts-border-soft);
489 box-shadow: var(--wpbc-ts-sticky-shadow);
490 }
491
492 .wpbc_ts_time_axis {
493 position: relative;
494 height: 78px;
495 padding: 16px 16px 0;
496 }
497
498 .wpbc_ts_axis_label {
499 position: absolute;
500 top: 18px;
501 transform: translateX(-50%);
502 color: var(--wpbc-ts-text);
503 font-size: var(--wpbc-ts-axis-label-size, clamp(10px, 1vw, 13px));
504 font-weight: var(--wpbc-ts-axis-label-weight, 400);
505 white-space: nowrap;
506 }
507
508 .wpbc_ts_axis_tick {
509 position: absolute;
510 bottom: 23px;
511 width: 1px;
512 height: 15px;
513 transform: translateX(-50%);
514 background: var(--wpbc-ts-text);
515 opacity: 0.78;
516 }
517
518 .wpbc_ts_axis_minor {
519 position: absolute;
520 bottom: 28px;
521 width: 1px;
522 height: 5px;
523 transform: translateX(-50%);
524 background: var(--wpbc-ts-muted);
525 opacity: 0.34;
526 }
527
528 .wpbc_ts_axis_dot {
529 position: absolute;
530 bottom: 29px;
531 width: 5px;
532 height: 5px;
533 transform: translateX(-50%);
534 background: var(--wpbc-ts-blue);
535 border-radius: 50%;
536 }
537
538 .wpbc_ts_row {
539 min-height: var(--wpbc-ts-row-height);
540 border-bottom: 1px solid var(--wpbc-ts-border-soft);
541 }
542
543 .wpbc_ts_row:last-child {
544 border-bottom: 0;
545 }
546
547 .wpbc_ts_row_label {
548 position: sticky;
549 left: 0;
550 z-index: 5;
551 display: flex;
552 align-items: center;
553 gap: 9px;
554 padding: 6px 12px;
555 background: var(--wpbc-ts-sticky-bg);
556 border-right: 1px solid var(--wpbc-ts-border-soft);
557 box-shadow: var(--wpbc-ts-sticky-shadow);
558 color: var(--wpbc-ts-text);
559 }
560
561 .wpbc_ts_row_label_text {
562 flex: 1 1 auto;
563 }
564
565 .wpbc_ts_row_menu {
566 color: var(--wpbc-ts-muted);
567 text-decoration: none;
568 font-size: 18px;
569 line-height: 1;
570 padding: 4px;
571 }
572
573 .wpbc_ts_lane {
574 position: relative;
575 height: var(--wpbc-ts-row-height);
576 cursor: crosshair;
577 touch-action: pan-y;
578 user-select: none;
579 }
580 .wpbc_ts_handle {
581 cursor: pointer;
582 }
583
584 .wpbc_ts_time_axis,
585 .wpbc_ts_lane {
586 margin: 0 16px;
587 }
588
589 .wpbc_ts_available_rail {
590 position: absolute;
591 top: 50%;
592 right: 0;
593 left: 0;
594 height: var(--wpbc-ts-lane-height);
595 transform: translateY(-50%);
596 border-radius: 5px;
597 background-color: var(--wpbc-ts-green-soft);
598 background-image: repeating-linear-gradient(
599 to right,
600 rgba(255, 255, 255, 0.86) 0,
601 rgba(255, 255, 255, 0.86) 1px,
602 transparent 1px,
603 transparent calc(100% / var(--wpbc-ts-slot-count))
604 ),
605 linear-gradient(to right, rgba(94, 153, 69, 0.44), rgba(94, 153, 69, 0.2));
606 box-shadow: inset 0 0 0 1px var(--wpbc-ts-green-border);
607 }
608
609 .wpbc_ts_bar,
610 .wpbc_ts_selection {
611 position: absolute;
612 top: 50%;
613 display: flex;
614 align-items: center;
615 justify-content: center;
616 box-sizing: border-box;
617 height: var(--wpbc-ts-lane-height);
618 transform: translateY(-50%);
619 border-radius: 2px;
620 }
621
622 .wpbc_ts_bar {
623 color: #fff;
624 font-size: 16px;
625 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
626 pointer-events: auto;
627 }
628
629 .wpbc_ts_bar_icon,
630 .wpbc_ts_booking_link,
631 .wpbc_ts_rule_link {
632 display: inline-flex;
633 align-items: center;
634 justify-content: center;
635 width: 100%;
636 height: 100%;
637 color: #fff;
638 text-decoration: none;
639 }
640
641 .wpbc_ts_booking_link:hover,
642 .wpbc_ts_booking_link:focus,
643 .wpbc_ts_rule_link:hover,
644 .wpbc_ts_rule_link:focus {
645 color: #fff;
646 text-decoration: none;
647 outline: none;
648 box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.58);
649 }
650
651 .wpbc_ts_bar_booked {
652 background: linear-gradient(180deg, var(--wpbc-ts-blue), var(--wpbc-ts-blue-dark));
653 }
654
655 .wpbc_ts_bar_booked a,
656 .wpbc_ts_bar_booked a:hover,
657 .wpbc_ts_bar_booked a:focus,
658 .wpbc_ts_bar_unavailable_day a,
659 .wpbc_ts_bar_unavailable_day a:hover,
660 .wpbc_ts_bar_unavailable_day a:focus,
661 .wpbc_ts_bar_working_time a,
662 .wpbc_ts_bar_working_time a:hover,
663 .wpbc_ts_bar_working_time a:focus {
664 color: #fff;
665 }
666
667 .wpbc_ts_bar_blocked {
668 background: linear-gradient(180deg, var(--wpbc-ts-red), var(--wpbc-ts-red));
669 }
670
671 .wpbc_ts_bar_unavailable_day {
672 z-index: 1;
673 background-color: var(--wpbc-ts-unavailable-soft);
674 background-image: repeating-linear-gradient(-45deg, var(--wpbc-ts-unavailable-line) 0, var(--wpbc-ts-unavailable-line) 2px, transparent 2px, transparent 8px);
675 box-shadow: inset 0 0 0 1px var(--wpbc-ts-unavailable);
676 }
677
678 .wpbc_ts_bar_working_time {
679 z-index: 2;
680 background-color: var(--wpbc-ts-working-time-soft);
681 background-image: repeating-linear-gradient(135deg, var(--wpbc-ts-working-time-line) 0, var(--wpbc-ts-working-time-line) 2px, transparent 2px, transparent 8px);
682 box-shadow: inset 0 0 0 1px var(--wpbc-ts-working-time);
683 }
684
685 .wpbc_ts_selection {
686 z-index: 5;
687 display: none;
688 color: var(--wpbc-ts-amber);
689 background-color: var(--wpbc-ts-amber-soft);
690 background-image: repeating-linear-gradient(-45deg, var(--wpbc-ts-amber-line) 0, var(--wpbc-ts-amber-line) 2px, transparent 2px, transparent 7px);
691 border: 1px solid var(--wpbc-ts-amber);
692 }
693
694 .wpbc_ts_selection_template {
695 display: none !important;
696 }
697
698 .wpbc_ts_selection.is-visible {
699 display: flex;
700 }
701
702 .wpbc_ts_selection.is-active {
703 z-index: 6;
704 box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.26);
705 }
706
707 .wpbc_ts_handle {
708 position: absolute;
709 top: 50%;
710 width: 16px;
711 height: 16px;
712 background: var(--wpbc-ts-amber);
713 border: 3px solid #fff;
714 border-radius: 50%;
715 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
716 transform: translateY(-50%);
717 }
718
719 .wpbc_ts_handle_start {
720 left: -9px;
721 }
722
723 .wpbc_ts_handle_end {
724 right: -9px;
725 }
726
727 .wpbc_ts_time_chip {
728 position: absolute;
729 top: -31px;
730 z-index: 7;
731 padding: 2px 7px;
732 color: var(--wpbc-ts-amber);
733 background: #fff;
734 border: 1px solid var(--wpbc-ts-amber);
735 border-radius: 4px;
736 font-size: 12px;
737 line-height: 1.5;
738 box-shadow: var(--wpbc-ts-shadow);
739 }
740
741 .wpbc_ts_time_chip_start {
742 left: -6px;
743 }
744
745 .wpbc_ts_time_chip_end {
746 right: -6px;
747 }
748
749 .wpbc_ts_live_tip {
750 position: absolute;
751 z-index: 100001;
752 display: none;
753 padding: 4px 8px;
754 color: #fff;
755 background: var(--wpbc-ts-tip-bg);
756 border-radius: 4px;
757 font-size: 12px;
758 line-height: 1.5;
759 pointer-events: none;
760 box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
761 }
762
763 .wpbc_ts_live_tip.is-visible {
764 display: block;
765 }
766
767 .wpbc_ts_legend {
768 display: flex;
769 flex-flow: row wrap;
770 align-items: center;
771 gap: 26px;
772 padding: 14px 18px;
773 border-top: 1px solid var(--wpbc-ts-border);
774 color: var(--wpbc-ts-text);
775 }
776
777 .wpbc_ts_legend span {
778 display: inline-flex;
779 align-items: center;
780 gap: 10px;
781 }
782
783 .wpbc_ts_legend i {
784 display: inline-flex;
785 align-items: center;
786 justify-content: center;
787 width: 42px;
788 height: 24px;
789 border-radius: 4px;
790 font-style: normal;
791 }
792
793 .wpbc_ts_legend_available {
794 background: var(--wpbc-ts-green-soft);
795 background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.86) 0, rgba(255, 255, 255, 0.86) 1px, transparent 1px, transparent 10px);
796 box-shadow: inset 0 0 0 1px var(--wpbc-ts-green-border);
797 }
798
799 .wpbc_ts_legend_booked {
800 color: #fff;
801 background: var(--wpbc-ts-blue);
802 }
803
804 .wpbc_ts_legend_blocked {
805 color: #fff;
806 background: var(--wpbc-ts-red-dark);
807 }
808
809 .wpbc_ts_legend_unavailable_day {
810 color: #fff;
811 background-color: var(--wpbc-ts-unavailable-soft);
812 background-image: repeating-linear-gradient(-45deg, var(--wpbc-ts-unavailable-line) 0, var(--wpbc-ts-unavailable-line) 2px, transparent 2px, transparent 8px);
813 box-shadow: inset 0 0 0 1px var(--wpbc-ts-unavailable);
814 }
815
816 .wpbc_ts_legend_working_time {
817 color: #fff;
818 background-color: var(--wpbc-ts-working-time-soft);
819 background-image: repeating-linear-gradient(135deg, var(--wpbc-ts-working-time-line) 0, var(--wpbc-ts-working-time-line) 2px, transparent 2px, transparent 8px);
820 box-shadow: inset 0 0 0 1px var(--wpbc-ts-working-time);
821 }
822
823 .wpbc_ts_legend_selected {
824 background-color: var(--wpbc-ts-amber-soft);
825 background-image: repeating-linear-gradient(-45deg, var(--wpbc-ts-amber-line) 0, var(--wpbc-ts-amber-line) 2px, transparent 2px, transparent 7px);
826 border: 1px solid var(--wpbc-ts-amber);
827 }
828
829 .wpbc_ts_legend_note {
830 margin-left: auto;
831 color: var(--wpbc-ts-muted);
832 }
833
834 .wpbc_ts_selection_details {
835 display: flex;
836 flex-direction: column;
837 gap: 6px;
838 max-height: 260px;
839 overflow: auto;
840 padding: 0 0 2px;
841 }
842
843 .wpbc_ts_selection_detail_item,
844 .wpbc_ts_selection_details_empty {
845 padding: 7px 8px;
846 background: #fff;
847 border: 1px solid var(--wpbc-ts-border, #dfe4ea);
848 border-radius: 4px;
849 }
850
851 .wpbc_ts_selection_detail_item {
852 display: flex;
853 align-items: center;
854 justify-content: space-between;
855 gap: 10px;
856 }
857
858 .wpbc_ts_selection_detail_date {
859 color: var(--wpbc-ts-text, #1d2327);
860 font-weight: 600;
861 }
862
863 .wpbc_ts_selection_detail_time {
864 color: #fff;
865 font-variant-numeric: tabular-nums;
866 white-space: nowrap;
867 font-weight: 600;
868 background: #d58603;
869 padding: 2px 7px;
870 border-radius: 3px;
871 }
872
873 .wpbc_ts_selection_details_empty {
874 color: var(--wpbc-ts-muted, #646970);
875 }
876
877 .wpbc_ts_action_button,
878 .wpbc_ts_clear_selection {
879 text-align: center;
880 }
881
882 .wpbc_ts_action_button.disabled,
883 .wpbc_ts_clear_selection.disabled {
884 opacity: 0.65;
885 pointer-events: none;
886 }
887
888 @media (max-width: 782px) {
889 .wpbc_ts_toolbar {
890 display: grid;
891 grid-template-columns: 1fr;
892 }
893
894 .wpbc_ts_toolbar_actions {
895 margin-left: 0;
896 }
897
898 .wpbc_ts_toolbar_actions .button {
899 flex: 1 1 auto;
900 }
901 }
902 body[class*="page_wpbc"] #wpcontent .wpbc_settings_page_content .wrap.wpbc_page {
903 margin: 2px 30px 2px 25px;
904 }
905
906 #datepick-div,
907 .datepick-popup {
908 z-index: 1000010 !important;
909 }
910
911 body[class*="page_wpbc"] [data-tippy-root] {
912 z-index: 1000011 !important;
913 }
914