PluginProbe
Booking Calendar / 11.7
Booking Calendar v11.7
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-form-builder / _src / builder-form-page.css

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

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