| 1 |
.wpbc_admin_page__tab__themes .wpbc_settings_page_content { |
| 2 |
min-width: 0 |
| 3 |
} |
| 4 |
.wpbc_admin_page__tab__themes, |
| 5 |
.wpbc_theme_page { |
| 6 |
--wpbc-theme-accent: #2271b1; |
| 7 |
--wpbc-theme-border: #dfe4ea; |
| 8 |
--wpbc-theme-text: #1d2327; |
| 9 |
--wpbc-theme-muted: #646970; |
| 10 |
--wpbc-theme-bg: #fff; |
| 11 |
--wpbc-theme-bg-soft: #f6f7f7; |
| 12 |
--wpbc-theme-success: #008a20; |
| 13 |
--wpbc-theme-warning: #b26200; |
| 14 |
--wpbc-theme-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); |
| 15 |
--wpbc-theme-radius: 6px |
| 16 |
} |
| 17 |
.wpbc_theme_page { |
| 18 |
box-sizing: border-box; |
| 19 |
color: var(--wpbc-theme-text); |
| 20 |
max-width: 1220px |
| 21 |
} |
| 22 |
.wpbc_theme_toolbar.wpbc_ts_toolbar { |
| 23 |
-ms-flex-align: start; |
| 24 |
align-items: flex-start; |
| 25 |
background: var(--wpbc-theme-bg); |
| 26 |
border: 1px solid var(--wpbc-theme-border); |
| 27 |
border-radius: var(--wpbc-theme-radius); |
| 28 |
box-shadow: var(--wpbc-theme-shadow); |
| 29 |
box-sizing: border-box; |
| 30 |
display: -ms-flexbox; |
| 31 |
display: flex; |
| 32 |
-ms-flex-flow: row wrap; |
| 33 |
flex-flow: row wrap; |
| 34 |
gap: 14px; |
| 35 |
-ms-flex-pack: start; |
| 36 |
justify-content: flex-start; |
| 37 |
margin-bottom: 12px; |
| 38 |
max-width: 100%; |
| 39 |
padding: 14px |
| 40 |
} |
| 41 |
.wpbc_theme_toolbar .wpbc_ts_control { |
| 42 |
display: -ms-flexbox; |
| 43 |
display: flex; |
| 44 |
-ms-flex-direction: column; |
| 45 |
flex-direction: column; |
| 46 |
gap: 6px; |
| 47 |
min-width: 150px |
| 48 |
} |
| 49 |
.wpbc_theme_toolbar .wpbc_ts_control label { |
| 50 |
color: var(--wpbc-theme-text); |
| 51 |
font-size: 13px; |
| 52 |
font-weight: 600 |
| 53 |
} |
| 54 |
.wpbc_theme_toolbar .wpbc_ts_control select { |
| 55 |
min-height: 32px; |
| 56 |
min-width: 130px |
| 57 |
} |
| 58 |
.wpbc_theme_attention_pulse { |
| 59 |
animation: .62s ease-in-out 3 wpbc_theme_attention_pulse |
| 60 |
} |
| 61 |
@keyframes wpbc_theme_attention_pulse { |
| 62 |
0% { |
| 63 |
box-shadow: 0 0 0 0 rgba(255,196,0,.82); |
| 64 |
transform: scale(1) |
| 65 |
} |
| 66 |
50% { |
| 67 |
box-shadow: 0 0 0 7px rgba(255,196,0,.2); |
| 68 |
transform: scale(1.025) |
| 69 |
} |
| 70 |
100% { |
| 71 |
box-shadow: 0 0 0 0 rgba(255,196,0,0); |
| 72 |
transform: scale(1) |
| 73 |
} |
| 74 |
} |
| 75 |
.wpbc_theme_toolbar_value { |
| 76 |
-ms-flex-align: center; |
| 77 |
align-items: center; |
| 78 |
background: #f6f7f7; |
| 79 |
border: 1px solid var(--wpbc-theme-border); |
| 80 |
border-radius: var(--wpbc-theme-radius); |
| 81 |
box-sizing: border-box; |
| 82 |
display: -ms-inline-flexbox; |
| 83 |
display: inline-flex; |
| 84 |
gap: 7px; |
| 85 |
min-height: 32px; |
| 86 |
padding: 5px 9px |
| 87 |
} |
| 88 |
.wpbc_theme_toolbar_value .menu_icon { |
| 89 |
color: var(--wpbc-theme-accent) |
| 90 |
} |
| 91 |
.wpbc_theme_upgrade_hint { |
| 92 |
-ms-flex-align: start; |
| 93 |
align-items: flex-start; |
| 94 |
color: var(--wpbc-theme-muted); |
| 95 |
display: -ms-flexbox; |
| 96 |
display: flex; |
| 97 |
font-size: 12px; |
| 98 |
gap: 7px; |
| 99 |
line-height: 1.35; |
| 100 |
max-width: 360px |
| 101 |
} |
| 102 |
.wpbc_theme_premium_dismiss { |
| 103 |
display: -ms-inline-flexbox; |
| 104 |
display: inline-flex; |
| 105 |
line-height: 1; |
| 106 |
margin-left: -3px; |
| 107 |
vertical-align: middle |
| 108 |
} |
| 109 |
.wpbc_theme_premium_dismiss .wpbc_x_dismiss_btn { |
| 110 |
color: #787c82; |
| 111 |
font-size: 14px; |
| 112 |
line-height: 1; |
| 113 |
padding: 0 2px |
| 114 |
} |
| 115 |
.wpbc_theme_premium_dismiss .wpbc_x_dismiss_btn:hover { |
| 116 |
color: #1d2327 |
| 117 |
} |
| 118 |
.wpbc_theme_control_form { |
| 119 |
display: none!important |
| 120 |
} |
| 121 |
.wpbc_theme_control_form.is-visible { |
| 122 |
display: -ms-flexbox!important; |
| 123 |
display: flex!important |
| 124 |
} |
| 125 |
.wpbc_theme_hint_bar.wpbc_ts_hint { |
| 126 |
-ms-flex-align: center; |
| 127 |
align-items: center; |
| 128 |
background: #f5faff; |
| 129 |
border: 1px solid #c8ddf5; |
| 130 |
border-radius: 0; |
| 131 |
color: var(--wpbc-theme-text); |
| 132 |
display: -ms-flexbox; |
| 133 |
display: flex; |
| 134 |
gap: 10px; |
| 135 |
margin: 15px 0 0; |
| 136 |
padding: 15px |
| 137 |
} |
| 138 |
.wpbc_theme_hint_bar .wpbc_icn_info_outline { |
| 139 |
color: var(--wpbc-theme-accent) |
| 140 |
} |
| 141 |
.wpbc_theme_preview { |
| 142 |
background: var(--wpbc-theme-bg); |
| 143 |
border: 1px solid var(--wpbc-theme-border); |
| 144 |
border-radius: var(--wpbc-theme-radius); |
| 145 |
box-shadow: var(--wpbc-theme-shadow); |
| 146 |
box-sizing: border-box; |
| 147 |
display: block; |
| 148 |
padding: 14px; |
| 149 |
transition: background .16s ease-in-out,border-color .16s ease-in-out,color .16s ease-in-out |
| 150 |
} |
| 151 |
.wpbc_theme_real_preview { |
| 152 |
min-height: 220px; |
| 153 |
position: relative; |
| 154 |
transition: opacity .16s ease-in-out |
| 155 |
} |
| 156 |
.wpbc_theme_real_preview.is-loading { |
| 157 |
pointer-events: none |
| 158 |
} |
| 159 |
.wpbc_theme_real_preview.is-loading .wpbc_booking_form_structure, |
| 160 |
.wpbc_theme_real_preview.is-loading .wpbc_calendar_wraper { |
| 161 |
filter: blur(1px); |
| 162 |
opacity: .34 |
| 163 |
} |
| 164 |
.wpbc_calendar_loading.wpbc_theme_calendar_loading { |
| 165 |
-ms-flex-align: center; |
| 166 |
align-items: center; |
| 167 |
background: rgba(255,255,255,.74); |
| 168 |
box-sizing: border-box; |
| 169 |
color: #1d2327; |
| 170 |
display: -ms-flexbox; |
| 171 |
display: flex; |
| 172 |
font-size: 1.2em; |
| 173 |
font-weight: 600; |
| 174 |
inset: 10px; |
| 175 |
-ms-flex-pack: center; |
| 176 |
justify-content: center; |
| 177 |
margin: 0; |
| 178 |
position: absolute; |
| 179 |
text-align: center; |
| 180 |
z-index: 30 |
| 181 |
} |
| 182 |
.wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_calendar_loading.wpbc_theme_calendar_loading { |
| 183 |
background: rgba(31,36,43,.74); |
| 184 |
color: #f1f5f9 |
| 185 |
} |
| 186 |
.wpbc_theme_form_preview { |
| 187 |
background: #f8fafc; |
| 188 |
border: 1px solid #d9e1ea; |
| 189 |
border-radius: var(--wpbc-theme-radius); |
| 190 |
box-sizing: border-box; |
| 191 |
display: -ms-flexbox; |
| 192 |
display: flex; |
| 193 |
-ms-flex-direction: column; |
| 194 |
flex-direction: column; |
| 195 |
gap: 12px; |
| 196 |
min-width: 0; |
| 197 |
padding: 14px |
| 198 |
} |
| 199 |
.wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_form_preview { |
| 200 |
background: #111827; |
| 201 |
border-color: #334155 |
| 202 |
} |
| 203 |
.wpbc_theme_preview_title { |
| 204 |
color: inherit; |
| 205 |
font-size: 13px; |
| 206 |
font-weight: 600; |
| 207 |
line-height: 1.3 |
| 208 |
} |
| 209 |
.wpbc_theme_preview_grid { |
| 210 |
display: grid; |
| 211 |
gap: 10px; |
| 212 |
grid-template-columns: 1fr |
| 213 |
} |
| 214 |
.wpbc_theme_preview_grid label { |
| 215 |
display: -ms-flexbox; |
| 216 |
display: flex; |
| 217 |
-ms-flex-direction: column; |
| 218 |
flex-direction: column; |
| 219 |
gap: 5px |
| 220 |
} |
| 221 |
.wpbc_theme_preview_grid span { |
| 222 |
color: var(--wpbc-theme-muted); |
| 223 |
font-size: 12px; |
| 224 |
font-weight: 600 |
| 225 |
} |
| 226 |
.wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_preview_grid span { |
| 227 |
color: #cbd5e1 |
| 228 |
} |
| 229 |
.wpbc_theme_preview_grid input, |
| 230 |
.wpbc_theme_times_preview select { |
| 231 |
background: #fff; |
| 232 |
border: 1px solid #cfd7df; |
| 233 |
border-radius: 4px; |
| 234 |
box-sizing: border-box; |
| 235 |
color: #1d2327; |
| 236 |
min-height: 34px; |
| 237 |
width: 100% |
| 238 |
} |
| 239 |
.wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_preview_grid input, |
| 240 |
.wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_times_preview select { |
| 241 |
background: #0f172a; |
| 242 |
border-color: #475569; |
| 243 |
color: #f8fafc |
| 244 |
} |
| 245 |
.wpbc_theme_times_preview { |
| 246 |
display: -ms-flexbox; |
| 247 |
display: flex; |
| 248 |
-ms-flex-flow: row wrap; |
| 249 |
flex-flow: row wrap; |
| 250 |
gap: 8px |
| 251 |
} |
| 252 |
.wpbc_theme_times_preview button { |
| 253 |
background: #fff; |
| 254 |
border: 1px solid #cfd7df; |
| 255 |
border-radius: 4px; |
| 256 |
color: #1d2327; |
| 257 |
cursor: default; |
| 258 |
min-height: 32px; |
| 259 |
padding: 5px 10px |
| 260 |
} |
| 261 |
.wpbc_theme_times_preview button.is-selected { |
| 262 |
background: var(--wpbc-theme-accent); |
| 263 |
border-color: var(--wpbc-theme-accent); |
| 264 |
color: #fff |
| 265 |
} |
| 266 |
.wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_times_preview button { |
| 267 |
background: #0f172a; |
| 268 |
border-color: #475569; |
| 269 |
color: #f8fafc |
| 270 |
} |
| 271 |
.wpbc_theme_preview.wpbc_theme_dark_1 .wpbc_theme_times_preview button.is-selected { |
| 272 |
background: #38bdf8; |
| 273 |
border-color: #38bdf8; |
| 274 |
color: #082f49 |
| 275 |
} |
| 276 |
.wpbc_theme_inspector_body { |
| 277 |
box-sizing: border-box; |
| 278 |
padding: 10px |
| 279 |
} |
| 280 |
.wpbc_theme_field_row { |
| 281 |
display: -ms-flexbox; |
| 282 |
display: flex; |
| 283 |
-ms-flex-direction: column; |
| 284 |
flex-direction: column; |
| 285 |
gap: 6px; |
| 286 |
margin-bottom: 14px |
| 287 |
} |
| 288 |
.wpbc_theme_field_label { |
| 289 |
color: var(--wpbc-theme-text); |
| 290 |
font-size: 13px; |
| 291 |
font-weight: 600 |
| 292 |
} |
| 293 |
.wpbc_theme_field_row > select { |
| 294 |
max-width: 100%; |
| 295 |
min-height: 32px; |
| 296 |
width: 100% |
| 297 |
} |
| 298 |
.wpbc_theme_description { |
| 299 |
color: var(--wpbc-theme-muted); |
| 300 |
font-size: 12px; |
| 301 |
line-height: 1.5; |
| 302 |
margin: 8px 0 0 |
| 303 |
} |
| 304 |
.wpbc_theme_choice_grid { |
| 305 |
display: grid; |
| 306 |
gap: 8px; |
| 307 |
grid-template-columns: repeat(2,minmax(0,1fr)) |
| 308 |
} |
| 309 |
.wpbc_theme_choice { |
| 310 |
-ms-flex-align: center; |
| 311 |
align-items: center; |
| 312 |
background: #fff; |
| 313 |
border: 1px solid var(--wpbc-theme-border); |
| 314 |
border-radius: var(--wpbc-theme-radius); |
| 315 |
box-sizing: border-box; |
| 316 |
cursor: pointer; |
| 317 |
display: -ms-flexbox; |
| 318 |
display: flex; |
| 319 |
gap: 8px; |
| 320 |
min-height: 48px; |
| 321 |
padding: 9px |
| 322 |
} |
| 323 |
.wpbc_theme_choice input { |
| 324 |
height: 1px; |
| 325 |
margin: 0; |
| 326 |
opacity: 0; |
| 327 |
position: absolute; |
| 328 |
width: 1px |
| 329 |
} |
| 330 |
.wpbc_theme_choice.is-selected, |
| 331 |
.wpbc_theme_choice:has(input:checked) { |
| 332 |
border-color: var(--wpbc-theme-accent); |
| 333 |
box-shadow: 0 0 0 1px var(--wpbc-theme-accent) |
| 334 |
} |
| 335 |
.wpbc_theme_choice_swatch { |
| 336 |
background: linear-gradient(135deg,#fff 0,#f2f4f7 100%); |
| 337 |
border: 1px solid #cbd5e1; |
| 338 |
border-radius: 50%; |
| 339 |
-ms-flex: 0 0 auto; |
| 340 |
flex: 0 0 auto; |
| 341 |
height: 24px; |
| 342 |
width: 24px |
| 343 |
} |
| 344 |
.wpbc_theme_choice_swatch.wpbc_theme_dark_1 { |
| 345 |
background: linear-gradient(135deg,#111827 0,#334155 100%); |
| 346 |
border-color: #0f172a |
| 347 |
} |
| 348 |
.wpbc_theme_choice_label { |
| 349 |
color: var(--wpbc-theme-text); |
| 350 |
font-size: 13px; |
| 351 |
font-weight: 600; |
| 352 |
line-height: 1.2; |
| 353 |
overflow-wrap: anywhere |
| 354 |
} |
| 355 |
.wpbc_theme_switch { |
| 356 |
-ms-flex-align: center; |
| 357 |
align-items: center; |
| 358 |
background: var(--wpbc-theme-bg,#fff); |
| 359 |
box-sizing: border-box; |
| 360 |
cursor: pointer; |
| 361 |
display: -ms-flexbox; |
| 362 |
display: flex; |
| 363 |
gap: 8px; |
| 364 |
min-height: 36px; |
| 365 |
padding: 6px 0 |
| 366 |
} |
| 367 |
.wpbc_theme_switch_card { |
| 368 |
border-top: 1px solid var(--wpbc-theme-border); |
| 369 |
margin-top: 10px; |
| 370 |
padding-top: 12px |
| 371 |
} |
| 372 |
.wpbc_theme_switch input { |
| 373 |
height: 1px; |
| 374 |
margin: 0; |
| 375 |
opacity: 0; |
| 376 |
position: absolute; |
| 377 |
width: 1px |
| 378 |
} |
| 379 |
.wpbc_theme_switch_control { |
| 380 |
background: #c3c4c7; |
| 381 |
border-radius: 10px; |
| 382 |
box-sizing: border-box; |
| 383 |
display: -ms-inline-flexbox; |
| 384 |
display: inline-flex; |
| 385 |
-ms-flex: 0 0 auto; |
| 386 |
flex: 0 0 auto; |
| 387 |
height: 18px; |
| 388 |
padding: 2px; |
| 389 |
transition: background .16s ease-in-out; |
| 390 |
width: 34px |
| 391 |
} |
| 392 |
.wpbc_theme_switch_knob { |
| 393 |
background: #fff; |
| 394 |
border-radius: 50%; |
| 395 |
box-shadow: 0 1px 2px rgba(0,0,0,.22); |
| 396 |
display: block; |
| 397 |
height: 14px; |
| 398 |
-ms-transform: translateX(0); |
| 399 |
transform: translateX(0); |
| 400 |
transition: transform .16s ease-in-out; |
| 401 |
width: 14px |
| 402 |
} |
| 403 |
.wpbc_theme_switch input:checked + .wpbc_theme_switch_control { |
| 404 |
background: var(--wpbc-theme-accent) |
| 405 |
} |
| 406 |
.wpbc_theme_switch input:checked + .wpbc_theme_switch_control .wpbc_theme_switch_knob { |
| 407 |
-ms-transform: translateX(16px); |
| 408 |
transform: translateX(16px) |
| 409 |
} |
| 410 |
.wpbc_theme_choice input:focus-visible + .wpbc_theme_choice_swatch, |
| 411 |
.wpbc_theme_switch input:focus-visible + .wpbc_theme_switch_control { |
| 412 |
box-shadow: 0 0 0 2px #fff,0 0 0 4px var(--wpbc-theme-accent) |
| 413 |
} |
| 414 |
.wpbc_theme_switch_label { |
| 415 |
color: var(--wpbc-theme-text); |
| 416 |
font-size: 13px; |
| 417 |
line-height: 1.25; |
| 418 |
overflow-wrap: anywhere |
| 419 |
} |
| 420 |
select.wpbc_radio__set_days_customize_plugin { |
| 421 |
max-width: calc(100% - 140px) |
| 422 |
} |
| 423 |
.wpbc_theme_notice { |
| 424 |
background: #fff8e5; |
| 425 |
border: 1px solid #e8c76a; |
| 426 |
box-sizing: border-box; |
| 427 |
color: #3c434a; |
| 428 |
font-size: 13px; |
| 429 |
line-height: 1.45; |
| 430 |
padding: 12px |
| 431 |
} |
| 432 |
@media (max-width:960px) { |
| 433 |
.wpbc_theme_preview { |
| 434 |
grid-template-columns: 1fr |
| 435 |
} |
| 436 |
} |
| 437 |
@media (max-width:640px) { |
| 438 |
.wpbc_theme_choice_grid { |
| 439 |
grid-template-columns: 1fr |
| 440 |
} |
| 441 |
.wpbc_theme_toolbar .wpbc_ts_control, |
| 442 |
.wpbc_theme_toolbar .wpbc_ts_control select { |
| 443 |
width: 100% |
| 444 |
} |
| 445 |
} |