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