PluginProbe
Booking Calendar / 11.3
Booking Calendar v11.3
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-settings-themes / _src / settings_themes_page.css

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

481 lines 9.3 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 max-width: 100%;
317 min-height: 32px;
318 width: 100%;
319 }
320
321 .wpbc_theme_description {
322 color: var(--wpbc-theme-muted);
323 font-size: 12px;
324 line-height: 1.5;
325 margin: 8px 0 0;
326 }
327
328 .wpbc_theme_choice_grid {
329 display: grid;
330 gap: 8px;
331 grid-template-columns: repeat(2, minmax(0, 1fr));
332 }
333
334 .wpbc_theme_choice {
335 align-items: center;
336 background: #fff;
337 border: 1px solid var(--wpbc-theme-border);
338 border-radius: var(--wpbc-theme-radius);
339 box-sizing: border-box;
340 cursor: pointer;
341 display: flex;
342 gap: 8px;
343 min-height: 48px;
344 padding: 9px;
345 }
346
347 .wpbc_theme_choice input {
348 height: 1px;
349 margin: 0;
350 opacity: 0;
351 position: absolute;
352 width: 1px;
353 }
354
355 .wpbc_theme_choice.is-selected,
356 .wpbc_theme_choice:has(input:checked) {
357 border-color: var(--wpbc-theme-accent);
358 box-shadow: 0 0 0 1px var(--wpbc-theme-accent);
359 }
360
361 .wpbc_theme_choice_swatch {
362 background: linear-gradient(135deg, #fff 0%, #f2f4f7 100%);
363 border: 1px solid #cbd5e1;
364 border-radius: 50%;
365 flex: 0 0 auto;
366 height: 24px;
367 width: 24px;
368 }
369
370 .wpbc_theme_choice_swatch.wpbc_theme_dark_1 {
371 background: linear-gradient(135deg, #111827 0%, #334155 100%);
372 border-color: #0f172a;
373 }
374
375 .wpbc_theme_choice_label {
376 color: var(--wpbc-theme-text);
377 font-size: 13px;
378 font-weight: 600;
379 line-height: 1.2;
380 overflow-wrap: anywhere;
381 }
382
383 .wpbc_theme_switch {
384 align-items: center;
385 background: var(--wpbc-theme-bg, #fff);
386 box-sizing: border-box;
387 cursor: pointer;
388 display: flex;
389 gap: 8px;
390 min-height: 36px;
391 padding: 6px 0;
392 }
393
394 .wpbc_theme_switch_card {
395 border-top: 1px solid var(--wpbc-theme-border);
396 margin-top: 10px;
397 padding-top: 12px;
398 }
399
400 .wpbc_theme_switch input {
401 height: 1px;
402 margin: 0;
403 opacity: 0;
404 position: absolute;
405 width: 1px;
406 }
407
408 .wpbc_theme_switch_control {
409 background: #c3c4c7;
410 border-radius: 10px;
411 box-sizing: border-box;
412 display: inline-flex;
413 flex: 0 0 auto;
414 height: 18px;
415 padding: 2px;
416 transition: background 0.16s ease-in-out;
417 width: 34px;
418 }
419
420 .wpbc_theme_switch_knob {
421 background: #fff;
422 border-radius: 50%;
423 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
424 display: block;
425 height: 14px;
426 transform: translateX(0);
427 transition: transform 0.16s ease-in-out;
428 width: 14px;
429 }
430
431 .wpbc_theme_switch input:checked + .wpbc_theme_switch_control {
432 background: var(--wpbc-theme-accent);
433 }
434
435 .wpbc_theme_switch input:checked + .wpbc_theme_switch_control .wpbc_theme_switch_knob {
436 transform: translateX(16px);
437 }
438
439 .wpbc_theme_switch input:focus-visible + .wpbc_theme_switch_control,
440 .wpbc_theme_choice input:focus-visible + .wpbc_theme_choice_swatch {
441 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wpbc-theme-accent);
442 }
443
444 .wpbc_theme_switch_label {
445 color: var(--wpbc-theme-text);
446 font-size: 13px;
447 line-height: 1.25;
448 overflow-wrap: anywhere;
449 }
450
451 select.wpbc_radio__set_days_customize_plugin {
452 max-width: calc( 100% - 140px );
453 }
454
455 .wpbc_theme_notice {
456 background: #fff8e5;
457 border: 1px solid #e8c76a;
458 box-sizing: border-box;
459 color: #3c434a;
460 font-size: 13px;
461 line-height: 1.45;
462 padding: 12px;
463 }
464
465 @media (max-width: 960px) {
466 .wpbc_theme_preview {
467 grid-template-columns: 1fr;
468 }
469 }
470
471 @media (max-width: 640px) {
472 .wpbc_theme_choice_grid {
473 grid-template-columns: 1fr;
474 }
475
476 .wpbc_theme_toolbar .wpbc_ts_control,
477 .wpbc_theme_toolbar .wpbc_ts_control select {
478 width: 100%;
479 }
480 }
481