PluginProbe
Booking Calendar / 11.4.3
Booking Calendar v11.4.3
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.4.3, at includes/page-settings-themes/_src/settings_themes_page.css

539 lines 10.8 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_description {
323 color: var(--wpbc-theme-muted);
324 font-size: 12px;
325 line-height: 1.5;
326 margin: 8px 0 0;
327 }
328
329 .wpbc_theme_choice_grid {
330 display: grid;
331 gap: 8px;
332 grid-template-columns: repeat(2, minmax(0, 1fr));
333 }
334
335 .wpbc_theme_choice {
336 align-items: center;
337 background: #fff;
338 border: 1px solid var(--wpbc-theme-border);
339 border-radius: var(--wpbc-theme-radius);
340 box-sizing: border-box;
341 cursor: pointer;
342 display: flex;
343 gap: 8px;
344 min-height: 48px;
345 padding: 9px;
346 }
347
348 .wpbc_theme_choice input {
349 height: 1px;
350 margin: 0;
351 opacity: 0;
352 position: absolute;
353 width: 1px;
354 }
355
356 .wpbc_theme_choice.is-selected,
357 .wpbc_theme_choice:has(input:checked) {
358 border-color: var(--wpbc-theme-accent);
359 box-shadow: 0 0 0 1px var(--wpbc-theme-accent);
360 }
361
362 .wpbc_theme_choice_swatch {
363 background: linear-gradient(135deg, #fff 0%, #f2f4f7 100%);
364 border: 1px solid #cbd5e1;
365 border-radius: 50%;
366 flex: 0 0 auto;
367 height: 24px;
368 width: 24px;
369 }
370
371 .wpbc_theme_style_choice_grid {
372 grid-template-columns: repeat(2, minmax(0, 1fr));
373 }
374
375 .wpbc_theme_style_choice_grid .wpbc_theme_choice {
376 align-items: flex-start;
377 min-height: 54px;
378 }
379
380 .wpbc_theme_choice_swatch_light_bordered,
381 .wpbc_theme_choice_swatch_dark_bordered,
382 .wpbc_theme_choice_swatch_light_none,
383 .wpbc_theme_choice_swatch_dark_none,
384 .wpbc_theme_choice_swatch_light_soft,
385 .wpbc_theme_choice_swatch_dark_soft,
386 .wpbc_theme_choice_swatch_custom {
387 border-radius: 6px;
388 box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.45);
389 }
390
391 .wpbc_theme_choice_swatch_light_bordered {
392 background: #ffffff;
393 border-color: #aeb8c4;
394 }
395
396 .wpbc_theme_choice_swatch_light_none {
397 background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #eef2f6 50%, #eef2f6 100%);
398 border-color: transparent;
399 box-shadow: inset 0 0 0 1px #d9e1ea;
400 }
401
402 .wpbc_theme_choice_swatch_light_soft {
403 background: #f8fafc;
404 border-color: #d8dee6;
405 }
406
407 .wpbc_theme_choice_swatch_dark_bordered {
408 background: #111827;
409 border-color: #334155;
410 }
411
412 .wpbc_theme_choice_swatch_dark_none {
413 background: linear-gradient(135deg, #111827 0%, #111827 50%, #334155 50%, #334155 100%);
414 border-color: transparent;
415 box-shadow: inset 0 0 0 1px #475569;
416 }
417
418 .wpbc_theme_choice_swatch_dark_soft {
419 background: #1f2937;
420 border-color: #475569;
421 }
422
423 .wpbc_theme_choice_swatch_custom {
424 background: linear-gradient(135deg, #ffffff 0%, #ffffff 30%, #2271b1 30%, #2271b1 62%, #111827 62%, #111827 100%);
425 border-color: #8aa6c3;
426 }
427
428 .wpbc_theme_choice_swatch.wpbc_theme_dark_1 {
429 background: linear-gradient(135deg, #111827 0%, #334155 100%);
430 border-color: #0f172a;
431 }
432
433 .wpbc_theme_choice_label {
434 color: var(--wpbc-theme-text);
435 font-size: 13px;
436 font-weight: 600;
437 line-height: 1.2;
438 overflow-wrap: anywhere;
439 }
440
441 .wpbc_theme_switch {
442 align-items: center;
443 background: var(--wpbc-theme-bg, #fff);
444 box-sizing: border-box;
445 cursor: pointer;
446 display: flex;
447 gap: 8px;
448 min-height: 36px;
449 padding: 6px 0;
450 }
451
452 .wpbc_theme_switch_card {
453 border-top: 1px solid var(--wpbc-theme-border);
454 margin-top: 10px;
455 padding-top: 12px;
456 }
457
458 .wpbc_theme_switch input {
459 height: 1px;
460 margin: 0;
461 opacity: 0;
462 position: absolute;
463 width: 1px;
464 }
465
466 .wpbc_theme_switch_control {
467 background: #c3c4c7;
468 border-radius: 10px;
469 box-sizing: border-box;
470 display: inline-flex;
471 flex: 0 0 auto;
472 height: 18px;
473 padding: 2px;
474 transition: background 0.16s ease-in-out;
475 width: 34px;
476 }
477
478 .wpbc_theme_switch_knob {
479 background: #fff;
480 border-radius: 50%;
481 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
482 display: block;
483 height: 14px;
484 transform: translateX(0);
485 transition: transform 0.16s ease-in-out;
486 width: 14px;
487 }
488
489 .wpbc_theme_switch input:checked + .wpbc_theme_switch_control {
490 background: var(--wpbc-theme-accent);
491 }
492
493 .wpbc_theme_switch input:checked + .wpbc_theme_switch_control .wpbc_theme_switch_knob {
494 transform: translateX(16px);
495 }
496
497 .wpbc_theme_switch input:focus-visible + .wpbc_theme_switch_control,
498 .wpbc_theme_choice input:focus-visible + .wpbc_theme_choice_swatch {
499 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wpbc-theme-accent);
500 }
501
502 .wpbc_theme_switch_label {
503 color: var(--wpbc-theme-text);
504 font-size: 13px;
505 line-height: 1.25;
506 overflow-wrap: anywhere;
507 }
508
509 select.wpbc_radio__set_days_customize_plugin {
510 max-width: calc( 100% - 140px );
511 }
512
513 .wpbc_theme_notice {
514 background: #fff8e5;
515 border: 1px solid #e8c76a;
516 box-sizing: border-box;
517 color: #3c434a;
518 font-size: 13px;
519 line-height: 1.45;
520 padding: 12px;
521 }
522
523 @media (max-width: 960px) {
524 .wpbc_theme_preview {
525 grid-template-columns: 1fr;
526 }
527 }
528
529 @media (max-width: 640px) {
530 .wpbc_theme_choice_grid {
531 grid-template-columns: 1fr;
532 }
533
534 .wpbc_theme_toolbar .wpbc_ts_control,
535 .wpbc_theme_toolbar .wpbc_ts_control select {
536 width: 100%;
537 }
538 }
539