| 1 |
/** |
| 2 |
* General Availability admin page. |
| 3 |
*/ |
| 4 |
|
| 5 |
.wpbc_admin_page__tab__general_availability .wpbc_settings_page_content { |
| 6 |
min-width: 0; |
| 7 |
} |
| 8 |
|
| 9 |
.wpbc_admin_page__tab__general_availability, |
| 10 |
.wpbc_ag_page { |
| 11 |
--wpbc-ts-blue: #5459ac; |
| 12 |
--wpbc-ts-border: #dfe4ea; |
| 13 |
--wpbc-ts-text: #1d2327; |
| 14 |
--wpbc-ts-muted: #646970; |
| 15 |
--wpbc-ts-bg: #fff; |
| 16 |
--wpbc-ts-bg-soft: #f6f7f7; |
| 17 |
--wpbc-ts-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); |
| 18 |
--wpbc-ts-radius: 6px; |
| 19 |
--wpbc-palette-accent: #2271b1; |
| 20 |
} |
| 21 |
|
| 22 |
.wpbc_ag_page { |
| 23 |
box-sizing: border-box; |
| 24 |
color: var(--wpbc-ts-text); |
| 25 |
max-width: 1220px; |
| 26 |
} |
| 27 |
|
| 28 |
.wpbc_ag_preview_controls { |
| 29 |
align-items: flex-end; |
| 30 |
display: flex; |
| 31 |
flex-wrap: wrap; |
| 32 |
gap: 10px; |
| 33 |
justify-content: flex-start; |
| 34 |
margin-bottom: 12px; |
| 35 |
} |
| 36 |
|
| 37 |
.wpbc_ag_toolbar.wpbc_ts_toolbar { |
| 38 |
align-items: flex-start; |
| 39 |
background: var(--wpbc-ts-bg); |
| 40 |
border: 1px solid var(--wpbc-ts-border); |
| 41 |
border-radius: var(--wpbc-ts-radius); |
| 42 |
box-shadow: var(--wpbc-ts-shadow); |
| 43 |
box-sizing: border-box; |
| 44 |
display: flex; |
| 45 |
flex-flow: row wrap; |
| 46 |
gap: 14px; |
| 47 |
justify-content: flex-start; |
| 48 |
max-width: 100%; |
| 49 |
padding: 14px; |
| 50 |
} |
| 51 |
|
| 52 |
.wpbc_ag_toolbar .wpbc_ts_control { |
| 53 |
display: flex; |
| 54 |
flex-direction: column; |
| 55 |
gap: 6px; |
| 56 |
min-width: 150px; |
| 57 |
} |
| 58 |
|
| 59 |
.wpbc_ag_toolbar .wpbc_ts_control label { |
| 60 |
color: var(--wpbc-ts-text); |
| 61 |
font-size: 13px; |
| 62 |
font-weight: 600; |
| 63 |
} |
| 64 |
|
| 65 |
.wpbc_ag_toolbar .wpbc_ts_control select { |
| 66 |
min-height: 32px; |
| 67 |
min-width: 130px; |
| 68 |
} |
| 69 |
|
| 70 |
.wpbc_ag_preview_controls .button { |
| 71 |
align-items: center; |
| 72 |
display: inline-flex; |
| 73 |
gap: 6px; |
| 74 |
min-height: 32px; |
| 75 |
} |
| 76 |
|
| 77 |
.wpbc_ag_toolbar_actions { |
| 78 |
align-items: center; |
| 79 |
display: flex; |
| 80 |
flex: 1 1 auto; |
| 81 |
flex-flow: row wrap; |
| 82 |
gap: 10px; |
| 83 |
justify-content: flex-end; |
| 84 |
margin-left: auto; |
| 85 |
} |
| 86 |
|
| 87 |
.wpbc_ag_hint_bar.wpbc_ts_hint { |
| 88 |
align-items: center; |
| 89 |
background: #f5faff; |
| 90 |
border: 1px solid #c8ddf5; |
| 91 |
border-radius: 0; |
| 92 |
color: var(--wpbc-ts-text); |
| 93 |
display: flex; |
| 94 |
gap: 10px; |
| 95 |
margin: 15px 0 0; |
| 96 |
padding: 15px 15px; |
| 97 |
} |
| 98 |
|
| 99 |
.wpbc_ag_hint_bar .wpbc_icn_info_outline { |
| 100 |
color: var(--wpbc-ts-blue); |
| 101 |
} |
| 102 |
|
| 103 |
.wpbc_ag_calendar_panel { |
| 104 |
min-height: 220px; |
| 105 |
padding: 10px; |
| 106 |
position: relative; |
| 107 |
transition: opacity 0.16s ease-in-out; |
| 108 |
} |
| 109 |
|
| 110 |
.wpbc_ag_calendar_panel.is-loading { |
| 111 |
pointer-events: none; |
| 112 |
} |
| 113 |
|
| 114 |
.wpbc_ag_calendar_panel.is-loading .wpbc_calendar_wraper { |
| 115 |
filter: blur(1px); |
| 116 |
opacity: 0.34; |
| 117 |
} |
| 118 |
|
| 119 |
.wpbc_calendar_loading.wpbc_ag_calendar_loading { |
| 120 |
align-items: center; |
| 121 |
background: rgba(255, 255, 255, 0.74); |
| 122 |
box-sizing: border-box; |
| 123 |
color: #1d2327; |
| 124 |
display: flex; |
| 125 |
font-size: 1.2em; |
| 126 |
font-weight: 600; |
| 127 |
inset: 10px; |
| 128 |
justify-content: center; |
| 129 |
margin: 0; |
| 130 |
position: absolute; |
| 131 |
text-align: center; |
| 132 |
z-index: 30; |
| 133 |
} |
| 134 |
|
| 135 |
.wpbc_calendar_loading.wpbc_ag_calendar_loading .wpbc_icn_autorenew::before { |
| 136 |
font-size: 1.2em; |
| 137 |
} |
| 138 |
|
| 139 |
.wpbc_ag_buffer_preview_note { |
| 140 |
align-items: center; |
| 141 |
background: #fff8e5; |
| 142 |
border: 1px solid #e8c76a; |
| 143 |
box-sizing: border-box; |
| 144 |
color: #3c434a; |
| 145 |
display: flex; |
| 146 |
font-size: 12px; |
| 147 |
gap: 6px; |
| 148 |
line-height: 1.45; |
| 149 |
margin: 15px 0 0; |
| 150 |
padding: 15px 15px; |
| 151 |
} |
| 152 |
|
| 153 |
.wpbc_ag_buffer_preview_note[hidden] { |
| 154 |
display: none; |
| 155 |
} |
| 156 |
|
| 157 |
.wpbc_ag_buffer_preview_note strong { |
| 158 |
color: #1d2327; |
| 159 |
} |
| 160 |
|
| 161 |
.wpbc_ag_calendar_panel .bk_calendar_frame { |
| 162 |
max-width: 100%; |
| 163 |
width: 100%; |
| 164 |
} |
| 165 |
|
| 166 |
.wpbc_ag_weekday_grid { |
| 167 |
display: grid; |
| 168 |
gap: 8px; |
| 169 |
grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 170 |
} |
| 171 |
|
| 172 |
.wpbc_ag_switch { |
| 173 |
align-items: center; |
| 174 |
background: var(--wpbc-ts-bg, #fff); |
| 175 |
box-sizing: border-box; |
| 176 |
cursor: pointer; |
| 177 |
display: flex; |
| 178 |
gap: 8px; |
| 179 |
min-height: 36px; |
| 180 |
padding: 6px 0; |
| 181 |
flex: 0 1 auto; |
| 182 |
min-width: 70px; |
| 183 |
} |
| 184 |
|
| 185 |
.wpbc_ag_switch input { |
| 186 |
height: 1px; |
| 187 |
margin: 0; |
| 188 |
opacity: 0; |
| 189 |
position: absolute; |
| 190 |
width: 1px; |
| 191 |
} |
| 192 |
|
| 193 |
.wpbc_ag_switch_control { |
| 194 |
background: #c3c4c7; |
| 195 |
border-radius: 10px; |
| 196 |
box-sizing: border-box; |
| 197 |
display: inline-flex; |
| 198 |
flex: 0 0 auto; |
| 199 |
height: 18px; |
| 200 |
padding: 2px; |
| 201 |
transition: background 0.16s ease-in-out; |
| 202 |
width: 34px; |
| 203 |
} |
| 204 |
|
| 205 |
.wpbc_ag_switch_knob { |
| 206 |
background: #fff; |
| 207 |
border-radius: 50%; |
| 208 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22); |
| 209 |
display: block; |
| 210 |
height: 14px; |
| 211 |
transform: translateX(0); |
| 212 |
transition: transform 0.16s ease-in-out; |
| 213 |
width: 14px; |
| 214 |
} |
| 215 |
|
| 216 |
.wpbc_ag_switch input:checked + .wpbc_ag_switch_control { |
| 217 |
background: #2271b1; |
| 218 |
} |
| 219 |
|
| 220 |
.wpbc_ag_switch input:checked + .wpbc_ag_switch_control .wpbc_ag_switch_knob { |
| 221 |
transform: translateX(16px); |
| 222 |
} |
| 223 |
|
| 224 |
.wpbc_ag_switch input:focus-visible + .wpbc_ag_switch_control { |
| 225 |
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1; |
| 226 |
} |
| 227 |
|
| 228 |
.wpbc_ag_switch_label { |
| 229 |
color: var(--wpbc-ts-text, #1d2327); |
| 230 |
font-size: 13px; |
| 231 |
line-height: 1.25; |
| 232 |
overflow-wrap: anywhere; |
| 233 |
} |
| 234 |
|
| 235 |
.wpbc_ag_toggle { |
| 236 |
align-items: center; |
| 237 |
background: var(--wpbc-ts-bg, #fff); |
| 238 |
border: 1px solid var(--wpbc-ts-border, #dcdcde); |
| 239 |
box-sizing: border-box; |
| 240 |
display: flex; |
| 241 |
gap: 8px; |
| 242 |
min-height: 34px; |
| 243 |
padding: 6px 8px; |
| 244 |
} |
| 245 |
|
| 246 |
.wpbc_ag_toggle_full { |
| 247 |
margin: 10px 0; |
| 248 |
width: 100%; |
| 249 |
} |
| 250 |
|
| 251 |
.wpbc_ag_toggle input { |
| 252 |
margin: 0; |
| 253 |
} |
| 254 |
|
| 255 |
.wpbc_ag_toggle span { |
| 256 |
color: var(--wpbc-ts-text, #1d2327); |
| 257 |
font-size: 13px; |
| 258 |
line-height: 1.25; |
| 259 |
overflow-wrap: anywhere; |
| 260 |
} |
| 261 |
|
| 262 |
.wpbc_ag_description { |
| 263 |
color: var(--wpbc-ts-muted, #646970); |
| 264 |
font-size: 12px; |
| 265 |
line-height: 1.45; |
| 266 |
margin: 10px 0 0; |
| 267 |
} |
| 268 |
|
| 269 |
.wpbc_ag_field_row { |
| 270 |
display: grid; |
| 271 |
gap: 6px; |
| 272 |
margin: 0 0 12px; |
| 273 |
} |
| 274 |
|
| 275 |
.wpbc_ag_field_label { |
| 276 |
color: var(--wpbc-ts-text, #1d2327); |
| 277 |
font-size: 12px; |
| 278 |
font-weight: 600; |
| 279 |
line-height: 1.35; |
| 280 |
} |
| 281 |
|
| 282 |
.wpbc_ag_field_control { |
| 283 |
box-sizing: border-box; |
| 284 |
min-height: 32px; |
| 285 |
width: 100%; |
| 286 |
} |
| 287 |
|
| 288 |
.wpbc_ag_stepper_control { |
| 289 |
align-items: center; |
| 290 |
display: grid; |
| 291 |
gap: 6px; |
| 292 |
grid-template-columns: 32px minmax(0, 1fr) 32px; |
| 293 |
width: 100%; |
| 294 |
} |
| 295 |
|
| 296 |
.wpbc_ag_stepper_control .wpbc_ag_field_control { |
| 297 |
min-width: 0; |
| 298 |
} |
| 299 |
|
| 300 |
.wpbc_ag_stepper_button.button { |
| 301 |
align-items: center; |
| 302 |
display: inline-flex; |
| 303 |
justify-content: center; |
| 304 |
min-height: 32px; |
| 305 |
min-width: 32px; |
| 306 |
padding: 0; |
| 307 |
} |
| 308 |
|
| 309 |
.wpbc_ag_stepper_button .wpbc_icn_keyboard_arrow_left::before, |
| 310 |
.wpbc_ag_stepper_button .wpbc_icn_keyboard_arrow_right::before { |
| 311 |
font-size: 20px; |
| 312 |
} |
| 313 |
|
| 314 |
.wpbc_ag_range_control { |
| 315 |
display: grid; |
| 316 |
gap: 6px; |
| 317 |
margin-top: 8px; |
| 318 |
} |
| 319 |
|
| 320 |
.wpbc_ag_range_control input[type="range"] { |
| 321 |
margin: 0; |
| 322 |
width: 100%; |
| 323 |
} |
| 324 |
|
| 325 |
.wpbc_ag_range_value { |
| 326 |
color: #50575e; |
| 327 |
font-size: 11px; |
| 328 |
font-weight: 600; |
| 329 |
line-height: 1.35; |
| 330 |
} |
| 331 |
|
| 332 |
.wpbc_ag_hint { |
| 333 |
background: #f9f2f4; |
| 334 |
border-radius: 2px; |
| 335 |
box-sizing: border-box; |
| 336 |
color: #626262; |
| 337 |
display: block; |
| 338 |
font-size: 10px; |
| 339 |
font-weight: 600; |
| 340 |
line-height: 1.45; |
| 341 |
padding: 4px 6px; |
| 342 |
white-space: normal; |
| 343 |
} |
| 344 |
|
| 345 |
.wpbc_ag_hint_unavailable { |
| 346 |
color: #cc3a5f; |
| 347 |
text-transform: uppercase; |
| 348 |
} |
| 349 |
|
| 350 |
.wpbc_ag_hint_available { |
| 351 |
color: #3f8f27; |
| 352 |
text-transform: uppercase; |
| 353 |
} |
| 354 |
|
| 355 |
.wpbc_ag_radio_stack { |
| 356 |
display: grid; |
| 357 |
gap: 8px; |
| 358 |
margin-bottom: 12px; |
| 359 |
} |
| 360 |
|
| 361 |
.wpbc_ag_radio_stack label { |
| 362 |
align-items: center; |
| 363 |
display: flex; |
| 364 |
gap: 8px; |
| 365 |
line-height: 1.35; |
| 366 |
} |
| 367 |
|
| 368 |
.wpbc_ag_is_locked { |
| 369 |
opacity: 0.68; |
| 370 |
} |
| 371 |
|
| 372 |
.wpbc_ag_upgrade_required { |
| 373 |
align-items: flex-start; |
| 374 |
background: var(--wpbc-ts-bg-soft, #f6f7f7); |
| 375 |
border: 1px solid var(--wpbc-ts-border, #dcdcde); |
| 376 |
border-radius: var(--wpbc-ts-radius, 6px); |
| 377 |
box-sizing: border-box; |
| 378 |
color: #50575e; |
| 379 |
display: flex; |
| 380 |
flex-flow: row wrap; |
| 381 |
font-size: 12px; |
| 382 |
gap: 8px; |
| 383 |
line-height: 1.45; |
| 384 |
margin: 0 0 12px; |
| 385 |
padding: 10px; |
| 386 |
} |
| 387 |
|
| 388 |
.wpbc_ag_upgrade_required .wpbc_pro_label { |
| 389 |
flex: 0 0 auto; |
| 390 |
} |
| 391 |
|
| 392 |
.wpbc_ag_buffer_fields { |
| 393 |
background: var(--wpbc-ts-bg-soft, #f6f7f7); |
| 394 |
border: 1px solid var(--wpbc-ts-border, #dcdcde); |
| 395 |
border-radius: var(--wpbc-ts-radius, 6px); |
| 396 |
display: none; |
| 397 |
margin: 10px 0 0; |
| 398 |
padding: 10px; |
| 399 |
} |
| 400 |
|
| 401 |
.wpbc_ag_buffer_fields.is-visible { |
| 402 |
display: block; |
| 403 |
} |
| 404 |
|
| 405 |
.wpbc_ag_future_notice, |
| 406 |
.wpbc_ag_notice, |
| 407 |
.wpbc_ag_scope_card { |
| 408 |
background: var(--wpbc-ts-bg, #fff); |
| 409 |
border: 1px solid var(--wpbc-ts-border, #dcdcde); |
| 410 |
border-radius: var(--wpbc-ts-radius, 6px); |
| 411 |
box-sizing: border-box; |
| 412 |
color: #3c434a; |
| 413 |
line-height: 1.45; |
| 414 |
padding: 10px; |
| 415 |
} |
| 416 |
|
| 417 |
.wpbc_ag_notice { |
| 418 |
border-left: 4px solid #dba617; |
| 419 |
margin: 0 0 12px; |
| 420 |
} |
| 421 |
|
| 422 |
.wpbc_ag_working_time_block { |
| 423 |
/*background: var(--wpbc-ts-bg-soft, #f6f7f7);*/ |
| 424 |
/*border: 1px solid var(--wpbc-ts-border, #dcdcde);*/ |
| 425 |
border-radius: var(--wpbc-ts-radius, 6px); |
| 426 |
margin: 10px 0 0; |
| 427 |
/*padding: 10px;*/ |
| 428 |
} |
| 429 |
|
| 430 |
.wpbc_ag_working_time_block.is-disabled { |
| 431 |
opacity: 0.58; |
| 432 |
} |
| 433 |
|
| 434 |
.wpbc_ag_working_time_block.is-disabled .wpbc_ag_description { |
| 435 |
color: #8c8f94; |
| 436 |
} |
| 437 |
|
| 438 |
.wpbc_ag_working_time_block h4 { |
| 439 |
margin: 0 0 10px; |
| 440 |
} |
| 441 |
|
| 442 |
.wpbc_ag_working_time_notice { |
| 443 |
border-left-color: #5459ac; |
| 444 |
} |
| 445 |
|
| 446 |
.wpbc_ag_working_time_rows { |
| 447 |
display: grid; |
| 448 |
gap: 8px; |
| 449 |
} |
| 450 |
|
| 451 |
.wpbc_ag_working_time_row { |
| 452 |
align-items: center; |
| 453 |
display: flex; |
| 454 |
gap: 8px; |
| 455 |
flex-flow: row wrap; |
| 456 |
} |
| 457 |
|
| 458 |
.wpbc_ag_working_time_day { |
| 459 |
margin: 0; |
| 460 |
} |
| 461 |
|
| 462 |
.wpbc_ag_working_time_times { |
| 463 |
align-items: center; |
| 464 |
display: inline-flex; |
| 465 |
gap: 6px; |
| 466 |
flex: 1 1 auto; |
| 467 |
} |
| 468 |
|
| 469 |
.wpbc_ag_working_time_times .wpbc_ag_field_control { |
| 470 |
min-width: 84px; |
| 471 |
} |
| 472 |
|
| 473 |
.wpbc_ag_working_time_custom { |
| 474 |
display: none; |
| 475 |
margin-top: 10px; |
| 476 |
} |
| 477 |
|
| 478 |
.wpbc_ag_working_time_custom.is-visible { |
| 479 |
display: block; |
| 480 |
} |
| 481 |
|
| 482 |
.wpbc_ag_scope_title { |
| 483 |
color: #1d2327; |
| 484 |
font-weight: 600; |
| 485 |
margin-bottom: 4px; |
| 486 |
} |
| 487 |
|
| 488 |
.wpbc_ag_scope_card p { |
| 489 |
margin: 0; |
| 490 |
} |
| 491 |
|
| 492 |
.wpbc_ag__top_toolbar_group .button, |
| 493 |
.wpbc_ag__top_toolbar_group .wpbc_ui_control { |
| 494 |
align-items: center; |
| 495 |
display: inline-flex; |
| 496 |
gap: 6px; |
| 497 |
} |
| 498 |
|
| 499 |
.wpbc_ag_is_saving { |
| 500 |
pointer-events: none; |
| 501 |
} |
| 502 |
|
| 503 |
.wpbc_ag_preview_unavailable { |
| 504 |
opacity: 0.62; |
| 505 |
} |
| 506 |
|
| 507 |
.wpbc_ag_preview_unavailable a { |
| 508 |
text-decoration: line-through; |
| 509 |
} |
| 510 |
|
| 511 |
.wpbc_ag_preview_buffer_unavailable { |
| 512 |
box-shadow: inset 0 0 0 2px rgba(219, 166, 23, 0.38); |
| 513 |
} |
| 514 |
|
| 515 |
@media (max-width: 960px) { |
| 516 |
.wpbc_ag_preview_controls { |
| 517 |
justify-content: flex-start; |
| 518 |
} |
| 519 |
|
| 520 |
.wpbc_ag_toolbar_actions { |
| 521 |
margin-left: 0; |
| 522 |
} |
| 523 |
} |
| 524 |
|
| 525 |
@media (max-width: 540px) { |
| 526 |
.wpbc_ag_preview_controls { |
| 527 |
display: grid; |
| 528 |
} |
| 529 |
|
| 530 |
.wpbc_ag_preview_controls select, |
| 531 |
.wpbc_ag_preview_controls .button { |
| 532 |
width: 100%; |
| 533 |
} |
| 534 |
|
| 535 |
.wpbc_ag_weekday_grid { |
| 536 |
grid-template-columns: 1fr; |
| 537 |
} |
| 538 |
|
| 539 |
.wpbc_ag_working_time_row { |
| 540 |
grid-template-columns: 1fr; |
| 541 |
} |
| 542 |
|
| 543 |
.wpbc_ag_working_time_times { |
| 544 |
width: 100%; |
| 545 |
} |
| 546 |
|
| 547 |
.wpbc_ag_working_time_times .wpbc_ag_field_control { |
| 548 |
flex: 1 1 auto; |
| 549 |
min-width: 0; |
| 550 |
} |
| 551 |
|
| 552 |
} |
| 553 |
|