PluginProbe
Booking Calendar / 11.2
Booking Calendar v11.2
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 10.11.2 All 203 releases
booking / includes / page-form-builder / _src / builder-form-page.css

builder-form-page.css in Booking Calendar 11.2, at includes/page-form-builder/_src/builder-form-page.css

1,826 lines 55.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ================================================================================================== */
2 /* Booking Form Builder (BFB) – Page UI */
3 /* Help: High-level page layout wrappers, container scaffolding, basic spacing */
4 /* ================================================================================================== */
5 /* --------------------------------------------------------------------------------------------------------------------- */
6 /* == File _out/builder-form-page.css == Time point: 2025-08-28 19:11 */
7 /* --------------------------------------------------------------------------------------------------------------------- */
8 .wpbc_admin {
9 --wpbc-bfb-accent-color: var(--wpbc_admin-theme-color, #327ab4 );
10 }
11 /* Admin page margins in WP */
12 body[class*="page_wpbc"] #wpcontent .wpbc_settings_page_content .wrap.wpbc_page {
13 margin: 2px 40px;
14 }
15
16 /* Two-pane builder layout (palette + pages) */
17 .wpbc_bfb__container {
18 display: flex;
19 gap: 20px;
20 width: 100%;
21 }
22 .wpbc_bfb__container h1 {
23 margin: 0;
24 }
25
26 /* Pages panel takes remaining width */
27 .wpbc_bfb__pages_panel,
28 .wpbc_bfb__theme_scope {
29 flex: 1 1 100%;
30 }
31
32 /* Vertical stack of page “cards” */
33 #wpbc_bfb__pages_container {
34 display: flex;
35 flex-flow: column nowrap;
36 align-items: stretch;
37 justify-content: flex-start;
38 gap: 30px;
39 }
40
41 /* ================================================================================================== */
42 /* Page Card */
43 /* Help: Visual shell of each page card and empty state styling */
44 /* ================================================================================================== */
45
46 .wpbc_bfb__pages_panel .wpbc_bfb__panel {
47 border: 0;
48 padding: 0 20px;
49 background: repeating-linear-gradient(-45deg, #f3f4f5 0 7px, #fff 7px 9px);
50 /* box-shadow set by admin theme; no extra shadow here */
51 margin: 0;
52 width: 100%;
53 position: relative;
54 border-radius: 15px;
55 }
56
57 /* Page header chip (right top) */
58 .wpbc_bfb__panel--preview h3.wpbc_bfb__page_number {
59 display: flex;
60 flex-flow: row nowrap;
61 justify-content: space-between;
62 position: absolute;
63 margin: 0;
64 right: 0;
65 gap: 60px;
66 align-items: center;
67 background: #fff;
68 padding: 0 12px;
69 border-radius: 3px;
70 border: 0;
71 box-shadow: rgba(2, 12, 36, .06) 0 0 28px;
72 min-height: 35px; /* match controls min-height */
73 }
74 .wpbc_bfb__panel--preview h3 button {
75 cursor: pointer;
76 }
77 /* Section container within a page (holds sections/columns) */
78 .wpbc_bfb__form_preview_section_container:empty {
79 min-height: 100px;
80 }
81 .wpbc_bfb__form_preview_section_container:empty {
82 display: flex;
83 flex-flow: column nowrap;
84 align-items: center;
85 justify-content: center;
86 }
87 .wpbc_bfb__form_preview_section_container:empty::before {
88 display: block;
89 text-align: center;
90 content: "\f132";
91 font-size: 32px;
92 color: var( --wpbc-bfb-accent-color, #327ab4 );
93 font-family: dashicons;
94 margin: auto;
95 }
96
97 /* Hidden template toggle */
98 #wpbc_bfb__add_columns_template[hidden] {
99 display: none;
100 }
101 /* ================================================================================================== */
102 /* Define - minimum height - for empty Page / Section / Column */
103 /* ================================================================================================== */
104 /* This style will only apply to the parent container where all child containers are empty. */
105 .wpbc_bfb__row:not(:has(.wpbc_bfb__column:not(:empty)))
106 /* .wpbc_bfb__form_preview_section_container:not(:has(div.wpbc_bfb__field,div.wpbc_bfb__section)), */
107 /*.wpbc_bfb__column:not(:has(div.wpbc_bfb__field,div.wpbc_bfb__section))*/
108 {
109 min-height: 150px;
110 }
111 /* ================================================================================================== */
112 /* Palette */
113 /* Help: Left palette column & list of field types */
114 /* ================================================================================================== */
115
116 .wpbc_bfb__panel--library {
117 flex: 0 1 25%;
118 box-sizing: border-box;
119 padding: 0;
120 }
121
122 .wpbc_bfb__panel--library .wpbc_bfb__panel_field_types__ul {
123 display: flex;
124 flex-flow: column nowrap;
125 justify-content: stretch;
126 align-items: stretch;
127 gap: 15px;
128
129 flex-flow: row wrap;
130 justify-content: flex-start;
131 align-items: stretch;
132 }
133
134 .wpbc_bfb__panel--library .wpbc_bfb__field,
135 .wpbc_bfb__drag-handle {
136 cursor: move;
137 }
138
139 .wpbc_bfb__panel--library .wpbc_bfb__field[aria-disabled="true"] {
140 opacity: .4;
141 cursor: not-allowed;
142 }
143
144 /* ================================================================================================== */
145 /* “Add Columns” Controls */
146 /* Help: Bar with dropdown/select for adding sections & columns */
147 /* ================================================================================================== */
148
149 .wpbc_bfb__controls {
150 padding: 0;
151 margin: 25px 0;
152 border-radius: 2px;
153 border: 0;
154 display: flex;
155 flex-flow: row nowrap;
156 align-items: stretch;
157 justify-content: center;
158 gap: 1em;
159 width: 100%;
160 min-height: 35px;
161 position: relative;
162 }
163
164 .wpbc_settings_page_content .wpbc_ui_el_container.wpbc_ui_el__dropdown .ul_dropdown_menu_toggle,
165 .wpbc_settings_page_content .wpbc_ui_el_container.wpbc_ui_el__dropdown .ul_dropdown_menu_toggle.has_down_arrow {
166 background-color: #fff;
167 }
168 .wpbc_settings_page_content .ul_dropdown_menu_toggle,
169 .wpbc_settings_page_content .ul_dropdown_menu_toggle .wpbc_ui_el__a {
170 color: var(--wpbc_ui__gen__text-color);
171 }
172
173 /* ================================================================================================== */
174 /* Grid: Sections / Rows / Columns */
175 /* Help: Layout grid inside each page (sections with rows and draggable columns) */
176 /* ================================================================================================== */
177
178 .wpbc_bfb__section {
179 position: relative;
180 border: 0;
181 padding: 0;
182 flex: 1 1 100%;
183 }
184
185 .wpbc_bfb__row {
186 display: flex;
187 width: 100%;
188 position: relative; /* enable gap ruler / resizer overlays */
189 }
190
191 /* CSS custom gap used by both builder and client preview */
192 :root {
193 --wpbc-col-gap: calc(1.5% - 1px);
194 }
195 div.wpbc_bfb__row,
196 div.wpbc_bfb_form .wpbc__row {
197 gap: var(--wpbc-col-gap);
198 padding: 10px 0; /* Required for ability to mouse over - dragable overlay, when section resized. */
199 }
200
201 .wpbc_bfb__column {
202 position: relative;
203 border: 0;
204 padding: 0;
205 flex: 1 1 100%;
206 transition: border-color 0.2s;
207 border-radius: 0;
208 box-sizing: border-box;
209 gap: 20px;
210 }
211 .wpbc_bfb__column:empty{
212 min-height: 80px;
213 overflow: hidden;
214 }
215 /* Prevent flex from squeezing below the per-column min width */
216 .wpbc_bfb__column,
217 .wpbc_bfb__row > .wpbc_bfb__column {
218 /* Set column minimum width depends from the data-min_width="250px" property in palette. */
219 min-width: var(--wpbc-col-min, 0);
220 }
221 /* Override client.css similar styles for columns. */
222 .wpbc_bfb_form .wpbc_bfb__section .wpbc_bfb__row .wpbc_bfb__column {
223 align-self: stretch;
224 align-self: flex-start;
225
226 display: flex;
227 flex-flow: row wrap;
228 justify-content: flex-start;
229 align-items: flex-start;
230 align-content: flex-start;
231 gap: 0;
232 }
233 /* Column borders during hover/drag to outline drop zones */
234 .wpbc_bfb__dragging,
235 .wpbc_bfb__section .wpbc_bfb__column:empty,
236 .wpbc_bfb__section:hover .wpbc_bfb__column {
237 border: 1px solid #b0c2d9;
238 align-content:center;
239 }
240
241 /* Empty column hint */
242 .wpbc_bfb__column:empty {
243 display: flex;
244 flex-flow: column nowrap;
245 justify-content: center;
246 align-items: center;
247
248 }
249 /* // ---------- Anti-jitter tuning. It's set stretch, so it's not jumping ---------- */
250 .wpbc_bfb__column:empty,
251 html.wpbc_bfb__dnd-active .wpbc_bfb_form .wpbc_bfb__section .wpbc_bfb__row .wpbc_bfb__column,
252 .wpbc_bfb_form .wpbc_bfb__section .wpbc_bfb__row .wpbc_bfb__column:empty {
253 align-self: stretch;
254 }
255 .wpbc_bfb__column:empty::before {
256 text-align: center;
257 padding: 0;
258 content: "\f132";
259 font-size: 32px;
260 color: var( --wpbc-bfb-accent-color, #327ab4 );
261 font-family: dashicons;
262 margin: auto;
263 /* // ---------- Anti-jitter tuning. height: 100%; - prevents jumping ---------- */
264 display: flex;
265 flex-flow: column nowrap;
266 align-items: center;
267 justify-content: center;
268 flex: 1 1 100%;
269 height: 100%;
270 overflow: hidden;
271 }
272 /* Stable landing pad so Sortable placeholder doesn’t collapse */
273 .wpbc_bfb__column:empty::after {
274 content: "";
275 display: block;
276 /*min-height: 36px;*/
277 }
278
279 /* ================================================================================================== */
280 /* Column Resizer */
281 /* Help: Draggable vertical rail between columns */
282 /* ================================================================================================== */
283
284 .wpbc_bfb__column-resizer {
285 align-self: stretch;
286 cursor: col-resize;
287 position: relative;
288 margin: 0;
289 flex: 0 0 0;
290 width: 0;
291 max-width: 0;
292 min-width: 0;
293 overflow: visible;
294 box-sizing: border-box;
295 }
296
297 /* Big invisible hit area that doesn’t change layout */
298 .wpbc_bfb__column-resizer::before {
299 content: "";
300 position: absolute;
301 left: -1.5px;
302 top: 0;
303 bottom: 0;
304 width: 3px;
305 cursor: col-resize;
306 margin: 10px 0;
307 border: 0;
308 }
309
310 /* Visualize the rail on hover/drag */
311 .wpbc_bfb__dragging .wpbc_bfb__column-resizer::before,
312 .wpbc_bfb__section:hover .wpbc_bfb__column-resizer::before,
313 .wpbc_bfb__column-resizer:hover::before {
314 position: absolute;
315 top: 0;
316 left: -2px;
317 transform: translate(0, 0);
318 background: #003a854f;
319 background: #a3aad2;
320 background: var(--wpbc-bfb-accent-color, #327ab4);
321 padding: 0;
322 border-radius: 4px;
323 white-space: nowrap;
324 z-index: 10;
325 border: 0;
326 }
327
328 /* Icon hint for resizer (dashicons “drag-handle”) */
329 .wpbc_bfb__column-resizer::after {
330 position: absolute;
331 left: 0;
332 top: 0;
333 bottom: 0;
334 width: 0;
335 pointer-events: none;
336 content: "";
337 font-size: 34px;
338 color: var( --wpbc-bfb-accent-color, #327ab4 );
339 font-family: dashicons;
340 border: 0;
341 transform: translate(-17px, -25px);
342 }
343 .wpbc_bfb__column-resizer:hover::after {
344 content: "\f229";
345 }
346
347 /* During drag, rails should not steal the pointer */
348 .wpbc_bfb__drag-active ~ .wpbc_bfb__column-resizer,
349 .wpbc_bfb__column.wpbc_bfb__dragging + .wpbc_bfb__column-resizer {
350 pointer-events: none !important;
351 }
352
353 /* ================================================================================================== */
354 /* Fields & Preview */
355 /* Help: Generic field block styling and simplified preview inputs */
356 /* ================================================================================================== */
357 .wpbc_bfb__noaction,
358 .wpbc_bfb__preview-rendered [inert] { /* Fallback for browsers without full inert behavior */
359 user-select: none;
360 pointer-events: none;
361 }
362 .wpbc_bfb__field {
363 position: relative; /* needed for overlay controls */
364 display: flex;
365 justify-content: flex-start;
366 gap: 10px;
367 align-items: flex-start;
368 flex-flow: row wrap;
369 background: #fff;
370 border: 1px solid #ccc;
371 border-radius: 2px;
372 }
373
374 /* Normalize padding/margins for raw container vs preview-rendered */
375 .wpbc_bfb__field,
376 .wpbc_bfb__panel--preview.wpbc_bfb_form .wpbc__field:not(.wpbc_bfb__preview-rendered) {
377 padding: 0;
378 margin: 0;
379 }
380 .wpbc_bfb__panel--preview.wpbc_bfb_form .wpbc_bfb__field:not(.wpbc_bfb__preview-rendered) {
381 margin: 10px 0;
382 }
383 /* Normalize padding/margins to respect front-end side client.css file, e.g.: .wpbc_bfb_form .wpbc__field:not(.wpbc__cal) */
384 .wpbc_bfb__panel--preview.wpbc_bfb_form .wpbc_bfb__column .wpbc_bfb__field.wpbc_bfb__preview-rendered {
385 /*margin: 0.7em 0;*/
386 }
387 .wpbc_bfb__field:not(.wpbc_bfb__preview-rendered) {
388 padding: 10px;
389 flex: 1 1 100%;
390
391 flex: 1 1 30%;
392 }
393 /* Preview mode: field expands and loses card visuals. */
394 .wpbc_bfb__field.wpbc_bfb__preview-rendered,
395 .wpbc_bfb__field.wpbc_bfb__preview-rendered .wpbc_bfb__noaction {
396 flex: 1 1 100%;
397 display: flex;
398 flex-flow: row wrap;
399 justify-content: flex-start;
400 align-items: flex-start;
401 align-content: normal;
402 padding: 0;
403 margin: 0;
404 gap: 10px;
405 }
406 .wpbc_bfb__field.wpbc_bfb__preview-rendered > *,
407 .wpbc_bfb__field.wpbc_bfb__preview-rendered .wpbc_bfb__noaction > * {
408 flex: 1 1 100%;
409 }
410 .wpbc_bfb__field.wpbc_bfb__preview-rendered:not(.wpbc_bfb__highlight) {
411 background: transparent;
412 border: 0;
413 padding: 0;
414 margin: 0;
415 }
416
417 /* Label + type chips used by fallback preview. */
418 .wpbc_bfb__field .wpbc_bfb__field-label {
419 font-weight: 700;
420 flex: 1 1 50%;
421 }
422 .wpbc_bfb__field .wpbc_bfb__field-type {
423 font-size: 0.9em;
424 color: #848484;
425 flex: 1 1 auto;
426 text-shadow: none;
427 text-align: right;
428 max-width: 100%;
429 word-break: break-word;
430 }
431
432 /* Simple neutral preview controls (fallback renderers). */
433 .wpbc_bfb__preview-input,
434 .wpbc_bfb__preview-textarea,
435 .wpbc_bfb__preview-select {
436 width: 100%;
437 padding: 6px;
438 border: 1px solid #ccc;
439 border-radius: 4px;
440 box-sizing: border-box;
441 }
442 .wpbc_bfb__preview-costhint {
443 display: inline-block;
444 padding: 6px;
445 background: #f5f5f5;
446 border: 1px dashed #aaa;
447 }
448
449 /* ================================================================================================== */
450 /* Drag & Drop States (SortableJS) */
451 /* Help: Visuals for ghost/placeholder/highlight during dragging */
452 /* ================================================================================================== */
453
454 .wpbc_bfb__drag-ghost .wpbc_bfb__column {
455 border: 2px dashed #9af !important;
456 border-radius: 6px;
457 }
458 .wpbc_bfb__section.wpbc_bfb__drag-ghost .wpbc_bfb__column {
459 transform: scale(0.95);
460 transition: transform 0.15s ease;
461 }
462 .wpbc_bfb__drag-active {
463 opacity: 1 !important;
464 }
465 .wpbc_bfb__highlight {
466 border: var( --wpbc-bfb-accent-color, #327ab4 ) 2px dashed !important;
467 }
468
469 /* Keep sizes stable so lists don’t jump */
470 .wpbc_bfb__drag-ghost {
471 opacity: .9 !important;
472 min-height: 20px;
473 width: 100%;
474 box-sizing: border-box;
475 }
476
477 /* Sortable placeholders (cross-browser stability) */
478 .sortable-chosen {
479 opacity: .9;
480 }
481 .sortable-ghost {
482 opacity: .6;
483 }
484 .sortable-fallback {
485 opacity: .8;
486 }
487 .sortable-placeholder {
488 min-height: 36px !important;
489 pointer-events: none;
490 }
491 .wpbc_bfb__simple_list_fallback {
492 opacity: 0.85;
493 }
494 /* ================================================================================================== */
495 /* Booking Form (Client) Overrides */
496 /* Help: Make embedded client form respect builder widths & max-widths */
497 /* ================================================================================================== */
498
499 .wpbc_bfb_form {
500 width: 100%;
501 margin-top: 0;
502 box-sizing: border-box;
503 max-width: 100%;
504 margin: 0;
505 }
506 .wpbc_bfb__panel--preview .wpbc_bfb_form {
507 width: 100%;
508 padding: 10px;
509 box-sizing: border-box;
510 }
511
512 /* Ensure inputs inside sections don’t overflow columns */
513 .wpbc_bfb_form .wpbc_bfb__section select,
514 .wpbc_bfb_form .wpbc_bfb__section input[type="text"],
515 .wpbc_bfb_form .wpbc_bfb__section input[type="email"],
516 .wpbc_bfb_form .wpbc_bfb__section textarea {
517 max-width: Min(30em, 100%);
518 width: 100%;
519 min-width: 100%;
520 }
521
522 /* WP core UI overrides when form is nested inside admin */
523 .wp-core-ui .wpbc_bfb__panel--preview .wpbc_bfb_form select,
524 .wp-core-ui .wpbc_bfb__panel--preview .wpbc_bfb_form input[type="text"],
525 .wp-core-ui .wpbc_bfb__panel--preview .wpbc_bfb_form input[type="email"],
526 .wp-core-ui .wpbc_bfb__panel--preview .wpbc_bfb_form textarea {
527 max-width: Min(30em, 100%);
528 width: auto;
529 min-width: auto;
530 }
531
532 /* ================================================================================================== */
533 /* Overlay Controls (per field/section) */
534 /* Help: Vertical mini-toolbar with drag handle, remove, move buttons */
535 /* ================================================================================================== */
536
537 .wpbc_bfb__overlay-controls {
538 position: absolute;
539 top: 0;
540 left: 0;
541 transform: translateX(calc(-100% + 5px));
542 z-index: 999;
543 display: none;
544 flex-flow: column nowrap;
545 align-items: center;
546 justify-content: flex-start;
547 gap: 2px;
548 padding: 5px 1px;
549 background: #fff;
550 border: 1px solid #b0c2d9;
551 border-radius: 4px;
552 box-shadow: 0 0 1px #b0c2d9;
553 pointer-events: auto;
554
555 flex-flow: row nowrap;
556 padding: 1px 5px;
557 opacity: 0.97;
558 box-shadow: 0 1px 5px 0px #b0c2d9;
559 transform: translateY(calc(-50% + 5px));
560 }
561
562 /* Show toolbar on hover (fields) */
563 html:not(.wpbc_bfb__dnd-active) .wpbc_bfb__field:hover .wpbc_bfb__overlay-controls {
564 display: flex;
565 }
566 /* Section overlay toolbar background */
567 .wpbc_bfb__section > .wpbc_bfb__overlay-controls {
568 background: repeating-linear-gradient(-45deg, #ebebff 4px 5px, #fff 6px 7px);
569 background: repeating-linear-gradient(-45deg, #dde7fb 2px 2px,#fff 3px 5px);
570 }
571 /* Show toolbar on hover (sections) – right side */
572 .wpbc_bfb__section:hover > .wpbc_bfb__overlay-controls {
573 display: flex;
574 padding: 1px 5px;
575 position: absolute;
576 /*right: 0;*/
577 /*left: auto;*/
578 /*transform: translate( 100%, 0);*/
579 left: 50%;
580 transform: translate( -50% ,calc( -100% + 5px ));
581 opacity: 0.95;
582 border: 1px solid var( --wpbc-bfb-accent-color, #327ab4 );
583 }
584
585 /* Buttons inside the overlay */
586 .wpbc_bfb__pages_panel .wpbc_bfb__panel .wpbc_bfb__overlay-controls > * {
587 padding: 10px;
588 display: flex;
589 flex-flow: column nowrap;
590 align-items: center;
591 justify-content: center;
592 }
593 .wpbc_bfb__overlay-controls .wpbc_bfb__drag-handle {
594 cursor: move;
595 }
596 .wpbc_bfb__field-move-up,
597 .wpbc_bfb__field-move-down {
598 border: none;
599 cursor: pointer;
600 }
601 .wpbc_bfb__overlay-controls button {
602 background: rgba(255, 255, 255, 0.8);
603 border: 1px solid #ccc;
604 padding: 2px 6px;
605 font-size: 12px;
606 line-height: 1;
607 opacity: 0.8;
608 transition: opacity 0.2s;
609 cursor: pointer;
610 }
611 .wpbc_bfb__overlay-controls button:hover {
612 opacity: 1;
613 }
614 .wpbc_bfb__overlay-controls button:last-child {
615 font-size: 8px;
616 font-weight: 600;
617 }
618
619 /* Show overlay for the hovered section, but ONLY if it doesn't contain another hovered section */
620 .wpbc_bfb__section:hover:not(:has(.wpbc_bfb__section:hover)) > .wpbc_bfb__overlay-controls {
621 display: flex;
622 }
623 /* Optionally: if any inner section is hovered, completely hide ancestor overlays */
624 .wpbc_bfb__section:has(.wpbc_bfb__section:hover) > .wpbc_bfb__overlay-controls {
625 display: none; /* or opacity:.0; pointer-events:none; if you prefer a fade */
626 }
627
628 /* ================================================================================================== */
629 /* Layout Preset Chips */
630 /* Help: Tiny visual chips inside overlay to apply column width presets */
631 /* ================================================================================================== */
632
633 .wpbc_bfb__pages_panel .wpbc_bfb__panel .wpbc_bfb__overlay-controls .wpbc_bfb__layout_picker {
634 display: flex;
635 flex-flow: column nowrap;
636 justify-content: stretch;
637 align-items: stretch;
638 gap: 8px;
639 }
640 .wpbc_bfb__layout_chips {
641 display: flex;
642 flex-flow: row wrap;
643 justify-content: flex-start;
644 align-items: stretch;
645 gap: 12px;
646 width: 100%;
647 }
648 .wpbc_bfb__layout_chip {
649 border: 0;
650 background: #fff;
651 padding: 0;
652 font-size: 11px;
653 line-height: 1;
654 cursor: pointer;
655 display: flex;
656 flex-flow: column nowrap;
657 align-items: stretch;
658 justify-content: center;
659 flex: 0 1 40px;
660 height: 18px;
661 }
662 .wpbc_bfb__layout_chip.is-active {
663 outline: 1px #97a3b5 solid;
664 outline-offset: 3px;
665 border-radius: 1px;
666 }
667 .wpbc_bfb__layout_chip-vis {
668 display: flex;
669 flex-flow: row nowrap;
670 justify-content: flex-start;
671 align-items: stretch;
672 gap: 2px;
673 flex: 1 1 100%;
674 }
675 .wpbc_bfb__layout_chip-vis span {
676 background: #718299;
677 opacity: 1;
678 border-radius: 2px;
679 align-self: stretch;
680 }
681 .wpbc_bfb__layout_chip-label {
682 display: none;
683 }
684
685 /* ================================================================================================== */
686 /* Selection State */
687 /* Help: When a field is selected in the builder */
688 /* ================================================================================================== */
689 /*html:not(.wpbc_bfb__dnd-active) .wpbc_bfb__panel--preview [data-uid].is-selected,*/
690 html:not(.wpbc_bfb__dnd-active) .wpbc_bfb__panel--preview .wpbc_bfb__field.is-selected
691 /*html:not(.wpbc_bfb__dnd-active) .wpbc_bfb__panel--preview .wpbc_bfb__section.is-selected*/
692 {
693 outline: 2px dashed var( --wpbc-bfb-accent-color, #327ab4 );
694 outline-offset: 3px;
695 border-radius: 1px;
696 }
697 /* Selection with highlighted border of elements ! */
698 html:not(.wpbc_bfb__dnd-active) .wpbc_bfb__section.is-selected .wpbc_bfb__column {
699 background-color: rgba(32, 77, 255, 0.04);
700 background: repeating-linear-gradient(-45deg,#3c7ffe0f 1px 2px,#fff 3px 4px);
701 background: repeating-linear-gradient(-45deg,#3c5afe0f 1px 2px,#fff 3px 4px);
702 background: repeating-linear-gradient(-45deg,#a0b2c129 1px 2px,#fff 3px 4px);
703 background: repeating-linear-gradient(-45deg,#3d62a812 1px 2px,#fff 3px 4px);
704 }
705 /* Selection of the Columns: */
706 html:not(.wpbc_bfb__dnd-active) .wpbc_bfb__section.is-selected .wpbc_bfb__column.is-selected-column {
707 background: repeating-linear-gradient(-45deg,#3874e921 1px 2px,#fff 3px 5px);
708 }
709 html:not(.wpbc_bfb__dnd-active) .wpbc_theme_dark_1 .wpbc_bfb__section.is-selected .wpbc_bfb__column {
710 background: repeating-linear-gradient(-45deg,#626262 1px 4px,#4c4c4c 5px 7px);
711 }
712 html:not(.wpbc_bfb__dnd-active) .wpbc_theme_dark_1 .wpbc_bfb__section.is-selected .wpbc_bfb__column.is-selected-column {
713 background: repeating-linear-gradient(-45deg,#3c3d73 1px 4px,#4c4c4c 5px 7px);
714 }
715 /* Mini preview (template “ghost” columns) */
716 .wpbc_bfb__section[data-selected-col] .wpbc_bfb__section__cols > .wpbc_bfb__section__col.is-selected-column {
717 outline: 2px solid var(--wpbc-bfb-accent-color,#327ab4);
718 outline-offset: -2px;
719 }
720 /* Real columns on the canvas */
721 .wpbc_bfb_form .wpbc_bfb__section[data-selected-col] > .wpbc_bfb__row > .wpbc_bfb__column.is-selected-column {
722 outline: 2px solid var(--wpbc-bfb-accent-color,#327ab4);
723 outline-offset: -2px;
724 padding: 1px;
725 }
726
727 /* Field Selection */
728 html:not(.wpbc_bfb__dnd-active) .wpbc_bfb__section.is-selected .wpbc_bfb__column > .wpbc_bfb__field {
729 /*border: 1px solid #292ce66e;*/
730 border: 1px solid #327ab4;
731 /*outline: 2px dashed #327ab4;*/
732 border-radius: 0;
733 /*outline-offset: 3px;*/
734 }
735
736 /* ================================================================================================== */
737 /* Drag and Drop Fields */
738 /* Help: When a Dnd in Canvas */
739 /* ================================================================================================== */
740 /* Canvas-only visual hint; - Visual hint for handles and field cards */
741 .wpbc_bfb__overlay-controls .wpbc_bfb__drag-handle,
742 .wpbc_bfb__overlay-controls .section-drag-handle {
743 /*cursor: grab;*/
744 cursor: move;
745 }
746 .wpbc_bfb__overlay-controls .wpbc_bfb__drag-handle:active,
747 .wpbc_bfb__overlay-controls .section-drag-handle:active {
748 cursor: grabbing;
749 }
750 .wpbc_bfb__field.wpbc_bfb__drag-anywhere {
751 /*cursor: grab;*/
752 cursor: move;
753 }
754 .wpbc_bfb__field.wpbc_bfb__drag-anywhere:active {
755 cursor: grabbing;
756 }
757 /* Let the field card hint it’s draggable; inputs stay normal */
758 .wpbc_bfb__no-drag-zone {
759 cursor: auto;
760 }
761 /* ================================================================================================== */
762 /* Element under the cursor during DnD */
763 /* Help: CSS to style the element under the cursor */
764 /* ================================================================================================== */
765 /* Generic look of the element under cursor - (applies to any drag) */
766 .sortable-drag,
767 .sortable-fallback,
768 .wpbc_bfb__field.wpbc_bfb__preview-rendered.wpbc_bfb__drag-active, /* Ovveride padding from other CSS */
769 .wpbc_bfb__drag-active {
770 box-shadow: 0 10px 30px rgba(0, 0, 0, .2); /* Make it look like a floating card */
771 transform: scale(.98) rotate(-2deg);
772 opacity: 1;
773 z-index: 999999;
774 pointer-events: none; /* don't accidentally interact with it */
775 transition: none !important; /* avoid jank while mirror follows the cursor */
776 padding: 10px !important;
777 height: auto !important;
778 }
779
780 /* Only when dragging from the Palette. - Under cursor, dragging element from palette. */
781 html.wpbc_bfb__dnd-active .wpbc_bfb__drag-active {
782 max-width: max-content;
783 min-width: min-content !important;
784 width: 200px !important;
785 }
786 html.wpbc_bfb__drag-from-palette [data-drag-role="palette"],
787 html.wpbc_bfb__drag-from-palette .wpbc_bfb__drag-active {
788 /* Example: smaller, badge-like; tweak */
789 border: 1px dashed rgba(0, 0, 0, .25);
790 background: #f7f7f7;
791 border-radius: 8px;
792 padding: 6px 10px;
793 max-width: 320px; /* Optional: fixed dimensions for consistency */
794 }
795 /* Dim the source tile in the palette while dragging: */
796 .wpbc_bfb__panel_field_types__ul .wpbc_bfb__highlight { /* chosenClass */
797 opacity: 0.4;
798 }
799 /* Strip preview chrome while dragging (optional) */
800 .wpbc_bfb__drag-active.wpbc_bfb__preview-rendered .wpbc_bfb__overlay-controls,
801 .wpbc_bfb__drag-active.wpbc_bfb__preview-rendered .wpbc_bfb__help {
802 display: none;
803 }
804 /* ================================================================================================== */
805 /* Inspector (Right Pane) */
806 /* Help: Visual structure for the inspector accordion groups & inputs */
807 /* ================================================================================================== */
808
809 .wpbc_bfb__inspector {
810 }
811 .wpbc_bfb__inspector__head {
812 margin: 0;
813 padding-bottom: 10px;
814 /*border-bottom: 1px solid #c0c0c0;*/
815 /*box-shadow: -2px 1px 1px #0000000a;*/
816 }
817 .wpbc_bfb__inspector__head .header_container {
818 padding: 0 5px 0 10px;
819 display: flex;
820 flex-flow: column nowrap;
821 justify-content: flex-start;
822 align-items: flex-start;
823 gap: 10px;
824 }
825 .wpbc_bfb__inspector__head .header_container .header_title_content {
826 }
827 .wpbc_bfb__inspector__head .title {
828 margin: 0;
829 line-height: 1.74;
830 font-weight: 700;
831 font-size: 14px;
832 color: #626870;
833 color: #23274a;
834 text-transform: uppercase;
835 letter-spacing: 0.2px;
836 }
837 .wpbc_bfb__inspector__head .desc {
838 color: #667085;
839 font-size: 12px;
840 margin: 5px 0 0;
841 line-height: 1.75;
842 }
843
844 /* Actions toolbar in Inspector Properties. */
845 .wpbc_bfb__inspector__head .actions {
846 flex: 1 1 100%;
847 display: flex;
848 flex-flow: row wrap;
849 justify-content: flex-start;
850 align-items: center;
851 gap: 10px;
852 }
853 .wpbc_bfb__inspector__head .wpbc_ajx_toolbar .ui_container,
854 .wpbc_bfb__inspector__head .wpbc_ajx_toolbar .ui_container .ui_group {
855 flex: 1 1 100%;
856 }
857 /* Ovveride buttons view in inspector. */
858 .wpbc_bfb__inspector__head .ui_element:has( .button-link-delete ) {
859 align-self: flex-end;
860 }
861 .wpbc_bfb__inspector__head .button[aria-label] i {
862 pointer-events: none;
863 }
864
865 .wpbc_bfb__inspector__body {
866 display: flex;
867 flex-direction: column;
868 gap: 0;
869 }
870 .wpbc_bfb__inspector__group {
871 overflow: auto;
872 }
873 /* Different elements in inspector */
874 .wpbc_bfb__inspector h2{
875 padding: 0 10px;
876 margin: 0;
877 color: var(--wpbc_ui_horis_top_nav__a_color);
878 font-size: 15px;
879 /*font-weight: 700;*/
880 /*line-height: 2.1;*/
881 /*text-transform: uppercase;*/
882 }
883 .wpbc_bfb__inspector .inspector__row h2{
884 padding:0;
885 }
886 /* Tabs selector */
887 .wpbc_bfb__inspector .wpbc_ui_el__horis_top_bar__wrapper {
888 /*margin: 0;*/
889 }
890
891 .inspector__row {
892 display: flex;
893 flex-flow: row wrap;
894 justify-content: flex-start;
895 align-items: flex-start;
896 gap: 10px;
897 flex: 1 1 100%;
898 width: 100%;
899 }
900 .inspector__row *{
901 font-size: 14px;
902 }
903 .inspector__row.row__bordered {
904 border: 1px solid #ccc;
905 padding: 10px;
906 border-radius: 5px;
907 box-sizing: border-box;
908 }
909 .inspector__label,
910 .inspector__control {
911 flex: 1 1 100%;
912 line-height: 2.5;
913 }
914 .inspector__label .req {
915 color: #cc0000;
916 }
917 .inspector__control input:not([type="submit"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]),
918 .inspector__control select,
919 .inspector__control textarea,
920 .inspector__input,
921 .inspector__textarea,
922 .inspector__select {
923 line-height: 2.4;
924 width: 100%;
925 }
926 .inspector__input--readonly {
927 background: #f6f7f7;
928 color: #6c7781;
929 cursor: not-allowed;
930 }
931 .wpbc_bfb__inspector__empty {
932 color: #a67345;
933 font-size: 17px;
934 padding: 6px;
935 display: flex;
936 flex-flow: column;
937 justify-content: center;
938 align-items: center;
939 align-self: stretch;
940 min-height: 50px;
941 font-weight: 600;
942 }
943 /* Sizes*/
944 .inspector__row .inspector__w_10 { flex-basis: 10%; }
945 .inspector__row .inspector__w_20 { flex-basis: 20%; }
946 .inspector__row .inspector__w_30 { flex-basis: 30%; }
947 .inspector__row .inspector__w_40 { flex-basis: 40%; }
948 .inspector__row .inspector__w_50 { flex-basis: 50%; }
949 .inspector__row .inspector__w_60 { flex-basis: 60%; }
950 .inspector__row .inspector__w_70 { flex-basis: 70%; }
951 .inspector__row .inspector__w_80 { flex-basis: 80%; }
952 .inspector__row .inspector__w_90 { flex-basis: 90%; }
953 .inspector__row .inspector__w_100 { flex-basis: 100%; }
954 .inspector__row .inspector__w_05 { flex-basis: 5%; }
955 .inspector__row .inspector__w_15 { flex-basis: 15%; }
956 .inspector__row .inspector__w_25 { flex-basis: 25%; }
957 .inspector__row .inspector__w_35 { flex-basis: 35%; }
958 .inspector__row .inspector__w_45 { flex-basis: 45%; }
959 .inspector__row .inspector__w_55 { flex-basis: 55%; }
960 .inspector__row .inspector__w_65 { flex-basis: 65%; }
961 .inspector__row .inspector__w_75 { flex-basis: 75%; }
962 .inspector__row .inspector__w_85 { flex-basis: 85%; }
963 .inspector__row .inspector__w_95 { flex-basis: 95%; }
964
965 .inspector__row .wpbc_inline_inputs {
966 display: flex;
967 flex-flow: row nowrap;
968 justify-content: flex-start;
969 align-items: flex-start;
970 gap: 5px;
971 width:100%;
972 }
973 .inspector__row .wpbc_inline_inputs {
974 margin:5px 0;
975 }
976 .inspector__row label {
977 margin: 0 0;
978 font-weight: 550;
979 /*font-size: 13px;*/
980 line-height: 1.75;
981 }
982 .inspector__row .inspector__control__generator_times .wpbc_inline_inputs,
983 .inspector__row .inspector__control__generator_timeslots .wpbc_inline_inputs,
984 .inspector__row .inspector__control__generator_times label,
985 .inspector__row .inspector__control__generator_timeslots label {
986 margin:0;
987 }
988 .wpbc_len_group {
989 display: flex;
990 flex-flow: column nowrap;
991 justify-content: flex-start;
992 align-items: flex-start;
993 gap: 10px;
994 }
995 .wpbc_len_group.wpbc_inline_inputs {
996 align-items: center;
997 gap: 15px;
998 }
999 /* ================================================================================================== */
1000 /* Time Slots (rangetime) Genertor */
1001 /* ================================================================================================== */
1002 .inspector__group__fields__times .inspector__control__generator_times,
1003 .inspector__group__fields__times .inspector__control__generator_timeslots {
1004 display: flex;
1005 flex-flow: column nowrap;
1006 align-items: stretch;
1007 justify-content: flex-start;
1008 gap:10px;
1009 padding: 5px 15px;
1010 background-color: #f8f8f9;
1011 border-radius: 5px;
1012 }
1013 .inspector__group__fields__times .wpbc_bfb__options_list {
1014 flex: 1 1 100%;
1015 }
1016 .inspector__group__fields__times .wpbc_bfb__opt-label {
1017 flex: 1 1 auto;
1018 }
1019 .inspector__group__fields__times .wpbc_bfb__opt-time {
1020 flex: 0 1 180px;
1021 max-width: 120px;
1022 }
1023 .inspector__group__fields__times .wpbc_bfb__opt-start,
1024 .inspector__group__fields__times .wpbc_bfb__opt-end{
1025 flex: 0 1 100px;
1026 min-width: 100px;
1027 }
1028 .inspector__group__fields__times .wpbc_bfb__options_list__header {
1029 flex: 1 1 100%;
1030 display: flex;
1031 flex-flow: row nowrap;
1032 justify-content: flex-start;
1033 align-items: center;
1034 gap: 10px;
1035
1036 background-color: #f8f8f9;
1037 border-radius: 4px;
1038 height: 36px;
1039 }
1040 .inspector__group__fields__times .wpbc_bfb__options_list__header * {
1041 font-size: 13px;
1042 font-weight: 600;
1043 text-align: center;
1044 }
1045 .wpbc_bfb__options_list__header .wpbc_bfb__header_col__drag-handle{
1046 flex: 0 1 16px;
1047 }
1048 .wpbc_bfb__options_list__header .wpbc_bfb__header_col__label{
1049 flex: 1 1 auto;
1050 }
1051 .wpbc_bfb__options_list__header .wpbc_bfb__header_col__value{
1052 flex: 0 1 120px;
1053 }
1054 .wpbc_bfb__options_list__header .wpbc_bfb__header_col__action{
1055 flex: 0 1 50px;
1056 }
1057 .inspector__group__fields__times .wpbc_bfb__options_toolbar{
1058 flex: 1;
1059 }
1060 .inspector__row small.desc {
1061 font-size: 12px;
1062 text-align: center;
1063 width: 100%;
1064 }
1065 /* ================================================================================================== */
1066 /* Brief outline pulse when jumping to selection */
1067 @keyframes wpbc-bfb-pulse {
1068 0% {
1069 box-shadow: 0 0 0 0 rgba(34, 63, 102, .35);
1070 }
1071 100% {
1072 box-shadow: 0 0 0 8px rgba(34, 63, 102, 0);
1073 }
1074 }
1075 .wpbc_bfb__scroll-pulse,
1076 .wpbc_bfb__panel--preview [data-uid].wpbc_bfb__scroll-pulse {
1077 animation: wpbc-bfb-pulse 0.7s ease-out 1;
1078 outline: 2px dashed var( --wpbc-bfb-accent-color, #327ab4 );
1079 outline-offset: 3px;
1080 }
1081 /* ================================================================================================== */
1082 /* Highlight Generator button, or other elements */
1083 .wpbc_bfb__highlight-pulse {
1084 --wpbc-bfb-pulse-color: #2d7bf0; /* tweak if needed */
1085 --wpbc-bfb-pulse-outline-w: 3px;
1086 --wpbc-bfb-pulse-offset: 10px;
1087 --wpbc-bfb-pulse-shadow-w: 6px;
1088 }
1089 @keyframes wpbc-bfb-highlight-pulse {
1090 0% {
1091 box-shadow: 0 0 0 var(--wpbc-bfb-pulse-shadow-w) rgba(45, 123, 240, .35);
1092 /*outline: var(--wpbc-bfb-pulse-outline-w) dashed var(--wpbc-bfb-pulse-color);*/
1093 outline-offset: var(--wpbc-bfb-pulse-offset);
1094 }
1095 60% {
1096 box-shadow: 0 0 0 2px var(--wpbc-bfb-pulse-color);
1097 outline-offset: calc(var(--wpbc-bfb-pulse-offset) + 2px);
1098 }
1099 100% {
1100 box-shadow: 0 0 0 0 rgba(45, 123, 240, 0);
1101 outline: 0;
1102 }
1103 }
1104 @keyframes wpbc-bfb-ping {
1105 0% {
1106 opacity: .65;
1107 transform: scale(.98)
1108 }
1109 100% {
1110 opacity: 0;
1111 transform: scale(1.08)
1112 }
1113 }
1114 .wpbc_bfb__highlight-pulse {
1115 position: relative;
1116 animation: .48s ease-out both wpbc-bfb-highlight-pulse
1117 }
1118 .wpbc_bfb__highlight-pulse::after {
1119 content: "";
1120 position: absolute;
1121 inset: -7px;
1122 border: 2px dotted var(--wpbc-bfb-pulse-color);
1123 border-radius: 7px;
1124 pointer-events: none;
1125 opacity: 0;
1126 animation: .48s ease-out both wpbc-bfb-ping
1127 }
1128 @media (prefers-reduced-motion: reduce) {
1129 .wpbc_bfb__highlight-pulse {
1130 animation: none;
1131 outline: 3px solid var(--wpbc-bfb-pulse-color);
1132 outline-offset: 8px
1133 }
1134 .wpbc_bfb__highlight-pulse::after {
1135 animation: none;
1136 opacity: .5
1137 }
1138 }
1139 @keyframes wpbc-bfb-highlight-once {
1140 0% {
1141 box-shadow: 0 0 0 5px rgba(45, 123, 240, .35);
1142 /* outline: 2px dashed var(--wpbc-bfb-pulse-color); */
1143 outline-offset: 8px
1144 }
1145 100% {
1146 box-shadow: 0 0 0 0 rgba(45, 123, 240, 0);
1147 outline: 0
1148 }
1149 }
1150 .wpbc_bfb__scroll-pulse {
1151 animation: .45s ease-out wpbc-bfb-highlight-once
1152 }
1153
1154 /* ================================================================================================== */
1155 /* Hide colapse to compact mode button in Right sidebar. */
1156 .wpbc_admin_page__tab__builder_booking_form .wpbc_ui_el__vert_right_bar__content .wpbc_ui_el__expand_colapse_btns {
1157 display: none;
1158 }
1159 /* ================================================================================================== */
1160 /* Position of News Purchase message in Free version and Top right wizard button on BFB page ! */
1161 /* ================================================================================================== */
1162 .wpbc_admin_page__tab__builder_booking_form .wpbc_ui_el__top_nav .wpbc_message_wrapper .wpbc_header_news {
1163 position: absolute;
1164 top: calc(var(--wpbc_ui_top_nav__height) + 10px);
1165 left: 50%;
1166 margin-left: -25%;
1167 }
1168 .wpbc_admin_page__tab__builder_booking_form .wpbc_page_top__wizard_button {
1169 top: calc(var(--wpbc_ui_top_nav__wp_top_menu_height) + var(--wpbc_ui_top_nav__height) + 10px) !important;
1170 }
1171 /* ================================================================================================== */
1172 /* Pallete Refactoding */
1173 /* ================================================================================================== */
1174 .wpbc_admin_page__tab__builder_booking_form [hidden] {
1175 display: none !important;
1176 }
1177 /* hide inspector rows via [hidden] cleanly */
1178 .wpbc_bfb__inspector .inspector__row[hidden] {
1179 display: none !important;
1180 }
1181 /* Hide the entire "Layout" row when the selected section has 1 column */
1182 .wpbc_bfb__inspector[data-bfb-section-cols="1"] .inspector__row--layout-chips {
1183 display: none !important;
1184 }
1185 /* If the row was created without the row marker class, hide the host as a fallback */
1186 .wpbc_bfb__inspector[data-bfb-section-cols="1"] [data-bfb-slot="layout_chips"] {
1187 display: none !important;
1188 }
1189 /* Palette item is at limit */
1190 .wpbc_bfb__palette .is-disabled {
1191 opacity: .5;
1192 pointer-events: none; /* if you want to block drag */
1193 }
1194
1195 /* Pallete input elements */
1196 .wpbc_admin input[type=date]::placeholder,
1197 .wpbc_admin input[type=datetime]::placeholder,
1198 .wpbc_admin input[type=datetime-local]::placeholder,
1199 .wpbc_admin input[type=email]::placeholder,
1200 .wpbc_admin input[type=month]::placeholder,
1201 .wpbc_admin input[type=number]::placeholder,
1202 .wpbc_admin input[type=password]::placeholder,
1203 .wpbc_admin input[type=range]::placeholder,
1204 .wpbc_admin input[type=search]::placeholder,
1205 .wpbc_admin input[type=tel]::placeholder,
1206 .wpbc_admin input[type=text]::placeholder,
1207 .wpbc_admin input[type=time]::placeholder,
1208 .wpbc_admin input[type=url]::placeholder,
1209 .wpbc_admin input[type=week]::placeholder,
1210 .wpbc_admin select::placeholder,
1211 .wpbc_admin textarea::placeholder {
1212 color: var(--wpbc_form-field-text-color);
1213 opacity: 0.5;
1214 pointer-events: none;
1215 }
1216
1217 /* -- Inspector -- Dropdown list ------------------------------------------------------------------------------------ */
1218 /* Ooptions DnD Row in Pallete */
1219 .wpbc_bfb__options_list {
1220 display: flex;
1221 flex-flow: column nowrap;
1222 justify-content: flex-start;
1223 align-items: stretch;
1224 gap: 15px;
1225 flex: 1 1 auto;
1226 }
1227 .wpbc_bfb__options_row {
1228 display: flex;
1229 flex-flow: row wrap;
1230 justify-content: flex-start;
1231 align-items: center;
1232 gap: 10px;
1233 }
1234 .wpbc_bfb__drag-handle {
1235 flex: 0 1 16px;
1236 }
1237 .wpbc_bfb__opt-label,
1238 .wpbc_bfb__opt-value {
1239 flex: 1 1 4em;
1240 min-width: 4em;
1241 }
1242 .wpbc_bfb__opt-selected {
1243 flex: 0 1 auto;
1244 }
1245 /* Set Check Icon color*/
1246 .wpbc_bfb__opt-selected .wpbc_ui__toggle label {
1247 color: var(--wpbc_admin-theme-color, #2271b1);
1248 }
1249 /* Set Default lables invisible */
1250 .wpbc_bfb__opt-selected .wpbc_ui__toggle .wpbc_ui__toggle_label {
1251 display:none;
1252 }
1253 .wp-core-ui .wpbc_bfb__options_row .button,
1254 .wp-core-ui .wpbc_bfb__options_row .button:hover,
1255 .wp-core-ui .wpbc_bfb__options_row .button:focus {
1256 border-color: transparent;
1257 background: transparent;
1258 flex: 0 0 auto;
1259 padding: 2px;
1260 }
1261 .wpbc_bfb__options_toolbar {
1262 display: flex;
1263 flex-flow: column nowrap;
1264 justify-content: center;
1265 align-items: center;
1266 gap: 10px;
1267 margin: 25px 0 0;
1268 }
1269
1270 /* Elementor-like "choose" chips. */
1271 /* Accessibly hide the native radios but keep them focusable and screen-reader visible */
1272 .wpbc_sr_only {
1273 position: absolute !important;
1274 clip: rect(1px, 1px, 1px, 1px);
1275 padding: 0 !important;
1276 border: 0 !important;
1277 height: 1px !important;
1278 width: 1px !important;
1279 overflow: hidden;
1280 white-space: nowrap;
1281 }
1282 /* Chip group */
1283 .wpbc_bfb__choices {
1284 display: flex;
1285 flex-wrap: wrap;
1286 gap: 2px;
1287 }
1288 /* Chip label */
1289 .wpbc_bfb__chip {
1290 display: inline-flex;
1291 align-items: center;
1292 justify-content: center;
1293 min-width: 24px;
1294 min-height: 24px;
1295 padding: 5px 5px;
1296 border-radius: 4px;
1297 border: 0px solid #dcdcde;
1298 background: #fff;
1299 cursor: pointer;
1300 line-height: 1;
1301 user-select: none;
1302 }
1303 /* Focus ring when the hidden radio is focused */
1304 .wpbc_sr_only:focus + .wpbc_bfb__chip {
1305 outline: 1px solid var(--wpbc_admin-theme-color, #2271b1);
1306 outline-offset: 0px;
1307 }
1308 /* Selected state (via sibling selector) */
1309 .wpbc_sr_only:checked + .wpbc_bfb__chip {
1310 border-color: var(--wpbc_admin-theme-color, #2271b1);
1311 box-shadow: inset 0 0 0 1px var(--wpbc_admin-theme-color, #2271b1);
1312 }
1313 /* Screen-reader only helper */
1314 .wpbc_bfb__chip .sr-only {
1315 position: absolute !important;
1316 height: 1px;
1317 width: 1px;
1318 overflow: hidden;
1319 clip: rect(1px, 1px, 1px, 1px);
1320 white-space: nowrap;
1321 }
1322
1323 /* Base state: define transition + starting transform */
1324 .wpbc_bfb__chip i {
1325 display: inline-block; /* ensure it can transform */
1326 transform-origin: 50% 50%;
1327 transform: rotate(0deg);
1328 transition: transform .4s ease-in-out;
1329 }
1330
1331 /* When you add the class to the chip, rotate the icon */
1332 .wpbc_bfb__chip.wpbc_do_rotate_90 i {
1333 transform: rotate(90deg);
1334 }
1335 /* Rotation Exception */
1336 .wpbc_bfb__chip.wpbc_do_rotate_90 i.wpbc-bi-align-top,
1337 .wpbc_bfb__chip.wpbc_do_rotate_90 i.wpbc-bi-align-bottom {
1338 transform: rotate(270deg);
1339 }
1340
1341 /* == Stauses: Live: Builder (auto-sync ON) | Live: Advanced (manual) ============================================ */
1342 /* Base */
1343 .wpbc_bfb__live_status {
1344 display: none;
1345 font-size: 10px;
1346 font-weight: 400;
1347 margin-inline-start: 1em;
1348 align-items: center;
1349 }
1350 .wpbc_bfb__live_status__builder { color: #619d40; }
1351 .wpbc_bfb__live_status__advanced { color: #b97131; }
1352 /* == Top Toolbar - Form Name|Title. ============================================================================== */
1353 .wpbc_bfb__hint__form_name {
1354 display: flex;
1355 flex-flow: row nowrap;
1356 justify-content: flex-start;
1357 align-items: center;
1358 gap: 8px;
1359 }
1360 .wpbc_bfb__hint__form_name .wpbc_bfb__hint__form_name__label {
1361 color: #999;
1362 padding-top: .5em;
1363 font-size: 9px;
1364 }
1365 .wpbc_bfb__hint__form_name .wpbc_bfb__hint__form_name__title {
1366 font-size: 17px;
1367 text-transform: capitalize;
1368 color: #467b2f;
1369 font-weight: 550;
1370 line-height: 1.5;
1371 max-width: 200px;
1372 overflow: hidden;
1373 white-space: nowrap;
1374 text-overflow: ellipsis;
1375 }
1376 /* Display rules driven by attributes (put attributes on <html> or <body>) */
1377 html[data-wpbc-bfb-live-source="builder"] .wpbc_bfb__live_status__builder { display: flex; }
1378 html[data-wpbc-bfb-live-source="advanced"] .wpbc_bfb__live_status__advanced { display: flex; }
1379
1380 /* == Modal Dialogs | For WP Templates ============================================================================== */
1381 /* Show correctly modals Together with WP Media Modal window */
1382 html[data-wpbc-bfb-live-source="builder"] .wpdevelop .modal.wpbc_popup_modal,
1383 html[data-wpbc-bfb-live-source="advanced"] .wpdevelop .modal.wpbc_popup_modal {
1384 z-index: 150000;
1385 }
1386 html[data-wpbc-bfb-live-source="builder"] .wp-admin .modal-backdrop,
1387 html[data-wpbc-bfb-live-source="advanced"] .wp-admin .modal-backdrop {
1388 z-index: 149900;
1389 }
1390 /* == Modal internal =============================================================================================== */
1391 .wpbc_bfb_popup_modal__rows_container {
1392 flex: 1 1 100%;
1393 display: flex;
1394 flex-flow: column nowrap;
1395 justify-content: flex-start;
1396 align-items: stretch;
1397 gap: 10px;
1398 }
1399 .wpbc_bfb_popup_modal__row {
1400 flex: 0 1 auto;
1401 display: flex;
1402 flex-flow: row wrap;
1403 justify-content: flex-start;
1404 align-items: stretch;
1405 gap: 20px;
1406 }
1407 .wpbc_bfb_popup_modal__col {
1408 flex: 1 1 20%;
1409 display: flex;
1410 flex-flow: column;
1411 justify-content: flex-start;
1412 align-items: flex-start;
1413 }
1414 .wpbc_modal_in_bfb input[type="text"],
1415 .wpbc_modal_in_bfb select,
1416 .wpbc_modal_in_bfb textarea {
1417 flex: 0 1 auto;
1418 width: 100%;
1419 max-width: 100%;
1420 font-size: 15px;
1421 line-height: 2.5;
1422 }
1423 .wpbc_modal_in_bfb label {
1424 font-size: 15px;
1425 font-weight: 600;
1426 line-height: 2.1;
1427 }
1428 .wpbc_modal_in_bfb .help-block,
1429 .wpbc_modal_in_bfb label.help-block {
1430 font-size: 13px;
1431 line-height: 1.8;
1432 font-weight: 400;
1433 margin: 5px 0;
1434 }
1435 /* Not checked yet:*/
1436 .wpbc_modal_in_bfb .wpbc_modal__2_fields {
1437 display: flex;
1438 flex-flow: row nowrap;
1439 justify-content: flex-start;
1440 align-items: center;
1441 width: 100%;;
1442 }
1443 .wpbc_modal_in_bfb .wpbc_modal__2_fields .wpbc_modal__2_fields_button {
1444 flex: 0 1 1%;
1445 align-self: stretch;
1446 min-height: 35px;
1447 margin-left: 10px;
1448 display: flex;
1449 align-items: center;
1450 align-self: center;
1451 font-weight: 600
1452 }
1453 .wpbc_modal_in_bfb .modal-footer .button {
1454 margin: 0 5px
1455 }
1456 .wpbc_modal_in_bfb #wpbc_modal__send_payment_request__url {
1457 font-size: 13px
1458 }
1459 .wpbc_modal_in_bfb #wpbc_modal__send_payment_request__value {
1460 margin-top: 15px;
1461 line-height: 2;
1462 height: 70px;
1463 font-size: 14px
1464 }
1465 .wpbc_modal_in_bfb .wpbc_modal__send_payment_request__cost {
1466 font-size: 16px;
1467 font-weight: 600;
1468 padding: 0 10px
1469 }
1470
1471 /* == Modal | Open > Load Booking Form ============================================================================== */
1472 .wpbc_bfb_modal__add_new_form .modal-body.wpbc_bfb_popup_modal__rows_container{
1473 /*max-height: 500px;*/
1474 /*overflow: auto;*/
1475 }
1476 /* == Modal Dialog -- 100% Height -- ============================================================================== */
1477 /* -- For example it can be: Forms > Open -- */
1478 .wpbc_bfb_modal__full_screen .modal-dialog {
1479 position: fixed;
1480 width: auto;
1481 margin: 0;
1482 left: 30px;
1483 right: 30px;
1484 bottom: 30px;
1485 top: 30px;
1486 }
1487 .wpbc_bfb_modal__full_screen .modal-dialog .modal-content {
1488 overflow: auto;
1489 scrollbar-width: thin;
1490 scrollbar-gutter: stable;
1491 display: flex;
1492 flex-flow: column nowrap;
1493 justify-content: flex-start;
1494 align-items: stretch;
1495 height: 100%;
1496 max-height: 100%;
1497 border-radius: 0;
1498 /* Define Header and Footer height */
1499 padding: 50px 0 60px;
1500 }
1501 .wpbc_bfb_modal__full_screen .modal-dialog .modal-content .modal-header,
1502 .wpbc_bfb_modal__full_screen .modal-dialog .modal-content .modal-footer {
1503 flex: 0 0 auto;
1504 position: fixed;
1505 left: 2px;
1506 right: 2px;
1507 top: 0px;
1508 height: 50px;
1509 z-index: 1;
1510 background: #fff;
1511 }
1512 .wpbc_bfb_modal__full_screen .modal-dialog .modal-content .modal-footer {
1513 top: auto;
1514 bottom: 0;
1515 height: 60px;
1516 }
1517 .wpbc_bfb_modal__full_screen .modal-dialog .modal-content .modal-body {
1518 flex: 1 1 100%;
1519 }
1520 /* Open / Load -- Existed Forms | Templates */
1521 .wpbc_bfb_popup_modal__container_forms_listing {
1522 padding: 25px;
1523 background: #fff;
1524 border-radius: 10px;
1525 margin: 15px 0;
1526 }
1527 .wpbc_bfb_modal__include_section_load .wpbc_bfb_popup_modal__rows_container {
1528 padding-bottom:0;
1529 }
1530 .wpbc_bfb_modal__include_section_load .wpbc_bfb_popup_modal__col__search_key_label {
1531 flex: 0 1 auto;
1532 align-self: center;
1533 }
1534 .wpbc_bfb_modal__include_section_load .wpbc_bfb_popup_modal__col__search_key_label label {
1535 margin:0;
1536 }
1537 .wpbc_bfb_modal__include_section_load .wpbc_bfb_popup_modal__col__search_key_input {
1538 align-self: flex-start;
1539 }
1540 .wpbc_bfb_modal__include_section_load .wpbc_bfb_popup_modal__forms_loading_section {
1541 border: 1px solid #ccd0d4;
1542 background: #fefefe;
1543 height: 400px;
1544 max-height: 400px;
1545 overflow: auto;
1546 border-radius: 2px;
1547 align-self: stretch;
1548 flex: 1 1 100%;
1549 }
1550 .wpbc_bfb_modal__include_section_load .wpbc_bfb_popup_modal__forms_loading_spin_container {
1551 display: flex;
1552 flex-flow: row nowrap;
1553 align-items: center;
1554 justify-content: center;
1555 margin:0 auto;
1556 align-self: center;
1557 }
1558 .wpbc_bfb_popup_modal__forms_loading_section {
1559 display: flex;
1560 flex-flow: row wrap;
1561 justify-content: flex-start;
1562 align-items: stretch;
1563 gap: 15px;
1564 padding: 10px;
1565 }
1566 .wpbc_bfb_popup_modal__forms_loading_section .wpbc_bfb__load_form_item{
1567 flex: 0 1 190px;
1568 display: flex;
1569 flex-flow: column nowrap;
1570 justify-content: flex-start;
1571 align-items: flex-start;
1572 gap: 10px;
1573 padding: 8px;
1574 border: 1px solid #ccc;
1575 cursor: pointer;
1576 max-height: 225px;
1577 min-height: 180px;
1578 /*overflow: hidden;*/
1579 position: relative;
1580 }
1581 .wpbc_bfb_popup_modal__forms_loading_section .wpbc_bfb__load_form_item.wpbc_bfb__load_form_item_selected {
1582 background: #fcfdff;
1583 border: 2px solid var( --wpbc_admin-theme-color, #5088b3 );
1584 }
1585 /* Predefined keywords for templates */
1586 .wpbc_bfb_popup_modal__tpl_search_presets {
1587 display: flex;
1588 flex-wrap: wrap;
1589 gap: 1em;
1590 }
1591 .wpbc_bfb_popup_modal__tpl_search_presets .wpbc_bfb_popup_modal__tpl_search_preset {
1592 text-decoration: underline;
1593 text-decoration-style: dashed;
1594 text-underline-offset: 4px;
1595 outline: 0;
1596 padding: 2px 4px;
1597 }
1598 .wpbc_bfb_popup_modal__tpl_search_presets .wpbc_bfb_popup_modal__tpl_search_preset.is-active,
1599 .wpbc_bfb_popup_modal__tpl_search_presets .wpbc_bfb_popup_modal__tpl_search_preset[aria-pressed=true] {
1600 font-weight: 600;
1601 text-decoration-style: solid;
1602 }
1603 .wpbc_bfb__load_form_item_thumb {
1604 align-self: stretch;
1605 flex: 0 1 auto;
1606 }
1607 .wpbc_bfb__load_form_item_thumb_blank_img {
1608 display: inline-flex;
1609 width: 90%;
1610 height: 50px;
1611 align-items: center;
1612 justify-content: center;
1613 border-radius: 2px;
1614 border: 1px solid #ccd0d4;
1615 background: #fff;
1616 color: #444;
1617 font-size: 11px;
1618 margin: 0 5% auto;
1619 }
1620 .wpbc_bfb__load_form_item_thumb img {
1621 width: 100%;
1622 height: 50px;
1623 object-fit: cover;
1624 border-radius: 3px;
1625 border: 0;
1626 background: #fff
1627 }
1628 .wpbc_bfb__load_form_item_text {
1629 flex: 1 1 auto;
1630 min-width: 0;
1631 gap: 4px;
1632 display: flex;
1633 flex-flow: row wrap;
1634 align-items: flex-start;
1635 justify-content: flex-start;
1636 overflow: hidden;
1637 align-content: flex-start;
1638 }
1639 .wpbc_bfb__load_form_item_text .form_item_text_title {
1640 font-weight: 600;
1641 font-size: 14px;
1642 line-height: 1.5;
1643 flex: 0 1 100%;
1644 }
1645 .wpbc_bfb__load_form_item_text .form_item_text_slug {
1646 color: #50575e;
1647 font-size: 11px;
1648 font-weight: 550;
1649 background: #eff2f4;
1650 max-width: 170px;
1651 padding: 0 8px 3px;
1652 word-break: normal;
1653 text-overflow: ellipsis;
1654 overflow: hidden;
1655 line-height: 2;
1656 flex: 0 1 100%;
1657 }
1658 .wpbc_bfb__load_form_item_text .form_item_text_desc {
1659 font-size: 11px;
1660 line-height: 1.75;
1661 flex: 1 1 1%;
1662 align-self: stretch;
1663 }
1664 .wpbc_bfb__load_form_item_text .form_item_text_desc {
1665 display: flex;
1666 align-items: flex-end;
1667 gap: 8px;
1668 line-height: 1.5;
1669 }
1670 .wpbc_bfb__load_form_item_text .form_item_text_desc .form_item_text_desc__text {
1671 min-width: 0;
1672 flex: 1 1 1px;
1673 max-width: calc(100% - 28px);
1674 text-align: justify;
1675 text-overflow: ellipsis;
1676 }
1677 .wpbc_bfb__load_form_item_text .form_item_text_desc .button-link-delete {
1678 flex: 0 0 auto;
1679 display: inline-flex;
1680 align-items: center;
1681 justify-content: center;
1682 width: 20px;
1683 height: 20px;
1684 color: #b32d2e;
1685 text-decoration: none;
1686 line-height: 1;
1687 position: absolute;
1688 bottom: 8px;
1689 right: 6px;
1690 }
1691 .wpbc_bfb__load_form_item_text .form_item_text_desc .button-link-delete:hover {
1692 color: #8f2424;
1693 }
1694 /* == Spinner Loading text ============================================================= */
1695 .wpbc_bfb__form_preview_section_container .wpbc_bfb_spins_loading_container span,
1696 .wpbc_bfb__preview_loader .wpbc_bfb_spins_loading_container span {
1697 font-size: 20px;
1698 font-weight: 600;
1699 padding: 2px 0 0 2px;
1700 }
1701 /* == Form Details section | Right Widget in Inspecrot ============================================================= */
1702 .wpbc_bfb__form_details_media__preview {
1703 padding: 4px;
1704 border: 1px solid #ccc;
1705 height: 163px;
1706 width: 163px;
1707 box-sizing: border-box;
1708 display: flex;
1709 flex-flow: column nowrap;
1710 align-items: center;
1711 justify-content: center;
1712 cursor: pointer;
1713 margin: 10px 0;
1714 background: #fcfcfc;
1715 border-radius: 2px;
1716 }
1717 .wpbc_bfb__form_details_media__img {
1718 max-width: 100%;
1719 height: auto;
1720 max-height: auto;
1721 object-fit: cover;
1722 overflow: hidden;
1723 }
1724 .wpbc_bfb__form_details_media__preview .wpbc-bi-image-fill::before {
1725 font-size: 50px;
1726 color: #507593;
1727 }
1728 /* == Top Toolbar > Form Title, Slug and Tumb ======================================================================= */
1729 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name {
1730 display: flex;
1731 flex-flow: row nowrap;
1732 justify-content: flex-start;
1733 align-items: center;
1734 gap: 20px;
1735 }
1736 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__form_details_media__preview {
1737 height: 40px;
1738 width: 40px;
1739 padding: 0px;
1740 border-radius: 0;
1741 margin: 0;
1742 border: 0px solid #d5d5d5;
1743 background: #fcfcfc;
1744 }
1745 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__form_details_media__preview img {
1746 max-width: 100%;
1747 height: auto;
1748 padding: 0;
1749 border-radius: 4px;
1750 display: none;
1751 max-height: 50px;
1752 object-fit: cover;
1753 overflow: hidden;
1754 }
1755 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__form_details_media__preview .wpbc_bfb__form_details_media__placeholder {
1756 display: block;
1757 }
1758 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__form_details_media__preview .wpbc_bfb__form_details_media__placeholder::before {
1759 font-size: 20px;
1760 color: #54636f;
1761 }
1762 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__hint__form_name__title a {
1763 font-size: 16px;
1764 text-transform: capitalize;
1765 color: #467b2f;
1766 font-weight: 550;
1767 line-height: 1.2;
1768 max-width: 200px;
1769 overflow: hidden;
1770 white-space: nowrap;
1771 text-overflow: ellipsis;
1772 outline: 0;
1773 margin: 0 2px;
1774 text-align: center;
1775 }
1776 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__hint__form_name__title i {
1777 font-size: 11px;
1778 padding: 0px 0 0 5px;
1779 line-height: 1.75;
1780 color: var(--wpbc_admin-theme-color, #2271b1);
1781 }
1782 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__hint__form_name__label {
1783 display: none;
1784 flex-flow: row nowrap;
1785 justify-content: flex-start;
1786 align-items: first baseline;
1787 gap: 5px;
1788 padding: 0;
1789 }
1790 .wpbc_bfb__hint__top_bar.wpbc_bfb__hint__form_name .wpbc_bfb__hint__form_name__slug {
1791 font-size: 13px;
1792 line-height: 1.5;
1793 font-weight: 550;
1794 color: #243f18;
1795 }
1796 /* -- Debug section UI --------------------------------------------------------------------------------------------- */
1797 #wpbc_bfb__debug_mode_panels .wpbc_bfb__tab_section {
1798 display: flex;
1799 flex-flow: row wrap;
1800 justify-content: space-between;
1801 align-items: flex-start;
1802 gap: 30px;
1803 }
1804 #wpbc_bfb__debug_mode_panels .wpbc_bfb__tab_section .wpbc_bfb__debug_block {
1805 flex: 1 1 25%;
1806 }
1807 #wpbc_bfb__debug_mode_panels .wpbc_bfb__tab_section .wpbc_bfb__debug_block:first-child {
1808 flex: 1 1 50%;
1809 }
1810 #wpbc_bfb__debug_mode_panels .wpbc_bfb__debug_separate_button {
1811 flex: 0 1 auto;
1812 margin: 5px auto;
1813 }
1814 #wpbc_bfb__debug_mode_panels .wpbc_bfb__tab_section h4 {
1815 margin: 0 0 10px 0;
1816 font-size:13px;
1817 color:#875;
1818 font-weight: 600;
1819 }
1820 #wpbc_bfb__debug_mode_panels .wpbc_bfb__tab_section textarea {
1821 width: 100%;
1822 min-height: 350px;
1823 font-family: monospace;
1824 font-size: 12px;
1825 }
1826