PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
booking / includes / page-form-builder / _src / builder-form-page.css

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

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