← All changes
|
includes/page-appointment-services/_src/appointment_services_page.css
+525
-215
11.5
→
11.9
View file →
| @@ -1,5 +1,12 @@ | ||
| 1 | +.wpbc_ui_el__vert_right_bar__wrapper_opened .wpbc_appointment_services_page { | |
| 2 | + opacity: 20%; | |
| 3 | +} | |
| 4 | +.wpbc_admin .wpbc_ui_el__vert_right_bar__wrapper { | |
| 5 | + --wpbc_ui_left_vert_nav__width_max: Min(490px, 100%); | |
| 6 | +} | |
| 1 | 7 | .wpbc_appointment_services_page { |
| 8 | + min-width: 0; | |
| 2 | 9 | padding: 20px; |
| 3 | 10 | } |
| 4 | 11 | .wpbc_appointment_services__filters { |
| 5 | 12 | display: flex; |
| @@ -102,13 +109,75 @@ | ||
| 102 | 109 | top: 5px; |
| 103 | 110 | } |
| 104 | 111 | .wpbc_appointment_services__search input { |
| 105 | 112 | padding-left: 38px; |
| 113 | + padding-right: 38px; | |
| 106 | 114 | } |
| 115 | +.wpbc_appointment_services__search input[type="search"]::-webkit-search-cancel-button { | |
| 116 | + -webkit-appearance: none; | |
| 117 | + appearance: none; | |
| 118 | +} | |
| 119 | +.wpbc_appointment_services__search_clear { | |
| 120 | + align-items: center; | |
| 121 | + background: transparent; | |
| 122 | + border: 0; | |
| 123 | + border-radius: 50%; | |
| 124 | + color: #646970; | |
| 125 | + cursor: pointer; | |
| 126 | + display: inline-flex; | |
| 127 | + height: 28px; | |
| 128 | + justify-content: center; | |
| 129 | + padding: 0; | |
| 130 | + position: absolute; | |
| 131 | + right: 5px; | |
| 132 | + top: 50%; | |
| 133 | + transform: translateY(-50%); | |
| 134 | + width: 28px; | |
| 135 | +} | |
| 136 | +.wpbc_appointment_services__search_clear > span { | |
| 137 | + line-height: 1; | |
| 138 | +} | |
| 139 | +.wpbc_appointment_services__search_clear[hidden] { | |
| 140 | + display: none; | |
| 141 | +} | |
| 142 | +.wpbc_appointment_services__search_clear:hover, | |
| 143 | +.wpbc_appointment_services__search_clear:focus-visible { | |
| 144 | + background: #f0f6fc; | |
| 145 | + color: var(--wpbc_admin-theme-color, #2271b1); | |
| 146 | + outline: 2px solid var(--wpbc_admin-theme-color, #2271b1); | |
| 147 | + outline-offset: -2px; | |
| 148 | +} | |
| 149 | +body.rtl .wpbc_appointment_services__search > span { | |
| 150 | + left: auto; | |
| 151 | + right: 10px; | |
| 152 | +} | |
| 153 | +body.rtl .wpbc_appointment_services__search input { | |
| 154 | + padding-left: 38px; | |
| 155 | + padding-right: 38px; | |
| 156 | +} | |
| 157 | +body.rtl .wpbc_appointment_services__search_clear { | |
| 158 | + left: 5px; | |
| 159 | + right: auto; | |
| 160 | +} | |
| 161 | +body.rtl .wpbc_appointment_services__status_filter { | |
| 162 | + border-left-width: 1px; | |
| 163 | + border-right-width: 0; | |
| 164 | +} | |
| 165 | +body.rtl .wpbc_appointment_services__status_filter:first-child { | |
| 166 | + border-radius: 0 4px 4px 0; | |
| 167 | + border-right-width: 1px; | |
| 168 | +} | |
| 169 | +body.rtl .wpbc_appointment_services__status_filter:nth-of-type(4) { | |
| 170 | + border-radius: 4px 0 0 4px; | |
| 171 | +} | |
| 107 | 172 | .wpbc_appointment_services__content { |
| 108 | 173 | min-height: 360px; |
| 109 | 174 | position: relative; |
| 110 | 175 | } |
| 176 | +.wpbc_appointment_services__catalog_content { | |
| 177 | + min-height: 160px; | |
| 178 | + position: relative; | |
| 179 | +} | |
| 111 | 180 | .wpbc_appointment_services__loading { |
| 112 | 181 | align-items: center; |
| 113 | 182 | background: rgba(255, 255, 255, .8); |
| 114 | 183 | border-radius: 4px; |
| @@ -124,62 +193,40 @@ | ||
| 124 | 193 | .wpbc_appointment_services__loading.is-visible { |
| 125 | 194 | opacity: 1; |
| 126 | 195 | pointer-events: auto; |
| 127 | 196 | } |
| 128 | -.wpbc_appointment_services__list { | |
| 129 | - background: #fff; | |
| 130 | - border: 1px solid #dcdcde; | |
| 131 | - border-radius: 4px; | |
| 132 | - overflow: hidden; | |
| 197 | +.wpbc_appointment_services__table .column-service { | |
| 198 | + --wpbc-listing-column-min-width: 280px; | |
| 199 | + --wpbc-listing-column-width: auto; | |
| 200 | + width: auto; | |
| 133 | 201 | } |
| 134 | -.wpbc_appointment_services__table_wrap { | |
| 135 | - overflow-x: auto; | |
| 136 | - overflow-y: hidden; | |
| 137 | - overscroll-behavior-inline: contain; | |
| 138 | - scrollbar-width: thin; | |
| 139 | - -webkit-overflow-scrolling: touch; | |
| 202 | + | |
| 203 | +.wpbc_appointment_services__table .column-selection { | |
| 204 | + --wpbc-listing-column-min-width: 45px; | |
| 205 | + width: var(--wpbc-listing-column-min-width); | |
| 140 | 206 | } |
| 141 | -.wpbc_appointment_services__table { | |
| 142 | - border-collapse: collapse; | |
| 143 | - color: #2c3338; | |
| 144 | - min-width: 920px; | |
| 145 | - table-layout: fixed; | |
| 146 | - width: 100%; | |
| 147 | -} | |
| 148 | -.wpbc_appointment_services__table th, | |
| 149 | -.wpbc_appointment_services__table td { | |
| 150 | - border-bottom: 1px solid #e5e5e5; | |
| 151 | - box-sizing: border-box; | |
| 152 | - padding: 13px 12px; | |
| 153 | - text-align: left; | |
| 154 | - vertical-align: middle; | |
| 155 | -} | |
| 156 | -.wpbc_appointment_services__table th { | |
| 157 | - background: #fafafb; | |
| 158 | - color: #50575e; | |
| 159 | - font-size: 14px; | |
| 160 | - font-weight: 600; | |
| 161 | - height: 58px; | |
| 162 | -} | |
| 163 | -.wpbc_appointment_services__table .column-service { | |
| 164 | - width: 29%; | |
| 165 | -} | |
| 166 | 207 | .wpbc_appointment_services__table .column-duration { |
| 167 | - width: 120px; | |
| 208 | + --wpbc-listing-column-min-width: 120px; | |
| 209 | + width: var(--wpbc-listing-column-min-width); | |
| 168 | 210 | } |
| 169 | 211 | .wpbc_appointment_services__table .column-price { |
| 170 | - width: 80px; | |
| 212 | + --wpbc-listing-column-min-width: 115px; | |
| 213 | + width: var(--wpbc-listing-column-min-width); | |
| 171 | 214 | } |
| 172 | 215 | .wpbc_appointment_services__table .column-providers { |
| 173 | - width: 125px; | |
| 216 | + --wpbc-listing-column-min-width: 125px; | |
| 217 | + width: var(--wpbc-listing-column-min-width); | |
| 174 | 218 | } |
| 175 | 219 | .wpbc_appointment_services__table .column-status { |
| 176 | - width: 125px; | |
| 220 | + --wpbc-listing-column-min-width: 150px; | |
| 221 | + width: var(--wpbc-listing-column-min-width); | |
| 177 | 222 | } |
| 178 | 223 | .wpbc_appointment_services__table .column-actions { |
| 179 | - width: 70px; | |
| 224 | + --wpbc-listing-column-min-width: 70px; | |
| 225 | + width: var(--wpbc-listing-column-min-width); | |
| 180 | 226 | } |
| 181 | 227 | .wpbc_appointment_services__table thead .column-weekdays { |
| 228 | + --wpbc-listing-column-min-width: 155px; | |
| 182 | 229 | padding: 8px 4px 6px; |
| 183 | 230 | text-align: center; |
| 184 | 231 | width: 155px; |
| 185 | 232 | } |
| @@ -185,10 +232,10 @@ | ||
| 185 | 232 | } |
| 186 | 233 | .wpbc_appointment_services__weekday_labels { |
| 187 | 234 | display: flex; |
| 188 | 235 | font-size: 9px; |
| 189 | - font-weight: 400; | |
| 190 | - gap: 6px; | |
| 236 | + font-weight: 400; | |
| 237 | + gap: 6px; | |
| 191 | 238 | margin: 4px auto 0; |
| 192 | 239 | padding: 0; |
| 193 | 240 | flex-flow: row nowrap; |
| 194 | 241 | align-items: center; |
| @@ -196,9 +243,15 @@ | ||
| 196 | 243 | } |
| 197 | 244 | .wpbc_appointment_services__weekday_labels i { |
| 198 | 245 | font-style: normal; |
| 199 | 246 | } |
| 200 | -.wpbc_appointment_services__status_header, | |
| 247 | +.wpbc_appointment_services__status_header { | |
| 248 | + align-items: center; | |
| 249 | + display: flex; | |
| 250 | + flex-flow: row wrap; | |
| 251 | + gap: 2px; | |
| 252 | + width: 100%; | |
| 253 | +} | |
| 201 | 254 | .wpbc_appointment_services__status_identity { |
| 202 | 255 | align-items: center; |
| 203 | 256 | display: flex; |
| 204 | 257 | flex-flow: row wrap; |
| @@ -205,15 +258,8 @@ | ||
| 205 | 258 | gap: 2px; |
| 206 | 259 | justify-content: center; |
| 207 | 260 | width: 100%; |
| 208 | 261 | } |
| 209 | -.wpbc_appointment_services__status_header .wpbc_ui_listing__sort_link { | |
| 210 | - padding-left: 0; | |
| 211 | - padding-right: 0; | |
| 212 | -} | |
| 213 | -.wpbc_appointment_services__id_sort { | |
| 214 | - font-size: 12px; | |
| 215 | -} | |
| 216 | 262 | .wpbc_appointment_services__table tbody .column-weekdays { |
| 217 | 263 | padding-left: 4px; |
| 218 | 264 | padding-right: 4px; |
| 219 | 265 | text-align: center; |
| @@ -218,24 +264,19 @@ | ||
| 218 | 264 | padding-right: 4px; |
| 219 | 265 | text-align: center; |
| 220 | 266 | } |
| 221 | 267 | .wpbc_appointment_services__item { |
| 222 | - background: #fff; | |
| 223 | 268 | cursor: pointer; |
| 224 | - transition: background-color .12s ease-in-out; | |
| 225 | 269 | } |
| 226 | 270 | .wpbc_appointment_services__item:hover, |
| 227 | -.wpbc_appointment_services__item:focus { | |
| 228 | - background: #f0f6fc; | |
| 229 | - outline: none; | |
| 271 | +.wpbc_appointment_services__item:focus-visible { | |
| 272 | + background: #f6f7f7; | |
| 273 | + outline: 2px solid transparent; | |
| 230 | 274 | } |
| 231 | 275 | .wpbc_appointment_services__item.is-selected { |
| 232 | 276 | background: #f0f6fc; |
| 233 | - box-shadow: inset 3px 0 var(--wpbc_admin-theme-color, #2271b1); | |
| 277 | + box-shadow: inset 3px 0 0 var(--wpbc_admin-theme-color, #2271b1); | |
| 234 | 278 | } |
| 235 | -.wpbc_appointment_services__item:last-child td { | |
| 236 | - border-bottom: 0; | |
| 237 | -} | |
| 238 | 279 | .wpbc_appointment_services__service_identity { |
| 239 | 280 | align-items: center; |
| 240 | 281 | display: flex; |
| 241 | 282 | gap: 10px; |
| @@ -243,8 +284,10 @@ | ||
| 243 | 284 | } |
| 244 | 285 | .wpbc_appointment_services__service_thumbnail { |
| 245 | 286 | align-items: center; |
| 246 | 287 | background: #f0f0f1; |
| 288 | + border: 2px solid #fff; | |
| 289 | + border-radius: 50%; | |
| 247 | 290 | box-sizing: border-box; |
| 248 | 291 | color: #8c8f94; |
| 249 | 292 | display: inline-flex; |
| 250 | 293 | flex: 0 0 40px; |
| @@ -249,16 +292,16 @@ | ||
| 249 | 292 | display: inline-flex; |
| 250 | 293 | flex: 0 0 40px; |
| 251 | 294 | height: 40px; |
| 252 | 295 | justify-content: center; |
| 296 | + outline: #d4d4d7 solid 1px; | |
| 253 | 297 | overflow: hidden; |
| 254 | 298 | width: 40px; |
| 255 | - border: 2px solid #fff; | |
| 256 | - border-radius: 50%; | |
| 257 | - outline: 1px solid #d4d4d7; | |
| 258 | 299 | } |
| 259 | 300 | .wpbc_appointment_services__service_thumbnail img { |
| 301 | + display: block; | |
| 260 | 302 | height: 100%; |
| 303 | + max-width: none; | |
| 261 | 304 | object-fit: cover; |
| 262 | 305 | width: 100%; |
| 263 | 306 | } |
| 264 | 307 | .wpbc_appointment_services__service_thumbnail:focus-visible { |
| @@ -266,23 +309,35 @@ | ||
| 266 | 309 | outline-offset: 2px; |
| 267 | 310 | } |
| 268 | 311 | .wpbc_appointment_services__service_copy { |
| 269 | 312 | display: block; |
| 313 | + flex: 1 1 auto; | |
| 314 | + max-width: 100%; | |
| 270 | 315 | min-width: 0; |
| 316 | + overflow: hidden; | |
| 271 | 317 | } |
| 272 | -.wpbc_appointment_services__item .wpbc_appointment_services__service_copy strong, | |
| 273 | -.wpbc_appointment_services__item .wpbc_appointment_services__service_copy > span { | |
| 318 | +.wpbc_appointment_services__inline_identity_fields { | |
| 319 | + display: flex; | |
| 320 | + flex: 1 1 auto; | |
| 321 | + flex-direction: column; | |
| 322 | + gap: 6px; | |
| 323 | + min-width: 0; | |
| 324 | +} | |
| 325 | +.wpbc_appointment_services__service_copy > .wpbc_ui_listing__item_title, | |
| 326 | +.wpbc_appointment_services__service_copy > .wpbc_ui_listing__item_description { | |
| 274 | 327 | display: block; |
| 328 | + max-width: 100%; | |
| 329 | + min-width: 0; | |
| 275 | 330 | overflow: hidden; |
| 276 | 331 | text-overflow: ellipsis; |
| 277 | 332 | white-space: nowrap; |
| 278 | 333 | } |
| 279 | -.wpbc_appointment_services__item .wpbc_appointment_services__service_copy strong { | |
| 334 | +.wpbc_appointment_services__item .wpbc_appointment_services__service_copy > .wpbc_ui_listing__item_title { | |
| 280 | 335 | color: #1d2327; |
| 281 | 336 | font-size: 14px; |
| 282 | 337 | margin-bottom: 4px; |
| 283 | 338 | } |
| 284 | -.wpbc_appointment_services__item .wpbc_appointment_services__service_copy > span { | |
| 339 | +.wpbc_appointment_services__item .wpbc_appointment_services__service_copy > .wpbc_ui_listing__item_description { | |
| 285 | 340 | color: #646970; |
| 286 | 341 | font-size: 11px; |
| 287 | 342 | } |
| 288 | 343 | .wpbc_appointment_services__item .column-duration, |
| @@ -462,40 +517,8 @@ | ||
| 462 | 517 | .wpbc_appointment_services__item .column-actions button:focus { |
| 463 | 518 | color: var(--wpbc_admin-theme-color, #2271b1); |
| 464 | 519 | outline: none; |
| 465 | 520 | } |
| 466 | -.wpbc_appointment_services__list_footer { | |
| 467 | - align-items: center; | |
| 468 | - background: #fafafb; | |
| 469 | - border-top: 1px solid #dcdcde; | |
| 470 | - color: #646970; | |
| 471 | - display: flex; | |
| 472 | - font-size: 12px; | |
| 473 | - justify-content: space-between; | |
| 474 | - min-height: 48px; | |
| 475 | - padding: 6px 12px; | |
| 476 | -} | |
| 477 | -.wpbc_appointment_services__list_footer[hidden] { | |
| 478 | - display: none; | |
| 479 | -} | |
| 480 | -.wpbc_appointment_services__pagination { | |
| 481 | - align-items: center; | |
| 482 | - display: flex; | |
| 483 | - gap: 8px; | |
| 484 | -} | |
| 485 | -.wpbc_appointment_services__pagination .button { | |
| 486 | - align-items: center; | |
| 487 | - display: inline-flex; | |
| 488 | - height: 30px; | |
| 489 | - justify-content: center; | |
| 490 | - min-height: 30px; | |
| 491 | - padding: 0; | |
| 492 | - width: 32px; | |
| 493 | -} | |
| 494 | -.wpbc_appointment_services__page_label { | |
| 495 | - min-width: 82px; | |
| 496 | - text-align: center; | |
| 497 | -} | |
| 498 | 521 | .wpbc_appointment_services__empty { |
| 499 | 522 | color: #646970; |
| 500 | 523 | display: flex; |
| 501 | 524 | flex-flow: row wrap; |
| @@ -525,8 +548,374 @@ | ||
| 525 | 548 | box-sizing: border-box; |
| 526 | 549 | min-height: 240px; |
| 527 | 550 | padding: 30px; |
| 528 | 551 | } |
| 552 | +.wpbc_appointment_services__empty--error > span { | |
| 553 | + color: #b32d2e; | |
| 554 | +} | |
| 555 | +.wpbc_appointment_services__table--compact td, | |
| 556 | +.wpbc_appointment_services__table--compact th { | |
| 557 | + padding-bottom: 8px; | |
| 558 | + padding-top: 8px; | |
| 559 | +} | |
| 560 | +.wpbc_appointment_services__table--compact .wpbc_appointment_services__service_thumbnail { | |
| 561 | + flex-basis: 36px; | |
| 562 | + height: 36px; | |
| 563 | + width: 36px; | |
| 564 | +} | |
| 565 | +.wpbc_appointment_services__table .column-selection, | |
| 566 | +.wpbc_appointment_services__table .wpbc_ui_listing__selection_column { | |
| 567 | + box-sizing: border-box; | |
| 568 | + min-width: 36px; | |
| 569 | + padding-left: 4px; | |
| 570 | + padding-right: 4px; | |
| 571 | + text-align: center; | |
| 572 | + width: 36px; | |
| 573 | +} | |
| 574 | + | |
| 575 | +.wpbc_appointment_services_page.is-inline-editing .wpbc_appointment_services__table .column-selection, | |
| 576 | +.wpbc_appointment_services_page.is-inline-editing .wpbc_appointment_services__table .wpbc_ui_listing__selection_column { | |
| 577 | + --wpbc-listing-column-min-width: 112px; | |
| 578 | + min-width: 112px; | |
| 579 | + width: 112px; | |
| 580 | +} | |
| 581 | +.wpbc_appointment_services__cards { | |
| 582 | + display: grid; | |
| 583 | + gap: 16px; | |
| 584 | + grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); | |
| 585 | + padding: 16px; | |
| 586 | +} | |
| 587 | +.wpbc_appointment_services__cards_header { | |
| 588 | + background: #fff; | |
| 589 | + border-block-end: 1px solid #dcdcde; | |
| 590 | + padding: 12px 16px; | |
| 591 | +} | |
| 592 | +.wpbc_appointment_services__cards_header_controls { | |
| 593 | + align-items: center; | |
| 594 | + display: flex; | |
| 595 | + flex-flow: row wrap; | |
| 596 | + gap: 12px; | |
| 597 | + justify-content: space-between; | |
| 598 | +} | |
| 599 | +.wpbc_appointment_services__cards_select_all { | |
| 600 | + align-items: center; | |
| 601 | + cursor: pointer; | |
| 602 | + display: inline-flex; | |
| 603 | + gap: 7px; | |
| 604 | + margin: 0; | |
| 605 | +} | |
| 606 | +.wpbc_appointment_services__cards_select_all input { | |
| 607 | + margin: 0; | |
| 608 | +} | |
| 609 | +.wpbc_appointment_services__cards_sort { | |
| 610 | + align-items: center; | |
| 611 | + display: flex; | |
| 612 | + flex-flow: row wrap; | |
| 613 | + gap: 8px; | |
| 614 | +} | |
| 615 | +.wpbc_appointment_services__cards_sort > span { | |
| 616 | + color: #646970; | |
| 617 | + font-size: 12px; | |
| 618 | +} | |
| 619 | +.wpbc_appointment_services__cards_sort a { | |
| 620 | + align-items: center; | |
| 621 | + border-radius: 3px; | |
| 622 | + display: inline-flex; | |
| 623 | + gap: 4px; | |
| 624 | + padding: 5px 7px; | |
| 625 | + text-decoration: none; | |
| 626 | +} | |
| 627 | +.wpbc_appointment_services__cards_sort a.is-active { | |
| 628 | + background: #f0f6fc; | |
| 629 | + font-weight: 600; | |
| 630 | +} | |
| 631 | +.wpbc_appointment_services__card { | |
| 632 | + background: #fff; | |
| 633 | + border: 1px solid #dcdcde; | |
| 634 | + border-radius: 5px; | |
| 635 | + box-shadow: 0 1px 2px rgba(0, 0, 0, .04); | |
| 636 | + box-sizing: border-box; | |
| 637 | + display: flex; | |
| 638 | + flex-direction: column; | |
| 639 | + min-height: 420px; | |
| 640 | + overflow: hidden; | |
| 641 | + padding: 0; | |
| 642 | + position: relative; | |
| 643 | +} | |
| 644 | +.wpbc_appointment_services__card:hover, | |
| 645 | +.wpbc_appointment_services__card:focus-visible { | |
| 646 | + border-color: var(--wpbc_admin-theme-color, #2271b1); | |
| 647 | + box-shadow: 0 0 0 1px var(--wpbc_admin-theme-color, #2271b1); | |
| 648 | +} | |
| 649 | +.wpbc_appointment_services__item.is-selected, | |
| 650 | +.wpbc_appointment_services__card.is-selected, | |
| 651 | +.wpbc_appointment_services__card.is-inspector-selected, | |
| 652 | +.wpbc_appointment_services__item.is-inspector-selected { | |
| 653 | + background: #f0f6fc; | |
| 654 | + border-color: var(--wpbc_admin-theme-color, #2271b1); | |
| 655 | + box-shadow: inset 3px 0 0 var(--wpbc_admin-theme-color, #2271b1); | |
| 656 | +} | |
| 657 | +body.rtl .wpbc_appointment_services__item.is-selected, | |
| 658 | +body.rtl .wpbc_appointment_services__card.is-selected, | |
| 659 | +body.rtl .wpbc_appointment_services__item.is-inspector-selected, | |
| 660 | +body.rtl .wpbc_appointment_services__card.is-inspector-selected { | |
| 661 | + box-shadow: inset -3px 0 0 var(--wpbc_admin-theme-color, #2271b1); | |
| 662 | +} | |
| 663 | +.wpbc_appointment_services__item.is-recently-saved { | |
| 664 | + animation: wpbc-appointment-service-saved-border 2.8s ease-out; | |
| 665 | +} | |
| 666 | +.wpbc_appointment_services__item.is-recently-saved > td { | |
| 667 | + animation: wpbc-appointment-service-saved-background 2.8s ease-out; | |
| 668 | +} | |
| 669 | +.wpbc_appointment_services__card.is-recently-saved { | |
| 670 | + animation: wpbc-appointment-service-saved-card 2.8s ease-out; | |
| 671 | +} | |
| 672 | +@keyframes wpbc-appointment-service-saved-border { | |
| 673 | + 0%, 45% { box-shadow: inset 3px 0 #00a32a; } | |
| 674 | + 100% { box-shadow: inset 3px 0 transparent; } | |
| 675 | +} | |
| 676 | +@keyframes wpbc-appointment-service-saved-background { | |
| 677 | + 0%, 45% { background: #edfaef; } | |
| 678 | + 100% { background: transparent; } | |
| 679 | +} | |
| 680 | +@keyframes wpbc-appointment-service-saved-card { | |
| 681 | + 0%, 45% { | |
| 682 | + background: #edfaef; | |
| 683 | + border-color: #00a32a; | |
| 684 | + box-shadow: inset 3px 0 #00a32a; | |
| 685 | + } | |
| 686 | + 100% { | |
| 687 | + background: #fff; | |
| 688 | + border-color: #dcdcde; | |
| 689 | + box-shadow: inset 3px 0 transparent; | |
| 690 | + } | |
| 691 | +} | |
| 692 | +.wpbc_appointment_services__card_media { | |
| 693 | + align-items: center; | |
| 694 | + background: #f0f0f1; | |
| 695 | + color: #8c8f94; | |
| 696 | + display: flex; | |
| 697 | + height: 170px; | |
| 698 | + justify-content: center; | |
| 699 | + overflow: hidden; | |
| 700 | + position: relative; | |
| 701 | +} | |
| 702 | +.wpbc_appointment_services__card_media > img { | |
| 703 | + display: block; | |
| 704 | + height: 100%; | |
| 705 | + max-width: none; | |
| 706 | + object-fit: cover; | |
| 707 | + width: 100%; | |
| 708 | +} | |
| 709 | +.wpbc_appointment_services__card_media.has-placeholder > span { | |
| 710 | + font-size: 44px; | |
| 711 | +} | |
| 712 | +.wpbc_appointment_services__card_select { | |
| 713 | + align-items: center; | |
| 714 | + background: rgba(255, 255, 255, .82); | |
| 715 | + border-radius: 50%; | |
| 716 | + display: flex; | |
| 717 | + height: 42px; | |
| 718 | + justify-content: center; | |
| 719 | + left: 14px; | |
| 720 | + position: absolute; | |
| 721 | + top: 14px; | |
| 722 | + width: 42px; | |
| 723 | + z-index: 2; | |
| 724 | +} | |
| 725 | +.wpbc_appointment_services__card_select input[type="checkbox"] { | |
| 726 | + margin: 0; | |
| 727 | +} | |
| 728 | +body.rtl .wpbc_appointment_services__card_select { | |
| 729 | + left: auto; | |
| 730 | + right: 14px; | |
| 731 | +} | |
| 732 | +.wpbc_appointment_services__card_identity { | |
| 733 | + border-bottom: 1px solid #f0f0f1; | |
| 734 | + margin: 0 16px 12px; | |
| 735 | + padding: 12px 0; | |
| 736 | +} | |
| 737 | +.wpbc_appointment_services__card_identity .wpbc_appointment_services__service_thumbnail { | |
| 738 | + margin-top: -34px; | |
| 739 | + position: relative; | |
| 740 | + z-index: 1; | |
| 741 | +} | |
| 742 | +.wpbc_appointment_services__card_fields { | |
| 743 | + display: grid; | |
| 744 | + gap: 10px; | |
| 745 | + grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| 746 | + padding: 0 16px 16px; | |
| 747 | +} | |
| 748 | +.wpbc_appointment_services__card_field { | |
| 749 | + border: 1px solid #f0f0f1; | |
| 750 | + border-radius: 4px; | |
| 751 | + box-sizing: border-box; | |
| 752 | + min-width: 0; | |
| 753 | + padding: 10px; | |
| 754 | +} | |
| 755 | +.wpbc_appointment_services__card_field > span { | |
| 756 | + color: #646970; | |
| 757 | + display: block; | |
| 758 | + font-size: 11px; | |
| 759 | + margin-bottom: 7px; | |
| 760 | +} | |
| 761 | +.wpbc_appointment_services__card_actions { | |
| 762 | + border-top: 1px solid #f0f0f1; | |
| 763 | + margin: auto 0 0; | |
| 764 | + padding: 12px 16px; | |
| 765 | + text-align: right; | |
| 766 | +} | |
| 767 | +body.rtl .wpbc_appointment_services__card_actions { | |
| 768 | + text-align: left; | |
| 769 | +} | |
| 770 | +.wpbc_appointment_services__card .wpbc_appointment_services__availability_week { | |
| 771 | + min-width: Min( 130px, 100% ); | |
| 772 | +} | |
| 773 | +.wpbc_appointment_services__inline_input, | |
| 774 | +.wpbc_appointment_services__inline_number, | |
| 775 | +.wpbc_appointment_services__inline_textarea { | |
| 776 | + box-sizing: border-box; | |
| 777 | + margin: 0 !important; | |
| 778 | + max-width: 100%; | |
| 779 | + width: 100%; | |
| 780 | +} | |
| 781 | +.wpbc_appointment_services__inline_field { | |
| 782 | + display: block; | |
| 783 | + min-width: 0; | |
| 784 | + width: 100%; | |
| 785 | +} | |
| 786 | +.wpbc_appointment_services__inline_identity_fields .wpbc_appointment_services__inline_field + .wpbc_appointment_services__inline_field { | |
| 787 | + margin-top: 6px; | |
| 788 | +} | |
| 789 | +.wpbc_appointment_services__inline_input { | |
| 790 | + font-weight: 600; | |
| 791 | +} | |
| 792 | +.wpbc_appointment_services__inline_textarea { | |
| 793 | + min-height: 68px; | |
| 794 | + resize: vertical; | |
| 795 | +} | |
| 796 | +.wpbc_appointment_services__inline_number { | |
| 797 | + min-width: 82px; | |
| 798 | +} | |
| 799 | +.wpbc_appointment_services_page.is-inline-editing .wpbc_appointment_services__selection_summary:not(.wpbc_appointment_services__inline_bar) { | |
| 800 | + display: none !important; | |
| 801 | +} | |
| 802 | +.wpbc_appointment_services_page.is-inline-editing .wpbc_appointment_services__item { | |
| 803 | + cursor: default; | |
| 804 | +} | |
| 805 | +.wpbc_appointment_services__inline_bar_status { | |
| 806 | + align-items: baseline; | |
| 807 | + display: flex; | |
| 808 | + flex: 1 1 420px; | |
| 809 | + flex-flow: row wrap; | |
| 810 | + gap: 5px 12px; | |
| 811 | + min-width: 0; | |
| 812 | +} | |
| 813 | +.wpbc_appointment_services__inline_bar_status strong { | |
| 814 | + color: #1d2327; | |
| 815 | +} | |
| 816 | +.wpbc_appointment_services__inline_bar_status .description { | |
| 817 | + flex: 1 1 100%; | |
| 818 | + margin: 0; | |
| 819 | +} | |
| 820 | +.wpbc_appointment_services__inline_bar_actions { | |
| 821 | + flex: 0 0 auto; | |
| 822 | +} | |
| 823 | +.wpbc_appointment_services__operation { | |
| 824 | + box-sizing: border-box; | |
| 825 | + padding: 16px 18px 28px; | |
| 826 | +} | |
| 827 | +.wpbc_appointment_services__operation > h2 { | |
| 828 | + font-size: 18px; | |
| 829 | + margin: 0 0 8px; | |
| 830 | +} | |
| 831 | +.wpbc_appointment_services__bulk_field { | |
| 832 | + background: #fff; | |
| 833 | + border: 1px solid #dcdcde; | |
| 834 | + border-radius: 5px; | |
| 835 | + box-sizing: border-box; | |
| 836 | + display: flex; | |
| 837 | + flex-direction: column; | |
| 838 | + gap: 10px; | |
| 839 | + margin: 12px 0; | |
| 840 | + padding: 14px; | |
| 841 | +} | |
| 842 | +.wpbc_appointment_services__bulk_field > span { | |
| 843 | + align-items: center; | |
| 844 | + display: flex; | |
| 845 | + gap: 8px; | |
| 846 | +} | |
| 847 | +.wpbc_appointment_services__bulk_field input:not([type="checkbox"]), | |
| 848 | +.wpbc_appointment_services__bulk_field select { | |
| 849 | + box-sizing: border-box; | |
| 850 | + width: 100%; | |
| 851 | +} | |
| 852 | +.wpbc_appointment_services__bulk_field input[type="range"] { | |
| 853 | + margin: 0; | |
| 854 | +} | |
| 855 | +.wpbc_appointment_services__media { | |
| 856 | + align-items: flex-start; | |
| 857 | + display: flex; | |
| 858 | + flex-flow: row wrap; | |
| 859 | + gap: 10px; | |
| 860 | + justify-content: space-between; | |
| 861 | + margin-bottom: 8px; | |
| 862 | +} | |
| 863 | +.wpbc_appointment_services__media_preview { | |
| 864 | + align-items: center; | |
| 865 | + appearance: none; | |
| 866 | + background: #fcfcfc; | |
| 867 | + border: 1px solid #c3c4c7; | |
| 868 | + border-radius: 4px; | |
| 869 | + box-sizing: border-box; | |
| 870 | + color: #507593; | |
| 871 | + cursor: pointer; | |
| 872 | + display: flex; | |
| 873 | + flex: 1 1 100%; | |
| 874 | + height: 140px; | |
| 875 | + justify-content: center; | |
| 876 | + margin: 0 0 12px; | |
| 877 | + max-height: 140px; | |
| 878 | + min-height: 140px; | |
| 879 | + overflow: hidden; | |
| 880 | + padding: 4px; | |
| 881 | + width: 100%; | |
| 882 | +} | |
| 883 | +.wpbc_appointment_services__media_preview:focus-visible { | |
| 884 | + border-color: var(--wpbc_admin-theme-color, #2271b1); | |
| 885 | + box-shadow: 0 0 0 1px var(--wpbc_admin-theme-color, #2271b1); | |
| 886 | + outline: 2px solid transparent; | |
| 887 | +} | |
| 888 | +.wpbc_appointment_services__media_preview:disabled { | |
| 889 | + cursor: default; | |
| 890 | + opacity: .65; | |
| 891 | +} | |
| 892 | +.wpbc_appointment_services__media_image { | |
| 893 | + display: block; | |
| 894 | + height: 100%; | |
| 895 | + max-width: none; | |
| 896 | + object-fit: cover; | |
| 897 | + width: 100%; | |
| 898 | +} | |
| 899 | +.wpbc_appointment_services__media_image[hidden], | |
| 900 | +.wpbc_appointment_services__media_placeholder[hidden] { | |
| 901 | + display: none; | |
| 902 | +} | |
| 903 | +.wpbc_appointment_services__media_placeholder::before { | |
| 904 | + font-size: 50px; | |
| 905 | +} | |
| 906 | +.wpbc_appointment_services__media_actions { | |
| 907 | + align-items: stretch; | |
| 908 | + display: flex; | |
| 909 | + flex: 1 1 auto; | |
| 910 | + flex-flow: row wrap; | |
| 911 | + gap: 8px; | |
| 912 | + justify-content: flex-start; | |
| 913 | + width: 100%; | |
| 914 | +} | |
| 915 | +.wpbc_appointment_services__picture_row .wpbc_bfb__help { | |
| 916 | + margin-bottom: 0; | |
| 917 | +} | |
| 529 | 918 | .wpbc_appointment_services__rightbar .inspector__control, |
| 530 | 919 | .wpbc_appointment_services__rightbar .inspector__input { |
| 531 | 920 | box-sizing: border-box; |
| 532 | 921 | max-width: none; |
| @@ -532,12 +921,13 @@ | ||
| 532 | 921 | max-width: none; |
| 533 | 922 | width: 100%; |
| 534 | 923 | } |
| 535 | 924 | .wpbc_appointment_services__footer_actions { |
| 536 | - align-items: stretch; | |
| 537 | 925 | box-sizing: border-box; |
| 538 | 926 | display: flex; |
| 539 | - flex-wrap: wrap; | |
| 927 | + justify-content: flex-end; | |
| 928 | + align-items: stretch; | |
| 929 | + flex-flow: row wrap; | |
| 540 | 930 | gap: 8px; |
| 541 | 931 | padding: 8px 18px; |
| 542 | 932 | width: 100%; |
| 543 | 933 | } |
| @@ -544,9 +934,9 @@ | ||
| 544 | 934 | .wpbc_appointment_services__footer_actions .button { |
| 545 | 935 | align-items: center; |
| 546 | 936 | box-sizing: border-box; |
| 547 | 937 | display: flex; |
| 548 | - flex: 1 1 auto; | |
| 938 | + flex: 0 1 auto; | |
| 549 | 939 | gap: 6px; |
| 550 | 940 | justify-content: center; |
| 551 | 941 | margin: 0; |
| 552 | 942 | min-width: 0; |
| @@ -612,68 +1002,8 @@ | ||
| 612 | 1002 | .wpbc_appointment_services__number_slider:disabled { |
| 613 | 1003 | cursor: default; |
| 614 | 1004 | opacity: .55; |
| 615 | 1005 | } |
| 616 | -.wpbc_appointment_services__media { | |
| 617 | - margin-bottom: 8px; | |
| 618 | - display: flex; | |
| 619 | - align-items: flex-start; | |
| 620 | - flex-flow: row wrap; | |
| 621 | - justify-content: space-between; | |
| 622 | - gap: 10px; | |
| 623 | -} | |
| 624 | -.wpbc_appointment_services__media_preview { | |
| 625 | - align-items: center; | |
| 626 | - appearance: none; | |
| 627 | - background: #fcfcfc; | |
| 628 | - border: 1px solid #c3c4c7; | |
| 629 | - border-radius: 4px; | |
| 630 | - box-sizing: border-box; | |
| 631 | - color: #507593; | |
| 632 | - cursor: pointer; | |
| 633 | - display: flex; | |
| 634 | - justify-content: center; | |
| 635 | - margin: 0 0 12px; | |
| 636 | - overflow: hidden; | |
| 637 | - padding: 4px; | |
| 638 | - width: 100%; | |
| 639 | - flex: 1 1 100%; | |
| 640 | - height: 140px; | |
| 641 | -} | |
| 642 | -.wpbc_appointment_services__media_preview:focus-visible { | |
| 643 | - border-color: #2271b1; | |
| 644 | - box-shadow: 0 0 0 1px #2271b1; | |
| 645 | - outline: 2px solid transparent; | |
| 646 | -} | |
| 647 | -.wpbc_appointment_services__media_preview:disabled { | |
| 648 | - cursor: default; | |
| 649 | - opacity: .65; | |
| 650 | -} | |
| 651 | -.wpbc_appointment_services__media_image { | |
| 652 | - height: 100%; | |
| 653 | - object-fit: cover; | |
| 654 | - width: 100%; | |
| 655 | -} | |
| 656 | -.wpbc_appointment_services__media_image[hidden], | |
| 657 | -.wpbc_appointment_services__media_placeholder[hidden] { | |
| 658 | - display: none; | |
| 659 | -} | |
| 660 | -.wpbc_appointment_services__media_placeholder::before { | |
| 661 | - font-size: 50px; | |
| 662 | -} | |
| 663 | -.wpbc_appointment_services__media_actions { | |
| 664 | - justify-content: center; | |
| 665 | - width: 100%; | |
| 666 | - flex: 1 1 auto; | |
| 667 | - display: flex; | |
| 668 | - flex-flow: row wrap; | |
| 669 | - align-items: stretch; | |
| 670 | - justify-content: flex-start; | |
| 671 | - gap: 8px; | |
| 672 | -} | |
| 673 | -.wpbc_appointment_services__picture_row .wpbc_bfb__help { | |
| 674 | - margin-bottom: 0; | |
| 675 | -} | |
| 676 | 1006 | .wpbc_appointment_services__placeholder { |
| 677 | 1007 | background: #f6f7f7; |
| 678 | 1008 | border: 1px dashed #c3c4c7; |
| 679 | 1009 | color: #646970; |
| @@ -727,8 +1057,13 @@ | ||
| 727 | 1057 | .wpbc_appointment_services__provider_notice .button { |
| 728 | 1058 | flex: 0 0 auto; |
| 729 | 1059 | } |
| 730 | 1060 | @media (max-width: 782px) { |
| 1061 | + .wpbc_appointment_services__cards_header_controls, | |
| 1062 | + .wpbc_appointment_services__cards_sort { | |
| 1063 | + align-items: flex-start; | |
| 1064 | + flex-direction: column; | |
| 1065 | + } | |
| 731 | 1066 | .wpbc_appointment_services__filter_controls { |
| 732 | 1067 | grid-template-columns: 1fr; |
| 733 | 1068 | } |
| 734 | 1069 | .wpbc_appointment_services__filter_divider { |
| @@ -736,13 +1071,8 @@ | ||
| 736 | 1071 | } |
| 737 | 1072 | .wpbc_appointment_services__provider_total { |
| 738 | 1073 | margin-left: 10px; |
| 739 | 1074 | } |
| 740 | - .wpbc_appointment_services__list_footer { | |
| 741 | - align-items: flex-start; | |
| 742 | - flex-direction: column; | |
| 743 | - gap: 8px; | |
| 744 | - } | |
| 745 | 1075 | .wpbc_appointment_services__provider_notice { |
| 746 | 1076 | align-items: flex-start; |
| 747 | 1077 | flex-wrap: wrap; |
| 748 | 1078 | } |
| @@ -748,56 +1078,8 @@ | ||
| 748 | 1078 | } |
| 749 | 1079 | .wpbc_appointment_services__provider_notice .button { |
| 750 | 1080 | margin-left: 32px; |
| 751 | 1081 | } |
| 752 | - .wpbc_appointment_services__table_wrap, | |
| 753 | - .wpbc_appointment_services__table, | |
| 754 | - .wpbc_appointment_services__table tbody { | |
| 755 | - display: block; | |
| 756 | - overflow: visible; | |
| 757 | - width: 100%; | |
| 758 | - } | |
| 759 | - .wpbc_appointment_services__table { | |
| 760 | - min-width: 0; | |
| 761 | - } | |
| 762 | - .wpbc_appointment_services__table thead { | |
| 763 | - clip: rect(0 0 0 0); | |
| 764 | - clip-path: inset(50%); | |
| 765 | - height: 1px; | |
| 766 | - overflow: hidden; | |
| 767 | - position: absolute; | |
| 768 | - white-space: nowrap; | |
| 769 | - width: 1px; | |
| 770 | - } | |
| 771 | - .wpbc_appointment_services__item { | |
| 772 | - box-sizing: border-box; | |
| 773 | - display: flex; | |
| 774 | - flex-wrap: wrap; | |
| 775 | - padding: 10px 8px; | |
| 776 | - position: relative; | |
| 777 | - width: 100%; | |
| 778 | - } | |
| 779 | - .wpbc_appointment_services__item:not(:last-child) { | |
| 780 | - border-bottom: 1px solid #dcdcde; | |
| 781 | - } | |
| 782 | - .wpbc_appointment_services__table tbody td { | |
| 783 | - align-items: center; | |
| 784 | - border-bottom: 0; | |
| 785 | - display: flex; | |
| 786 | - flex: 1 1 50%; | |
| 787 | - padding: 7px 8px; | |
| 788 | - width: 50%; | |
| 789 | - } | |
| 790 | - .wpbc_appointment_services__table tbody td::before { | |
| 791 | - color: #646970; | |
| 792 | - content: attr(data-label); | |
| 793 | - flex: 0 0 104px; | |
| 794 | - font-size: 11px; | |
| 795 | - font-weight: 600; | |
| 796 | - line-height: 1.3; | |
| 797 | - padding-right: 8px; | |
| 798 | - text-align: left; | |
| 799 | - } | |
| 800 | 1082 | .wpbc_appointment_services__table tbody .column-service { |
| 801 | 1083 | flex-basis: 100%; |
| 802 | 1084 | padding-right: 76px; |
| 803 | 1085 | width: 100%; |
| @@ -837,10 +1119,38 @@ | ||
| 837 | 1119 | right: 12px; |
| 838 | 1120 | top: 20px; |
| 839 | 1121 | width: auto; |
| 840 | 1122 | } |
| 1123 | + body.rtl .wpbc_appointment_services__provider_total { | |
| 1124 | + margin-left: 0; | |
| 1125 | + margin-right: 10px; | |
| 1126 | + } | |
| 1127 | + body.rtl .wpbc_appointment_services__provider_notice .button { | |
| 1128 | + margin-left: 0; | |
| 1129 | + margin-right: 32px; | |
| 1130 | + } | |
| 1131 | + body.rtl .wpbc_appointment_services__table tbody .column-service { | |
| 1132 | + padding-left: 76px; | |
| 1133 | + padding-right: 12px; | |
| 1134 | + } | |
| 1135 | + body.rtl .wpbc_appointment_services__availability_links, | |
| 1136 | + body.rtl .wpbc_appointment_services__availability_empty { | |
| 1137 | + margin-left: 0; | |
| 1138 | + margin-right: 104px; | |
| 1139 | + } | |
| 1140 | + body.rtl .wpbc_appointment_services__table tbody .column-actions { | |
| 1141 | + left: 12px; | |
| 1142 | + right: auto; | |
| 1143 | + } | |
| 841 | 1144 | } |
| 842 | 1145 | @media (max-width: 480px) { |
| 1146 | + .wpbc_appointment_services__cards { | |
| 1147 | + grid-template-columns: 1fr; | |
| 1148 | + padding: 10px; | |
| 1149 | + } | |
| 1150 | + .wpbc_appointment_services__card_fields { | |
| 1151 | + grid-template-columns: 1fr; | |
| 1152 | + } | |
| 843 | 1153 | .wpbc_appointment_services__table tbody .column-duration, |
| 844 | 1154 | .wpbc_appointment_services__table tbody .column-price { |
| 845 | 1155 | flex-basis: 100%; |
| 846 | 1156 | width: 100%; |