PluginProbe
Booking Calendar / 11.8.4
Booking Calendar v11.8.4
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 10.11 All 204 releases
booking / includes / page-settings-themes / _src / settings_themes_page.css

settings_themes_page.css in Booking Calendar 11.8.4, at includes/page-settings-themes/_src/settings_themes_page.css

559 lines 11.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Appearance / Theme settings page.
3 */
4
5 .wpbc_admin_page__tab__themes .wpbc_settings_page_content {
6 min-width: 0;
7 }
8
9 .wpbc_admin_page__tab__themes,
10 .wpbc_theme_page {
11 --wpbc-theme-accent: #2271b1;
12 --wpbc-theme-border: #dfe4ea;
13 --wpbc-theme-text: #1d2327;
14 --wpbc-theme-muted: #646970;
15 --wpbc-theme-bg: #fff;
16 --wpbc-theme-bg-soft: #f6f7f7;
17 --wpbc-theme-success: #008a20;
18 --wpbc-theme-warning: #b26200;
19 --wpbc-theme-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
20 --wpbc-theme-radius: 6px;
21 }
22
23 .wpbc_theme_page {
24 box-sizing: border-box;
25 color: var(--wpbc-theme-text);
26 max-width: 1220px;
27 }
28
29 .wpbc_theme_toolbar.wpbc_ts_toolbar {
30 align-items: flex-start;
31 background: var(--wpbc-theme-bg);
32 border: 1px solid var(--wpbc-theme-border);
33 border-radius: var(--wpbc-theme-radius);
34 box-shadow: var(--wpbc-theme-shadow);
35 box-sizing: border-box;
36 display: flex;
37 flex-flow: row wrap;
38 gap: 14px;
39 justify-content: flex-start;
40 margin-bottom: 12px;
41 max-width: 100%;
42 padding: 14px;
43 }
44
45 .wpbc_theme_toolbar .wpbc_ts_control {
46 display: flex;
47 flex-direction: column;
48 gap: 6px;
49 min-width: 150px;
50 }
51
52 .wpbc_theme_toolbar .wpbc_ts_control label {
53 color: var(--wpbc-theme-text);
54 font-size: 13px;
55 font-weight: 600;
56 }
57
58 .wpbc_theme_toolbar .wpbc_ts_control select {
59 min-height: 32px;
60 min-width: 130px;
61 }
62
63 .wpbc_theme_attention_pulse {
64 animation: wpbc_theme_attention_pulse 0.62s ease-in-out 3;
65 }
66
67 @keyframes wpbc_theme_attention_pulse {
68 0% {
69 box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.82);
70 transform: scale(1);
71 }
72 50% {
73 box-shadow: 0 0 0 7px rgba(255, 196, 0, 0.2);
74 transform: scale(1.025);
75 }
76 100% {
77 box-shadow: 0 0 0 0 rgba(255, 196, 0, 0);
78 transform: scale(1);
79 }
80 }
81
82 .wpbc_theme_toolbar_value {
83 align-items: center;
84 background: #f6f7f7;
85 border: 1px solid var(--wpbc-theme-border);
86 border-radius: var(--wpbc-theme-radius);
87 box-sizing: border-box;
88 display: inline-flex;
89 gap: 7px;
90 min-height: 32px;
91 padding: 5px 9px;
92 }
93
94 .wpbc_theme_toolbar_value .menu_icon {
95 color: var(--wpbc-theme-accent);
96 }
97
98 .wpbc_theme_upgrade_hint {
99 align-items: flex-start;
100 color: var(--wpbc-theme-muted);
101 display: flex;
102 font-size: 12px;
103 gap: 7px;
104 line-height: 1.35;
105 max-width: 360px;
106 }
107
108 .wpbc_theme_premium_dismiss {
109 display: inline-flex;
110 line-height: 1;
111 margin-left: -3px;
112 vertical-align: middle;
113 }
114
115 .wpbc_theme_premium_dismiss .wpbc_x_dismiss_btn {
116 color: #787c82;
117 font-size: 14px;
118 line-height: 1;
119 padding: 0 2px;
120 }
121
122 .wpbc_theme_premium_dismiss .wpbc_x_dismiss_btn:hover {
123 color: #1d2327;
124 }
125
126 .wpbc_theme_control_form {
127 display: none !important;
128 }
129
130 .wpbc_theme_control_form.is-visible {
131 display: flex !important;
132 }
133
134 .wpbc_theme_hint_bar.wpbc_ts_hint {
135 align-items: center;
136 background: #f5faff;
137 border: 1px solid #c8ddf5;
138 border-radius: 0;
139 color: var(--wpbc-theme-text);
140 display: flex;
141 gap: 10px;
142 margin: 15px 0 0;
143 padding: 15px;
144 }
145
146 .wpbc_theme_hint_bar .wpbc_icn_info_outline {
147 color: var(--wpbc-theme-accent);
148 }
149
150 .wpbc_theme_preview {
151 background: var(--wpbc-theme-bg);
152 border: 1px solid var(--wpbc-theme-border);
153 border-radius: var(--wpbc-theme-radius);
154 box-shadow: var(--wpbc-theme-shadow);
155 box-sizing: border-box;
156 display: block;
157 padding: 14px;
158 transition: background 0.16s ease-in-out, border-color 0.16s ease-in-out, color 0.16s ease-in-out;
159 }
160
161 .wpbc_theme_real_preview {
162 min-height: 220px;
163
164 position: relative;
165 transition: opacity 0.16s ease-in-out;
166 }
167
168 .wpbc_theme_real_preview.is-loading {
169 pointer-events: none;
170 }
171
172 .wpbc_theme_real_preview.is-loading .wpbc_calendar_wraper,
173 .wpbc_theme_real_preview.is-loading .wpbc_booking_form_structure {
174 filter: blur(1px);
175 opacity: 0.34;
176 }
177
178 .wpbc_calendar_loading.wpbc_theme_calendar_loading {
179 align-items: center;
180 background: rgba(255, 255, 255, 0.74);
181 box-sizing: border-box;
182 color: #1d2327;
183 display: flex;
184 font-size: 1.2em;
185 font-weight: 600;
186 inset: 10px;
187 justify-content: center;
188 margin: 0;
189 position: absolute;
190 text-align: center;
191 z-index: 30;
192 }
193
194 .wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_calendar_loading.wpbc_theme_calendar_loading {
195 background: rgba(31, 36, 43, 0.74);
196 color: #f1f5f9;
197 }
198
199 .wpbc_theme_form_preview {
200 background: #f8fafc;
201 border: 1px solid #d9e1ea;
202 border-radius: var(--wpbc-theme-radius);
203 box-sizing: border-box;
204 display: flex;
205 flex-direction: column;
206 gap: 12px;
207 min-width: 0;
208 padding: 14px;
209 }
210
211 .wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_form_preview {
212 background: #111827;
213 border-color: #334155;
214 }
215
216 .wpbc_theme_preview_title {
217 color: inherit;
218 font-size: 13px;
219 font-weight: 600;
220 line-height: 1.3;
221 }
222
223 .wpbc_theme_preview_grid {
224 display: grid;
225 gap: 10px;
226 grid-template-columns: 1fr;
227 }
228
229 .wpbc_theme_preview_grid label {
230 display: flex;
231 flex-direction: column;
232 gap: 5px;
233 }
234
235 .wpbc_theme_preview_grid span {
236 color: var(--wpbc-theme-muted);
237 font-size: 12px;
238 font-weight: 600;
239 }
240
241 .wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_preview_grid span {
242 color: #cbd5e1;
243 }
244
245 .wpbc_theme_preview_grid input,
246 .wpbc_theme_times_preview select {
247 background: #fff;
248 border: 1px solid #cfd7df;
249 border-radius: 4px;
250 box-sizing: border-box;
251 color: #1d2327;
252 min-height: 34px;
253 width: 100%;
254 }
255
256 .wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_preview_grid input,
257 .wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_times_preview select {
258 background: #0f172a;
259 border-color: #475569;
260 color: #f8fafc;
261 }
262
263 .wpbc_theme_times_preview {
264 display: flex;
265 flex-flow: row wrap;
266 gap: 8px;
267 }
268
269 .wpbc_theme_times_preview button {
270 background: #fff;
271 border: 1px solid #cfd7df;
272 border-radius: 4px;
273 color: #1d2327;
274 cursor: default;
275 min-height: 32px;
276 padding: 5px 10px;
277 }
278
279 .wpbc_theme_times_preview button.is-selected {
280 background: var(--wpbc-theme-accent);
281 border-color: var(--wpbc-theme-accent);
282 color: #fff;
283 }
284
285 .wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_times_preview button {
286 background: #0f172a;
287 border-color: #475569;
288 color: #f8fafc;
289 }
290
291 .wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_times_preview button.is-selected {
292 background: #38bdf8;
293 border-color: #38bdf8;
294 color: #082f49;
295 }
296
297 .wpbc_theme_inspector_body {
298 box-sizing: border-box;
299 padding: 10px;
300 }
301
302 .wpbc_theme_field_row {
303 display: flex;
304 flex-direction: column;
305 gap: 6px;
306 margin-bottom: 14px;
307 }
308
309 .wpbc_theme_field_label {
310 color: var(--wpbc-theme-text);
311 font-size: 13px;
312 font-weight: 600;
313 }
314
315 .wpbc_theme_field_row > select,
316 .wpbc_theme_field_row > input[type="text"] {
317 max-width: 100%;
318 min-height: 32px;
319 width: 100%;
320 }
321
322 .wpbc_theme_accent_color_row .clr-field,
323 .wpbc_theme_accent_color_row .clr-field input {
324 box-sizing: border-box;
325 max-width: 100%;
326 width: 100%;
327 }
328
329 .wpbc_theme_description {
330 color: var(--wpbc-theme-muted);
331 font-size: 12px;
332 line-height: 1.5;
333 margin: 8px 0 0;
334 }
335
336 .wpbc_theme_accent_toggle_row {
337 gap: 2px;
338 }
339
340 .wpbc_theme_accent_toggle_row .wpbc_theme_switch {
341 min-height: 28px;
342 padding: 2px 0;
343 }
344
345 .wpbc_theme_accent_toggle_row .wpbc_theme_description {
346 margin-top: 2px;
347 }
348
349 .wpbc_theme_choice_grid {
350 display: grid;
351 gap: 8px;
352 grid-template-columns: repeat(2, minmax(0, 1fr));
353 }
354
355 .wpbc_theme_choice {
356 align-items: center;
357 background: #fff;
358 border: 1px solid var(--wpbc-theme-border);
359 border-radius: var(--wpbc-theme-radius);
360 box-sizing: border-box;
361 cursor: pointer;
362 display: flex;
363 gap: 8px;
364 min-height: 48px;
365 padding: 9px;
366 }
367
368 .wpbc_theme_choice input {
369 height: 1px;
370 margin: 0;
371 opacity: 0;
372 position: absolute;
373 width: 1px;
374 }
375
376 .wpbc_theme_choice.is-selected,
377 .wpbc_theme_choice:has(input:checked) {
378 border-color: var(--wpbc-theme-accent);
379 box-shadow: 0 0 0 1px var(--wpbc-theme-accent);
380 }
381
382 .wpbc_theme_choice_swatch {
383 background: linear-gradient(135deg, #fff 0%, #f2f4f7 100%);
384 border: 1px solid #cbd5e1;
385 border-radius: 50%;
386 flex: 0 0 auto;
387 height: 24px;
388 width: 24px;
389 }
390
391 .wpbc_theme_style_choice_grid {
392 grid-template-columns: repeat(2, minmax(0, 1fr));
393 }
394
395 .wpbc_theme_style_choice_grid .wpbc_theme_choice {
396 align-items: flex-start;
397 min-height: 54px;
398 }
399
400 .wpbc_theme_choice_swatch_light_bordered,
401 .wpbc_theme_choice_swatch_dark_bordered,
402 .wpbc_theme_choice_swatch_light_none,
403 .wpbc_theme_choice_swatch_dark_none,
404 .wpbc_theme_choice_swatch_light_soft,
405 .wpbc_theme_choice_swatch_dark_soft,
406 .wpbc_theme_choice_swatch_custom {
407 border-radius: 6px;
408 box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.45);
409 }
410
411 .wpbc_theme_choice_swatch_light_bordered {
412 background: #ffffff;
413 border-color: #aeb8c4;
414 }
415
416 .wpbc_theme_choice_swatch_light_none {
417 background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #eef2f6 50%, #eef2f6 100%);
418 border-color: transparent;
419 box-shadow: inset 0 0 0 1px #d9e1ea;
420 }
421
422 .wpbc_theme_choice_swatch_light_soft {
423 background: #f8fafc;
424 border-color: #d8dee6;
425 }
426
427 .wpbc_theme_choice_swatch_dark_bordered {
428 background: #111827;
429 border-color: #334155;
430 }
431
432 .wpbc_theme_choice_swatch_dark_none {
433 background: linear-gradient(135deg, #111827 0%, #111827 50%, #334155 50%, #334155 100%);
434 border-color: transparent;
435 box-shadow: inset 0 0 0 1px #475569;
436 }
437
438 .wpbc_theme_choice_swatch_dark_soft {
439 background: #1f2937;
440 border-color: #475569;
441 }
442
443 .wpbc_theme_choice_swatch_custom {
444 background: linear-gradient(135deg, #ffffff 0%, #ffffff 30%, #2271b1 30%, #2271b1 62%, #111827 62%, #111827 100%);
445 border-color: #8aa6c3;
446 }
447
448 .wpbc_theme_choice_swatch.wpbc_theme_dark_1 {
449 background: linear-gradient(135deg, #111827 0%, #334155 100%);
450 border-color: #0f172a;
451 }
452
453 .wpbc_theme_choice_label {
454 color: var(--wpbc-theme-text);
455 font-size: 13px;
456 font-weight: 600;
457 line-height: 1.2;
458 overflow-wrap: anywhere;
459 }
460
461 .wpbc_theme_switch {
462 align-items: center;
463 background: var(--wpbc-theme-bg, #fff);
464 box-sizing: border-box;
465 cursor: pointer;
466 display: flex;
467 gap: 8px;
468 min-height: 36px;
469 padding: 6px 0;
470 }
471
472 .wpbc_theme_switch_card {
473 border-top: 1px solid var(--wpbc-theme-border);
474 margin-top: 10px;
475 padding-top: 12px;
476 }
477
478 .wpbc_theme_switch input {
479 height: 1px;
480 margin: 0;
481 opacity: 0;
482 position: absolute;
483 width: 1px;
484 }
485
486 .wpbc_theme_switch_control {
487 background: #c3c4c7;
488 border-radius: 10px;
489 box-sizing: border-box;
490 display: inline-flex;
491 flex: 0 0 auto;
492 height: 18px;
493 padding: 2px;
494 transition: background 0.16s ease-in-out;
495 width: 34px;
496 }
497
498 .wpbc_theme_switch_knob {
499 background: #fff;
500 border-radius: 50%;
501 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
502 display: block;
503 height: 14px;
504 transform: translateX(0);
505 transition: transform 0.16s ease-in-out;
506 width: 14px;
507 }
508
509 .wpbc_theme_switch input:checked + .wpbc_theme_switch_control {
510 background: var(--wpbc-theme-accent);
511 }
512
513 .wpbc_theme_switch input:checked + .wpbc_theme_switch_control .wpbc_theme_switch_knob {
514 transform: translateX(16px);
515 }
516
517 .wpbc_theme_switch input:focus-visible + .wpbc_theme_switch_control,
518 .wpbc_theme_choice input:focus-visible + .wpbc_theme_choice_swatch {
519 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wpbc-theme-accent);
520 }
521
522 .wpbc_theme_switch_label {
523 color: var(--wpbc-theme-text);
524 font-size: 13px;
525 line-height: 1.25;
526 overflow-wrap: anywhere;
527 }
528
529 select.wpbc_radio__set_days_customize_plugin {
530 max-width: calc( 100% - 140px );
531 }
532
533 .wpbc_theme_notice {
534 background: #fff8e5;
535 border: 1px solid #e8c76a;
536 box-sizing: border-box;
537 color: #3c434a;
538 font-size: 13px;
539 line-height: 1.45;
540 padding: 12px;
541 }
542
543 @media (max-width: 960px) {
544 .wpbc_theme_preview {
545 grid-template-columns: 1fr;
546 }
547 }
548
549 @media (max-width: 640px) {
550 .wpbc_theme_choice_grid {
551 grid-template-columns: 1fr;
552 }
553
554 .wpbc_theme_toolbar .wpbc_ts_control,
555 .wpbc_theme_toolbar .wpbc_ts_control select {
556 width: 100%;
557 }
558 }
559