| 1 |
/* File: ../includes/__css/client/form_fields/bfb_front-end.css */ |
| 2 |
/* -- Line #1: FONT-END | Line #2: BACK-END -- -------------------------------------------------------------------- */ |
| 3 |
div .wpbc_bfb_form .wpbc__row .wpbc__field, |
| 4 |
div .wpbc_bfb_form .wpbc_bfb__section .wpbc_bfb__row .wpbc_bfb__column { |
| 5 |
display: flex; |
| 6 |
flex-direction: var(--wpbc-bfb-col-dir, column); /* row */ |
| 7 |
flex-wrap: var(--wpbc-bfb-col-wrap, nowrap); /* wrap */ |
| 8 |
justify-content: var(--wpbc-bfb-col-jc, flex-start); /* flex-start */ |
| 9 |
align-items: var(--wpbc-bfb-col-ai, stretch); /* flex-start */ |
| 10 |
gap: var(--wpbc-bfb-col-gap, 0px); /* 0px */ |
| 11 |
align-self: var(--wpbc-bfb-col-aself, flex-start); /* flex-start */ |
| 12 |
} |
| 13 |
/* -- Line #1: FONT-END | Line #2: BACK-END -- -------------------------------------------------------------------- */ |
| 14 |
div .wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element:has(:input), |
| 15 |
div .wpbc_bfb_form .wpbc_bfb__section .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field{ |
| 16 |
flex: 1 1 100%; |
| 17 |
} |
| 18 |
/* -- FONT-END -- --------------------------------------------------------------------------------------------------- */ |
| 19 |
div .wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element { |
| 20 |
display: flex; |
| 21 |
flex-flow: row wrap; |
| 22 |
justify-content: flex-start; |
| 23 |
align-items: flex-start; |
| 24 |
align-content: normal; |
| 25 |
padding: 0; |
| 26 |
margin: 0; |
| 27 |
gap: 0; |
| 28 |
} |
| 29 |
/* == Calendar == -- Line #1: FONT-END | Line #2: BACK-END -- ----------------------------------------------------- */ |
| 30 |
div .wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element:has(.wpbc_no_custom_width.cal_month_num_1 ), |
| 31 |
div .wpbc_bfb_form .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field:has(.wpbc_no_custom_width.cal_month_num_1 ) { |
| 32 |
/*width: 345px;*/ |
| 33 |
/*flex: 0 1 345px;*/ |
| 34 |
} |
| 35 |
/* -- Line #1: FONT-END | Line #2: BACK-END -- -------------------------------------------------------------------- */ |
| 36 |
div .wpbc_bfb_form .wpbc__row .wpbc__field[data-colstyles-active="1"] .bfb_element:not(:has(.wpbc_calendar_wraper )), |
| 37 |
div .wpbc_bfb_form [data-colstyles-active="1"] .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field:not(:has(.wpbc_calendar_wraper )) { |
| 38 |
flex: 0 1 auto; |
| 39 |
} |
| 40 |
.wpbc__field:has(.wpbc_calendar_wraper) { |
| 41 |
max-width: 100%; |
| 42 |
} |
| 43 |
/* Exception for the CAPTCHA */ |
| 44 |
div .wpbc_bfb_form .wpbc__row .wpbc__field[data-colstyles-active="1"] .bfb_element:has(.wpbc_text_captcha_container), |
| 45 |
div .wpbc_bfb_form [data-colstyles-active="1"] .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field:has(.wpbc_text_captcha_container) { |
| 46 |
flex: 1 1 auto; |
| 47 |
} |
| 48 |
/* -- FONT-END -- Booking form main CSS classes: class="wpbc_container wpbc_form wpbc_container_booking_form .... " ---------- */ |
| 49 |
/* -- Line #1: FONT-END | Line #2: BACK-END -- -------------------------------------------------------------------- */ |
| 50 |
.wpbc_bfb_form .bfb_element select, |
| 51 |
.wpbc_bfb_form .bfb_element textarea, |
| 52 |
.wpbc_bfb_form .bfb_element input[type=text], |
| 53 |
.wpbc_bfb_form .bfb_element input[type=email], |
| 54 |
.wpbc_bfb_form .bfb_element input[type=date], |
| 55 |
.wpbc_bfb_form .bfb_element input[type=datetime], |
| 56 |
.wpbc_bfb_form .bfb_element input[type=datetime-local], |
| 57 |
.wpbc_bfb_form .bfb_element input[type=month], |
| 58 |
.wpbc_bfb_form .bfb_element input[type=number], |
| 59 |
.wpbc_bfb_form .bfb_element input[type=password], |
| 60 |
.wpbc_bfb_form .bfb_element input[type=range], |
| 61 |
.wpbc_bfb_form .bfb_element input[type=search], |
| 62 |
.wpbc_bfb_form .bfb_element input[type=tel], |
| 63 |
.wpbc_bfb_form .bfb_element input[type=time], |
| 64 |
.wpbc_bfb_form .bfb_element input[type=url], |
| 65 |
.wpbc_bfb_form .bfb_element input[type=week], |
| 66 |
.wpbc_bfb_form .wpbc_bfb__field select, |
| 67 |
.wpbc_bfb_form .wpbc_bfb__field textarea, |
| 68 |
.wpbc_bfb_form .wpbc_bfb__field input[type=text], |
| 69 |
.wpbc_bfb_form .wpbc_bfb__field input[type=email], |
| 70 |
.wpbc_bfb_form .wpbc_bfb__field input[type=date], |
| 71 |
.wpbc_bfb_form .wpbc_bfb__field input[type=datetime], |
| 72 |
.wpbc_bfb_form .wpbc_bfb__field input[type=datetime-local], |
| 73 |
.wpbc_bfb_form .wpbc_bfb__field input[type=month], |
| 74 |
.wpbc_bfb_form .wpbc_bfb__field input[type=number], |
| 75 |
.wpbc_bfb_form .wpbc_bfb__field input[type=password], |
| 76 |
.wpbc_bfb_form .wpbc_bfb__field input[type=range], |
| 77 |
.wpbc_bfb_form .wpbc_bfb__field input[type=search], |
| 78 |
.wpbc_bfb_form .wpbc_bfb__field input[type=tel], |
| 79 |
.wpbc_bfb_form .wpbc_bfb__field input[type=time], |
| 80 |
.wpbc_bfb_form .wpbc_bfb__field input[type=url], |
| 81 |
.wpbc_bfb_form .wpbc_bfb__field input[type=week]{ |
| 82 |
width: 100%; |
| 83 |
max-width: 100%; |
| 84 |
} |
| 85 |
/* Static text */ |
| 86 |
.wpbc_bfb_form .wpbc_static_text { |
| 87 |
width: 100%; |
| 88 |
} |
| 89 |
.wpbc_bfb__preview-rendered .wpbc_static_text { |
| 90 |
display:block; |
| 91 |
} |
| 92 |
.wpbc_bfb_divider_wrap[data-orientation="vertical"] .wpbc_bfb_divider--v { |
| 93 |
transform: translate(-50%, -50%); |
| 94 |
} |
| 95 |
/* Inline Checkbox Fields: Accept Terms and Condotions */ |
| 96 |
div.wpbc_container.wpbc_form .wpdev-form-control-wrap input[type="checkbox"], |
| 97 |
div.wpbc_container.wpbc_form .wpdev-form-control-wrap input[type="radio"] { |
| 98 |
margin: 0 5px; |
| 99 |
margin-top: -5px; |
| 100 |
} |
| 101 |
|
| 102 |
/* Front-end visibility utility entered through a Form Builder CSS class control. */ |
| 103 |
body:not(.wp-admin) .wpbc_bfb_form .wpbc-hidden-on-frontend { |
| 104 |
display: none !important; |
| 105 |
} |
| 106 |
|
| 107 |
/* Keep hidden-on-frontend elements identifiable and editable in the Builder canvas. */ |
| 108 |
.wpbc_bfb__panel--preview .wpbc_bfb__field.wpbc-hidden-on-frontend > :not(.wpbc_bfb__overlay-controls), |
| 109 |
.wpbc_bfb__panel--preview .wpbc_bfb__field:has(.wpbc-hidden-on-frontend) > :not(.wpbc_bfb__overlay-controls), |
| 110 |
.wpbc_bfb__panel--preview .wpbc_bfb__section.wpbc-hidden-on-frontend > .wpbc_bfb__row { |
| 111 |
opacity: .5; |
| 112 |
} |
| 113 |
|