| @@ -1,201 +1,199 @@ | ||
| 1 | 1 | /** |
| 2 | - * @version 1.0 | |
| 3 | - * @package: Booking Calendar | |
| 4 | - * @category: Front-End | |
| 2 | + * @version 1.1 | |
| 3 | + * @package: Booking Calendar — Front-End | |
| 5 | 4 | * @author wpdevelop |
| 6 | - * | |
| 7 | - * @web-site https://wpbookingcalendar.com/ | |
| 8 | - * @email info@wpbookingcalendar.com | |
| 9 | - * | |
| 10 | - * @modified 2023-11-11 | |
| 5 | + * @site https://wpbookingcalendar.com/ | |
| 6 | + * @email info@wpbookingcalendar.com | |
| 7 | + * @modified 2023-11-11, 2025-08-17 | |
| 8 | + * (refactored: comments + dead rules removed) | |
| 11 | 9 | */ |
| 12 | -:root { | |
| 13 | - --wpbc_form-button-light-size-height: 43px; | |
| 14 | -} | |
| 15 | -.booking_form * , | |
| 16 | -.bk_calendar_frame *{ | |
| 17 | - /*! -webkit-box-sizing: border-box; */ | |
| 18 | - /*! -moz-box-sizing: border-box; */ | |
| 19 | - /*! box-sizing: border-box; */ | |
| 20 | -} | |
| 21 | -/* Booking form structure //FixIn: 8.0.1.5 */ | |
| 22 | -.wpbc_booking_form_structure { | |
| 23 | 10 | |
| 11 | +/* ========================================================================== */ | |
| 12 | +/* Booking Form: global structure + variants */ | |
| 13 | +/* What: layout scaffolding for form/calendar blocks and simple themes */ | |
| 14 | +/* ========================================================================== */ | |
| 15 | +/* “Form center” layout (Free) */ | |
| 16 | +.wpbc_booking_form_structure.wpbc_form_center, | |
| 17 | +.wpbc_booking_form_structure.wpbc_form_center > .wpbc__form__div { /* FixIn: 8.8.3.10 */ | |
| 18 | + display: flex; | |
| 19 | + flex-flow: column wrap; | |
| 20 | + justify-content: space-between; | |
| 21 | + align-items: center; | |
| 24 | 22 | } |
| 25 | -.wpbc_booking_form_structure .wpbc_structure_calendar { | |
| 26 | - | |
| 23 | +.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar, | |
| 24 | +.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_form { | |
| 25 | + flex: 1 1 auto; | |
| 26 | + margin-bottom: 1em; | |
| 27 | 27 | } |
| 28 | -.wpbc_booking_form_structure .wpbc_structure_form { | |
| 29 | - | |
| 28 | +/* FixIn: 9.8.12.1 — sizing in “center” template */ | |
| 29 | +.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar, | |
| 30 | +.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_form { | |
| 31 | + width: Min(350px, 100%); | |
| 30 | 32 | } |
| 31 | -/* form_center - in Free version */ | |
| 32 | -.wpbc_booking_form_structure.wpbc_form_center, | |
| 33 | -.wpbc_booking_form_structure.wpbc_form_center > .wpbc__form__div{ /* FixIn: 8.8.3.10 */ | |
| 34 | - display:flex; | |
| 35 | - flex-flow: column wrap; | |
| 36 | - justify-content: space-between; | |
| 37 | - align-items: center; | |
| 33 | +.wpbc_booking_form_structure.wpbc_form_center .wpdev-form-control-wrap { | |
| 34 | + display: flex; | |
| 38 | 35 | } |
| 39 | -.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar, | |
| 40 | -.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_form { | |
| 41 | - flex: 1 1 auto; | |
| 42 | - margin-bottom: 1em; | |
| 36 | +.wpbc_booking_form_structure.wpbc_form_center .wpbc_times_selector, | |
| 37 | +.wpbc_booking_form_structure.wpbc_form_center .wpbc-form-element-checkbox { | |
| 38 | + max-width: Max(24em, 440px); | |
| 39 | + justify-content: flex-start; | |
| 43 | 40 | } |
| 44 | - /* FixIn: 9.8.12.1 - fix sizing in "booking form center" template" */ | |
| 45 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar, | |
| 46 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_form { | |
| 47 | - width: auto; | |
| 48 | - width: Min(350px, 100%); | |
| 49 | - } | |
| 50 | - .wpbc_booking_form_structure.wpbc_form_center .wpdev-form-control-wrap { | |
| 51 | - display:flex; | |
| 52 | - } | |
| 53 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc_times_selector , | |
| 54 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc-form-element-checkbox { | |
| 55 | - max-width: Max(24em, 440px); | |
| 56 | - justify-content: flex-start; | |
| 57 | - } | |
| 41 | + | |
| 58 | 42 | @media (max-width: 782px) { |
| 59 | - /*.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_form, | |
| 60 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar { | |
| 61 | - margin:0; | |
| 62 | - width: 100%; | |
| 63 | - }*/ | |
| 64 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar .wpbc_change_over_triangle { | |
| 65 | - width:100%; | |
| 66 | - } | |
| 67 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc_times_selector , | |
| 68 | - .wpbc_booking_form_structure.wpbc_form_center .wpbc-form-element-checkbox { | |
| 69 | - max-width: 100%; | |
| 70 | - } | |
| 43 | + .wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar .wpbc_change_over_triangle { | |
| 44 | + width: 100%; | |
| 45 | + } | |
| 46 | + .wpbc_booking_form_structure.wpbc_form_center .wpbc_times_selector, | |
| 47 | + .wpbc_booking_form_structure.wpbc_form_center .wpbc-form-element-checkbox { | |
| 48 | + max-width: 100%; | |
| 49 | + } | |
| 71 | 50 | } |
| 72 | -/* form_dark */ | |
| 73 | -.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form label{ | |
| 74 | - color:#ddd; | |
| 51 | + | |
| 52 | +/* “Dark” variant — tweak text colors inside form area */ | |
| 53 | +.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form label { | |
| 54 | + color: var(--wpbc_form-label-color, #ddd); | |
| 75 | 55 | } |
| 76 | 56 | .wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form input[type="text"], |
| 77 | 57 | .wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form input[type="email"], |
| 78 | 58 | .wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form textarea, |
| 79 | -.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form select{ | |
| 80 | - color:#000; | |
| 59 | +.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form select { | |
| 60 | + color: var(--wpbc_form-field-text-color, #000); | |
| 81 | 61 | } |
| 82 | -/* form_right //FixIn: 9.6.1.3 */ | |
| 62 | + | |
| 63 | +/* “Form right” layout — calendar + form side‑by‑side (responsive) */ | |
| 64 | +/* FixIn: 9.6.1.3, 9.6.2.6 */ | |
| 83 | 65 | .wpbc_booking_form_structure.wpbc_form_right { |
| 84 | - width:100%; | |
| 85 | - display: flex; | |
| 86 | - flex-flow: row wrap; | |
| 87 | - align-items: flex-start; | |
| 88 | - justify-content: flex-start; | |
| 66 | + width: 100%; | |
| 67 | + display: flex; | |
| 68 | + flex-flow: row wrap; | |
| 69 | + align-items: flex-start; | |
| 70 | + justify-content: flex-start; | |
| 89 | 71 | } |
| 90 | 72 | .wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_calendar { |
| 91 | - margin-right:20px; | |
| 92 | - flex: 1 1 auto; | |
| 73 | + margin-right: 20px; | |
| 74 | + flex: 1 1 auto; | |
| 93 | 75 | } |
| 94 | 76 | .wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form { |
| 95 | - /*float:left;*/ | |
| 96 | - margin-top:-20px; | |
| 97 | - flex: 1 1 300px; | |
| 77 | + margin-top: -20px; | |
| 78 | + flex: 1 1 300px; | |
| 79 | + display: flex; | |
| 80 | + flex-flow: row wrap; | |
| 81 | + justify-content: flex-start; | |
| 82 | + align-items: flex-start; | |
| 98 | 83 | } |
| 99 | -.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form { | |
| 100 | - display: flex; | |
| 101 | - flex-flow: row wrap; | |
| 102 | - justify-content: flex-start; | |
| 103 | - align-items: flex-start; | |
| 84 | +.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form > * { | |
| 85 | + margin: 15px 0; | |
| 86 | + flex: 0 1 100%; | |
| 104 | 87 | } |
| 105 | -/* FixIn: 9.6.2.6 */ | |
| 106 | -.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form > * { | |
| 107 | - margin: 15px 0; | |
| 108 | - flex: 0 1 100%; | |
| 88 | +.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-rangetime, | |
| 89 | +.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-textarea, | |
| 90 | +.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group:last-child { | |
| 91 | + flex: 1 1 auto; | |
| 92 | + width: 100%; | |
| 109 | 93 | } |
| 110 | -.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-rangetime, | |
| 111 | -.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-textarea, | |
| 112 | -.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group:last-child{ | |
| 113 | - flex: 1 1 auto; | |
| 114 | - width:100%; | |
| 94 | +.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-textarea textarea { | |
| 95 | + width: 90%; | |
| 115 | 96 | } |
| 116 | -.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-textarea textarea{ | |
| 117 | - width:90%; | |
| 118 | -} | |
| 119 | -/* form footer */ | |
| 97 | + | |
| 98 | +/* Form footer line wrap */ | |
| 120 | 99 | .wpbc_booking_form_footer { |
| 121 | - clear:both; | |
| 122 | - width:100%; | |
| 100 | + clear: both; | |
| 101 | + width: 100%; | |
| 123 | 102 | } |
| 124 | -/* Booking form General structure */ | |
| 103 | + | |
| 104 | + | |
| 105 | +/* ========================================================================== */ | |
| 106 | +/* Booking Form: general body + fields */ | |
| 107 | +/* What: basic spacing, inputs, selects, and resources selector */ | |
| 108 | +/* ========================================================================== */ | |
| 125 | 109 | form.booking_form { |
| 126 | - text-align: left; | |
| 110 | + text-align: left; | |
| 127 | 111 | } |
| 112 | + | |
| 128 | 113 | .booking_form .booking_form_div { |
| 129 | - margin-left: auto; | |
| 130 | - margin-right: auto; | |
| 114 | + margin-left: auto; | |
| 115 | + margin-right: auto; | |
| 131 | 116 | } |
| 117 | + | |
| 118 | +.booking_form_div.wpbc_booking_form_is_submitting { | |
| 119 | + position: relative; | |
| 120 | +} | |
| 121 | +.booking_form_div.wpbc_booking_form_is_submitting > :not(.wpbc_booking_form_submit_overlay) { | |
| 122 | + filter: blur(1px); | |
| 123 | + opacity: 0.55; | |
| 124 | + pointer-events: none; | |
| 125 | + -webkit-user-select: none; | |
| 126 | + -ms-user-select: none; | |
| 127 | + user-select: none; | |
| 128 | +} | |
| 129 | + | |
| 130 | +.booking_form_div.wpbc_booking_form_is_submitting { | |
| 131 | + position: relative; | |
| 132 | + min-height: 220px; | |
| 133 | +} | |
| 134 | +.booking_form_div .wpbc_booking_form_submit_overlay { | |
| 135 | + position: absolute; | |
| 136 | + top: 12px; | |
| 137 | + inset: 0; | |
| 138 | + pointer-events: none; | |
| 139 | + z-index: 50; | |
| 140 | + height: auto; | |
| 141 | + display: flex; | |
| 142 | + align-items: center; | |
| 143 | + justify-content: center; | |
| 144 | + background: rgba(255, 255, 255, 0.5); | |
| 145 | + -webkit-backdrop-filter: blur(1px); | |
| 146 | + backdrop-filter: blur(1px); | |
| 147 | +} | |
| 148 | +.booking_form_div .wpbc_booking_form_submit_overlay .wpbc_spins_loading_container { | |
| 149 | + width: max-content; | |
| 150 | + min-width: 100%; | |
| 151 | + height: 100%; | |
| 152 | + min-height: 60px; | |
| 153 | + padding: 0; | |
| 154 | + border-radius: 6px; | |
| 155 | + backdrop-filter: blur(1px); | |
| 156 | + pointer-events: auto; | |
| 157 | + font-weight: 600; | |
| 158 | +} | |
| 159 | + | |
| 132 | 160 | .booking_form .form-group { |
| 133 | - margin:15px 0px; | |
| 161 | + margin: 15px 0; | |
| 134 | 162 | } |
| 135 | -/* -- Booking resource selection ------------------------------------------------------------------------------------ */ | |
| 136 | -.resource_selection_div{ | |
| 137 | - margin:40px 0; | |
| 163 | + | |
| 164 | +/* Resource selector (drop‑down above the form) */ | |
| 165 | +.resource_selection_div { | |
| 166 | + margin: 40px 0; | |
| 138 | 167 | } |
| 139 | -.resource_selection_div select{ | |
| 140 | - margin:0 1em; | |
| 168 | +.resource_selection_div select { | |
| 169 | + margin: 0 1em; | |
| 141 | 170 | } |
| 142 | -/* TEXT, SELECT, TEXTAREA *****************************************************/ | |
| 171 | + | |
| 172 | +/* Text-like controls */ | |
| 143 | 173 | .booking_form_div textarea, |
| 144 | 174 | .booking_form_div input[type="text"], |
| 145 | 175 | .booking_form_div input[type="email"], |
| 146 | 176 | .booking_form_div select { |
| 147 | - border-color: #DFDFDF; | |
| 148 | - -moz-border-radius: 4px; | |
| 149 | - -webkit-border-radius: 4px; | |
| 150 | - border-radius: 4px; | |
| 151 | - border-style: solid; | |
| 152 | - border-width: 1px; | |
| 153 | - vertical-align: baseline; | |
| 177 | + border-color: var(--wpbc_form-field-border-color, #DFDFDF); | |
| 178 | + border-radius: 4px; | |
| 179 | + border-style: solid; | |
| 180 | + border-width: 1px; | |
| 181 | + vertical-align: baseline; | |
| 154 | 182 | } |
| 155 | 183 | |
| 156 | -/* Time inputs at the form */ | |
| 184 | +/* Time inputs (small width) */ | |
| 157 | 185 | .booking_form input.wpdev-validates-as-time { |
| 158 | - width: 50px; | |
| 186 | + width: 50px; | |
| 159 | 187 | } |
| 160 | -.booking_form input[type="button"], | |
| 161 | -.booking_form input[type="submit"] { | |
| 162 | - width:auto; | |
| 163 | - vertical-align: middle; | |
| 164 | -} | |
| 165 | 188 | |
| 189 | +/* Checkbox/Radio list spacing */ | |
| 166 | 190 | .booking_form .wpdev-checkbox .wpdev-list-item, |
| 167 | 191 | .booking_form .wpdev-radio .wpdev-list-item { |
| 168 | - margin-right: 0.5em; | |
| 192 | + margin-right: 0.5em; | |
| 169 | 193 | } |
| 170 | -div.wpbc_container.wpbc_form .booking_form .wpdev-radio .wpdev-list-item input, | |
| 171 | -div.wpbc_container.wpbc_form .booking_form .wpdev-checkbox .wpdev-list-item input{ | |
| 172 | - /*margin-top: 3px;*/ | |
| 173 | -} | |
| 174 | -/* Checkbox, Radio * | |
| 175 | -.booking_form .wpdev-checkbox .wpdev-list-item, | |
| 176 | -.booking_form .wpdev-radio .wpdev-list-item{ | |
| 177 | - padding: 0 0.5em 0 0; | |
| 178 | - vertical-align: bottom; | |
| 179 | -} | |
| 180 | -.booking_form .wpdev-checkbox .wpdev-list-item input[type="checkbox"], | |
| 181 | -.booking_form .wpdev-radio .wpdev-list-item input[type="checkbox"] { | |
| 182 | - margin: 0; | |
| 183 | - padding: 0; | |
| 184 | - vertical-align: baseline; | |
| 185 | -} | |
| 186 | -.booking_form .wpdev-checkbox .wpdev-list-item input[type="radio"], | |
| 187 | -.booking_form .wpdev-radio .wpdev-list-item input[type="radio"] { | |
| 188 | - margin: 1px 0 0; | |
| 189 | - padding: 0; | |
| 190 | - vertical-align: middle; | |
| 191 | -} | |
| 192 | -*/ | |
| 193 | -/* Inline element in a row 2023-11-17 //FixIn: 9.8.8.1 * | |
| 194 | -.wpbc_container_booking_form .wpbc__field .wpbc_row_inline .wpdev-list-item input[type="radio"]{ | |
| 195 | - vertical-align: baseline; | |
| 196 | -} | |
| 197 | -*/ | |
| 194 | + | |
| 195 | +/* Focus ring for all focusable inputs */ | |
| 198 | 196 | /* FixIn: 9.6.2.5 */ |
| 199 | 197 | .booking_form input[type="text"]:focus, |
| 200 | 198 | .booking_form input[type="password"]:focus, |
| 201 | 199 | .booking_form input[type="color"]:focus, |
| @@ -209,1051 +207,979 @@ | ||
| 209 | 207 | .booking_form input[type="tel"]:focus, |
| 210 | 208 | .booking_form input[type="time"]:focus, |
| 211 | 209 | .booking_form input[type="url"]:focus, |
| 212 | 210 | .booking_form input[type="week"]:focus, |
| 211 | +.booking_form select:focus, | |
| 212 | +.booking_form textarea:focus { | |
| 213 | + box-shadow: 0 0 2px var(--wpbc_form-field-focus-shadow-color, #2d7eff); | |
| 214 | + outline: none; | |
| 215 | + border-color: var(--wpbc_form-field-focus-border-color, #567cb8); | |
| 216 | +} | |
| 217 | + | |
| 213 | 218 | .booking_form input[type="checkbox"]:focus, |
| 214 | -.booking_form input[type="radio"]:focus, | |
| 215 | -.booking_form select:focus, | |
| 216 | -.booking_form textarea:focus{ | |
| 217 | - box-shadow: 0 0 2px #2d7eff; | |
| 218 | - /*! border: 2px solid #567cb8; */ | |
| 219 | - outline: none; | |
| 220 | - border-color: #567cb8; | |
| 219 | +.booking_form input[type="radio"]:focus { | |
| 220 | + box-shadow: 0 0 2px var(--wpbc_form-choice-focus-color, #2d7eff); | |
| 221 | + outline: none; | |
| 222 | + border-color: var(--wpbc_form-choice-focus-color, #567cb8); | |
| 221 | 223 | } |
| 222 | -/* | |
| 223 | -.booking_form label.wpdev-list-item-label, | |
| 224 | -.booking_form label.wpdev-list-item-label:hover { | |
| 225 | - display: inline; | |
| 226 | - cursor: pointer; | |
| 227 | - vertical-align: middle; | |
| 228 | - font-weight: 400; | |
| 229 | -}*/ | |
| 230 | -/* Disabled option in selectbox */ | |
| 224 | + | |
| 225 | +/* Disabled/Booked select options */ | |
| 231 | 226 | .booking_form_div select option.booked, |
| 232 | -.booking_form_div select option:disabled{ | |
| 233 | - color:#ddd; | |
| 227 | +.booking_form_div select option:disabled { | |
| 228 | + color: var(--wpbc_form-field-disabled-color, #ddd); | |
| 234 | 229 | } |
| 235 | -/* Visitors selection - small selectboxes */ | |
| 230 | + | |
| 231 | +/* Small selects (visitors count) */ | |
| 236 | 232 | .booking_form_div select.col-md-1 { |
| 237 | - float: none; | |
| 238 | - padding: 2px 8px; | |
| 239 | - min-width: 4em; | |
| 233 | + float: none; | |
| 234 | + padding: 2px 8px; | |
| 235 | + min-width: 4em; | |
| 240 | 236 | } |
| 241 | 237 | |
| 242 | -/* Booking Form Buttons *******************************************************/ | |
| 243 | -.wpbc-payment-form .btn, | |
| 244 | -.wpbc-payment-form .button, | |
| 245 | -.booking_form_div .btn, | |
| 246 | -.booking_form_div .button, | |
| 247 | -.booking_form_div .submit, | |
| 248 | -.booking_form_div .button-secondary { | |
| 249 | - -moz-background-clip: border; | |
| 250 | - -moz-background-inline-policy: continuous; | |
| 251 | - -moz-background-origin: padding; | |
| 252 | - background: #f7f7f7 none repeat scroll 0 0; | |
| 253 | - border-color: #ccc; | |
| 254 | - box-shadow: 0 1px 0 #eee; | |
| 255 | - color: #555; | |
| 256 | - vertical-align: top; | |
| 257 | - white-space: normal; | |
| 258 | -} | |
| 259 | -.booking_form_div .submit, | |
| 260 | -.booking_form_div .button, | |
| 261 | -.booking_form_div .button-primary, | |
| 262 | -.booking_form_div .button-secondary, | |
| 263 | -.booking_form_div .button-highlighted, | |
| 264 | -.booking_form_div #postcustomstuff .submit input { | |
| 265 | - -moz-border-radius: 11px; | |
| 266 | - -webkit-border-radius: 11px; | |
| 267 | - -moz-box-sizing: content-box; | |
| 268 | - border-style: solid; | |
| 269 | - border-width: 1px; | |
| 270 | - cursor: pointer; | |
| 271 | - font-size: 11px !important; | |
| 272 | - line-height: 16px; | |
| 273 | - padding: 2px 8px; | |
| 274 | - text-decoration: none; | |
| 275 | - font-weight: 600; | |
| 276 | - margin: 10px 0px; | |
| 277 | - float: right; | |
| 278 | -} | |
| 279 | -/* Fix Overwrite issue by theme */ | |
| 280 | -.booking_form_div input.btn-primary:hover { | |
| 281 | - background: #0044CC !important; | |
| 282 | -} | |
| 283 | -/* Pointer */ | |
| 284 | -.booking_form_div input[type="button"]:hover, | |
| 285 | -.wpbc-payment-form input[type="button"]:hover { | |
| 286 | - cursor: pointer !important; | |
| 287 | -} | |
| 288 | -/* not allowed if disabled */ | |
| 289 | -.booking_form_div input[type="button"]:disabled:hover, | |
| 290 | -.wpbc-payment-form input[type="button"]:disabled:hover { | |
| 291 | - cursor: not-allowed !important; | |
| 292 | -} | |
| 293 | 238 | |
| 294 | -/* CAPTCHA ********************************************************************/ | |
| 295 | -.wpbc_text_captcha_container{ | |
| 296 | - display: flex; | |
| 297 | - flex-flow: row wrap; | |
| 298 | - justify-content: flex-start; | |
| 299 | - align-items: flex-start; | |
| 239 | +/* ========================================================================== */ | |
| 240 | +/* CAPTCHA */ | |
| 241 | +/* What: layout for text captcha, image and input */ | |
| 242 | +/* ========================================================================== */ | |
| 243 | +.wpbc_text_captcha_container { | |
| 244 | + display: flex; | |
| 245 | + flex-flow: row wrap; | |
| 246 | + justify-content: flex-start; | |
| 247 | + align-items: flex-start; | |
| 300 | 248 | } |
| 249 | +.wpbc_container_booking_form .wpbc_bfb__field[data-type="captcha"] img.captcha_img, | |
| 301 | 250 | .wpbc_container_booking_form .booking_form_div img.captcha_img { |
| 302 | - vertical-align: middle; | |
| 303 | - box-shadow: none; | |
| 304 | - margin-left: 1em; | |
| 305 | - align-self: center; | |
| 251 | + vertical-align: middle; | |
| 252 | + box-shadow: none; | |
| 253 | + margin-left: 1em; | |
| 254 | + align-self: center; | |
| 306 | 255 | } |
| 256 | +.wpbc_container_booking_form .wpbc_bfb__field[data-type="captcha"] .captachinput, | |
| 307 | 257 | .wpbc_container_booking_form .booking_form_div .captachinput { |
| 308 | - width: 120px; | |
| 309 | - flex: 0 1 10em; | |
| 310 | - margin: 0; | |
| 258 | + width: 120px; | |
| 259 | + min-width: Min(120px, 100%); | |
| 260 | + max-width: 100%; | |
| 261 | + flex: 0 1 10em; | |
| 262 | + margin: 0; | |
| 311 | 263 | } |
| 312 | 264 | |
| 265 | + | |
| 266 | +/* ========================================================================== */ | |
| 267 | +/* Generic separators + widget container */ | |
| 268 | +/* What: hr styling and widget area tweaks */ | |
| 269 | +/* ========================================================================== */ | |
| 313 | 270 | .booking_form_div hr { |
| 314 | - margin: 6px 0 12px; | |
| 315 | - border: none; | |
| 316 | - color: transparent; | |
| 317 | - background: #eee; | |
| 318 | - height: 1.2px; | |
| 319 | - box-shadow: none; | |
| 271 | + margin: 0.5em 0; | |
| 272 | + border: none; | |
| 273 | + color: transparent; | |
| 274 | + background: #ececec; | |
| 275 | + height: 1.2px; | |
| 276 | + box-shadow: none; | |
| 277 | + width: 100%; | |
| 320 | 278 | } |
| 321 | 279 | |
| 322 | -/* Widget container */ | |
| 323 | 280 | .widget_wpdev_booking { |
| 324 | - width:100%; | |
| 325 | - float:left; | |
| 326 | - margin:5px 0px; | |
| 281 | + width: 100%; | |
| 282 | + float: left; | |
| 283 | + margin: 5px 0; | |
| 327 | 284 | } |
| 328 | 285 | .widget_wpdev_booking .booking_form input[type="radio"], |
| 329 | 286 | .widget_wpdev_booking .booking_form input[type="checkbox"] { |
| 330 | - width:auto; | |
| 287 | + width: auto; | |
| 331 | 288 | } |
| 332 | 289 | |
| 333 | -/* Each field in the booking form has this wrap */ | |
| 334 | -.wpdev-form-control-wrap{ | |
| 335 | - display: inline-flex; | |
| 336 | - flex-flow: row wrap; | |
| 337 | - justify-content: flex-start; | |
| 338 | - align-items: center; | |
| 339 | - /*width: auto;*/ | |
| 340 | - margin: 0.25em 0; | |
| 341 | 290 | |
| 342 | - max-width: Min(30em, 100%); | |
| 343 | - max-width: 100%; | |
| 344 | - width: 340px; | |
| 345 | - min-width: Min(8em, 100%); | |
| 291 | +/* ========================================================================== */ | |
| 292 | +/* Field wrapper + inline choice controls */ | |
| 293 | +/* What: per‑field container sizing and checkbox/radio alignment */ | |
| 294 | +/* ========================================================================== */ | |
| 295 | + | |
| 296 | +.wpdev-form-control-wrap { | |
| 297 | + display: inline-flex; | |
| 298 | + flex-flow: row wrap; | |
| 299 | + justify-content: flex-start; | |
| 300 | + align-items: center; | |
| 301 | + margin: 0.25em 0; | |
| 302 | + max-width: 100%; | |
| 303 | + width: 340px; | |
| 304 | + min-width: Min(8em, 100%); | |
| 346 | 305 | } |
| 306 | + | |
| 347 | 307 | @media (max-width: 782px) { |
| 348 | - .wpdev-form-control-wrap { | |
| 349 | - display: flex; | |
| 350 | - width: 100%; | |
| 351 | - } | |
| 352 | - .wpdev-form-control-wrap.wpbc_wrap_checkbox { | |
| 353 | - display: inline-flex; | |
| 354 | - width: auto; /* Otherwise incorrectly showing checkboxes on new line: "Fee: [checkbox fee '']" */ | |
| 355 | - } | |
| 308 | + .wpdev-form-control-wrap { | |
| 309 | + display: flex; | |
| 310 | + width: 100%; | |
| 311 | + } | |
| 312 | + /* Keep checkboxes inline (avoid line breaks for small labels). */ | |
| 313 | + .wpdev-form-control-wrap.wpbc_wrap_checkbox { | |
| 314 | + display: inline-flex; | |
| 315 | + width: auto; /* Avoids wrapping “Fee: [checkbox ...]” onto a new line */ | |
| 316 | + } | |
| 356 | 317 | } |
| 357 | -/* Wrap of options in checkboxes / radio buttons*/ | |
| 318 | + | |
| 319 | +/* Options groups (radio/checkbox lists) */ | |
| 358 | 320 | .wpdev-form-control-wrap .wpdev-radio, |
| 359 | 321 | .wpdev-form-control-wrap .wpdev-checkbox { |
| 360 | - line-height:100%; | |
| 322 | + line-height: 100%; | |
| 361 | 323 | } |
| 324 | + | |
| 362 | 325 | .wpdev-form-control-wrap .wpdev-list-item { |
| 363 | - display: inline-flex; | |
| 364 | - flex-flow: row wrap; | |
| 365 | - justify-content: flex-start; | |
| 366 | - align-items: center; | |
| 367 | - height: auto; | |
| 368 | - line-height:100%; | |
| 326 | + display: inline-flex; | |
| 327 | + flex-flow: row wrap; | |
| 328 | + justify-content: flex-start; | |
| 329 | + align-items: center; | |
| 330 | + height: auto; | |
| 331 | + line-height: 2; /* FixIn: 10.3.0.3 */ | |
| 332 | +} | |
| 369 | 333 | |
| 370 | - /*align-items: first baseline;*/ | |
| 371 | - line-height: 1.5; | |
| 334 | +.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item { | |
| 335 | + flex-flow: row nowrap; | |
| 336 | +} | |
| 372 | 337 | |
| 373 | - /* FixIn: 10.3.0.3 */ | |
| 374 | - line-height: 2; | |
| 375 | - display: inline-block; | |
| 338 | +.wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label, | |
| 339 | +.wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label:hover, | |
| 340 | +.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label, | |
| 341 | +.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label:hover { | |
| 342 | + display: inline-block; | |
| 376 | 343 | } |
| 377 | - /* For checkboxes Aligning correctly. */ | |
| 378 | - .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item { | |
| 379 | - flex-flow: row nowrap; | |
| 380 | - } | |
| 381 | - .wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label, /* //FixIn: 9.8.8.1 */ | |
| 382 | - .wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label:hover, /* //FixIn: 9.8.8.1 */ | |
| 383 | - .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label, | |
| 384 | - .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label:hover{ | |
| 385 | - display: inline-block; | |
| 386 | - } | |
| 387 | - .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label *{ | |
| 388 | - vertical-align: baseline; | |
| 389 | - } | |
| 344 | +.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label * { | |
| 345 | + vertical-align: baseline; | |
| 346 | +} | |
| 347 | + | |
| 390 | 348 | .wpdev-form-control-wrap .wpdev-list-item > * { |
| 391 | - margin: auto; | |
| 349 | + margin: auto; | |
| 392 | 350 | } |
| 393 | -.wpdev-form-control-wrap .wpdev-list-item label.wpdev-list-item-label{ | |
| 394 | - margin-top: 0; | |
| 395 | - align-self: center; | |
| 351 | +.wpdev-form-control-wrap .wpdev-list-item label.wpdev-list-item-label { | |
| 352 | + margin-top: 0; | |
| 353 | + align-self: center; | |
| 396 | 354 | } |
| 355 | + | |
| 356 | +/* Control alignment next to labels */ | |
| 397 | 357 | div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="checkbox"], |
| 398 | -div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="radio"]{ | |
| 399 | - /*margin-top: 3px;*/ | |
| 400 | - margin-right: 0.5em; | |
| 401 | - /* FixIn: 10.3.0.3 */ | |
| 402 | - margin: 0 0.1em; | |
| 403 | - vertical-align: middle; | |
| 358 | +div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="radio"] { | |
| 359 | + margin: 0 0.1em; /* FixIn: 10.3.0.3 */ | |
| 360 | + vertical-align: middle; | |
| 404 | 361 | } |
| 405 | -div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="checkbox"]{ | |
| 406 | - margin-top: -2px; | |
| 362 | +div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="checkbox"] { | |
| 363 | + margin-top: -2px; | |
| 407 | 364 | } |
| 408 | -/* | |
| 409 | -.wpdev-form-control-wrap.wpbc_wrap_checkbox .wpdev-list-item > *, | |
| 410 | -.wpdev-form-control-wrap.wpbc_wrap_checkbox .wpdev-list-item > *:hover { | |
| 411 | - margin: auto; | |
| 412 | - display: inline-block; | |
| 413 | -} | |
| 414 | - */ | |
| 415 | -/* = Old Messages =================================================================================================== */ | |
| 416 | -/* Under calendar */ | |
| 365 | + | |
| 366 | + | |
| 367 | +/* ========================================================================== */ | |
| 368 | +/* Legacy “Old Messages” (kept for compatibility) */ | |
| 369 | +/* What: historic message styles used in some templates */ | |
| 370 | +/* ========================================================================== */ | |
| 417 | 371 | .widget_wpdev_booking .booking_form .wpdev-help-message.wpdev-element-message { |
| 418 | - font-size: 0.85em; | |
| 419 | - margin: 10px 4px 4px !important; | |
| 372 | + font-size: 0.85em; | |
| 373 | + margin: 10px 4px 4px !important; | |
| 420 | 374 | } |
| 421 | -/* Under fields */ | |
| 422 | 375 | .widget_wpdev_booking .booking_form .wpdev-form-control-wrap .wpdev-help-message { |
| 423 | - font-size: 0.85em; | |
| 424 | - margin: 2px 8px 2px 0 !important; | |
| 376 | + font-size: 0.85em; | |
| 377 | + margin: 2px 8px 2px 0 !important; | |
| 425 | 378 | } |
| 426 | -/* Messages in Ajax request after making booking *****************************/ | |
| 379 | + | |
| 380 | +/* Messages during AJAX submission */ | |
| 427 | 381 | .submiting_content { |
| 428 | - border: 1px solid #5C5; | |
| 429 | - font-size: 15px; | |
| 430 | - font-weight: 600; | |
| 431 | - height: 45px; | |
| 432 | - margin: 15px auto; | |
| 433 | - padding: 15px 10px; | |
| 434 | - text-align: center; | |
| 382 | + border: 1px solid #5C5; | |
| 383 | + font-size: 15px; | |
| 384 | + font-weight: 600; | |
| 385 | + height: 45px; | |
| 386 | + margin: 15px auto; | |
| 387 | + text-align: center; | |
| 388 | + width: 80%; | |
| 389 | + line-height: 1.5em; | |
| 390 | + padding: 10px 10% 14px !important; | |
| 391 | +} | |
| 435 | 392 | |
| 436 | - width: 80%; | |
| 437 | - line-height: 1.5em; | |
| 438 | - padding: 10px 10% 14px !important; | |
| 393 | +/* Error look (Bootstrap-like) — FixIn: 8.7.11.10 */ | |
| 394 | +.wpdevelop .alert-danger { | |
| 395 | + background-image: none; | |
| 396 | + background-color: #fff; | |
| 397 | + border-radius: 0 2px 2px 0; | |
| 398 | + border-width: 1px; | |
| 399 | + border-left: 4px solid #c23b3b; | |
| 439 | 400 | } |
| 440 | -/* Error Message FixIn: 8.7.11.10 */ | |
| 441 | -.wpdevelop .alert-danger{ | |
| 442 | - background-image: none; | |
| 443 | - background-color: #fff; | |
| 444 | - border-radius: 0 2px 2px 0; | |
| 445 | - border-width:1px; | |
| 446 | - border-left:4px solid #c23b3b; | |
| 447 | -} | |
| 448 | -/* Warning Messages //FixIn: 9.6.2.4 */ | |
| 401 | + | |
| 402 | +/* Warning notes — FixIn: 9.6.2.4 */ | |
| 449 | 403 | .wpdev-help-message.alert.alert-warning, |
| 450 | 404 | .wpdev-help-message .alert.alert-warning { |
| 451 | - color: #916c34; | |
| 452 | - | |
| 453 | - background: #fff; | |
| 454 | - box-shadow: 0 0px 3px #e0e0e0; | |
| 455 | - border: 1px solid #ded1bc; | |
| 456 | - border-left: 3px solid #e09118; | |
| 457 | - border-radius: 2px; | |
| 458 | - | |
| 459 | - margin: 2px 2px 2px 0px; | |
| 460 | - padding: 0.5em 1em; | |
| 461 | - | |
| 462 | - vertical-align: top; | |
| 463 | - font-size: 0.9rem; | |
| 464 | - line-height: 1.4rem; | |
| 465 | - opacity: 1; | |
| 405 | + color: #916c34; | |
| 406 | + background: #fff; | |
| 407 | + box-shadow: 0 0px 3px #e0e0e0; | |
| 408 | + border: 1px solid #ded1bc; | |
| 409 | + border-left: 3px solid #e09118; | |
| 410 | + border-radius: 2px; | |
| 411 | + margin: 2px 2px 2px 0px; | |
| 412 | + padding: 0.5em 1em; | |
| 413 | + vertical-align: top; | |
| 414 | + font-size: 0.9rem; | |
| 415 | + line-height: 1.4rem; | |
| 416 | + opacity: 1; | |
| 466 | 417 | } |
| 467 | - | |
| 468 | 418 | .booking_form .wpdev-checkbox .wpdev-help-message.alert.alert-warning { |
| 469 | - line-height: inherit !important; | |
| 419 | + line-height: inherit !important; | |
| 470 | 420 | } |
| 421 | + | |
| 471 | 422 | .wpdev-help-message.wpdev-element-message { |
| 472 | - padding :5px 5px 4px; | |
| 473 | - margin: 10px 2px; | |
| 474 | - vertical-align: middle; | |
| 475 | - display:inline-block; | |
| 423 | + padding: 5px 5px 4px; | |
| 424 | + margin: 10px 2px; | |
| 425 | + vertical-align: middle; | |
| 426 | + display: inline-block; | |
| 476 | 427 | } |
| 477 | -/* Thank you Messages //FixIn: 9.6.2.3 */ | |
| 428 | + | |
| 429 | +/* Success/Thank-you note — FixIn: 9.6.2.3 */ | |
| 478 | 430 | .submiting_content.wpdev-help-message.alert.alert-warning.alert-success { |
| 479 | - border: 1px solid #d5d5d5; | |
| 480 | - border-left: 5px solid #88b706; | |
| 481 | - background: #fff; | |
| 482 | - box-shadow: 0 1px 10px #ddd; | |
| 483 | - color: #707070; | |
| 484 | - padding: 11px 10px !important; | |
| 485 | - margin: auto; | |
| 486 | - height: auto; | |
| 487 | - font-size: 1.1em; | |
| 488 | - font-weight: 600; | |
| 489 | - line-height: 2em !important; | |
| 490 | - width: 94%; | |
| 431 | + border: 1px solid #d5d5d5; | |
| 432 | + border-left: 5px solid #88b706; | |
| 433 | + background: #fff; | |
| 434 | + box-shadow: 0 1px 10px #ddd; | |
| 435 | + color: #707070; | |
| 436 | + padding: 11px 10px !important; | |
| 437 | + margin: auto; | |
| 438 | + height: auto; | |
| 439 | + font-size: 1.1em; | |
| 440 | + font-weight: 600; | |
| 441 | + line-height: 2em !important; | |
| 442 | + width: 94%; | |
| 491 | 443 | } |
| 444 | + | |
| 445 | +/* Inline “form messages” row */ | |
| 492 | 446 | .form_bk_messages { |
| 493 | - display: none; | |
| 494 | - float: left; | |
| 495 | - font-size: 14px; | |
| 496 | - font-weight: 600; | |
| 497 | - border: 1px solid #9DA; | |
| 498 | - padding: 3px 10px; | |
| 499 | - margin: 2px 5px; | |
| 500 | - background: #FEF9ED; | |
| 501 | - color: #555; | |
| 502 | - margin: 15px auto; | |
| 503 | - padding: 5px 10px; | |
| 504 | - text-align: center; | |
| 505 | - width: 100%; | |
| 506 | - clear: both; | |
| 447 | + display: none; | |
| 448 | + float: left; | |
| 449 | + font-size: 14px; | |
| 450 | + font-weight: 600; | |
| 451 | + border: 1px solid #9DA; | |
| 452 | + background: #FEF9ED; | |
| 453 | + color: #555; | |
| 454 | + margin: 15px auto; | |
| 455 | + padding: 5px 10px; | |
| 456 | + text-align: center; | |
| 457 | + width: 100%; | |
| 458 | + clear: both; | |
| 507 | 459 | } |
| 508 | 460 | |
| 509 | -/* ================================================================================================================== */ | |
| 510 | -/* New Messages Style --------------------------------------------------------------------------------------------- */ | |
| 511 | -/* ================================================================================================================== */ | |
| 512 | -/* Messages near form fields - left / right side ------------------------------------------------------------------- */ | |
| 461 | + | |
| 462 | +/* ========================================================================== */ | |
| 463 | +/* New Messages (current UX) */ | |
| 464 | +/* What: message containers near fields and full-row notes */ | |
| 465 | +/* ========================================================================== */ | |
| 513 | 466 | .wpbc_front_end__message_container_right, |
| 514 | 467 | .wpbc_front_end__message_container_left { |
| 515 | - display: inline-flex; | |
| 516 | - flex-flow: row wrap; | |
| 517 | - justify-content: flex-start; | |
| 518 | - align-items: center; | |
| 519 | - margin: 10px 1em; | |
| 468 | + display: inline-flex; | |
| 469 | + flex-flow: row wrap; | |
| 470 | + justify-content: flex-start; | |
| 471 | + align-items: center; | |
| 472 | + margin: 10px 1em; | |
| 520 | 473 | } |
| 521 | 474 | .wpbc__field .wpbc_front_end__message_container_right, |
| 522 | -.wpbc__field .wpbc_front_end__message_container_left{ | |
| 523 | - margin: 10px 1em 10px 0; | |
| 475 | +.wpbc__field .wpbc_front_end__message_container_left { | |
| 476 | + margin: 10px 1em 10px 0; | |
| 524 | 477 | } |
| 525 | 478 | .wpbc_front_end__message_container_right .wpbc_front_end__message, |
| 526 | -.wpbc_front_end__message_container_left .wpbc_front_end__message{ | |
| 527 | - flex: 0 1 auto; | |
| 528 | - margin: 0; | |
| 529 | - line-height: 1.8em; | |
| 530 | - border-radius: 2px; | |
| 479 | +.wpbc_front_end__message_container_left .wpbc_front_end__message { | |
| 480 | + flex: 0 1 auto; | |
| 481 | + margin: 0; | |
| 482 | + line-height: 1.8em; | |
| 483 | + border-radius: 2px; | |
| 531 | 484 | } |
| 532 | -/* Do not display icons in messages near fields */ | |
| 485 | + | |
| 486 | +/* Hide icons for inline (near-field) messages */ | |
| 533 | 487 | .wpbc_front_end__message_container_right .wpbc_front_end__message .menu_icon, |
| 534 | -.wpbc_front_end__message_container_left .wpbc_front_end__message .menu_icon{ | |
| 535 | - display:none; | |
| 488 | +.wpbc_front_end__message_container_left .wpbc_front_end__message .menu_icon { | |
| 489 | + display: none; | |
| 536 | 490 | } |
| 491 | + | |
| 492 | +/* Inline warning/error variants */ | |
| 537 | 493 | .wpbc_front_end__message_container_right .wpbc_front_end__message.wpbc_fe_message_warning, |
| 538 | 494 | .wpbc_front_end__message_container_left .wpbc_front_end__message.wpbc_fe_message_warning { |
| 539 | - border-color: #ded1bc; | |
| 540 | - border-left-color: #e09118; | |
| 541 | - color: #916c34; | |
| 542 | - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); | |
| 543 | - | |
| 544 | - | |
| 545 | - border: none; | |
| 546 | - padding: 1px 20px 1px 0px; | |
| 547 | - color: var(--wpbc_form-label-error-color); | |
| 548 | - text-shadow: none; | |
| 549 | - box-shadow: none; | |
| 495 | + border: none; | |
| 496 | + padding: 1px 20px 1px 0px; | |
| 497 | + color: var(--wpbc_form-label-error-color); | |
| 498 | + text-shadow: none; | |
| 499 | + box-shadow: none; | |
| 550 | 500 | } |
| 551 | 501 | .wpbc_front_end__message_container_right .wpbc_front_end__message.wpbc_fe_message_error, |
| 552 | 502 | .wpbc_front_end__message_container_left .wpbc_front_end__message.wpbc_fe_message_error { |
| 553 | - border-color: #dca7a7; | |
| 554 | - border-left-color: #c23b3b; | |
| 555 | - color: #a94442; | |
| 556 | - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); | |
| 503 | + border-color: #dca7a7; | |
| 504 | + border-left-color: #c23b3b; | |
| 505 | + color: #a94442; | |
| 506 | + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); | |
| 557 | 507 | } |
| 558 | -/* Full row messages ------------------------------------------------------------------------------------------------ */ | |
| 508 | + | |
| 509 | +/* Full-row messages band */ | |
| 559 | 510 | .wpbc_front_end__message { |
| 560 | - /*background: #ffffff;*/ | |
| 561 | - border-left: 4px solid #fff; | |
| 562 | - /*box-shadow: 0 1px 1px 0 rgba(192, 192, 192, 0.55);*/ | |
| 563 | - margin: 10px 0; | |
| 564 | - padding: 1px 20px 1px 10px; | |
| 565 | - line-height: 2.5em; | |
| 566 | - text-align:left; | |
| 567 | - border-top: 1px solid #d7d7d7; | |
| 568 | - border-right: 1px solid #d7d7d7; | |
| 569 | - border-bottom: 1px solid #d7d7d7; | |
| 570 | - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); | |
| 571 | - display: inline-block; | |
| 511 | + border-left: 4px solid #fff; | |
| 512 | + margin: 10px 0; | |
| 513 | + padding: 1px 20px 1px 10px; | |
| 514 | + line-height: 2.5em; | |
| 515 | + text-align: left; | |
| 516 | + border-top: 1px solid #d7d7d7; | |
| 517 | + border-right: 1px solid #d7d7d7; | |
| 518 | + border-bottom: 1px solid #d7d7d7; | |
| 519 | + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); | |
| 520 | + display: inline-block; | |
| 572 | 521 | } |
| 573 | 522 | .wpbc_fe_message_error.wpbc_front_end__message { |
| 574 | - background: #ffffff; | |
| 523 | + background: #ffffff; | |
| 575 | 524 | } |
| 576 | -/* Icon */ | |
| 525 | + | |
| 526 | +/* Message icon spacing */ | |
| 577 | 527 | .wpbc_front_end__message i.menu_icon { |
| 578 | - margin: 0 0.5em 0 0; | |
| 528 | + margin: 0 0.5em 0 0; | |
| 579 | 529 | } |
| 580 | -/* Standard messages - where LEFT border has different color */ | |
| 530 | + | |
| 531 | +/* Standard message accent colors (left border & icons) */ | |
| 581 | 532 | .wpbc_front_end__message.wpbc_fe_message_info { |
| 582 | - border-left-color: #00a0d2; | |
| 533 | + border-left-color: var( --wpbc_admin-theme-color, #00a0d2 ); | |
| 583 | 534 | } |
| 584 | 535 | .wpbc_front_end__message.wpbc_fe_message_success { |
| 585 | - border-left-color: #46b450; | |
| 536 | + border-left-color: #46b450; | |
| 586 | 537 | } |
| 587 | 538 | .wpbc_front_end__message.wpbc_fe_message_warning { |
| 588 | - border-left-color: #e09118; | |
| 539 | + border-left-color: #e09118; | |
| 589 | 540 | } |
| 590 | 541 | .wpbc_front_end__message.wpbc_fe_message_error { |
| 591 | - border-left-color: #c23b3b; | |
| 542 | + border-left-color: #c23b3b; | |
| 592 | 543 | } |
| 593 | -/* Alt messages - where border also has different color */ | |
| 594 | - .wpbc_front_end__message.wpbc_fe_message_info i.menu_icon { color: #0084ad; } | |
| 544 | + | |
| 545 | +.wpbc_front_end__message.wpbc_fe_message_info i.menu_icon { | |
| 546 | + color: #0084ad; | |
| 547 | +} | |
| 548 | +.wpbc_front_end__message.wpbc_fe_message_success i.menu_icon { | |
| 549 | + color: #00810b; | |
| 550 | +} | |
| 551 | +.wpbc_front_end__message.wpbc_fe_message_warning i.menu_icon { | |
| 552 | + color: #c17400; | |
| 553 | +} | |
| 554 | +.wpbc_front_end__message.wpbc_fe_message_error i.menu_icon { | |
| 555 | + color: #af5050; | |
| 556 | +} | |
| 557 | + | |
| 558 | +/* “Alt” framed message style */ | |
| 595 | 559 | .wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_info { |
| 596 | - border: 2px solid #00a0d2; | |
| 597 | - background: #fff; | |
| 598 | - border-left: 4px solid #00a0d2; | |
| 599 | - box-shadow: 0 0 4px #cfcfcf; | |
| 560 | + border: 2px solid var( --wpbc_admin-theme-color, #00a0d2 ); | |
| 561 | + background: #fff; | |
| 562 | + border-left: 4px solid var( --wpbc_admin-theme-color, #00a0d2 ); | |
| 563 | + box-shadow: 0 0 4px #cfcfcf; | |
| 600 | 564 | } |
| 601 | - .wpbc_front_end__message.wpbc_fe_message_success i.menu_icon { color: #00810b; } | |
| 602 | 565 | .wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_success { |
| 603 | - border: 2px solid #00950d; | |
| 604 | - background: #fff; | |
| 605 | - border-left: 4px solid #00950d; | |
| 606 | - box-shadow: 0 0 4px #cfcfcf; | |
| 566 | + border: 2px solid #00950d; | |
| 567 | + background: #fff; | |
| 568 | + border-left: 4px solid #00950d; | |
| 569 | + box-shadow: 0 0 4px #cfcfcf; | |
| 607 | 570 | } |
| 608 | - .wpbc_front_end__message.wpbc_fe_message_warning i.menu_icon { color: #c17400; } | |
| 609 | 571 | .wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_warning { |
| 610 | - border: 2px solid #c17400; | |
| 611 | - background: #fff; | |
| 612 | - border-left: 4px solid #e09118; | |
| 613 | - box-shadow: 0 0 4px #cfcfcf; | |
| 572 | + border: 2px solid #c17400; | |
| 573 | + background: #fff; | |
| 574 | + border-left: 4px solid #e09118; | |
| 575 | + box-shadow: 0 0 4px #cfcfcf; | |
| 614 | 576 | } |
| 615 | - .wpbc_front_end__message.wpbc_fe_message_error i.menu_icon { color: #af5050; } | |
| 616 | 577 | .wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_error { |
| 617 | - border: 2px solid #af5050; | |
| 618 | - background: #fff; | |
| 619 | - border-left: 4px solid #af5050; | |
| 620 | - box-shadow: 0 0 4px #cfcfcf; | |
| 578 | + border: 2px solid #af5050; | |
| 579 | + background: #fff; | |
| 580 | + border-left: 4px solid #af5050; | |
| 581 | + box-shadow: 0 0 4px #cfcfcf; | |
| 621 | 582 | } |
| 622 | -/* ================================================================================================================== */ | |
| 623 | 583 | |
| 624 | -/* Booked Times Title in tooltip */ | |
| 584 | + | |
| 585 | +/* ========================================================================== */ | |
| 586 | +/* Misc helpers */ | |
| 587 | +/* What: misc small rules: admin counter, popovers, tooltips, transforms */ | |
| 588 | +/* ========================================================================== */ | |
| 589 | + | |
| 590 | +/* Booked Times title in tooltip */ | |
| 625 | 591 | .wpbc_booked_times_word { |
| 626 | - font-weight: 600; | |
| 592 | + font-weight: 600; | |
| 627 | 593 | } |
| 628 | -/* Garbage */ | |
| 594 | + | |
| 595 | +/* Garbage container (hidden) */ | |
| 629 | 596 | .booking_form_garbage { |
| 630 | - display:none; | |
| 597 | + display: none; | |
| 631 | 598 | } |
| 632 | -/* Help block */ | |
| 599 | + | |
| 600 | +/* Help block spacing near inputs */ | |
| 633 | 601 | .wpdevelop .booking_form .help-block { |
| 634 | - margin-bottom: 0; | |
| 635 | - margin-top: 0; | |
| 602 | + margin-bottom: 0; | |
| 603 | + margin-top: 0; | |
| 636 | 604 | } |
| 637 | -/* Admin bar count */ | |
| 605 | + | |
| 606 | +/* Admin bar booking count badge */ | |
| 638 | 607 | #wp-admin-bar-booking_options a span#booking-count { |
| 639 | - background: none repeat scroll 0 0 #EEE; | |
| 640 | - border-radius: 10px 10px 10px 10px; | |
| 641 | - color: #333; | |
| 642 | - display: inline; | |
| 643 | - font-size: 10px; | |
| 644 | - font-weight: 600; | |
| 645 | - padding: 2px 5px; | |
| 646 | - text-shadow: none; | |
| 608 | + background: #EEE; | |
| 609 | + border-radius: 10px; | |
| 610 | + color: #333; | |
| 611 | + display: inline; | |
| 612 | + font-size: 10px; | |
| 613 | + font-weight: 600; | |
| 614 | + padding: 2px 5px; | |
| 615 | + text-shadow: none; | |
| 647 | 616 | } |
| 648 | 617 | #wp-admin-bar-booking_options a:hover span#booking-count { |
| 649 | - background: none repeat scroll 0 0 #FFF; | |
| 650 | - color: #000; | |
| 618 | + background: #FFF; | |
| 619 | + color: #000; | |
| 651 | 620 | } |
| 652 | 621 | |
| 653 | -/* Pop Over Styles ************************************************************/ | |
| 622 | +/* Popover styles (Bootstrap-like) */ | |
| 654 | 623 | .wpdevelop.popover { |
| 655 | - background: none repeat scroll 0 0 transparent; | |
| 656 | - border: medium none; | |
| 657 | - box-shadow: none; | |
| 658 | - width: auto !important; | |
| 659 | - z-index: 2147483647 !important; | |
| 660 | - | |
| 624 | + background: transparent; | |
| 625 | + border: none; | |
| 626 | + box-shadow: none; | |
| 627 | + width: auto !important; | |
| 628 | + z-index: 2147483647 !important; | |
| 661 | 629 | } |
| 662 | 630 | .wpdevelop.popover.top .arrow { |
| 663 | - border-top: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 631 | + border-top: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 664 | 632 | } |
| 665 | 633 | .wpdevelop.popover.bottom .arrow { |
| 666 | - border-bottom: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 634 | + border-bottom: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 667 | 635 | } |
| 668 | 636 | .wpdevelop.popover.left .arrow { |
| 669 | - border-left: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 637 | + border-left: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 670 | 638 | } |
| 671 | 639 | .wpdevelop.popover.right .arrow { |
| 672 | - border-right: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 640 | + border-right: 5px solid rgba(140, 140, 140, 0.8) !important; | |
| 673 | 641 | } |
| 642 | + | |
| 674 | 643 | .wpdevelop .popover-inner { |
| 675 | - background: none repeat scroll 0 0 rgba(140, 140, 140, 0.8); | |
| 676 | - border-radius: 6px 6px 6px 6px; | |
| 677 | - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); | |
| 678 | - overflow: hidden; | |
| 679 | - padding: 3px; | |
| 680 | - width: 150px; | |
| 681 | - color: #111; | |
| 644 | + background: rgba(140, 140, 140, 0.8); | |
| 645 | + border-radius: 6px; | |
| 646 | + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); | |
| 647 | + overflow: hidden; | |
| 648 | + padding: 3px; | |
| 649 | + width: 150px; | |
| 650 | + color: #111; | |
| 682 | 651 | } |
| 683 | 652 | .wpdevelop .popover-inner .popover-title { |
| 684 | - background-color: #FFF; | |
| 685 | - border-bottom: 0px solid #EEE; | |
| 686 | - border-radius: 3px 3px 0 0; | |
| 687 | - line-height: 1; | |
| 688 | - padding: 0px; /*9px 15px;*/ | |
| 689 | - font-size: 13px; | |
| 653 | + background-color: #FFF; | |
| 654 | + border-bottom: 0; | |
| 655 | + border-radius: 3px 3px 0 0; | |
| 656 | + line-height: 1; | |
| 657 | + padding: 0; | |
| 658 | + font-size: 13px; | |
| 690 | 659 | } |
| 691 | 660 | .wpdevelop .popover-inner .popover-content { |
| 692 | - background-clip: padding-box; | |
| 693 | - background-color: #FFF; | |
| 694 | - border-radius: 0 0 3px 3px; | |
| 695 | - padding: 14px; | |
| 661 | + background-clip: padding-box; | |
| 662 | + background-color: #FFF; | |
| 663 | + border-radius: 0 0 3px 3px; | |
| 664 | + padding: 14px; | |
| 696 | 665 | } |
| 697 | 666 | .wpdevelop .popover-content, |
| 698 | 667 | .wpdevelop .popover-content p, |
| 699 | 668 | .wpdevelop .popover-content ul, |
| 700 | 669 | .wpdevelop .popover-content ol { |
| 701 | - color: #111; | |
| 670 | + color: #111; | |
| 702 | 671 | } |
| 703 | 672 | |
| 704 | -/* In Calendar Tooltip ***********************************************/ | |
| 673 | +/* Small tooltip text inside calendar */ | |
| 705 | 674 | .wpbc_calendar_tooltip_booking_details { |
| 706 | - font-weight:normal !important; | |
| 707 | - font-size:11px !important; | |
| 675 | + font-weight: normal !important; | |
| 676 | + font-size: 11px !important; | |
| 708 | 677 | } |
| 709 | -/* Rotate Icons for Loading ***********************************************/ | |
| 678 | + | |
| 679 | +/* Loading / rotating icons + transforms */ | |
| 710 | 680 | .wpbc_animation_pause:before, |
| 711 | 681 | .wpbc_animation_pause { |
| 712 | - animation-play-state: paused !important; | |
| 682 | + animation-play-state: paused !important; | |
| 713 | 683 | } |
| 684 | + | |
| 714 | 685 | .wpbc_icn_autorenew::before, |
| 715 | 686 | .wpbc_spin, |
| 716 | 687 | .wpbc_spin:before { |
| 717 | - -webkit-animation: spin 2s infinite linear; | |
| 718 | - -moz-animation: spin 2s infinite linear; | |
| 719 | - -o-animation: spin 2s infinite linear; | |
| 720 | - animation: spin 2s infinite linear; | |
| 688 | + -webkit-animation: spin 2s infinite linear; | |
| 689 | + -moz-animation: spin 2s infinite linear; | |
| 690 | + -o-animation: spin 2s infinite linear; | |
| 691 | + animation: spin 2s infinite linear; | |
| 721 | 692 | } |
| 722 | 693 | @-moz-keyframes spin { |
| 723 | - 0% { | |
| 724 | - -moz-transform: rotate(0deg); | |
| 725 | - } | |
| 726 | - 100% { | |
| 727 | - -moz-transform: rotate(359deg); | |
| 728 | - } | |
| 694 | + 0% { | |
| 695 | + -moz-transform: rotate(0deg); | |
| 696 | + } | |
| 697 | + 100% { | |
| 698 | + -moz-transform: rotate(359deg); | |
| 699 | + } | |
| 729 | 700 | } |
| 730 | 701 | @-webkit-keyframes spin { |
| 731 | - 0% { | |
| 732 | - -webkit-transform: rotate(0deg); | |
| 733 | - } | |
| 734 | - 100% { | |
| 735 | - -webkit-transform: rotate(359deg); | |
| 736 | - } | |
| 702 | + 0% { | |
| 703 | + -webkit-transform: rotate(0deg); | |
| 704 | + } | |
| 705 | + 100% { | |
| 706 | + -webkit-transform: rotate(359deg); | |
| 707 | + } | |
| 737 | 708 | } |
| 738 | 709 | @-o-keyframes spin { |
| 739 | - 0% { | |
| 740 | - -o-transform: rotate(0deg); | |
| 741 | - } | |
| 742 | - 100% { | |
| 743 | - -o-transform: rotate(359deg); | |
| 744 | - } | |
| 710 | + 0% { | |
| 711 | + -o-transform: rotate(0deg); | |
| 712 | + } | |
| 713 | + 100% { | |
| 714 | + -o-transform: rotate(359deg); | |
| 715 | + } | |
| 745 | 716 | } |
| 746 | 717 | @keyframes spin { |
| 747 | - 0% { | |
| 748 | - -webkit-transform: rotate(0deg); | |
| 749 | - transform: rotate(0deg); | |
| 750 | - } | |
| 751 | - 100% { | |
| 752 | - -webkit-transform: rotate(359deg); | |
| 753 | - transform: rotate(359deg); | |
| 754 | - } | |
| 718 | + 0% { | |
| 719 | + -webkit-transform: rotate(0deg); | |
| 720 | + transform: rotate(0deg); | |
| 721 | + } | |
| 722 | + 100% { | |
| 723 | + -webkit-transform: rotate(359deg); | |
| 724 | + transform: rotate(359deg); | |
| 725 | + } | |
| 755 | 726 | } |
| 727 | + | |
| 756 | 728 | .wpbc_rotate-90 { |
| 757 | - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); | |
| 758 | - -webkit-transform: rotate(90deg); | |
| 759 | - -moz-transform: rotate(90deg); | |
| 760 | - -ms-transform: rotate(90deg); | |
| 761 | - -o-transform: rotate(90deg); | |
| 762 | - transform: rotate(90deg); | |
| 729 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); | |
| 730 | + -webkit-transform: rotate(90deg); | |
| 731 | + -moz-transform: rotate(90deg); | |
| 732 | + -ms-transform: rotate(90deg); | |
| 733 | + -o-transform: rotate(90deg); | |
| 734 | + transform: rotate(90deg); | |
| 763 | 735 | } |
| 764 | 736 | .wpbc_rotate-180 { |
| 765 | - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); | |
| 766 | - -webkit-transform: rotate(180deg); | |
| 767 | - -moz-transform: rotate(180deg); | |
| 768 | - -ms-transform: rotate(180deg); | |
| 769 | - -o-transform: rotate(180deg); | |
| 770 | - transform: rotate(180deg); | |
| 737 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); | |
| 738 | + -webkit-transform: rotate(180deg); | |
| 739 | + -moz-transform: rotate(180deg); | |
| 740 | + -ms-transform: rotate(180deg); | |
| 741 | + -o-transform: rotate(180deg); | |
| 742 | + transform: rotate(180deg); | |
| 771 | 743 | } |
| 772 | 744 | .wpbc_rotate-270 { |
| 773 | - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); | |
| 774 | - -webkit-transform: rotate(270deg); | |
| 775 | - -moz-transform: rotate(270deg); | |
| 776 | - -ms-transform: rotate(270deg); | |
| 777 | - -o-transform: rotate(270deg); | |
| 778 | - transform: rotate(270deg); | |
| 745 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); | |
| 746 | + -webkit-transform: rotate(270deg); | |
| 747 | + -moz-transform: rotate(270deg); | |
| 748 | + -ms-transform: rotate(270deg); | |
| 749 | + -o-transform: rotate(270deg); | |
| 750 | + transform: rotate(270deg); | |
| 779 | 751 | } |
| 780 | 752 | .wpbc_flip-horizontal { |
| 781 | - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); | |
| 782 | - -webkit-transform: scale(-1, 1); | |
| 783 | - -moz-transform: scale(-1, 1); | |
| 784 | - -ms-transform: scale(-1, 1); | |
| 785 | - -o-transform: scale(-1, 1); | |
| 786 | - transform: scale(-1, 1); | |
| 753 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); | |
| 754 | + -webkit-transform: scale(-1, 1); | |
| 755 | + -moz-transform: scale(-1, 1); | |
| 756 | + -ms-transform: scale(-1, 1); | |
| 757 | + -o-transform: scale(-1, 1); | |
| 758 | + transform: scale(-1, 1); | |
| 787 | 759 | } |
| 788 | 760 | .wpbc_flip-vertical { |
| 789 | - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); | |
| 790 | - -webkit-transform: scale(1, -1); | |
| 791 | - -moz-transform: scale(1, -1); | |
| 792 | - -ms-transform: scale(1, -1); | |
| 793 | - -o-transform: scale(1, -1); | |
| 794 | - transform: scale(1, -1); | |
| 761 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); | |
| 762 | + -webkit-transform: scale(1, -1); | |
| 763 | + -moz-transform: scale(1, -1); | |
| 764 | + -ms-transform: scale(1, -1); | |
| 765 | + -o-transform: scale(1, -1); | |
| 766 | + transform: scale(1, -1); | |
| 795 | 767 | } |
| 796 | 768 | |
| 797 | -/* Mobile *********************************************************************/ | |
| 769 | + | |
| 770 | +/* ========================================================================== */ | |
| 771 | +/* Mobile tweaks */ | |
| 772 | +/* What: increase input sizes and stack side-by-side layouts */ | |
| 773 | +/* ========================================================================== */ | |
| 798 | 774 | @media (max-width: 782px) { |
| 799 | - .wpdevelop input[type="text"], | |
| 800 | - .wpdevelop input[type="email"], | |
| 801 | - .wpdevelop select{ | |
| 802 | - font-size: 1.1em; | |
| 803 | - height: 36px; /* FixIn: 7.2.0.2 */ | |
| 804 | - padding: 4px 8px; | |
| 805 | - } | |
| 806 | - /* //FixIn: 8.0.1.5 */ | |
| 775 | + .wpdevelop input[type="text"], | |
| 776 | + .wpdevelop input[type="email"], | |
| 777 | + .wpdevelop select { | |
| 778 | + font-size: 1.1em; | |
| 779 | + height: 36px; /* FixIn: 7.2.0.2 */ | |
| 780 | + padding: 4px 8px; | |
| 781 | + } | |
| 782 | + | |
| 783 | + /* FixIn: 8.0.1.5 — stack “form right” layout */ | |
| 807 | 784 | .wpbc_booking_form_structure.wpbc_form_right, |
| 808 | 785 | .wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_calendar, |
| 809 | 786 | .wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form { |
| 810 | 787 | width: 100%; |
| 811 | 788 | float: none; |
| 812 | - margin-right: 0px; | |
| 789 | + margin-right: 0; | |
| 813 | 790 | } |
| 814 | 791 | } |
| 815 | 792 | |
| 816 | -/* Booking form CSS for more clear showing hints //FixIn: 8.7.3.5 */ | |
| 793 | +/* ========================================================================== */ | |
| 794 | +/* Developer Hints (form hints) */ | |
| 795 | +/* What: visual hints for developers inside forms */ | |
| 796 | +/* ========================================================================== */ | |
| 797 | + | |
| 817 | 798 | .booking_form .form-hints-dev { |
| 818 | - margin:1em 0; | |
| 819 | - border-bottom: 1px solid #eee; | |
| 799 | + margin: 1em 0; | |
| 800 | + border-bottom: 1px solid #eee; | |
| 820 | 801 | } |
| 821 | 802 | .booking_form .form-hints-dev .dates-hints-dev { |
| 822 | - padding: 2px 4px; | |
| 823 | - font-size: 85%; | |
| 824 | - color:#c7254e; | |
| 825 | - background-color:#f9f2f4; | |
| 826 | - border-radius: 2px; | |
| 803 | + padding: 2px 4px; | |
| 804 | + font-size: 85%; | |
| 805 | + color: #c7254e; | |
| 806 | + background-color: #f9f2f4; | |
| 807 | + border-radius: 2px; | |
| 827 | 808 | } |
| 828 | 809 | |
| 829 | -/* ================================================================================================================== */ | |
| 830 | -/* == DEPRECATED SECTION == */ | |
| 831 | -/* ================================================================================================================== */ | |
| 832 | -/* Different Forms S T R U C T U R E *******************************************************************************/ | |
| 833 | -/* Booking Form - 2 columns width times //FixIn: 9.5.5.3 */ | |
| 834 | - .wpbc_row { | |
| 835 | - display: flex; | |
| 836 | - flex-flow: row wrap; | |
| 837 | - justify-content: flex-start; | |
| 838 | - align-items: flex-start; | |
| 839 | - margin-top: 1em; | |
| 840 | - } | |
| 841 | - .wpbc_col { | |
| 842 | - flex: 0 1 1px; | |
| 843 | - margin-right: 4.1em; | |
| 844 | - } | |
| 845 | - .wpbc_col.wpbc_cal { | |
| 846 | - flex: 1 1 50%; | |
| 847 | - margin:1em 0; | |
| 848 | - } | |
| 849 | - @media (max-width: 782px) { | |
| 850 | - .wpbc_col { | |
| 851 | - flex: 0 1 auto; | |
| 852 | - margin-right: 0; | |
| 853 | - min-width: 100%; | |
| 854 | - } | |
| 855 | - } | |
| 856 | - .wpbc_col.wpbc_times { | |
| 857 | - flex: 1 1 50%; | |
| 858 | - margin: 1em 0; | |
| 859 | - } | |
| 860 | - .wpbc_col.wpbc_cal > *, | |
| 861 | - .wpbc_col.wpbc_times > * { | |
| 862 | - width:93%; | |
| 863 | - } | |
| 864 | -/* Booking Form - 2 columns //FixIn: 8.7.7.15 */ | |
| 865 | - .wpbc_form_columns { | |
| 866 | - width: 99%; | |
| 867 | - margin-top:1em; | |
| 868 | - } | |
| 869 | - .wpbc_form_columns .wpbc_form_row { | |
| 870 | - display: flex; | |
| 871 | - flex-flow: row wrap; | |
| 872 | - justify-content: space-between; | |
| 873 | - } | |
| 874 | - .wpbc_form_columns .wpbc_form_field { | |
| 875 | - flex: 1 1 14em; | |
| 876 | 810 | |
| 877 | - display: flex; | |
| 878 | - flex-flow: row wrap; | |
| 879 | - justify-content: flex-start; | |
| 880 | - align-items: flex-start; | |
| 881 | - align-content: flex-start; | |
| 882 | - padding: 0 3% 0 0; | |
| 883 | - margin: 0.7em 0; | |
| 884 | - } | |
| 885 | - .wpbc_form_field.wpbc_cal_field { | |
| 886 | - display: block; | |
| 887 | - } | |
| 888 | - .wpbc_form_field.wpbc_cal_field > * { | |
| 889 | - max-width:95%; | |
| 890 | - } | |
| 891 | - .wpbc_form_field.wpbc_cal_field .bk_calendar_frame { | |
| 892 | - margin:-0.75em 0 0; | |
| 893 | - } | |
| 894 | - @media (max-width: 782px) { | |
| 895 | - .wpbc_form_columns .wpbc_form_field { | |
| 896 | - flex: 1 1 100% | |
| 897 | - } | |
| 898 | - } | |
| 899 | - .wpbc_form_columns .wpbc_form_field label, | |
| 900 | - .wpbc_form_columns .wpbc_form_field label:hover { | |
| 901 | - flex: 0 1 auto; | |
| 902 | - margin-right: 2em; | |
| 903 | - display: flex; | |
| 904 | - flex-flow: column nowrap; | |
| 905 | - justify-content: center; | |
| 906 | - font-weight: 600; | |
| 907 | - /*width: 200px;*/ | |
| 908 | - /*margin-top: 1em;*/ | |
| 909 | - } | |
| 910 | - .wpbc_form_columns .wpbc_form_field .wpdev-form-control-wrap { | |
| 911 | - width: 100%; | |
| 912 | - } | |
| 913 | - .booking_form .wpbc_form_columns .form-group .controls select, | |
| 914 | - .booking_form .wpbc_form_columns select, | |
| 915 | - .booking_form .wpbc_form_columns input[type="text"], | |
| 916 | - .booking_form .wpbc_form_columns input[type="email"] { | |
| 917 | - width: 95%; | |
| 918 | - } | |
| 919 | - .booking_form .wpbc_form_columns textarea { | |
| 920 | - width: 98%; | |
| 921 | - } | |
| 922 | -/* Different Forms */ | |
| 923 | -/* Booking Form - 3 columns //FixIn: 8.8.2.6 */ | |
| 811 | +/* ========================================================================== */ | |
| 812 | +/* DEPRECATED LAYOUTS (kept for compatibility) */ | |
| 813 | +/* What: older multi-column structures still used by some templates */ | |
| 814 | +/* ========================================================================== */ | |
| 815 | +/* 2‑column form with times — FixIn: 9.5.5.3 */ | |
| 816 | +.wpbc_row { | |
| 817 | + display: flex; | |
| 818 | + flex-flow: row wrap; | |
| 819 | + justify-content: flex-start; | |
| 820 | + align-items: flex-start; | |
| 821 | + margin-top: 1em; | |
| 822 | +} | |
| 823 | +.wpbc_col { | |
| 824 | + flex: 0 1 1px; | |
| 825 | + margin-right: 4.1em; | |
| 826 | +} | |
| 827 | +.wpbc_col.wpbc_cal { | |
| 828 | + flex: 1 1 50%; | |
| 829 | + margin: 1em 0; | |
| 830 | +} | |
| 831 | +@media (max-width: 782px) { | |
| 832 | + .wpbc_col { | |
| 833 | + flex: 0 1 auto; | |
| 834 | + margin-right: 0; | |
| 835 | + min-width: 100%; | |
| 836 | + } | |
| 837 | +} | |
| 838 | +.wpbc_col.wpbc_times { | |
| 839 | + flex: 1 1 50%; | |
| 840 | + margin: 1em 0; | |
| 841 | +} | |
| 842 | +.wpbc_col.wpbc_cal > *, | |
| 843 | +.wpbc_col.wpbc_times > * { | |
| 844 | + width: 93%; | |
| 845 | +} | |
| 846 | + | |
| 847 | +/* 2‑column general form — FixIn: 8.7.7.15 */ | |
| 848 | +.wpbc_form_columns { | |
| 849 | + width: 99%; | |
| 850 | + margin-top: 1em; | |
| 851 | +} | |
| 852 | +.wpbc_form_columns .wpbc_form_row { | |
| 853 | + display: flex; | |
| 854 | + flex-flow: row wrap; | |
| 855 | + justify-content: space-between; | |
| 856 | +} | |
| 857 | +.wpbc_form_columns .wpbc_form_field { | |
| 858 | + flex: 1 1 14em; | |
| 859 | + display: flex; | |
| 860 | + flex-flow: row wrap; | |
| 861 | + justify-content: flex-start; | |
| 862 | + align-items: flex-start; | |
| 863 | + align-content: flex-start; | |
| 864 | + padding: 0 3% 0 0; | |
| 865 | + margin: 0.7em 0; | |
| 866 | +} | |
| 867 | +.wpbc_form_field.wpbc_cal_field { | |
| 868 | + display: block; | |
| 869 | +} | |
| 870 | +.wpbc_form_field.wpbc_cal_field > * { | |
| 871 | + max-width: 95%; | |
| 872 | +} | |
| 873 | +.wpbc_form_field.wpbc_cal_field .bk_calendar_frame { | |
| 874 | + margin: -0.75em 0 0; | |
| 875 | +} | |
| 876 | +@media (max-width: 782px) { | |
| 877 | + .wpbc_form_columns .wpbc_form_field { | |
| 878 | + flex: 1 1 100% | |
| 879 | + } | |
| 880 | +} | |
| 881 | +.wpbc_form_columns .wpbc_form_field label, | |
| 882 | +.wpbc_form_columns .wpbc_form_field label:hover { | |
| 883 | + flex: 0 1 auto; | |
| 884 | + margin-right: 2em; | |
| 885 | + display: flex; | |
| 886 | + flex-flow: column nowrap; | |
| 887 | + justify-content: center; | |
| 888 | + font-weight: 600; | |
| 889 | +} | |
| 890 | +.wpbc_form_columns .wpbc_form_field .wpdev-form-control-wrap { | |
| 891 | + width: 100%; | |
| 892 | +} | |
| 893 | +.booking_form .wpbc_form_columns .form-group .controls select, | |
| 894 | +.booking_form .wpbc_form_columns select, | |
| 895 | +.booking_form .wpbc_form_columns input[type="text"], | |
| 896 | +.booking_form .wpbc_form_columns input[type="email"] { | |
| 897 | + width: 95%; | |
| 898 | +} | |
| 899 | +.booking_form .wpbc_form_columns textarea { | |
| 900 | + width: 98%; | |
| 901 | +} | |
| 902 | + | |
| 903 | +/* Field help / description: flex with small margin */ | |
| 904 | +.booking_form .wpbc_field_description { | |
| 905 | + flex: 1 1 100%; | |
| 906 | + margin-block-start: 10px; | |
| 907 | +} | |
| 908 | +.wpbc_bfb__help, | |
| 909 | +.wpdev-form-control-wrap + .wpbc_field_description { | |
| 910 | + font-size:0.9em; | |
| 911 | +} | |
| 912 | +.wpdev-form-control-wrap.wpbc_wrap_checkbox + .wpbc_field_description{ | |
| 913 | + margin-block-start:10px; | |
| 914 | +} | |
| 915 | +/* 3‑column general form — FixIn: 8.8.2.6 */ | |
| 924 | 916 | .wpbc_form_columns_general .wpbc_form_row_general { |
| 925 | - display: flex; | |
| 926 | - flex-flow: row wrap; | |
| 927 | - justify-content: space-between; | |
| 917 | + display: flex; | |
| 918 | + flex-flow: row wrap; | |
| 919 | + justify-content: space-between; | |
| 928 | 920 | } |
| 929 | -.wpbc_form_columns_general .wpbc_form_field_general{ | |
| 930 | - flex: 0 1 0; | |
| 931 | - display: flex; | |
| 932 | - flex-flow: row wrap; | |
| 933 | - justify-content: flex-start; | |
| 934 | - align-items: baseline; | |
| 935 | - padding: 0 2% 0 0; | |
| 921 | +.wpbc_form_columns_general .wpbc_form_field_general { | |
| 922 | + flex: 0 1 0; | |
| 923 | + display: flex; | |
| 924 | + flex-flow: row wrap; | |
| 925 | + justify-content: flex-start; | |
| 926 | + align-items: baseline; | |
| 927 | + padding: 0 2% 0 0; | |
| 936 | 928 | } |
| 937 | -.wpbc_form_columns_general .wpbc_form_field_general:nth-child(1){ | |
| 938 | - min-width: 341px; | |
| 939 | - flex: 0 1 auto; | |
| 929 | +.wpbc_form_columns_general .wpbc_form_field_general:nth-child(1) { | |
| 930 | + min-width: 341px; | |
| 931 | + flex: 0 1 auto; | |
| 940 | 932 | } |
| 941 | 933 | @media (max-width: 782px) { |
| 942 | - .wpbc_change_over_triangle { | |
| 943 | - width:100%; | |
| 944 | - } | |
| 945 | - .wpbc_form_columns_general .wpbc_form_field_general:nth-child(1), | |
| 946 | - .wpbc_form_columns_general .wpbc_form_field_general:nth-child(2){ | |
| 947 | - min-width: 100%; | |
| 948 | - flex: 1 1 auto; | |
| 949 | - margin-bottom: 2em; | |
| 950 | - } | |
| 934 | + .wpbc_change_over_triangle { | |
| 935 | + width: 100%; | |
| 936 | + } | |
| 937 | + .wpbc_form_columns_general .wpbc_form_field_general:nth-child(1), | |
| 938 | + .wpbc_form_columns_general .wpbc_form_field_general:nth-child(2) { | |
| 939 | + min-width: 100%; | |
| 940 | + flex: 1 1 auto; | |
| 941 | + margin-bottom: 2em; | |
| 942 | + } | |
| 951 | 943 | } |
| 952 | -.wpbc_form_columns_general .wpbc_form_field_general:nth-child(2){ | |
| 953 | - flex: 1 1 0; | |
| 954 | - padding: 0; | |
| 955 | - /*margin-top: -2.5em;*/ | |
| 944 | +.wpbc_form_columns_general .wpbc_form_field_general:nth-child(2) { | |
| 945 | + flex: 1 1 0; | |
| 946 | + padding: 0; | |
| 956 | 947 | } |
| 957 | 948 | .wpbc_debug { |
| 958 | - /*float: left;*/ | |
| 959 | - margin-right: 2em; | |
| 949 | + margin-right: 2em; | |
| 960 | 950 | } |
| 961 | -.wpbc_debug:last-of-type{ | |
| 962 | - float:none; | |
| 951 | +.wpbc_debug:last-of-type { | |
| 952 | + float: none; | |
| 963 | 953 | } |
| 964 | 954 | |
| 965 | 955 | |
| 966 | 956 | /* ================================================================================================================== */ |
| 967 | -/* == Version: 9.8 == */ | |
| 957 | +/* == Booking Calendar — Front-End CSS (v9.8+) */ | |
| 958 | +/* == Conservative cleanup: only dead rules removed, grouped, and documented */ | |
| 968 | 959 | /* ================================================================================================================== */ |
| 969 | 960 | |
| 970 | -/** | |
| 971 | - * .wpbc_form_columns -> erased | |
| 972 | - * .wpbc_form_row -> .wpbc__row | |
| 973 | - * .wpbc_form_field -> .wpbc__field | |
| 974 | - * .wpbc_cal_field -> .wpbc__cal | |
| 975 | - * ? | |
| 976 | - * .wpbc_times -> .wpbc__times | |
| 977 | - * .wpbc_col -> .wpbc__field | |
| 978 | - * ?? wpbc_form_row_general | |
| 979 | - */ | |
| 980 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 981 | -/* == Templates of Booking Forms - R O W S == */ | |
| 982 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 983 | - .wpbc_container_booking_form .bk_calendar_frame, | |
| 984 | - .wpbc_container_booking_form .block_hints { | |
| 985 | - margin-bottom: 5px; | |
| 986 | - } | |
| 987 | - .wpbc_container_booking_form .wpbc_calendar_wraper { | |
| 988 | - margin-bottom: 10px; | |
| 989 | - } | |
| 990 | - /*@media (max-width: 782px) {*/ | |
| 991 | - /*@media (max-width: 400px) {*/ | |
| 992 | - /* .wpbc_container_booking_form .bk_calendar_frame {*/ | |
| 993 | - /* width: 100% !important;*/ | |
| 994 | - /* max-width: 100% !important;*/ | |
| 995 | - /* }*/ | |
| 996 | - /*}*/ | |
| 997 | - .wpbc_container_booking_form { | |
| 998 | - width: 99%; | |
| 999 | - margin-top:1em; | |
| 1000 | - } | |
| 1001 | - .wpbc_container_booking_form .wpbc__row { | |
| 1002 | - display: flex; | |
| 1003 | - flex-flow: row wrap; | |
| 1004 | - justify-content: space-between; | |
| 1005 | - align-items: flex-start; | |
| 1006 | - width:100%; | |
| 1007 | - } | |
| 1008 | - .wpbc_container_booking_form .wpbc__field:not(.wpbc__cal) { | |
| 1009 | - flex: 1 1 14em; | |
| 1010 | - display: flex; | |
| 1011 | - flex-flow: row wrap; | |
| 1012 | - justify-content: flex-start; | |
| 1013 | - align-items: flex-start; | |
| 1014 | - align-content: normal; | |
| 1015 | - padding: 0 3% 0 0; | |
| 1016 | - margin: 0.7em 0; | |
| 1017 | - } | |
| 1018 | - .wpbc_container_booking_form .wpbc__field:first-child{ | |
| 1019 | - padding-left:0; | |
| 1020 | - } | |
| 1021 | - .wpbc_container_booking_form .wpbc__field:last-child{ | |
| 1022 | - padding-right:0; | |
| 1023 | - } | |
| 1024 | - .wpbc_container_booking_form .wpbc__field .wpbc_calendar_wraper { | |
| 1025 | - width:100%; | |
| 1026 | - } | |
| 1027 | - @media (max-width: 782px) { | |
| 1028 | - .wpbc_container_booking_form .wpbc__field:not(.wpbc__cal) { | |
| 1029 | - flex: 1 1 100%; | |
| 1030 | - padding: 0; | |
| 1031 | - } | |
| 1032 | - } | |
| 1033 | - .wpbc_container_booking_form .wpbc__spacer{ | |
| 1034 | - flex:0 1 auto; | |
| 1035 | - padding:0; | |
| 1036 | - margin: 0; | |
| 1037 | - display: inline-block; | |
| 1038 | - } | |
| 1039 | - .wpbc__field.wpbc__cal { | |
| 1040 | - /*! display: block; */ | |
| 1041 | - } | |
| 1042 | - .wpbc__field.wpbc__cal > * { | |
| 1043 | - max-width:100%; | |
| 1044 | - } | |
| 1045 | - .wpbc__field .bk_calendar_frame { | |
| 1046 | - margin-top: calc(0.25em + 8px); | |
| 1047 | - } | |
| 1048 | - .wpbc__field.wpbc__cal .bk_calendar_frame { | |
| 1049 | - margin:-0.75em 0 0; | |
| 1050 | - } | |
| 1051 | - .wpbc_container_booking_form .wpbc__field label, | |
| 1052 | - .wpbc_container_booking_form .wpbc__field label:hover { | |
| 1053 | - flex: 0 1 auto; | |
| 1054 | - /*margin-right: 2em;*/ | |
| 1055 | - display: flex; | |
| 1056 | - flex-flow: column nowrap; | |
| 1057 | - justify-content: center; | |
| 1058 | - font-weight: 600; | |
| 1059 | - } | |
| 1060 | - .wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap { | |
| 1061 | - width: 100%; | |
| 1062 | - } | |
| 1063 | - .wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap.wpbc_wrap_radio, | |
| 1064 | - .wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap.wpbc_wrap_checkbox { | |
| 1065 | - align-self: center; | |
| 1066 | - } | |
| 1067 | - .wpbc_container_booking_form .wpbc__field .form-group .controls select, | |
| 1068 | - .wpbc_container_booking_form .wpbc__field select, | |
| 1069 | - .wpbc_container_booking_form .wpbc__field input[type="text"], | |
| 1070 | - .wpbc_container_booking_form .wpbc__field input[type="email"] { | |
| 1071 | - width: 100%; | |
| 1072 | - } | |
| 1073 | - .wpbc_container_booking_form .wpbc__field textarea, | |
| 1074 | - .wpbc_container_booking_form textarea { | |
| 1075 | - width: 100%; | |
| 1076 | - } | |
| 1077 | - /* Inline element in a row 2023-11-17 //FixIn: 9.8.8.1 */ | |
| 1078 | - .wpbc_row_inline { | |
| 1079 | - display: flex; | |
| 1080 | - flex-flow: row wrap; | |
| 1081 | - justify-content: flex-start; | |
| 1082 | - align-items: flex-start; | |
| 1083 | - flex: 1 1 auto; | |
| 1084 | - } | |
| 1085 | - .wpbc_container_booking_form .wpbc__row .wpbc_row_inline label { | |
| 1086 | - flex-flow: row wrap; | |
| 1087 | - justify-content: flex-start; | |
| 1088 | - align-items: center; | |
| 1089 | - flex: 1 1 auto; | |
| 1090 | - } | |
| 1091 | - .wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpdev-form-control-wrap, | |
| 1092 | - .wpbc_container_booking_form .wpbc__row .wpbc_row_inline label .wpdev-form-control-wrap { | |
| 1093 | - width: auto; | |
| 1094 | - margin: 0 5px; | |
| 1095 | - min-width: 1em; | |
| 1096 | - } | |
| 1097 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 1098 | -/* == Calendar Next to Form == */ | |
| 1099 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 1100 | -.wpbc_sections { | |
| 1101 | - display: flex; | |
| 1102 | - flex-flow: row wrap; | |
| 1103 | - justify-content: flex-start; | |
| 1104 | - align-items: flex-start; | |
| 1105 | - align-content: flex-start; | |
| 961 | +/* ========================================================================== */ | |
| 962 | +/* Form Container & Grid — rows, fields, calendar blocks */ | |
| 963 | +/* What: base structure for booking-form rows and fields */ | |
| 964 | +/* ========================================================================== */ | |
| 965 | +.wpbc_container_booking_form .bk_calendar_frame, | |
| 966 | +.wpbc_container_booking_form .block_hints { | |
| 967 | + margin-bottom: 5px; | |
| 1106 | 968 | } |
| 1107 | -.wpbc_section_50 { | |
| 1108 | - flex: 1 1 48%; | |
| 1109 | - margin-bottom: 2em; | |
| 969 | + | |
| 970 | +.wpbc_container_booking_form .wpbc_calendar_wraper { | |
| 971 | + margin-bottom: 10px; | |
| 1110 | 972 | } |
| 1111 | -.wpbc_section_spacer { | |
| 1112 | - flex: 1 1 2%; | |
| 973 | + | |
| 974 | +/* Overall container width & top spacing */ | |
| 975 | +.wpbc_container_booking_form { | |
| 976 | + width: calc(100% - 10px); | |
| 977 | + width: 100%; | |
| 978 | + margin: 5px 0; | |
| 1113 | 979 | } |
| 1114 | -.wpbc_section_100 { | |
| 1115 | - flex: 0 1 96%; | |
| 1116 | - display: flex; | |
| 1117 | - flex-flow: row wrap; | |
| 1118 | - justify-content: flex-start; | |
| 1119 | - align-items: flex-start; | |
| 1120 | - margin-bottom: 1em; | |
| 980 | + | |
| 981 | +/* Unified row: flex layout with small gap */ | |
| 982 | +.wpbc_container_booking_form .wpbc__row { | |
| 983 | + display: flex; | |
| 984 | + flex-flow: row wrap; | |
| 985 | + justify-content: space-between; | |
| 986 | + align-items: flex-start; | |
| 987 | + width: 100%; | |
| 988 | + gap: 3%; | |
| 1121 | 989 | } |
| 1122 | - .wpbc_section_100 span, | |
| 1123 | - .wpbc_section_100 p, | |
| 1124 | - .wpbc_section_100 .wpdev-form-control-wrap { | |
| 1125 | - flex: 1 1 100%; | |
| 1126 | - } | |
| 1127 | - .wpbc_section_100 .wpdev-form-control-wrap { | |
| 1128 | - display:flex; | |
| 1129 | - } | |
| 1130 | - .wpbc_container_booking_form .wpbc_section_100 textarea { | |
| 1131 | - flex: 1 1 100%; | |
| 1132 | - } | |
| 1133 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 1134 | -/* == Booking Form Fields Size == */ | |
| 1135 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 1136 | -.wpbc_container_booking_form p{ | |
| 1137 | - padding: 0.25em 0; | |
| 990 | + | |
| 991 | +/* Generic field column (except calendar field) */ | |
| 992 | +.wpbc_container_booking_form .wpbc__field:not(.wpbc__cal) { | |
| 993 | + flex: 1 1 14em; | |
| 994 | + display: flex; | |
| 995 | + flex-flow: row wrap; | |
| 996 | + justify-content: flex-start; | |
| 997 | + align-items: flex-start; | |
| 998 | + align-content: normal; | |
| 999 | + margin: 0.7em 0; | |
| 1138 | 1000 | } |
| 1139 | - /* == W i d t h == */ | |
| 1140 | - .wpbc_container_booking_form select, | |
| 1141 | - .wpbc_container_booking_form input[type="text"], | |
| 1142 | - .wpbc_container_booking_form input[type="email"], | |
| 1143 | - .wpbc_container_booking_form textarea{ | |
| 1144 | - max-width: 100%; | |
| 1145 | - max-width: Min(30em, 100%); | |
| 1146 | - width: 340px; | |
| 1147 | - min-width: Min(8em, 100%); | |
| 1148 | - } | |
| 1001 | +.wpbc_container_booking_form .wpbc__field:first-child { | |
| 1002 | + padding-left: 0; | |
| 1003 | +} | |
| 1004 | +.wpbc_container_booking_form .wpbc__field:last-child { | |
| 1005 | + padding-right: 0; | |
| 1006 | +} | |
| 1149 | 1007 | |
| 1150 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 1151 | -/* == Booking Form Simple == New Layout */ | |
| 1152 | -/* ------------------------------------------------------------------------------------------------------------------ */ | |
| 1153 | -/* Admin panel at WP Booking Calendar > Settings > Booking Form page */ | |
| 1154 | -.wpbc_center_preview .bk_calendar_frame, | |
| 1155 | -.wpbc_center_preview .wpbc__form__div .bk_calendar_frame *{ | |
| 1156 | - font-size: 14px; | |
| 1008 | +/* Calendar wrapper sizing inside field */ | |
| 1009 | +.wpbc_container_booking_form .wpbc__field .wpbc_calendar_wraper { | |
| 1010 | + width: 100%; | |
| 1157 | 1011 | } |
| 1158 | -.wpbc_center_preview , | |
| 1159 | -.wpbc_center_preview .wpbc__form__div *{ | |
| 1160 | - font-size:16px; | |
| 1161 | - line-height: 2; | |
| 1012 | + | |
| 1013 | +/* Stack fields on narrow screens. 10.15.1.2. */ | |
| 1014 | +@media (max-width: 782px) { | |
| 1015 | + .wpbc_container_booking_form .wpbc__field:not(.wpbc__cal) { | |
| 1016 | + flex: 1 1 100% !important; | |
| 1017 | + padding: 0; | |
| 1018 | + } | |
| 1162 | 1019 | } |
| 1163 | -/* WP Booking Calendar > Add Booking page */ | |
| 1164 | - .add_booking_page_content, | |
| 1165 | - .add_booking_page_content p{ | |
| 1166 | - font-size:15px; | |
| 1167 | - line-height: 2; | |
| 1168 | - } | |
| 1169 | - #wpbc-new-admin-page .booking_form_div div:not(.wpbc_cal_container){ | |
| 1170 | - /*font-size:15px;*/ | |
| 1171 | - } | |
| 1172 | - #wpbc-new-admin-page .wpbc_container.wpbc_form input.wpbc_button_light { | |
| 1173 | - font-size: 1.15em; | |
| 1174 | - line-height: 100%; | |
| 1175 | - min-height: var(--wpbc_form-button-light-size-height); | |
| 1176 | - } | |
| 1177 | - #wpbc-new-admin-page .booking_form_div div.bk_calendar_frame div { | |
| 1178 | - /*font-size:13px;*/ | |
| 1179 | - } | |
| 1180 | - #wpbc-new-admin-page .datepick-inline .datepick-days-cell div.date-content-bottom, | |
| 1181 | - #wpbc-new-admin-page .datepick-inline .datepick-days-cell div.date-content-top{ | |
| 1182 | - /*font-size: 0.7em;*/ | |
| 1183 | - } | |
| 1184 | 1020 | |
| 1185 | -.booking_form_div .wpbc_times_selector div, | |
| 1186 | -.booking_form_div div:not(.bk_calendar_frame ) { | |
| 1187 | - /*font-size:15px;*/ | |
| 1021 | +/* Spacer column element */ | |
| 1022 | +.wpbc_container_booking_form .wpbc__spacer { | |
| 1023 | + flex: 0 1 auto; | |
| 1024 | + padding: 0; | |
| 1025 | + margin: 0; | |
| 1026 | + display: inline-block; | |
| 1188 | 1027 | } |
| 1189 | -.booking_form_div div.bk_calendar_frame div { | |
| 1190 | - /*font-size:13px;*/ | |
| 1028 | + | |
| 1029 | +/* Calendar field specifics */ | |
| 1030 | +.wpbc__field.wpbc__cal > * { | |
| 1031 | + max-width: 100%; | |
| 1191 | 1032 | } |
| 1192 | -.datepick-inline .datepick-days-cell div.date-content-bottom, | |
| 1193 | -.datepick-inline .datepick-days-cell div.date-content-top{ | |
| 1194 | - font-size: 0.7em; | |
| 1033 | +.wpbc_bfb_form:has(:not(.wpbc__field)) .bk_calendar_frame, | |
| 1034 | +.wpbc__field .bk_calendar_frame { | |
| 1035 | + margin-top: calc(0.25em + 8px); | |
| 1195 | 1036 | } |
| 1196 | -.wpbc_booking_form_simple .wpbc__form__div{ | |
| 1197 | - width:100%; | |
| 1037 | +.wpbc__field.wpbc__cal .bk_calendar_frame { | |
| 1038 | + margin: -0.75em 0 0; | |
| 1198 | 1039 | } |
| 1199 | -/* Simple booking form as Wizard - Calendar centered //FixIn: 10.9.2.1 */ | |
| 1200 | -.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field label, | |
| 1201 | -.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field .wpbc_calendar_wraper { | |
| 1202 | - display: flex; | |
| 1203 | - flex-flow: column nowrap; | |
| 1204 | - align-items: center; | |
| 1205 | - justify-content: flex-start; | |
| 1040 | + | |
| 1041 | +/* Field labels: inline-flex with small gap */ | |
| 1042 | +.wpbc_container_booking_form .wpbc__field label:not(.wpbc_static_text), | |
| 1043 | +.wpbc_container_booking_form .wpbc__field label:not(.wpbc_static_text):hover { | |
| 1044 | + flex: 0 1 auto; | |
| 1045 | + display: flex; | |
| 1046 | + flex-flow: row wrap; | |
| 1047 | + justify-content: flex-start; | |
| 1048 | + align-items: center; | |
| 1049 | + font-weight:600; | |
| 1050 | + gap: 0.2em; | |
| 1206 | 1051 | } |
| 1207 | -/* Simple booking form as Wizard - Calendar Legend aligning //FixIn: 10.9.2.1 */ | |
| 1208 | -.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field .block_hints{ | |
| 1209 | - /*max-width: 400px;*/ | |
| 1210 | - max-width: 550px; | |
| 1211 | - justify-content: space-around; | |
| 1052 | +.wpbc_container_booking_form .wpbc__field label:has(input[type="checkbox"]), | |
| 1053 | +.wpbc_container_booking_form .wpbc__field label:has(input[type="checkbox"]):hover { | |
| 1054 | + display: block; | |
| 1212 | 1055 | } |
| 1213 | -.wpbc_container_booking_form .wpbc_booking_form_simple .wpbc__field label{ | |
| 1214 | - flex: 1 1 100%; | |
| 1215 | - line-height: 2.5; | |
| 1056 | +/* Fixes for inline checkbox texts. Usually it is checkbox with links. */ | |
| 1057 | +div div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox * { | |
| 1058 | + padding: 0; | |
| 1059 | + margin: 0; | |
| 1216 | 1060 | } |
| 1217 | -/* Warning message for required field */ | |
| 1218 | -.wpbc_booking_form_simple .wpbc_front_end__message_container_right { | |
| 1219 | - margin: 10px 0; | |
| 1061 | +div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox, | |
| 1062 | +div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox:hover { | |
| 1063 | + font-weight: 400; | |
| 1220 | 1064 | } |
| 1221 | -/* //FixIn: 10.0.0.27 */ | |
| 1222 | -@media (max-width: 670px) { | |
| 1223 | - div .wpbc_ideal_payment_table tr td{ | |
| 1224 | - display:block | |
| 1225 | - } | |
| 1226 | - div .wpbc_container_booking_form select, | |
| 1227 | - div .wpbc_container_booking_form input[type="text"], | |
| 1228 | - div .wpbc_container_booking_form input[type="email"], | |
| 1229 | - div .wpbc_container_booking_form textarea{ | |
| 1230 | - max-width: 98%; | |
| 1231 | - width: 98%; | |
| 1232 | - border:1px solid; | |
| 1233 | - } | |
| 1065 | +div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox span, | |
| 1066 | +div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox a { | |
| 1067 | + display: inline-flex; | |
| 1068 | + align-items: center; | |
| 1234 | 1069 | } |
| 1235 | -/* In case we use columns, then max width 100% */ | |
| 1070 | +div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox * { | |
| 1071 | + vertical-align: baseline; | |
| 1072 | +} | |
| 1073 | + | |
| 1074 | +/* Inputs inside field columns */ | |
| 1075 | +.wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap { | |
| 1076 | + width: 100%; | |
| 1077 | +} | |
| 1078 | +.wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap.wpbc_wrap_radio, | |
| 1079 | +.wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap.wpbc_wrap_checkbox { | |
| 1080 | + align-self: center; | |
| 1081 | +} | |
| 1082 | + | |
| 1083 | +.wpbc_container_booking_form .wpbc__field .form-group .controls select, | |
| 1236 | 1084 | .wpbc_container_booking_form .wpbc__field select, |
| 1237 | 1085 | .wpbc_container_booking_form .wpbc__field input[type="text"], |
| 1086 | +.wpbc_container_booking_form .wpbc__field input[type="email"] { | |
| 1087 | + width: 100%; | |
| 1088 | +} | |
| 1089 | + | |
| 1090 | +.wpbc_container_booking_form .wpbc__field textarea, | |
| 1091 | +.wpbc_container_booking_form textarea { | |
| 1092 | + width: 100%; | |
| 1093 | +} | |
| 1094 | + | |
| 1095 | +/* Inline row variant (fields in a single line) — FixIn: 9.8.8.1 */ | |
| 1096 | +.wpbc_row_inline { | |
| 1097 | + display: flex; | |
| 1098 | + flex-flow: row wrap; | |
| 1099 | + justify-content: flex-start; | |
| 1100 | + align-items: flex-start; | |
| 1101 | + flex: 1 1 auto; | |
| 1102 | +} | |
| 1103 | +.wpbc_container_booking_form .wpbc__row .wpbc_row_inline label { | |
| 1104 | + flex-flow: row wrap; | |
| 1105 | + justify-content: flex-start; | |
| 1106 | + align-items: center; | |
| 1107 | + flex: 1 1 auto; | |
| 1108 | +} | |
| 1109 | +.wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpdev-form-control-wrap, | |
| 1110 | +.wpbc_container_booking_form .wpbc__row .wpbc_row_inline label .wpdev-form-control-wrap { | |
| 1111 | + width: auto; | |
| 1112 | + margin: 0 5px; | |
| 1113 | + min-width: 1em; | |
| 1114 | +} | |
| 1115 | + | |
| 1116 | +/* ========================================================================== */ | |
| 1117 | +/* Calendar Next to Form — two-column helper */ | |
| 1118 | +/* What: helper wrappers when calendar sits alongside the form */ | |
| 1119 | +/* ========================================================================== */ | |
| 1120 | +.wpbc_sections { | |
| 1121 | + display: flex; | |
| 1122 | + flex-flow: row wrap; | |
| 1123 | + justify-content: flex-start; | |
| 1124 | + align-items: flex-start; | |
| 1125 | + align-content: flex-start; | |
| 1126 | +} | |
| 1127 | +.wpbc_section_50 { | |
| 1128 | + flex: 1 1 48%; | |
| 1129 | + margin-bottom: 2em; | |
| 1130 | +} | |
| 1131 | +.wpbc_section_spacer { | |
| 1132 | + flex: 1 1 2%; | |
| 1133 | +} | |
| 1134 | +.wpbc_section_100 { | |
| 1135 | + flex: 0 1 96%; | |
| 1136 | + display: flex; | |
| 1137 | + flex-flow: row wrap; | |
| 1138 | + justify-content: flex-start; | |
| 1139 | + align-items: flex-start; | |
| 1140 | + margin-bottom: 1em; | |
| 1141 | +} | |
| 1142 | +.wpbc_section_100 span, | |
| 1143 | +.wpbc_section_100 p, | |
| 1144 | +.wpbc_section_100 .wpdev-form-control-wrap { | |
| 1145 | + flex: 1 1 100%; | |
| 1146 | +} | |
| 1147 | +.wpbc_section_100 .wpdev-form-control-wrap { | |
| 1148 | + display: flex; | |
| 1149 | +} | |
| 1150 | +.wpbc_container_booking_form .wpbc_section_100 textarea { | |
| 1151 | + flex: 1 1 100%; | |
| 1152 | +} | |
| 1153 | + | |
| 1154 | + | |
| 1155 | +/* ========================================================================== */ | |
| 1156 | +/* Field Sizing — width & height defaults */ | |
| 1157 | +/* What: sensible fixed/relative widths; line heights for selects/textarea */ | |
| 1158 | +/* ========================================================================== */ | |
| 1159 | +.wpbc_container_booking_form p { | |
| 1160 | + padding: 0.25em 0; | |
| 1161 | +} | |
| 1162 | + | |
| 1163 | +/* Width defaults for inputs/select/textarea */ | |
| 1164 | +.wpbc_container_booking_form select, | |
| 1165 | +.wpbc_container_booking_form input[type="text"], | |
| 1166 | +.wpbc_container_booking_form input[type="email"], | |
| 1167 | +.wpbc_container_booking_form textarea { | |
| 1168 | + max-width: Min(30em, 100%); | |
| 1169 | + width: 340px; | |
| 1170 | + min-width: Min(8em, 100%); | |
| 1171 | +} | |
| 1172 | + | |
| 1173 | +/* In column layouts, ensure controls can stretch */ | |
| 1174 | +.wpbc_container_booking_form .wpbc__field select, | |
| 1175 | +.wpbc_container_booking_form .wpbc__field input[type="text"], | |
| 1238 | 1176 | .wpbc_container_booking_form .wpbc__field input[type="email"], |
| 1239 | 1177 | .wpbc_container_booking_form .wpbc__field textarea { |
| 1240 | - max-width: 100%; | |
| 1178 | + max-width: 100%; | |
| 1241 | 1179 | } |
| 1242 | -/* Exception for Booking Calendar Free (CENTER and Next to Calendar forms)*/ | |
| 1243 | -/* FixIn: 9.8.13.3 | |
| 1244 | -.wpbc_container_booking_form :is(.wpbc_form_center, .wpbc_form_right) textarea, | |
| 1245 | -.wpbc_container_booking_form :is(.wpbc_form_center, .wpbc_form_right) select, | |
| 1246 | -*/ | |
| 1247 | -.wpbc_container_booking_form :is(.wpbc_form_center, .wpbc_form_right) input[type="text"], | |
| 1248 | -.wpbc_container_booking_form :is(.wpbc_form_center, .wpbc_form_right) input[type="email"]{ | |
| 1249 | - /*width: Min(340px, 100%);*/ | |
| 1250 | -} | |
| 1251 | -.wpbc_container_booking_form :is(.wpbc_form_center, .wpbc_form_right) textarea, | |
| 1252 | -.wpbc_container_booking_form :is(.wpbc_form_center, .wpbc_form_right) select { | |
| 1253 | - /*min-width: Min(340px, 100%);*/ | |
| 1254 | - /*width: 340px;*/ | |
| 1255 | -} | |
| 1180 | + | |
| 1181 | +/* Textareas with specific cols — allow auto width */ | |
| 1256 | 1182 | .wpbc_container.wpbc_container_booking_form textarea[cols*="0"], |
| 1257 | 1183 | .wpbc_container.wpbc_container_booking_form textarea[cols*="1"], |
| 1258 | 1184 | .wpbc_container.wpbc_container_booking_form textarea[cols*="2"], |
| 1259 | 1185 | .wpbc_container.wpbc_container_booking_form textarea[cols*="3"], |
| @@ -1261,41 +1187,27 @@ | ||
| 1261 | 1187 | .wpbc_container.wpbc_container_booking_form textarea[cols*="5"], |
| 1262 | 1188 | .wpbc_container.wpbc_container_booking_form textarea[cols*="6"], |
| 1263 | 1189 | .wpbc_container.wpbc_container_booking_form textarea[cols*="7"], |
| 1264 | 1190 | .wpbc_container.wpbc_container_booking_form textarea[cols*="8"], |
| 1265 | -.wpbc_container.wpbc_container_booking_form textarea[cols*="9"]{ | |
| 1266 | - width:auto; | |
| 1191 | +.wpbc_container.wpbc_container_booking_form textarea[cols*="9"] { | |
| 1192 | + width: auto; | |
| 1267 | 1193 | } |
| 1268 | -/* == H e i g h t == */ | |
| 1194 | + | |
| 1195 | +/* Height/line-height for selects */ | |
| 1269 | 1196 | .resource_selection_div select, |
| 1270 | -.wpbc_container.wpbc_container_booking_form select/*, | |
| 1271 | -.wpbc_container.wpbc_container_booking_form input[type="text"], | |
| 1272 | -.wpbc_container.wpbc_container_booking_form input[type="email"], | |
| 1273 | -.wpbc_container.wpbc_container_booking_form textarea */{ | |
| 1274 | - height:auto; | |
| 1275 | - font-size: 1rem; | |
| 1276 | - line-height: 2.4em; | |
| 1277 | - padding: 0 0.5em; | |
| 1197 | +.wpbc_container.wpbc_container_booking_form select { | |
| 1198 | + height: auto; | |
| 1199 | + font-size: 1rem; | |
| 1200 | + line-height: 2.4em; | |
| 1201 | + padding: 0 0.5em; | |
| 1278 | 1202 | } |
| 1279 | -.resource_selection_div select/*, | |
| 1280 | -.wpbc_container.wpbc_container_booking_form select{ | |
| 1281 | - height: 2.4em; | |
| 1203 | +.resource_selection_div select option { | |
| 1204 | + line-height: 2.4em; | |
| 1205 | + padding: 0.5em 0.5em; | |
| 1206 | + outline: none; | |
| 1282 | 1207 | } |
| 1283 | -.wpbc_container.wpbc_container_booking_form select[multiple], | |
| 1284 | -.wpbc_container.wpbc_container_booking_form select[size]*/{ | |
| 1285 | - min-height: 2.4em; | |
| 1286 | - height: auto; | |
| 1287 | -} | |
| 1288 | -.resource_selection_div select option/*, | |
| 1289 | -.wpbc_container.wpbc_container_booking_form select option*/{ | |
| 1290 | - line-height: 2.4em; | |
| 1291 | - padding: 0.5em 0.5em; | |
| 1292 | - outline: none; | |
| 1293 | -} | |
| 1294 | -/* | |
| 1295 | -.wpbc_container.wpbc_container_booking_form textarea{ | |
| 1296 | - height:9.7em; | |
| 1297 | -}*/ | |
| 1208 | + | |
| 1209 | +/* Textareas with row hints — allow auto height */ | |
| 1298 | 1210 | .wpbc_container.wpbc_container_booking_form textarea[rows*="0"], |
| 1299 | 1211 | .wpbc_container.wpbc_container_booking_form textarea[rows*="1"], |
| 1300 | 1212 | .wpbc_container.wpbc_container_booking_form textarea[rows*="2"], |
| 1301 | 1213 | .wpbc_container.wpbc_container_booking_form textarea[rows*="3"], |
| @@ -1303,653 +1215,546 @@ | ||
| 1303 | 1215 | .wpbc_container.wpbc_container_booking_form textarea[rows*="5"], |
| 1304 | 1216 | .wpbc_container.wpbc_container_booking_form textarea[rows*="6"], |
| 1305 | 1217 | .wpbc_container.wpbc_container_booking_form textarea[rows*="7"], |
| 1306 | 1218 | .wpbc_container.wpbc_container_booking_form textarea[rows*="8"], |
| 1307 | -.wpbc_container.wpbc_container_booking_form textarea[rows*="9"]{ | |
| 1308 | - height: auto; | |
| 1219 | +.wpbc_container.wpbc_container_booking_form textarea[rows*="9"] { | |
| 1220 | + height: auto; | |
| 1309 | 1221 | } |
| 1222 | +.wpbc_form { | |
| 1223 | + border:0; | |
| 1224 | +} | |
| 1225 | +/* Theme quirks: fix min heights in some WP themes (e.g., Twenty Five) */ | |
| 1226 | +.is-layout-constrained .wpbc_form { /* FixIn: 10.14.2.1. */ | |
| 1227 | + margin: 5px auto 0; | |
| 1228 | + max-width: Min(900px, 100%); | |
| 1229 | + font-size: 16px; | |
| 1230 | + font-weight: 400; | |
| 1231 | + /*padding: 0 10px;*/ | |
| 1232 | +} | |
| 1310 | 1233 | |
| 1234 | +/* Narrow screens: table and field widths */ | |
| 1235 | +@media (max-width: 670px) { | |
| 1236 | + div .wpbc_ideal_payment_table tr td { | |
| 1237 | + display: block; | |
| 1238 | + } | |
| 1239 | + div .wpbc_container_booking_form select, | |
| 1240 | + div .wpbc_container_booking_form input[type="text"], | |
| 1241 | + div .wpbc_container_booking_form input[type="email"], | |
| 1242 | + div .wpbc_container_booking_form textarea { | |
| 1243 | + max-width: 98%; | |
| 1244 | + width: 98%; | |
| 1245 | + border: 1px solid; | |
| 1246 | + } | |
| 1247 | +} | |
| 1311 | 1248 | |
| 1312 | 1249 | |
| 1250 | +/* ========================================================================== */ | |
| 1251 | +/* Booking Form — “Simple / Wizard” variant */ | |
| 1252 | +/* What: admin preview + front-end wizard behaviors */ | |
| 1253 | +/* ========================================================================== */ | |
| 1313 | 1254 | |
| 1314 | - | |
| 1315 | -/* //FixIn: 10.0.0.25 */ | |
| 1316 | -/* ================================================================================================================== */ | |
| 1317 | -/* == THANK_YOU - SECTION == */ | |
| 1318 | -/* ================================================================================================================== */ | |
| 1319 | -.wpbc_ty_hide{ | |
| 1320 | - display: none !important; | |
| 1255 | +/* Admin preview scaling */ | |
| 1256 | +.wpbc_center_preview .bk_calendar_frame, | |
| 1257 | +.wpbc_center_preview .wpbc__form__div .bk_calendar_frame * { | |
| 1258 | + font-size: 14px; | |
| 1321 | 1259 | } |
| 1322 | -.wpbc_after_booking_thank_you_section{ | |
| 1323 | - display: flex; | |
| 1324 | - flex-flow:column wrap; | |
| 1325 | - justify-content: flex-start; | |
| 1326 | - align-items: flex-start; | |
| 1327 | - max-width: 65rem; | |
| 1328 | - margin: auto; | |
| 1260 | +.wpbc_center_preview, | |
| 1261 | +.wpbc_center_preview .wpbc__form__div * { | |
| 1262 | + font-size: 16px; | |
| 1263 | + line-height: 2; | |
| 1329 | 1264 | } |
| 1330 | -.wpbc_after_booking_thank_you_section * { | |
| 1331 | - text-shadow: none; | |
| 1265 | + | |
| 1266 | +/* Add Booking (admin) */ | |
| 1267 | +.add_booking_page_content, | |
| 1268 | +.add_booking_page_content p { | |
| 1269 | + font-size: 15px; | |
| 1270 | + /*line-height: 2;*/ | |
| 1332 | 1271 | } |
| 1333 | -/* Thank you - message */ | |
| 1334 | -.wpbc_after_booking_thank_you_section .wpbc_ty__message { | |
| 1335 | - flex: 1 1 auto; | |
| 1336 | - padding: 0; | |
| 1337 | - margin: 30px 0 10px; | |
| 1338 | - font-size: 20px; | |
| 1339 | - font-weight: 400; | |
| 1272 | + | |
| 1273 | +/* Datepicker fine text */ | |
| 1274 | +.datepick-inline .datepick-days-cell div.date-content-bottom, | |
| 1275 | +.datepick-inline .datepick-days-cell div.date-content-top { | |
| 1276 | + font-size: 0.7em; | |
| 1340 | 1277 | } |
| 1341 | -/* Thank you - Container with shadow */ | |
| 1342 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container, | |
| 1343 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container * { | |
| 1344 | - color: #444; | |
| 1278 | + | |
| 1279 | +/* Simple form base width */ | |
| 1280 | +.wpbc_booking_form_simple .wpbc__form__div { | |
| 1281 | + width: 100%; | |
| 1345 | 1282 | } |
| 1346 | -/* Fix color issue for iFrame of PayPal */ | |
| 1347 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container iframe { | |
| 1348 | - color: transparent; | |
| 1283 | + | |
| 1284 | +/* Wizard: center the calendar block — FixIn: 10.9.2.1 */ | |
| 1285 | +.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field label, | |
| 1286 | +.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field .wpbc_calendar_wraper { | |
| 1287 | + display: flex; | |
| 1288 | + flex-flow: column nowrap; | |
| 1289 | + align-items: center; | |
| 1290 | + justify-content: flex-start; | |
| 1349 | 1291 | } |
| 1350 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container { | |
| 1351 | - flex: 1 1 100%; | |
| 1352 | 1292 | |
| 1353 | - display: flex; | |
| 1354 | - flex-flow:column wrap; | |
| 1355 | - justify-content: flex-start; | |
| 1356 | - align-items: flex-start; | |
| 1293 | +/* Wizard: legend alignment — FixIn: 10.9.2.1 */ | |
| 1294 | +.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field .block_hints { | |
| 1295 | + max-width: 550px; | |
| 1296 | + justify-content: space-around; | |
| 1297 | +} | |
| 1357 | 1298 | |
| 1358 | - /*! box-shadow: 0 1px 10px #ddd; */ | |
| 1359 | - /*! box-shadow: 0 0px 3px #e0e0e0; */ | |
| 1360 | - box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 6px 0px; | |
| 1361 | - /*! border: 1px solid #d5d5d5; */ | |
| 1362 | - border: 1px solid rgb(204, 204, 204); | |
| 1363 | - /*! border-left: 5px solid #88b706; */ | |
| 1299 | +/* Wizard: labels span full width in this layout */ | |
| 1300 | +.wpbc_container_booking_form .wpbc_booking_form_simple .wpbc__field label { | |
| 1301 | + flex: 1 1 100%; | |
| 1302 | + line-height: 2.5; | |
| 1303 | +} | |
| 1364 | 1304 | |
| 1365 | - border-radius: 2px; | |
| 1366 | - background: #FFF; | |
| 1367 | - color: #707070; | |
| 1305 | +/* Near-field warning spacing */ | |
| 1306 | +.wpbc_calendar_wraper .wpbc_front_end__message_container_right { | |
| 1307 | + display:flex; | |
| 1308 | +} | |
| 1368 | 1309 | |
| 1369 | - padding: 10px 15px; | |
| 1370 | - box-sizing: border-box; | |
| 1371 | - margin: auto; | |
| 1372 | 1310 | |
| 1373 | - font-size: 1rem; | |
| 1374 | - font-weight: 400; | |
| 1375 | - line-height: 2.2em; | |
| 1376 | - text-align: left; | |
| 1377 | - | |
| 1378 | - max-width: 100%; | |
| 1379 | - width: 100%; | |
| 1311 | +/* ========================================================================== */ | |
| 1312 | +/* Thank You — Confirmation section */ | |
| 1313 | +/* What: post-booking message container, headings and layout */ | |
| 1314 | +/* ========================================================================== */ | |
| 1315 | +.wpbc_ty_hide { | |
| 1316 | + display: none !important; | |
| 1380 | 1317 | } |
| 1381 | -/* Header with booking ID */ | |
| 1382 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__header{ | |
| 1383 | - flex: 1 1 100%; | |
| 1384 | 1318 | |
| 1385 | - border-left: 5px solid #88b706; | |
| 1386 | - padding: 5px 20px; | |
| 1387 | - font-size: 18px; | |
| 1388 | - width: 100%; | |
| 1389 | - margin-left: -10px; | |
| 1390 | - line-height: 36px; | |
| 1391 | - font-weight: 400; | |
| 1319 | +.wpbc_after_booking_thank_you_section { | |
| 1320 | + display: flex; | |
| 1321 | + flex-flow: column wrap; | |
| 1322 | + justify-content: flex-start; | |
| 1323 | + align-items: flex-start; | |
| 1324 | + max-width: 65rem; | |
| 1325 | + margin: auto; | |
| 1392 | 1326 | } |
| 1393 | -/* Confirmation content, like booking details and resource description */ | |
| 1394 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content{ | |
| 1395 | - flex: 1 1 100%; | |
| 1396 | - margin-top: 10px; | |
| 1397 | - width: 100%; | |
| 1398 | - display: flex; | |
| 1399 | - flex-flow:row wrap; | |
| 1400 | - justify-content: space-between; | |
| 1401 | - align-items: flex-start; | |
| 1402 | - word-break: normal; | |
| 1403 | - hyphens: none; | |
| 1327 | +.wpbc_after_booking_thank_you_section * { | |
| 1328 | + text-shadow: none; | |
| 1404 | 1329 | } |
| 1405 | -/* Content section with 100% column */ | |
| 1406 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text{ | |
| 1407 | - flex: 1 1 100%; | |
| 1408 | - word-break: break-word; | |
| 1409 | - padding:10px 0px; | |
| 1410 | - border-top: 1px solid #efefef; | |
| 1330 | + | |
| 1331 | +/* Lead “thank you” line */ | |
| 1332 | +.wpbc_after_booking_thank_you_section .wpbc_ty__message { | |
| 1333 | + flex: 1 1 auto; | |
| 1334 | + padding: 0; | |
| 1335 | + margin: 30px 0 10px; | |
| 1336 | + font-size: 20px; | |
| 1337 | + font-weight: 400; | |
| 1411 | 1338 | } |
| 1412 | - /* 2 columns */ | |
| 1413 | - .wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_cols_2{ | |
| 1414 | - /*flex: 0 1 48%;*/ | |
| 1415 | - flex: 1 1 22em; | |
| 1416 | - width: 48%; | |
| 1417 | - margin-right: 1%; | |
| 1418 | - } | |
| 1419 | - @media (max-width: 670px) { | |
| 1420 | - .wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_cols_2{ | |
| 1421 | - flex: 1 1 100%; | |
| 1422 | - } | |
| 1423 | - } | |
| 1424 | -/* Header of the section, like "Personal information" | 'Booking details' */ | |
| 1425 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_header{ | |
| 1426 | - font-size: 18px; | |
| 1427 | - line-height: 2em; | |
| 1428 | - margin-bottom:1.2em; | |
| 1339 | + | |
| 1340 | +/* Container + default text colors */ | |
| 1341 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container, | |
| 1342 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container * { | |
| 1343 | + color: #444; | |
| 1429 | 1344 | } |
| 1430 | -/* H4 header in section */ | |
| 1431 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text h4{ | |
| 1432 | - font-size: 18px; | |
| 1433 | - line-height: 1.8em; | |
| 1345 | + | |
| 1346 | +/* Fix color issue for embedded PayPal iframe */ | |
| 1347 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container iframe { | |
| 1348 | + color: transparent; | |
| 1434 | 1349 | } |
| 1435 | -/* Dates section */ | |
| 1436 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_text_dates{ | |
| 1437 | 1350 | |
| 1351 | +/* Confirmation card */ | |
| 1352 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container { | |
| 1353 | + flex: 1 1 100%; | |
| 1354 | + display: flex; | |
| 1355 | + flex-flow: column wrap; | |
| 1356 | + justify-content: flex-start; | |
| 1357 | + align-items: flex-start; | |
| 1358 | + box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 6px 0px; | |
| 1359 | + border: 1px solid rgb(204, 204, 204); | |
| 1360 | + border-radius: 2px; | |
| 1361 | + background: #FFF; | |
| 1362 | + color: #707070; | |
| 1363 | + padding: 10px 15px; | |
| 1364 | + box-sizing: border-box; | |
| 1365 | + margin: auto; | |
| 1366 | + font-size: 1rem; | |
| 1367 | + font-weight: 400; | |
| 1368 | + line-height: 2.2em; | |
| 1369 | + text-align: left; | |
| 1370 | + max-width: 100%; | |
| 1371 | + width: 100%; | |
| 1438 | 1372 | } |
| 1439 | -/* Times section */ | |
| 1440 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_text_times{ | |
| 1441 | 1373 | |
| 1374 | +/* Header strip with booking ID */ | |
| 1375 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__header { | |
| 1376 | + flex: 1 1 100%; | |
| 1377 | + border-left: 5px solid #88b706; | |
| 1378 | + padding: 5px 20px; | |
| 1379 | + font-size: 18px; | |
| 1380 | + width: 100%; | |
| 1381 | + margin-left: -10px; | |
| 1382 | + line-height: 36px; | |
| 1383 | + font-weight: 400; | |
| 1442 | 1384 | } |
| 1443 | -/* Costs section */ | |
| 1444 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_text_costs{ | |
| 1445 | - text-align: right; | |
| 1446 | - padding: 0 2em; | |
| 1385 | + | |
| 1386 | +/* Two-column body */ | |
| 1387 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content { | |
| 1388 | + flex: 1 1 100%; | |
| 1389 | + margin-top: 10px; | |
| 1390 | + width: 100%; | |
| 1391 | + display: flex; | |
| 1392 | + flex-flow: row wrap; | |
| 1393 | + justify-content: space-between; | |
| 1394 | + align-items: flex-start; | |
| 1395 | + word-break: normal; | |
| 1396 | + hyphens: none; | |
| 1447 | 1397 | } |
| 1448 | 1398 | |
| 1449 | - /* Discount coupon code in cost hint - align vertically with smaller font */ | |
| 1450 | - .coupon_description_wrapper{ | |
| 1451 | - font-size: 0.7em; | |
| 1452 | - font-weight: 400; | |
| 1453 | - margin-left: 0.8em; | |
| 1454 | - display: inline-flex; | |
| 1455 | - flex-flow: row wrap; | |
| 1456 | - justify-content: flex-start; | |
| 1457 | - align-items: center; | |
| 1458 | - } | |
| 1459 | - .wpbc_after_booking_thank_you_section .coupon_description_wrapper { | |
| 1460 | - font-size: 1em; | |
| 1461 | - } | |
| 1462 | - | |
| 1463 | -/* Gateways Section ***************************************************************************************************/ | |
| 1464 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_ty__content_gateways{ | |
| 1465 | - flex: 1 1 100%; | |
| 1466 | - display: flex; | |
| 1467 | - flex-flow:row wrap; | |
| 1468 | - justify-content: center; | |
| 1469 | - justify-content: space-around; | |
| 1470 | - align-items: flex-start; | |
| 1471 | - border-top: 0 solid #efefef; | |
| 1399 | +/* Content blocks */ | |
| 1400 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text { | |
| 1401 | + flex: 1 1 100%; | |
| 1402 | + word-break: break-word; | |
| 1403 | + padding: 10px 0; | |
| 1404 | + border-top: 1px solid #efefef; | |
| 1472 | 1405 | } |
| 1473 | 1406 | |
| 1474 | - | |
| 1475 | -/* ================================================================================================================== */ | |
| 1476 | -/* == Payment Gateway == */ | |
| 1477 | -/* ================================================================================================================== */ | |
| 1478 | -.wpbc_ty__content_gateways .wpbc_ty__gateway { | |
| 1479 | - flex: 1 1 100%; | |
| 1480 | - flex: 1 1 100%; | |
| 1481 | - margin-bottom: 1em; | |
| 1482 | - margin: 0 5px 1em; | |
| 1483 | - display: flex; | |
| 1484 | - flex-flow: row wrap; | |
| 1485 | - justify-content: flex-start; | |
| 1486 | - align-items: flex-start; | |
| 1407 | +/* Optional 2-column content block */ | |
| 1408 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_cols_2 { | |
| 1409 | + flex: 1 1 22em; | |
| 1410 | + width: 48%; | |
| 1411 | + margin-right: 1%; | |
| 1487 | 1412 | } |
| 1488 | -.wpbc_ty__content_gateways .wpbc_ty__gateway.wpbc_col_auto_width{ | |
| 1489 | - /*max-width: 286px;*/ | |
| 1490 | - flex: 1 1 auto; | |
| 1491 | - flex: 0 1 auto; | |
| 1413 | +@media (max-width: 670px) { | |
| 1414 | + .wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_cols_2 { | |
| 1415 | + flex: 1 1 100%; | |
| 1416 | + } | |
| 1492 | 1417 | } |
| 1493 | -.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form { | |
| 1494 | - /*flex:1 1 100%;*/ | |
| 1495 | - /*max-width: 95%;*/ | |
| 1496 | - flex:0 1 auto; | |
| 1497 | - min-width: 260px; | |
| 1498 | 1418 | |
| 1499 | - display:flex; | |
| 1500 | - flex-flow:row wrap; | |
| 1501 | - justify-content: flex-start; | |
| 1502 | - align-items: flex-start; | |
| 1419 | +/* Section headers and small headings */ | |
| 1420 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_header { | |
| 1421 | + font-size: 18px; | |
| 1422 | + line-height: 2em; | |
| 1423 | + margin-bottom: 1.2em; | |
| 1503 | 1424 | } |
| 1504 | -.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form form{ | |
| 1505 | - flex:1 1 100%; | |
| 1506 | - display:flex; | |
| 1507 | - flex-flow:column wrap; | |
| 1508 | - justify-content: flex-start; | |
| 1509 | - align-items: center; | |
| 1425 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text h4 { | |
| 1426 | + font-size: 18px; | |
| 1427 | + line-height: 1.8em; | |
| 1510 | 1428 | } |
| 1511 | -.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form .wpbc_button_gw{ | |
| 1512 | - flex:1 1 100%; | |
| 1513 | - display:flex; | |
| 1514 | - flex-flow:column wrap; | |
| 1515 | - justify-content: flex-start; | |
| 1516 | - align-items: center; | |
| 1517 | - width: 100%; | |
| 1429 | + | |
| 1430 | +/* Costs section alignment */ | |
| 1431 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_text_costs { | |
| 1432 | + text-align: right; | |
| 1433 | + padding: 0 2em; | |
| 1518 | 1434 | } |
| 1519 | -.wpbc_paypal_fee{ | |
| 1520 | - font-size: 0.68em; | |
| 1521 | - vertical-align: text-top; | |
| 1522 | - line-height: 1em; | |
| 1523 | - margin: 7px 0px; | |
| 1435 | + | |
| 1436 | +/* Coupon small note */ | |
| 1437 | +.coupon_description_wrapper { | |
| 1438 | + font-size: 0.7em; | |
| 1439 | + font-weight: 400; | |
| 1440 | + margin-left: 0.8em; | |
| 1441 | + display: inline-flex; | |
| 1442 | + flex-flow: row wrap; | |
| 1443 | + justify-content: flex-start; | |
| 1444 | + align-items: center; | |
| 1524 | 1445 | } |
| 1525 | -/* iDeal Payment form showing. Fix. //FixIn: 10.6.1.1 */ | |
| 1526 | -table.wpbc_ideal_payment_table { | |
| 1527 | - margin:10px 0; | |
| 1528 | - width:100%; | |
| 1529 | - border: none; | |
| 1446 | +.wpbc_after_booking_thank_you_section .coupon_description_wrapper { | |
| 1447 | + font-size: 1em; | |
| 1530 | 1448 | } |
| 1531 | -.wpbc_ideal_payment_table td { | |
| 1532 | - padding:10px 0; | |
| 1533 | - border: none; | |
| 1449 | + | |
| 1450 | +/* Gateways area block */ | |
| 1451 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_ty__content_gateways { | |
| 1452 | + flex: 1 1 100%; | |
| 1453 | + display: flex; | |
| 1454 | + flex-flow: row wrap; | |
| 1455 | + justify-content: space-around; | |
| 1456 | + align-items: flex-start; | |
| 1457 | + border-top: 0 solid #efefef; | |
| 1534 | 1458 | } |
| 1535 | -.wpbc_ideal_payment_table td label{ | |
| 1536 | - font-weight: 600; | |
| 1459 | + | |
| 1460 | + | |
| 1461 | +/* ========================================================================== */ | |
| 1462 | +/* Payment Gateways — layout */ | |
| 1463 | +/* What: gateway cards, iDEAL table, and payment layout */ | |
| 1464 | +/* ========================================================================== */ | |
| 1465 | +.wpbc_ty__content_gateways .wpbc_ty__gateway { | |
| 1466 | + flex: 1 1 100%; | |
| 1467 | + margin: 0 5px 1em; | |
| 1468 | + display: flex; | |
| 1469 | + flex-flow: row wrap; | |
| 1470 | + justify-content: flex-start; | |
| 1471 | + align-items: flex-start; | |
| 1537 | 1472 | } |
| 1538 | -/* ================================================================================================================== */ | |
| 1539 | -/* == Buttons == */ | |
| 1540 | -/* ================================================================================================================== */ | |
| 1541 | -.wpbc_container.wpbc_form input.wpbc_button_light, | |
| 1542 | -.wpbc_container.wpbc_form input.wpbc_button_light:focus, | |
| 1543 | -.wpbc_container.wpbc_form input.wpbc_button_light:hover, | |
| 1544 | -.wpbc_container .wpbc_button_light, | |
| 1545 | -.wpbc_container .wpbc_button_light:focus, | |
| 1546 | -.wpbc_container .wpbc_button_light:hover, | |
| 1547 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light, | |
| 1548 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:focus, | |
| 1549 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:hover{ | |
| 1550 | - font-size: clamp(1em, 1em + ((1vw - 0.2em) * 0.208), 1.125em); | |
| 1551 | - border: 2px solid #eeeeeeb5; | |
| 1552 | - box-shadow: 0 2px 10px 2px #ffffff54; | |
| 1553 | - background: #fdfdfd; | |
| 1554 | - color: #444444e0; | |
| 1555 | - border-radius: 0.375em; | |
| 1556 | - padding: 0 2.2em; | |
| 1557 | - line-height: calc( var(--wpbc_form-button-light-size-height) - 3px ); | |
| 1558 | - text-decoration: none; | |
| 1559 | - cursor: pointer; | |
| 1560 | - outline: none; | |
| 1561 | - display: flex; | |
| 1562 | - flex-flow: row wrap; | |
| 1563 | - justify-content: center; | |
| 1564 | - align-items: center; | |
| 1565 | - margin: 0 0 15px; | |
| 1566 | - height: var(--wpbc_form-button-light-size-height); | |
| 1567 | - box-sizing: border-box; | |
| 1568 | - text-shadow: none; | |
| 1473 | +.wpbc_ty__content_gateways .wpbc_ty__gateway.wpbc_col_auto_width { | |
| 1474 | + flex: 0 1 auto; | |
| 1569 | 1475 | } |
| 1570 | -.wpbc_container.wpbc_form input.wpbc_button_light:focus, | |
| 1571 | -.wpbc_container.wpbc_form input.wpbc_button_light:hover, | |
| 1572 | -.wpbc_container .wpbc_button_light:focus, | |
| 1573 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:focus, | |
| 1574 | -.wpbc_container .wpbc_button_light:hover, | |
| 1575 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:hover { | |
| 1576 | - border: 2px solid rgb(77, 145, 205); | |
| 1577 | - /*box-shadow: 0 5px 10px #f0f0f8;*/ | |
| 1578 | - /*background: rgb(255 255 255);*/ | |
| 1579 | - /*color: #5f5f5f;*/ | |
| 1580 | -} | |
| 1581 | 1476 | |
| 1582 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.button-primary { | |
| 1583 | - background: var(--wpbc_form-button-background-color, #066aab); | |
| 1584 | - color: #fff; | |
| 1477 | +.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form { | |
| 1478 | + flex: 0 1 auto; | |
| 1479 | + min-width: 260px; | |
| 1480 | + display: flex; | |
| 1481 | + flex-flow: row wrap; | |
| 1482 | + justify-content: flex-start; | |
| 1483 | + align-items: flex-start; | |
| 1585 | 1484 | } |
| 1586 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.button-primary:focus, | |
| 1587 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.button-primary:hover, | |
| 1588 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.button-primary:focus{ | |
| 1589 | - background: var(--wpbc_form-button-background-color, #066aab); | |
| 1590 | - color: #fff; | |
| 1591 | - border-color: #fff; | |
| 1592 | - box-shadow: 0 0 0px 2px var(--wpbc_form-button-background-color, #066aab); | |
| 1485 | +.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form form { | |
| 1486 | + flex: 1 1 100%; | |
| 1487 | + display: flex; | |
| 1488 | + flex-flow: column wrap; | |
| 1489 | + justify-content: flex-start; | |
| 1490 | + align-items: center; | |
| 1593 | 1491 | } |
| 1594 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:disabled, | |
| 1595 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:active, | |
| 1596 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:disabled:focus, | |
| 1597 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:disabled:hover, | |
| 1598 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light:disabled:focus { | |
| 1599 | - color: #ccc; | |
| 1600 | - border:2px solid #eeeeeeb5; | |
| 1601 | - cursor: not-allowed; | |
| 1602 | - /*pointer-events: none;*/ | |
| 1492 | +/* Small footnote under PayPal button */ | |
| 1493 | +.wpbc_paypal_fee { | |
| 1494 | + font-size: 0.68em; | |
| 1495 | + vertical-align: text-top; | |
| 1496 | + line-height: 1em; | |
| 1497 | + margin: 7px 0; | |
| 1603 | 1498 | } |
| 1604 | 1499 | |
| 1605 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.wpbc_button_danger { | |
| 1606 | - background: #de605c; | |
| 1607 | - border-color: #de605c; | |
| 1608 | - color: #f7f7f7; | |
| 1609 | - text-shadow: 0 0px #ba5956; | |
| 1500 | +/* iDEAL table formatting (FixIn: 10.6.1.1) */ | |
| 1501 | +table.wpbc_ideal_payment_table { | |
| 1502 | + margin: 10px 0; | |
| 1503 | + width: 100%; | |
| 1504 | + border: none; | |
| 1610 | 1505 | } |
| 1611 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.wpbc_button_danger:focus, | |
| 1612 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.wpbc_button_danger:hover, | |
| 1613 | -.wpbc_container.wpbc_container_booking_form .wpbc_button_light.wpbc_button_danger:focus{ | |
| 1614 | - background: #e65d59; | |
| 1615 | - color: #fff; | |
| 1616 | - border-color: #fff; | |
| 1617 | - box-shadow: 0 0 0px 2px #de605c; | |
| 1506 | +.wpbc_ideal_payment_table td { | |
| 1507 | + padding: 10px 0; | |
| 1508 | + border: none; | |
| 1618 | 1509 | } |
| 1510 | +.wpbc_ideal_payment_table td label { | |
| 1511 | + font-weight: 600; | |
| 1512 | +} | |
| 1619 | 1513 | |
| 1620 | -/* ================================================================================================================== */ | |
| 1621 | -/* Stripe */ | |
| 1622 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_stripe { | |
| 1623 | - background: 90% 50% / 80px auto no-repeat url("../inc/assets/stripe.svg"), #fff; | |
| 1624 | - background-color: rgb(77, 77, 77); | |
| 1625 | - padding-right: 130px; | |
| 1626 | - border: 2px solid rgb(77, 77, 77); | |
| 1627 | - color: #fff; | |
| 1628 | -} | |
| 1629 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_stripe:focus, | |
| 1630 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_stripe:hover | |
| 1631 | -{ | |
| 1632 | - border: 2px solid #5f5f5f; | |
| 1633 | - background-color: #5f5f5f; | |
| 1634 | -} | |
| 1635 | -/* ================================================================================================================== */ | |
| 1636 | -/* PayPal Yellow */ | |
| 1637 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_yellow, | |
| 1638 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_silver, | |
| 1639 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_white | |
| 1640 | -{ | |
| 1641 | - background: 90% 50% / 30% 50% no-repeat url("../inc/assets/paypal_commerce.svg"), transparent; | |
| 1642 | - padding-right: 115px; | |
| 1643 | - background-color: #ffc439 !important; | |
| 1644 | - border: 2px solid #ffc439 !important; | |
| 1645 | - color: #2C2E2F; | |
| 1646 | - box-shadow: none; | |
| 1647 | 1514 | |
| 1648 | - text-indent:-9999px; | |
| 1649 | - background: 50% 50% / 80px auto no-repeat url("../inc/assets/paypal_commerce.svg"), #ffc439 !important; | |
| 1650 | - min-width: 175px; | |
| 1651 | -} | |
| 1652 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_yellow:focus, | |
| 1653 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_yellow:hover, | |
| 1654 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_silver:focus, | |
| 1655 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_silver:hover, | |
| 1656 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_white:focus, | |
| 1657 | -.wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_white:hover | |
| 1658 | -{ | |
| 1659 | - background-color: #f2ba36; | |
| 1660 | - border-color: #f2ba36; | |
| 1661 | - box-shadow: 0 5px 10px #f0f0f8; | |
| 1662 | - color: #5f5f5f; | |
| 1663 | -} | |
| 1664 | - /* PayPal Blue */ | |
| 1665 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_blue, | |
| 1666 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_black { | |
| 1667 | - background: 90% 50% / 30% 50% no-repeat url("../inc/assets/paypal_white_full.svg"), transparent; | |
| 1668 | - padding-right: 115px; | |
| 1669 | - background-color: #009cde !important; | |
| 1670 | - border: 2px solid #009cde !important; | |
| 1671 | - color: #fff; | |
| 1672 | - box-shadow: none; | |
| 1515 | +/* ========================================================================== */ | |
| 1516 | +/* PayPal Standard Checkout — container tweaks */ | |
| 1517 | +/* ========================================================================== */ | |
| 1673 | 1518 | |
| 1674 | - text-indent:-9999px; | |
| 1675 | - background: 50% 50% / 80px auto no-repeat url("../inc/assets/paypal_white_full.svg"), #009cde !important; | |
| 1676 | - min-width: 175px; | |
| 1677 | - } | |
| 1678 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_blue:focus, | |
| 1679 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_blue:hover, | |
| 1680 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_black:focus, | |
| 1681 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_black:hover { | |
| 1682 | - background-color: #33b0e5; | |
| 1683 | - border-color: #33b0e5; | |
| 1684 | - box-shadow: 0 5px 10px #f0f0f8; | |
| 1685 | - color: #fff; | |
| 1686 | - } | |
| 1687 | - /* PayPal Silver (based on Yellow) */ | |
| 1688 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_silver { | |
| 1689 | - background-color: #eee !important; | |
| 1690 | - border: 2px solid #eee !important; | |
| 1691 | - background: 50% 50% / 80px auto no-repeat url("../inc/assets/paypal_commerce.svg"), #eee !important; | |
| 1692 | - } | |
| 1693 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_silver:focus, | |
| 1694 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_silver:hover { | |
| 1695 | - background-color: #e2e2e2 !important; | |
| 1696 | - border-color: #e2e2e2 !important; | |
| 1697 | - } | |
| 1698 | - /* PayPal White (based on Yellow) */ | |
| 1699 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_white { | |
| 1700 | - background-color: #fff !important; | |
| 1701 | - border: 1px solid #2C2E2F !important; | |
| 1702 | - background: 50% 50% / 80px auto no-repeat url("../inc/assets/paypal_commerce.svg"), #fff !important; | |
| 1703 | - } | |
| 1704 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_white:focus, | |
| 1705 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_white:hover { | |
| 1706 | - background-color: #fff !important; | |
| 1707 | - border-color: #2C2E2F !important; | |
| 1708 | - } | |
| 1709 | - /* PayPal Block (based on Blue) */ | |
| 1710 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_black { | |
| 1711 | - background-color: #2c2e2f !important; | |
| 1712 | - border: 2px solid #2c2e2f !important; | |
| 1713 | - background: 50% 50% / 80px auto no-repeat url("../inc/assets/paypal_white_full.svg"), #2c2e2f !important; | |
| 1714 | - } | |
| 1715 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_black:focus, | |
| 1716 | - .wpbc_container .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_black:hover { | |
| 1717 | - background-color: #565859 !important; | |
| 1718 | - border-color: #565859 !important; | |
| 1719 | - } | |
| 1720 | -/* ================================================================================================================== */ | |
| 1721 | -/* == PayPal Standard Checkout Container == */ | |
| 1722 | -/* ================================================================================================================== */ | |
| 1723 | -.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div{ | |
| 1724 | - text-align:left; | |
| 1725 | - clear:both; | |
| 1519 | +.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div { | |
| 1520 | + text-align: left; | |
| 1521 | + clear: both; | |
| 1726 | 1522 | } |
| 1727 | -.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div .wpbc_paypal_fee{ | |
| 1728 | - text-align:center; | |
| 1523 | +.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div .wpbc_paypal_fee { | |
| 1524 | + text-align: center; | |
| 1729 | 1525 | } |
| 1730 | -.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div .wpbc_paypal_std_co{ | |
| 1731 | - padding:0 2px; | |
| 1732 | - flex: 1 1 auto; | |
| 1526 | +.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div .wpbc_paypal_std_co { | |
| 1527 | + padding: 0 2px; | |
| 1528 | + flex: 1 1 auto; | |
| 1733 | 1529 | } |
| 1734 | -.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div .wpbc_paypal_std_co #wpbc_paypal_std_co_button_container{ | |
| 1735 | 1530 | |
| 1736 | -} | |
| 1737 | -/* ================================================================================================================== */ | |
| 1738 | -/* == Dark Theme 1 == */ | |
| 1739 | -/* ================================================================================================================== */ | |
| 1740 | 1531 | |
| 1741 | -.wpbc_theme_dark_1 .wpbc_front_end__message{ | |
| 1742 | - border-top: 1px solid rgb(0, 0, 0) !important; | |
| 1743 | - border-right: 1px solid rgb(0, 0, 0) !important; | |
| 1744 | - border-bottom: 1px solid rgb(0, 0, 0) !important; | |
| 1745 | - background: #626262; | |
| 1746 | - color: #5f5f5f; | |
| 1747 | - box-shadow: 0 0px 3px #3b3b3b; | |
| 1748 | - color:#fff !important; | |
| 1532 | +/* ========================================================================== */ | |
| 1533 | +/* Dark Theme 1 — dark skins for messages and containers */ | |
| 1534 | +/* ========================================================================== */ | |
| 1749 | 1535 | |
| 1750 | - border-top: 0px solid rgb(0, 0, 0) !important; | |
| 1751 | - border-right: 0px solid rgb(0, 0, 0) !important; | |
| 1752 | - border-bottom: 0px solid rgb(0, 0, 0) !important; | |
| 1753 | - background: transparent; | |
| 1754 | - color: #f74748 !important; | |
| 1536 | +.wpbc_theme_dark_1 .wpbc_front_end__message { | |
| 1537 | + background: transparent; | |
| 1538 | + box-shadow: 0 0px 3px #3b3b3b; | |
| 1539 | + color: #f74748 !important; | |
| 1540 | + border-top: 0 !important; | |
| 1541 | + border-right: 0 !important; | |
| 1542 | + border-bottom: 0 !important; | |
| 1755 | 1543 | } |
| 1756 | 1544 | .wpbc_theme_dark_1 .wpbc_front_end__message.wpbc_fe_message_error { |
| 1757 | - border-left-color: #c23b3b; | |
| 1758 | - background: #595959 !important; | |
| 1759 | - color: #b9b9b9 !important; | |
| 1545 | + border-left-color: #c23b3b; | |
| 1546 | + background: #595959 !important; | |
| 1547 | + color: #b9b9b9 !important; | |
| 1760 | 1548 | } |
| 1761 | -/* ================================================================================================================== */ | |
| 1762 | -/* == THANK_YOU - SECTION - Dark Theme 1 == */ | |
| 1763 | -/* ================================================================================================================== */ | |
| 1764 | -.wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__message{ | |
| 1765 | - color: #cdcdcd; | |
| 1549 | + | |
| 1550 | +/* Dark theme: thank-you section */ | |
| 1551 | +.wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__message { | |
| 1552 | + color: #cdcdcd; | |
| 1766 | 1553 | } |
| 1767 | 1554 | .wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__container * { |
| 1768 | - color: #fff; | |
| 1555 | + color: #fff; | |
| 1769 | 1556 | } |
| 1770 | -/* Show correct text color for iDeal in Confirmation window */ | |
| 1557 | + | |
| 1558 | +/* Fix form field colors in confirmation window (iDEAL etc.) */ | |
| 1771 | 1559 | .wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content input[type=text], |
| 1772 | 1560 | .wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content select, |
| 1773 | -.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content textarea{ | |
| 1774 | - color: var(--wpbc_form-field-text-color); | |
| 1561 | +.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content textarea { | |
| 1562 | + color: var(--wpbc_form-field-text-color); | |
| 1775 | 1563 | } |
| 1564 | + | |
| 1776 | 1565 | .wpbc_ideal_payment_table td { |
| 1777 | - vertical-align: middle; | |
| 1566 | + vertical-align: middle; | |
| 1778 | 1567 | } |
| 1779 | -.wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__container{ | |
| 1780 | - border: 1px solid rgb(0, 0, 0); | |
| 1781 | - background: #626262; | |
| 1782 | - color: #5f5f5f; | |
| 1783 | - box-shadow: 0 0px 3px #3b3b3b; | |
| 1568 | + | |
| 1569 | +.wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__container { | |
| 1570 | + border: 1px solid rgb(0, 0, 0); | |
| 1571 | + background: #383a3d; | |
| 1572 | + color: #5f5f5f; | |
| 1573 | + box-shadow: 0 0px 3px #3b3b3b; | |
| 1784 | 1574 | } |
| 1785 | -/* Payment Buttons ----------------------------------------------------------- */ | |
| 1786 | -.wpbc_theme_dark_1.wpbc_container.wpbc_form .wpbc_button_light { | |
| 1787 | - box-shadow: 0 1px 5px #424242; | |
| 1788 | - border: 2px solid #525252; | |
| 1789 | - background-color: #4d4d4d; | |
| 1790 | - color: #fff; | |
| 1575 | + | |
| 1576 | +/* Dark theme: booking form text colors. Scope to form content, not Builder UI chrome. */ | |
| 1577 | +.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form p, | |
| 1578 | +.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form label, | |
| 1579 | +.wpbc_theme_dark_1.wpbc_container.wpbc_form p, | |
| 1580 | +.wpbc_theme_dark_1.wpbc_container.wpbc_form label { | |
| 1581 | + color: var(--wpbc_form-label-color, #989898); | |
| 1791 | 1582 | } |
| 1792 | -.wpbc_theme_dark_1.wpbc_container.wpbc_form .wpbc_button_light:focus, | |
| 1793 | -.wpbc_theme_dark_1.wpbc_container.wpbc_form .wpbc_button_light:hover | |
| 1794 | -{ | |
| 1795 | - box-shadow: 0 1px 5px #424242; | |
| 1796 | - border: 2px solid #5f5f5f; | |
| 1797 | - background-color: #5c5c5c; | |
| 1798 | - color: #fff; | |
| 1583 | +.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form select, | |
| 1584 | +.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form textarea, | |
| 1585 | +.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form input, | |
| 1586 | +.wpbc_theme_dark_1.wpbc_container.wpbc_form select, | |
| 1587 | +.wpbc_theme_dark_1.wpbc_container.wpbc_form textarea, | |
| 1588 | +.wpbc_theme_dark_1.wpbc_container.wpbc_form input { | |
| 1589 | + color: var(--wpbc_form-field-text-color, #444); | |
| 1799 | 1590 | } |
| 1800 | -.wpbc_theme_dark_1.wpbc_container.wpbc_form .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_yellow:focus, | |
| 1801 | -.wpbc_theme_dark_1.wpbc_container.wpbc_form .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_paypal_yellow:hover | |
| 1802 | -{ | |
| 1803 | - box-shadow: 0 5px 10px #424242; | |
| 1804 | -} | |
| 1805 | -.wpbc_theme_dark_1.wpbc_container.wpbc_form .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_stripe:focus, | |
| 1806 | -.wpbc_theme_dark_1.wpbc_container.wpbc_form .wpbc_button_light.wpbc_button_gw.wpbc_button_gw_stripe:hover | |
| 1807 | -{ | |
| 1808 | - background-color:#4d4d4d; | |
| 1809 | - border-color:#4d4d4d; | |
| 1810 | -} | |
| 1811 | -/* Booking form elements ----------------------------------------------------------- */ | |
| 1812 | -.wpbc_theme_dark_1 p, | |
| 1813 | -.wpbc_theme_dark_1 label{ | |
| 1814 | - color: #989898; | |
| 1815 | -} | |
| 1816 | -.wpbc_theme_dark_1.wpbc_container select, | |
| 1817 | -.wpbc_theme_dark_1.wpbc_container textarea, | |
| 1818 | -.wpbc_theme_dark_1.wpbc_container input{ | |
| 1819 | - color:#444; | |
| 1820 | -} | |
| 1821 | -/* ================================================================================================================== */ | |
| 1822 | -/* == Capacity Hints tooltips == */ | |
| 1823 | -/* ================================================================================================================== */ | |
| 1591 | + | |
| 1592 | + | |
| 1593 | +/* ========================================================================== */ | |
| 1594 | +/* Capacity Hints — tooltips and inline availability */ | |
| 1595 | +/* What: availability chips & layout for [capacity_hint] shortcode */ | |
| 1596 | +/* ========================================================================== */ | |
| 1597 | + | |
| 1824 | 1598 | .capacity_hint { |
| 1825 | - align-self: baseline; | |
| 1826 | - margin: 0; | |
| 1599 | + align-self: baseline; | |
| 1600 | + margin: 0; | |
| 1827 | 1601 | } |
| 1828 | 1602 | .capacity_hint .wpbc_chint__full_day_bookings, |
| 1829 | 1603 | .capacity_hint.wpbc_chin_newline { |
| 1830 | - flex: 1 1 100%; | |
| 1831 | - /*margin: 0.5em 0;*/ | |
| 1604 | + flex: 1 1 100%; | |
| 1832 | 1605 | } |
| 1606 | +.bfb_element:has(.capacity_hint) { | |
| 1607 | + align-items: center !important; | |
| 1608 | + align-items: center !important; | |
| 1609 | +} | |
| 1833 | 1610 | .wpbc_capacity_hint_container { |
| 1834 | - display: flex; | |
| 1835 | - flex-flow:column nowrap; | |
| 1836 | - justify-content: flex-start; | |
| 1837 | - align-items: flex-start; | |
| 1838 | - width:100%; | |
| 1839 | - /*font-size:0.85em;*/ | |
| 1840 | - /*line-height: 2em;*/ | |
| 1611 | + display: flex; | |
| 1612 | + flex-flow: column nowrap; | |
| 1613 | + justify-content: flex-start; | |
| 1614 | + align-items: flex-start; | |
| 1615 | + width: 100%; | |
| 1841 | 1616 | } |
| 1842 | -.booking_form_div .wpbc__form__div .wpbc_capacity_hint_container *, | |
| 1843 | -.booking_form_div .wpbc__form__div .wpbc_capacity_hint_container { | |
| 1844 | - font-size:0.94em; | |
| 1845 | - line-height: 1.78; | |
| 1617 | +.booking_form_div .wpbc__form__div .wpbc_capacity_hint_container, | |
| 1618 | +.booking_form_div .wpbc__form__div .wpbc_capacity_hint_container * { | |
| 1619 | + font-size: 0.94em; | |
| 1620 | + line-height: 1.78; | |
| 1846 | 1621 | } |
| 1847 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container{ | |
| 1848 | - flex: 1 1 auto; | |
| 1849 | - display: flex; | |
| 1850 | - flex-flow:row wrap; | |
| 1851 | - justify-content: flex-start; | |
| 1852 | - align-items: flex-start; | |
| 1853 | - width:100%; | |
| 1622 | + | |
| 1623 | +.wpbc_capacity_hint_container .wpbc_chint__datetime_container { | |
| 1624 | + flex: 1 1 auto; | |
| 1625 | + display: flex; | |
| 1626 | + flex-flow: row wrap; | |
| 1627 | + justify-content: flex-start; | |
| 1628 | + align-items: flex-start; | |
| 1629 | + width: 100%; | |
| 1854 | 1630 | } |
| 1855 | - .wpbc_chin_newline .wpbc_capacity_hint_container .wpbc_chint__datetime_container{ | |
| 1856 | - /*margin:0.25em 0;*/ | |
| 1857 | - } | |
| 1858 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container{ | |
| 1859 | - flex:1 1 100%; | |
| 1860 | - display: flex; | |
| 1861 | - flex-flow: row wrap; | |
| 1862 | - justify-content: flex-start; | |
| 1863 | - align-items: flex-start; | |
| 1631 | + | |
| 1632 | +/* Date line */ | |
| 1633 | +.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container { | |
| 1634 | + flex: 1 1 100%; | |
| 1635 | + display: flex; | |
| 1636 | + flex-flow: row wrap; | |
| 1637 | + justify-content: flex-start; | |
| 1638 | + align-items: flex-start; | |
| 1864 | 1639 | } |
| 1865 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date{ | |
| 1866 | - font-weight: 600; | |
| 1867 | - flex: 0 1 auto; | |
| 1640 | +.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date { | |
| 1641 | + font-weight: 600; | |
| 1642 | + flex: 0 1 auto; | |
| 1868 | 1643 | } |
| 1869 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date_divider{ | |
| 1870 | - flex: 1 1 auto; | |
| 1871 | - display: none; | |
| 1644 | +.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date_divider { | |
| 1645 | + flex: 1 1 auto; | |
| 1646 | + display: none; | |
| 1872 | 1647 | } |
| 1873 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container{ | |
| 1874 | - flex:0 1 auto; | |
| 1875 | - display: flex; | |
| 1876 | - flex-flow: row wrap; | |
| 1877 | - justify-content: flex-start; | |
| 1878 | - align-items: flex-start; | |
| 1879 | - margin-right: 1em; | |
| 1880 | -} | |
| 1881 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot{ | |
| 1882 | 1648 | |
| 1649 | +/* Times line */ | |
| 1650 | +.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container { | |
| 1651 | + flex: 0 1 auto; | |
| 1652 | + display: flex; | |
| 1653 | + flex-flow: row wrap; | |
| 1654 | + justify-content: flex-start; | |
| 1655 | + align-items: flex-start; | |
| 1656 | + margin-right: 1em; | |
| 1883 | 1657 | } |
| 1884 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot_divider{ | |
| 1885 | 1658 | |
| 1659 | +/* Availability numbers */ | |
| 1660 | +.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__availability { | |
| 1661 | + font-weight: 600; | |
| 1662 | + padding-left: 0.5em; | |
| 1886 | 1663 | } |
| 1887 | -.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__availability{ | |
| 1888 | - font-weight: 600; | |
| 1889 | - padding-left:0.5em; | |
| 1664 | +.wpbc_chint__availability { | |
| 1665 | + color: #890; | |
| 1890 | 1666 | } |
| 1891 | -.wpbc_chint__availability{ | |
| 1892 | - color:#890; | |
| 1667 | +.availability_num_0 { | |
| 1668 | + color: #dc3400; | |
| 1893 | 1669 | } |
| 1894 | -.availability_num_0{ | |
| 1895 | - color: #dc3400; | |
| 1896 | -} | |
| 1897 | 1670 | .availability_num_1, |
| 1898 | 1671 | .availability_num_2 { |
| 1899 | - color: #dc7100; | |
| 1672 | + color: #dc7100; | |
| 1900 | 1673 | } |
| 1901 | 1674 | .availability_num_3, |
| 1902 | 1675 | .availability_num_4, |
| 1903 | -.availability_num_5{ | |
| 1904 | - color: currentColor; | |
| 1676 | +.availability_num_5 { | |
| 1677 | + color: currentColor; | |
| 1905 | 1678 | } |
| 1679 | + | |
| 1680 | +/* Chosen timeslot highlight */ | |
| 1906 | 1681 | .wpbc_selected_timeslot { |
| 1907 | - font-weight: 600; | |
| 1908 | - text-decoration: underline; | |
| 1909 | - text-decoration-style: dashed; | |
| 1682 | + font-weight: 600; | |
| 1683 | + text-decoration: underline; | |
| 1684 | + text-decoration-style: dashed; | |
| 1910 | 1685 | } |
| 1911 | - /* Full day CSS for [capacity_hint] */ | |
| 1912 | - .wpbc_chint__full_day_bookings.wpbc_capacity_hint_container{ | |
| 1913 | - margin: 0; | |
| 1914 | - line-height: unset; | |
| 1915 | - font-size: 0.85em; | |
| 1916 | 1686 | |
| 1917 | - flex-flow: row wrap; | |
| 1918 | - } | |
| 1919 | - .wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container { | |
| 1920 | - flex: 0 1 auto; | |
| 1921 | - flex-flow: row nowrap; | |
| 1922 | - width: auto; | |
| 1923 | - } | |
| 1924 | - .wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container { | |
| 1925 | - flex: 0 1 auto; | |
| 1926 | - flex-flow: row nowrap; | |
| 1927 | - } | |
| 1928 | - .wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date_divider { | |
| 1929 | - flex: 0 1 auto; | |
| 1930 | - display: block; | |
| 1931 | - } | |
| 1932 | - .wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot { | |
| 1933 | - display: none; | |
| 1934 | - } | |
| 1935 | - .wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot_divider { | |
| 1936 | - display: none; | |
| 1937 | - } | |
| 1687 | +/* Full-day hint compact layout */ | |
| 1688 | +.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container { | |
| 1689 | + margin: 0; | |
| 1690 | + line-height: unset; | |
| 1691 | + font-size: 0.85em; | |
| 1692 | + flex-flow: row wrap; | |
| 1693 | +} | |
| 1694 | +.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container { | |
| 1695 | + flex: 0 1 auto; | |
| 1696 | + flex-flow: row nowrap; | |
| 1697 | + width: auto; | |
| 1698 | +} | |
| 1699 | +.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container { | |
| 1700 | + flex: 0 1 auto; | |
| 1701 | + flex-flow: row nowrap; | |
| 1702 | +} | |
| 1703 | +.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date_divider { | |
| 1704 | + flex: 0 1 auto; | |
| 1705 | + display: block; | |
| 1706 | +} | |
| 1707 | +.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot { | |
| 1708 | + display: none; | |
| 1709 | +} | |
| 1710 | +.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot_divider { | |
| 1711 | + display: none; | |
| 1712 | +} | |
| 1938 | 1713 | |
| 1714 | + | |
| 1715 | +/* ========================================================================== */ | |
| 1716 | +/* Misc — demo banner & wizard utilities */ | |
| 1717 | +/* ========================================================================== */ | |
| 1718 | + | |
| 1939 | 1719 | .wpbc_message_in_live_demo { |
| 1940 | - background: #ffffff; | |
| 1941 | - box-shadow: 0 1px 7px #c8c8c86e; | |
| 1942 | - text-align: left; | |
| 1943 | - border-left: 4px solid #9580aa; | |
| 1944 | - border-top: 1px solid #f0f0f0; | |
| 1945 | - border-right: 1px solid #f0f0f0; | |
| 1946 | - margin: 10px 0; | |
| 1947 | - line-height: 2; | |
| 1948 | - padding: 5px 20px; | |
| 1949 | - font-size: 1em; | |
| 1950 | - color: #444; | |
| 1951 | - border-radius: 8px; | |
| 1720 | + background: #ffffff; | |
| 1721 | + box-shadow: 0 1px 7px #c8c8c86e; | |
| 1722 | + text-align: left; | |
| 1723 | + border-left: 4px solid #9580aa; | |
| 1724 | + border-top: 1px solid #f0f0f0; | |
| 1725 | + border-right: 1px solid #f0f0f0; | |
| 1726 | + margin: 10px 0; | |
| 1727 | + line-height: 2; | |
| 1728 | + padding: 15px 20px; | |
| 1729 | + color: #444; | |
| 1730 | + border-radius: 8px; | |
| 1731 | + font-size: 18px; | |
| 1732 | + font-weight: 500; | |
| 1952 | 1733 | } |
| 1734 | + | |
| 1953 | 1735 | .wpbc_wizard_step_hidden { |
| 1954 | - display:none; | |
| 1955 | -} | |
| 1736 | + display: none; | |
| 1737 | +} | |
| 1738 | + | |
| 1739 | + | |
| 1740 | +/* // FixIn: 10.12.4.0. */ | |
| 1741 | +.wpbc_logo_20_for_black { | |
| 1742 | + background-repeat: no-repeat; | |
| 1743 | + background-position: center; | |
| 1744 | + display: inline-block; | |
| 1745 | + vertical-align: top; | |
| 1746 | + background-size: 18px auto; | |
| 1747 | + width: 20px; | |
| 1748 | + height: 20px; | |
| 1749 | + margin-top: 6px; | |
| 1750 | + background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTAgNTUwIj48cGF0aCBkPSJNMjc1IDE2Mi4zNmMtOTIuMzIgMC0xNjcuMTUgNzcuODItMTY3LjE1IDE3My44MVMxODIuNjkgNTA5Ljk5IDI3NSA1MDkuOTlzMTY3LjE1LTc3LjgyIDE2Ny4xNS0xNzMuODJTMzY3LjMxIDE2Mi4zNiAyNzUgMTYyLjM2Wm0wIDI2NC41M2MtNTAuMSAwLTkwLjcxLTQwLjYxLTkwLjcxLTkwLjcxczQwLjYxLTkwLjcxIDkwLjcxLTkwLjcxIDkwLjcxIDQwLjYxIDkwLjcxIDkwLjcxLTQwLjYxIDkwLjcxLTkwLjcxIDkwLjcxWiIgc3R5bGU9ImZpbGw6I2FhYTsiIGZpbGwtb3BhY2l0eT0iMC40IiAvPjxwYXRoIGQ9Ik0zNDAuNTMgMzk4LjkxYy0xNC44NSAxNS41MS0zNS4xNiAyNS43Ni01Ny44NCAyNy42Ni01NC44NyA0LjYtMTAxLjY0LTQxLjE0LTk4LjIzLTk2LjEgMi45NC00Ny40NCA0Mi4zNS04NS4wMSA5MC41NC04NS4wMSAyNC44NCAwIDQ3LjM0IDkuOTggNjMuNzIgMjYuMTYgNS44NiA1Ljc4IDE1LjI5IDUuNzMgMjEuMTEtLjA5bDM1LjE0LTM1LjE0YzUuNjktNS42OSA1LjktMTQuODcuNDMtMjAuNzctMzAuNDEtMzIuODMtNzMuMS01My4yNi0xMjAuNC01My4yNi05Mi4zMiAwLTE2Ny4xNSA3Ny44Mi0xNjcuMTUgMTczLjgxUzE4Mi42OSA1MDkuOTkgMjc1IDUwOS45OWM0OC40OSAwIDkyLjE1LTIxLjQ3IDEyMi42OC01NS43NiA1LjI5LTUuOTQgNS4wMi0xNC45Ny0uNi0yMC41OWwtMzUuMDUtMzUuMDVjLTUuOTgtNS45OC0xNS42Ny01Ljc5LTIxLjUxLjMyWiIgIHN0eWxlPSJmaWxsOiNjY2M7Ii8+PHBhdGggZD0iTTExMi41MyAyNjEuMjdjMTIuMzQtMzkuMDcgMzguMzItNzAuMDIgNzcuNzktOTcuMDQuOTItLjYzIDEuNDgtMS42NyAxLjQ4LTIuNzlWMTQuNzZjMC00LjI4LTMuNjgtNy43Ni04LjIyLTcuNzZoLTMuNzZjLTE4LjU2IDAtNzMuMTcgNDAuMy03MS43OSA2MC42MmwtLjE3IDE5Mi45MWMwIDIuNzQgMy44NiAzLjM0IDQuNjguNzNaIiAgc3R5bGU9ImZpbGw6I2NjYzsiLz48L3N2Zz4=') !important; | |
| 1751 | +} | |
| 1752 | +.wpbc_logo_30_for_white { | |
| 1753 | + display: inline-block; | |
| 1754 | + background-position: 0 1px; | |
| 1755 | + background-repeat: no-repeat; | |
| 1756 | + background-size: 30px auto; | |
| 1757 | + width: 30px; | |
| 1758 | + height: 30px; | |
| 1759 | + background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTAgNTUwIj48cGF0aCBkPSJNMjc1IDE2Mi4zNmMtOTIuMzIgMC0xNjcuMTUgNzcuODItMTY3LjE1IDE3My44MVMxODIuNjkgNTA5Ljk5IDI3NSA1MDkuOTlzMTY3LjE1LTc3LjgyIDE2Ny4xNS0xNzMuODJTMzY3LjMxIDE2Mi4zNiAyNzUgMTYyLjM2Wm0wIDI2NC41M2MtNTAuMSAwLTkwLjcxLTQwLjYxLTkwLjcxLTkwLjcxczQwLjYxLTkwLjcxIDkwLjcxLTkwLjcxIDkwLjcxIDQwLjYxIDkwLjcxIDkwLjcxLTQwLjYxIDkwLjcxLTkwLjcxIDkwLjcxWiIgc3R5bGU9ImZpbGw6I2U1ZTVlNTsiIGZpbGwtb3BhY2l0eT0iMS4wIiAvPjxwYXRoIGQ9Ik0zNDAuNTMgMzk4LjkxYy0xNC44NSAxNS41MS0zNS4xNiAyNS43Ni01Ny44NCAyNy42Ni01NC44NyA0LjYtMTAxLjY0LTQxLjE0LTk4LjIzLTk2LjEgMi45NC00Ny40NCA0Mi4zNS04NS4wMSA5MC41NC04NS4wMSAyNC44NCAwIDQ3LjM0IDkuOTggNjMuNzIgMjYuMTYgNS44NiA1Ljc4IDE1LjI5IDUuNzMgMjEuMTEtLjA5bDM1LjE0LTM1LjE0YzUuNjktNS42OSA1LjktMTQuODcuNDMtMjAuNzctMzAuNDEtMzIuODMtNzMuMS01My4yNi0xMjAuNC01My4yNi05Mi4zMiAwLTE2Ny4xNSA3Ny44Mi0xNjcuMTUgMTczLjgxUzE4Mi42OSA1MDkuOTkgMjc1IDUwOS45OWM0OC40OSAwIDkyLjE1LTIxLjQ3IDEyMi42OC01NS43NiA1LjI5LTUuOTQgNS4wMi0xNC45Ny0uNi0yMC41OWwtMzUuMDUtMzUuMDVjLTUuOTgtNS45OC0xNS42Ny01Ljc5LTIxLjUxLjMyWiIgIHN0eWxlPSJmaWxsOiM1NTU7Ii8+PHBhdGggZD0iTTExMi41MyAyNjEuMjdjMTIuMzQtMzkuMDcgMzguMzItNzAuMDIgNzcuNzktOTcuMDQuOTItLjYzIDEuNDgtMS42NyAxLjQ4LTIuNzlWMTQuNzZjMC00LjI4LTMuNjgtNy43Ni04LjIyLTcuNzZoLTMuNzZjLTE4LjU2IDAtNzMuMTcgNDAuMy03MS43OSA2MC42MmwtLjE3IDE5Mi45MWMwIDIuNzQgMy44NiAzLjM0IDQuNjguNzNaIiAgc3R5bGU9ImZpbGw6IzU1NTsiLz48L3N2Zz4=') !important; | |
| 1760 | +} | |