| 1 |
/* Block */ |
| 2 |
.orderable-table { |
| 3 |
table-layout: fixed; |
| 4 |
max-width: 712px; |
| 5 |
border-collapse: collapse; |
| 6 |
border-radius: 8px; |
| 7 |
background: #f4f5f6; |
| 8 |
border: none; |
| 9 |
width: 100%; |
| 10 |
} |
| 11 |
|
| 12 |
.orderable-table th, |
| 13 |
.orderable-table td { |
| 14 |
width: auto; |
| 15 |
vertical-align: middle !important; |
| 16 |
} |
| 17 |
|
| 18 |
.orderable-table th { |
| 19 |
padding-top: 12px !important; |
| 20 |
padding-bottom: 12px !important; |
| 21 |
} |
| 22 |
|
| 23 |
/* Elements */ |
| 24 |
.orderable-table tr, |
| 25 |
.orderable-table thead { |
| 26 |
border-bottom: 1px solid #d8dbdf; |
| 27 |
} |
| 28 |
|
| 29 |
.orderable-table > tbody th { |
| 30 |
padding-left: 14px; |
| 31 |
border-right: 1px solid #d8dbdf; |
| 32 |
} |
| 33 |
|
| 34 |
.orderable-table tr:last-child, |
| 35 |
.orderable-table tr.orderable-table__row--last { |
| 36 |
border: none; |
| 37 |
} |
| 38 |
|
| 39 |
.orderable-table__row--hidden .orderable-table__column:not(.orderable-table__column--always-visible) { |
| 40 |
position: relative; |
| 41 |
} |
| 42 |
|
| 43 |
.orderable-table__row--hidden .orderable-table__column:not(.orderable-table__column--always-visible)::after { |
| 44 |
content: ""; |
| 45 |
position: absolute; |
| 46 |
top: 0; |
| 47 |
left: 0; |
| 48 |
right: 0; |
| 49 |
bottom: 0; |
| 50 |
} |
| 51 |
|
| 52 |
.orderable-table__row--hidden .orderable-table__column:not(.orderable-table__column--always-visible) > * { |
| 53 |
opacity: 0.3; |
| 54 |
} |
| 55 |
|
| 56 |
.orderable-table .orderable-table__row--repeatable { |
| 57 |
border-bottom-color: #fff; |
| 58 |
border-bottom-width: 8px; |
| 59 |
} |
| 60 |
|
| 61 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 62 |
.orderable-table__column { |
| 63 |
padding: 8px 14px !important; |
| 64 |
vertical-align: middle !important; |
| 65 |
text-align: left; |
| 66 |
border-left: none; |
| 67 |
-webkit-box-sizing: border-box; |
| 68 |
box-sizing: border-box; |
| 69 |
} |
| 70 |
|
| 71 |
.orderable-table__column--checkbox { |
| 72 |
width: 36px !important; |
| 73 |
padding-right: 0 !important; |
| 74 |
border-right: none; |
| 75 |
} |
| 76 |
|
| 77 |
.orderable-table__column--label { |
| 78 |
padding-left: 4px !important; |
| 79 |
width: 100px !important; |
| 80 |
} |
| 81 |
|
| 82 |
@media (max-width: 782px) { |
| 83 |
.orderable-table__column--label { |
| 84 |
width: auto !important; |
| 85 |
} |
| 86 |
} |
| 87 |
.orderable-table__column--medium { |
| 88 |
width: 156px !important; |
| 89 |
} |
| 90 |
|
| 91 |
@media (max-width: 782px) { |
| 92 |
.orderable-table__column--medium { |
| 93 |
width: auto !important; |
| 94 |
} |
| 95 |
} |
| 96 |
.orderable-table__column--time { |
| 97 |
width: 190px !important; |
| 98 |
} |
| 99 |
|
| 100 |
@media (max-width: 782px) { |
| 101 |
.orderable-table__column--time { |
| 102 |
width: auto !important; |
| 103 |
} |
| 104 |
} |
| 105 |
.orderable-table__column--remove { |
| 106 |
width: 50px !important; |
| 107 |
text-align: center; |
| 108 |
} |
| 109 |
|
| 110 |
@media (max-width: 782px) { |
| 111 |
.orderable-table__column--remove { |
| 112 |
display: table-cell !important; |
| 113 |
} |
| 114 |
} |
| 115 |
.orderable-table__column--last { |
| 116 |
width: auto; |
| 117 |
} |
| 118 |
|
| 119 |
.orderable-table__column input, |
| 120 |
.orderable-table__column select { |
| 121 |
max-width: 100%; |
| 122 |
} |
| 123 |
|
| 124 |
.orderable-table__no-td-border { |
| 125 |
border-bottom: none !important; |
| 126 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 127 |
} |
| 128 |
|
| 129 |
.orderable-table__no-td-border th { |
| 130 |
border-bottom: 1px solid #d8dbdf; |
| 131 |
} |
| 132 |
|
| 133 |
.orderable-table__cell--no-padding { |
| 134 |
padding: 0 !important; |
| 135 |
} |
| 136 |
|
| 137 |
.orderable-table__cell .orderable-table__cell-column { |
| 138 |
float: left; |
| 139 |
width: 50%; |
| 140 |
-webkit-box-sizing: border-box; |
| 141 |
box-sizing: border-box; |
| 142 |
padding: 0 14px; |
| 143 |
} |
| 144 |
|
| 145 |
.orderable-table__cell .orderable-table__cell-column--first { |
| 146 |
padding-left: 0; |
| 147 |
} |
| 148 |
|
| 149 |
.orderable-table__cell .orderable-table__cell-column--last { |
| 150 |
padding-right: 0; |
| 151 |
} |
| 152 |
|
| 153 |
.orderable-table__cell--2-col { |
| 154 |
overflow: hidden; |
| 155 |
} |
| 156 |
|
| 157 |
@media (max-width: 782px) { |
| 158 |
.orderable-table__cell { |
| 159 |
display: table-cell !important; |
| 160 |
} |
| 161 |
} |
| 162 |
.orderable-table__fieldset { |
| 163 |
display: inline-block; |
| 164 |
margin: 0 15px 0 0; |
| 165 |
} |
| 166 |
|
| 167 |
.orderable-table__fieldset legend { |
| 168 |
font-weight: 600; |
| 169 |
margin: 0 0 4px; |
| 170 |
padding: 0; |
| 171 |
color: #23282d; |
| 172 |
} |
| 173 |
|
| 174 |
.orderable-table__fieldset--nowrap { |
| 175 |
white-space: nowrap; |
| 176 |
} |
| 177 |
|
| 178 |
.orderable-table__rwd-labels { |
| 179 |
display: none; |
| 180 |
margin: 0 0 4px; |
| 181 |
min-width: 160px; |
| 182 |
} |
| 183 |
|
| 184 |
/** |
| 185 |
* Modifiers. |
| 186 |
*/ |
| 187 |
.orderable-table--child { |
| 188 |
border-radius: 0; |
| 189 |
background: none; |
| 190 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 191 |
} |
| 192 |
|
| 193 |
.orderable-table--child th:last-child, |
| 194 |
.orderable-table--child td:last-child { |
| 195 |
border-right: 1px solid #d8dbdf; |
| 196 |
} |
| 197 |
|
| 198 |
.orderable-table--compact { |
| 199 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 200 |
} |
| 201 |
|
| 202 |
.orderable-table--compact th, |
| 203 |
.orderable-table--compact td { |
| 204 |
padding: 8px 14px !important; |
| 205 |
} |
| 206 |
|
| 207 |
@media (max-width: 782px) { |
| 208 |
.orderable-table--compact th { |
| 209 |
padding-bottom: 4px !important; |
| 210 |
} |
| 211 |
.orderable-table--compact td { |
| 212 |
padding-top: 0 !important; |
| 213 |
} |
| 214 |
.orderable-table--compact tr:first-child th { |
| 215 |
padding-top: 10px !important; |
| 216 |
} |
| 217 |
.orderable-table--compact tr.orderable-table__row--last td { |
| 218 |
padding-bottom: 15px !important; |
| 219 |
} |
| 220 |
} |
| 221 |
@media (max-width: 1210px) { |
| 222 |
.orderable-table--open-hours thead { |
| 223 |
display: none; |
| 224 |
} |
| 225 |
.orderable-table--open-hours th, |
| 226 |
.orderable-table--open-hours td { |
| 227 |
display: block; |
| 228 |
width: 100% !important; |
| 229 |
height: auto; |
| 230 |
margin: 0; |
| 231 |
} |
| 232 |
.orderable-table--open-hours .orderable-table__column--checkbox, |
| 233 |
.orderable-table--open-hours .orderable-table__column--label { |
| 234 |
padding-top: 20px !important; |
| 235 |
} |
| 236 |
.orderable-table--open-hours .orderable-table__column--checkbox { |
| 237 |
width: 36px !important; |
| 238 |
float: left; |
| 239 |
} |
| 240 |
.orderable-table--open-hours .orderable-table__column--label { |
| 241 |
float: left; |
| 242 |
width: auto !important; |
| 243 |
font-weight: 700; |
| 244 |
} |
| 245 |
.orderable-table--open-hours .orderable-table__column--time { |
| 246 |
clear: both; |
| 247 |
} |
| 248 |
.orderable-table--open-hours .orderable-table__column--last { |
| 249 |
padding-bottom: 20px !important; |
| 250 |
} |
| 251 |
.orderable-table--open-hours .orderable-table__rwd-labels { |
| 252 |
display: inline-block; |
| 253 |
} |
| 254 |
} |
| 255 |
@media (max-width: 782px) { |
| 256 |
.orderable-table--open-hours .orderable-table__column--checkbox { |
| 257 |
width: 45px !important; |
| 258 |
} |
| 259 |
.orderable-table--open-hours .orderable-table__column--label { |
| 260 |
line-height: 21px; |
| 261 |
} |
| 262 |
.orderable-table--open-hours .orderable-table__rwd-labels { |
| 263 |
display: block; |
| 264 |
} |
| 265 |
} |
| 266 |
/* Block */ |
| 267 |
body .submit .button-primary, |
| 268 |
.orderable-admin-button { |
| 269 |
/* stylelint-disable-next-line scss/no-global-function-names */ |
| 270 |
background: rgb(34.2857142857, 113.1428571429, 181.7142857143); |
| 271 |
border: none; |
| 272 |
padding: 8px 15px; |
| 273 |
border-radius: 8px; |
| 274 |
line-height: 1.3; |
| 275 |
font-weight: 600; |
| 276 |
cursor: pointer; |
| 277 |
-webkit-box-shadow: none; |
| 278 |
box-shadow: none; |
| 279 |
margin: 0; |
| 280 |
text-decoration: none; |
| 281 |
display: inline-block; |
| 282 |
color: #fff; |
| 283 |
font-size: 14px; |
| 284 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 285 |
} |
| 286 |
|
| 287 |
body .submit .button-primary:active, body .submit .button-primary:focus, body .submit .button-primary:hover, |
| 288 |
.orderable-admin-button:active, |
| 289 |
.orderable-admin-button:focus, |
| 290 |
.orderable-admin-button:hover { |
| 291 |
/* stylelint-disable-next-line scss/no-global-function-names */ |
| 292 |
background: rgb(22.1428571429, 73.0714285714, 117.3571428571); |
| 293 |
color: #fff; |
| 294 |
} |
| 295 |
|
| 296 |
body .submit .button-primary:focus, |
| 297 |
.orderable-admin-button:focus { |
| 298 |
outline: none; |
| 299 |
-webkit-box-shadow: none; |
| 300 |
box-shadow: none; |
| 301 |
} |
| 302 |
|
| 303 |
body .submit .button-primary.orderable-trigger-element--active, |
| 304 |
.orderable-admin-button.orderable-trigger-element--active { |
| 305 |
background: #0a2135; |
| 306 |
color: #fff; |
| 307 |
cursor: default; |
| 308 |
} |
| 309 |
|
| 310 |
body .submit .button-primary .dashicons, |
| 311 |
.orderable-admin-button .dashicons { |
| 312 |
width: 16px; |
| 313 |
height: 16px; |
| 314 |
font-size: 16px; |
| 315 |
vertical-align: middle; |
| 316 |
} |
| 317 |
|
| 318 |
/* Modifiers */ |
| 319 |
.orderable-admin-button--pro { |
| 320 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 321 |
} |
| 322 |
|
| 323 |
.orderable-admin-button--pro .dashicons { |
| 324 |
line-height: 12px; |
| 325 |
} |
| 326 |
|
| 327 |
.orderable-toolbar { |
| 328 |
margin: 0 0 15px; |
| 329 |
display: block; |
| 330 |
overflow: hidden; |
| 331 |
} |
| 332 |
|
| 333 |
.orderable-toolbar .orderable-admin-button { |
| 334 |
margin-right: 4px; |
| 335 |
} |
| 336 |
|
| 337 |
/** |
| 338 |
* Elements. |
| 339 |
*/ |
| 340 |
.orderable-toolbar__actions { |
| 341 |
display: inline-block; |
| 342 |
} |
| 343 |
|
| 344 |
.multi-select-container { |
| 345 |
display: inline-block; |
| 346 |
position: relative; |
| 347 |
width: 100%; |
| 348 |
max-width: 100%; |
| 349 |
} |
| 350 |
|
| 351 |
.multi-select-menu { |
| 352 |
position: absolute; |
| 353 |
left: 0; |
| 354 |
top: 17px; |
| 355 |
z-index: 1; |
| 356 |
float: left; |
| 357 |
min-width: 100%; |
| 358 |
background: #fff; |
| 359 |
margin: 1em 0; |
| 360 |
border: 1px solid #aaa; |
| 361 |
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); |
| 362 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); |
| 363 |
display: none; |
| 364 |
padding: 4px 0; |
| 365 |
} |
| 366 |
|
| 367 |
@media (max-width: 782px) { |
| 368 |
.multi-select-menu { |
| 369 |
top: 27px; |
| 370 |
} |
| 371 |
} |
| 372 |
.multi-select-menuitem { |
| 373 |
display: block; |
| 374 |
font-size: 14px; |
| 375 |
padding: 4px 10px 4px 36px; |
| 376 |
white-space: nowrap; |
| 377 |
position: relative; |
| 378 |
} |
| 379 |
|
| 380 |
.multi-select-menuitem--none { |
| 381 |
padding-left: 10px; |
| 382 |
} |
| 383 |
|
| 384 |
@media (max-width: 782px) { |
| 385 |
.multi-select-menuitem { |
| 386 |
min-height: 32px; |
| 387 |
line-height: 32px; |
| 388 |
padding-left: 44px; |
| 389 |
} |
| 390 |
} |
| 391 |
.multi-select-menuitem--titled::before { |
| 392 |
display: block; |
| 393 |
font-weight: 700; |
| 394 |
content: attr(data-group-title); |
| 395 |
margin: 0 0 0.25em -20px; |
| 396 |
} |
| 397 |
|
| 398 |
.multi-select-menuitem--titledsr::before { |
| 399 |
display: block; |
| 400 |
font-weight: 700; |
| 401 |
content: attr(data-group-title); |
| 402 |
border: 0; |
| 403 |
clip: rect(0 0 0 0); |
| 404 |
height: 1px; |
| 405 |
margin: -1px; |
| 406 |
overflow: hidden; |
| 407 |
padding: 0; |
| 408 |
position: absolute; |
| 409 |
width: 1px; |
| 410 |
} |
| 411 |
|
| 412 |
.multi-select-presets { |
| 413 |
border-bottom: 1px solid #ddd; |
| 414 |
} |
| 415 |
|
| 416 |
.multi-select-menuitem input { |
| 417 |
position: absolute; |
| 418 |
left: 10px; |
| 419 |
top: 50%; |
| 420 |
-webkit-transform: translateY(-50%); |
| 421 |
transform: translateY(-50%); |
| 422 |
margin: 0 !important; |
| 423 |
} |
| 424 |
|
| 425 |
.multi-select-button { |
| 426 |
display: inline-block; |
| 427 |
font-size: 14px; |
| 428 |
padding: 0 28px 0 8px; |
| 429 |
white-space: nowrap; |
| 430 |
overflow: hidden; |
| 431 |
text-overflow: ellipsis; |
| 432 |
vertical-align: -0.5em; |
| 433 |
background-color: #fff; |
| 434 |
border: 1px solid #7e8993; |
| 435 |
border-radius: 4px; |
| 436 |
-webkit-box-shadow: 0 0 0 transparent; |
| 437 |
box-shadow: 0 0 0 transparent; |
| 438 |
cursor: pointer; |
| 439 |
line-height: 2; |
| 440 |
min-height: 30px; |
| 441 |
position: relative; |
| 442 |
max-width: 100%; |
| 443 |
-webkit-box-sizing: border-box; |
| 444 |
box-sizing: border-box; |
| 445 |
} |
| 446 |
|
| 447 |
@media (max-width: 782px) { |
| 448 |
.multi-select-button { |
| 449 |
min-height: 40px; |
| 450 |
height: 40px; |
| 451 |
line-height: 38px; |
| 452 |
} |
| 453 |
} |
| 454 |
.multi-select-container--open .multi-select-button, |
| 455 |
.multi-select-button:focus { |
| 456 |
border-color: #007cba; |
| 457 |
-webkit-box-shadow: 0 0 0 1px #007cba; |
| 458 |
box-shadow: 0 0 0 1px #007cba; |
| 459 |
outline: 2px solid transparent; |
| 460 |
} |
| 461 |
|
| 462 |
.multi-select-button::after { |
| 463 |
content: ""; |
| 464 |
display: inline-block; |
| 465 |
width: 0; |
| 466 |
height: 0; |
| 467 |
border-style: solid; |
| 468 |
border-width: 6px 6px 0 6px; |
| 469 |
border-color: #999 transparent transparent transparent; |
| 470 |
vertical-align: 0.1em; |
| 471 |
position: absolute; |
| 472 |
right: 8px; |
| 473 |
top: 50%; |
| 474 |
-webkit-transform: translateY(-48%); |
| 475 |
transform: translateY(-48%); |
| 476 |
} |
| 477 |
|
| 478 |
.multi-select-container--open .multi-select-menu { |
| 479 |
display: block; |
| 480 |
} |
| 481 |
|
| 482 |
.multi-select-container--open .multi-select-button::after { |
| 483 |
border-width: 0 0.4em 0.4em 0.4em; |
| 484 |
border-color: transparent transparent #999 transparent; |
| 485 |
} |
| 486 |
|
| 487 |
.multi-select-container--positioned .multi-select-menu { |
| 488 |
/* Avoid border/padding on menu messing with JavaScript width calculation */ |
| 489 |
-webkit-box-sizing: border-box; |
| 490 |
box-sizing: border-box; |
| 491 |
} |
| 492 |
|
| 493 |
.multi-select-container--positioned .multi-select-menu label { |
| 494 |
/* Allow labels to line wrap when menu is artificially narrowed */ |
| 495 |
white-space: normal; |
| 496 |
} |
| 497 |
|
| 498 |
/* Block */ |
| 499 |
.orderable-toggle-wrapper { |
| 500 |
display: none; |
| 501 |
} |
| 502 |
|
| 503 |
/* Modifiers */ |
| 504 |
.orderable-toggle-wrapper--active { |
| 505 |
display: inline-block; |
| 506 |
} |
| 507 |
|
| 508 |
/* Block */ |
| 509 |
/* Modifiers */ |
| 510 |
.orderable-element--disabled { |
| 511 |
opacity: 0.3; |
| 512 |
position: relative; |
| 513 |
} |
| 514 |
|
| 515 |
.orderable-element--disabled::after { |
| 516 |
content: ""; |
| 517 |
position: absolute; |
| 518 |
top: 0; |
| 519 |
left: 0; |
| 520 |
right: 0; |
| 521 |
bottom: 0; |
| 522 |
} |
| 523 |
|
| 524 |
/** |
| 525 |
* Onboarding sections. |
| 526 |
*/ |
| 527 |
.iconic-onboard-modal-setting__field-section { |
| 528 |
margin: 1em 0; |
| 529 |
} |
| 530 |
|
| 531 |
.orderable-time { |
| 532 |
white-space: nowrap; |
| 533 |
} |
| 534 |
|
| 535 |
/** |
| 536 |
* Elements. |
| 537 |
*/ |
| 538 |
.orderable-time__select { |
| 539 |
display: inline-block !important; |
| 540 |
width: auto !important; |
| 541 |
} |
| 542 |
|
| 543 |
/* stylelint-disable-next-line selector-id-pattern */ |
| 544 |
#orderable_settings_store_general_service_hours_pickup_same_label { |
| 545 |
margin: 5px 4px 20px; |
| 546 |
display: inline-block; |
| 547 |
} |
| 548 |
|
| 549 |
.wpsf-section .form-table td p { |
| 550 |
margin: 0 0 15px; |
| 551 |
} |
| 552 |
|
| 553 |
.wpsf-section .form-table td p:last-child { |
| 554 |
margin-bottom: 0; |
| 555 |
} |
| 556 |
|
| 557 |
body .wpsf-tab .postbox h2 { |
| 558 |
background: #0a2135; |
| 559 |
} |
| 560 |
|
| 561 |
body input.datepicker { |
| 562 |
background-color: #fff !important; |
| 563 |
} |
| 564 |
|
| 565 |
.wpsf-section-description--getting_started + table th { |
| 566 |
display: none; |
| 567 |
} |
| 568 |
|
| 569 |
.orderable-ui-hide { |
| 570 |
display: none !important; |
| 571 |
} |
| 572 |
|
| 573 |
[v-cloak] { |
| 574 |
display: none; |
| 575 |
} |
| 576 |
|
| 577 |
.orderable-product__actions-counter { |
| 578 |
display: none; |
| 579 |
} |
| 580 |
|
| 581 |
.orderable-fields-row { |
| 582 |
background: #fff; |
| 583 |
border: 1px solid #d8dbdf; |
| 584 |
border-radius: 8px; |
| 585 |
margin-bottom: 15px; |
| 586 |
overflow: visible; |
| 587 |
} |
| 588 |
|
| 589 |
.orderable-fields-row::after { |
| 590 |
content: ""; |
| 591 |
display: table; |
| 592 |
} |
| 593 |
|
| 594 |
.orderable-fields-row:hover .orderable-fields-row__header-action { |
| 595 |
visibility: visible; |
| 596 |
} |
| 597 |
|
| 598 |
.orderable-fields-row__header { |
| 599 |
padding: 12px 15px; |
| 600 |
display: grid; |
| 601 |
grid-template-columns: 34px auto 68px; |
| 602 |
-ms-user-select: none; |
| 603 |
user-select: none; |
| 604 |
-moz-user-select: none; |
| 605 |
-webkit-user-select: none; |
| 606 |
-webkit-box-align: center; |
| 607 |
-ms-flex-align: center; |
| 608 |
align-items: center; |
| 609 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 610 |
} |
| 611 |
|
| 612 |
.orderable-fields-row__header-title { |
| 613 |
cursor: pointer; |
| 614 |
} |
| 615 |
|
| 616 |
.orderable-fields-row__header-title h3 { |
| 617 |
margin-top: 0; |
| 618 |
margin-bottom: 0; |
| 619 |
font-size: 14px; |
| 620 |
min-height: 19px; |
| 621 |
} |
| 622 |
|
| 623 |
.orderable-fields-row__header-title span { |
| 624 |
font-size: 12px; |
| 625 |
opacity: 0.8; |
| 626 |
} |
| 627 |
|
| 628 |
.orderable-fields-row__header-action { |
| 629 |
visibility: hidden; |
| 630 |
text-align: right; |
| 631 |
} |
| 632 |
|
| 633 |
.orderable-fields-row__body { |
| 634 |
display: none; |
| 635 |
-webkit-transform: scaleY(0); |
| 636 |
transform: scaleY(0); |
| 637 |
opacity: 0; |
| 638 |
-webkit-transition: 0.5s all; |
| 639 |
transition: 0.5s all; |
| 640 |
} |
| 641 |
|
| 642 |
.orderable-fields-row__body-row { |
| 643 |
display: -webkit-box; |
| 644 |
display: -ms-flexbox; |
| 645 |
display: flex; |
| 646 |
border-bottom: 1px solid #d8dbdf; |
| 647 |
-webkit-box-orient: horizontal; |
| 648 |
-webkit-box-direction: normal; |
| 649 |
-ms-flex-direction: row; |
| 650 |
flex-direction: row; |
| 651 |
-ms-flex-wrap: nowrap; |
| 652 |
flex-wrap: nowrap; |
| 653 |
} |
| 654 |
|
| 655 |
.orderable-fields-row__body-row:last-child { |
| 656 |
border-bottom: none; |
| 657 |
} |
| 658 |
|
| 659 |
.orderable-fields-row__body-row-left { |
| 660 |
background: #f4f5f6; |
| 661 |
padding: 15px 15px; |
| 662 |
width: 20%; |
| 663 |
-ms-flex-negative: 0; |
| 664 |
flex-shrink: 0; |
| 665 |
} |
| 666 |
|
| 667 |
.orderable-fields-row__body-row-left h3 { |
| 668 |
margin-top: 0; |
| 669 |
margin-bottom: 5px; |
| 670 |
font-size: 14px; |
| 671 |
} |
| 672 |
|
| 673 |
.orderable-fields-row__body-row-left p { |
| 674 |
margin: 0; |
| 675 |
} |
| 676 |
|
| 677 |
.orderable-fields-row__body-row-right { |
| 678 |
padding: 0 25px; |
| 679 |
display: -webkit-box; |
| 680 |
display: -ms-flexbox; |
| 681 |
display: flex; |
| 682 |
-webkit-box-align: center; |
| 683 |
-ms-flex-align: center; |
| 684 |
align-items: center; |
| 685 |
overflow: visible; |
| 686 |
-webkit-box-flex: 1; |
| 687 |
-ms-flex: 1; |
| 688 |
flex: 1; |
| 689 |
} |
| 690 |
|
| 691 |
.orderable-fields-row__body-row-right * { |
| 692 |
min-width: 0; |
| 693 |
} |
| 694 |
|
| 695 |
.orderable-fields-row__body-row-right--empty { |
| 696 |
-webkit-box-pack: center; |
| 697 |
-ms-flex-pack: center; |
| 698 |
justify-content: center; |
| 699 |
} |
| 700 |
|
| 701 |
.orderable-fields-row--open { |
| 702 |
border: none; |
| 703 |
} |
| 704 |
|
| 705 |
.orderable-fields-row--open .orderable-fields-row__body { |
| 706 |
display: block; |
| 707 |
-webkit-transform: scaleY(1); |
| 708 |
transform: scaleY(1); |
| 709 |
opacity: 1; |
| 710 |
border: 1px solid #d8dbdf; |
| 711 |
border-top: none; |
| 712 |
border-radius: 0 0 8px 8px; |
| 713 |
overflow: hidden; |
| 714 |
} |
| 715 |
|
| 716 |
.orderable-fields-row--open .orderable-fields-row__header-action .orderable-dashicons:hover { |
| 717 |
color: #fff !important; |
| 718 |
opacity: 0.6; |
| 719 |
} |
| 720 |
|
| 721 |
.orderable-fields-row--open .orderable-fields-row__header { |
| 722 |
background: #0a2135; |
| 723 |
border: 1px solid #0a2135; |
| 724 |
border-bottom: none; |
| 725 |
border-radius: 8px 8px 0 0; |
| 726 |
} |
| 727 |
|
| 728 |
.orderable-fields-row--open .orderable-fields-row__header, |
| 729 |
.orderable-fields-row--open .orderable-fields-row__header h3 { |
| 730 |
color: #fff; |
| 731 |
} |
| 732 |
|
| 733 |
.orderable-table__remove-row { |
| 734 |
text-decoration: none; |
| 735 |
} |
| 736 |
|
| 737 |
.orderable-fields-row--meta { |
| 738 |
border: none; |
| 739 |
padding: 0; |
| 740 |
border-radius: 0; |
| 741 |
margin: -6px -12px -12px; |
| 742 |
} |
| 743 |
|
| 744 |
.orderable-fields-row--meta .orderable-fields-row__body { |
| 745 |
display: block; |
| 746 |
-webkit-transform: scaleY(1); |
| 747 |
transform: scaleY(1); |
| 748 |
opacity: 1; |
| 749 |
} |
| 750 |
|
| 751 |
.orderable-fields-row--meta .orderable-fields-row__body-row { |
| 752 |
grid-template-columns: 30% 70%; |
| 753 |
} |
| 754 |
|
| 755 |
.orderable-fields-row--empty { |
| 756 |
padding: 30px 15px; |
| 757 |
text-align: center; |
| 758 |
} |
| 759 |
|
| 760 |
.orderable-fields-row--empty p:last-child { |
| 761 |
margin-bottom: 0; |
| 762 |
} |
| 763 |
|
| 764 |
.orderable-fields-row textarea { |
| 765 |
margin: 20px 0; |
| 766 |
min-height: 100px; |
| 767 |
min-width: 300px; |
| 768 |
} |
| 769 |
|
| 770 |
.orderable-fields-options { |
| 771 |
width: 100%; |
| 772 |
margin: 20px 0; |
| 773 |
overflow-x: scroll; |
| 774 |
} |
| 775 |
|
| 776 |
.orderable-fields-options__row { |
| 777 |
display: -webkit-box; |
| 778 |
display: -ms-flexbox; |
| 779 |
display: flex; |
| 780 |
width: 100%; |
| 781 |
-webkit-box-align: stretch; |
| 782 |
-ms-flex-align: stretch; |
| 783 |
align-items: stretch; |
| 784 |
margin: 0 0 15px; |
| 785 |
background: #f4f5f6; |
| 786 |
border-radius: 8px; |
| 787 |
-webkit-box-sizing: border-box; |
| 788 |
box-sizing: border-box; |
| 789 |
} |
| 790 |
|
| 791 |
.orderable-fields-options__row input[type=text], |
| 792 |
.orderable-fields-options__row input[type=number], |
| 793 |
.orderable-fields-options__row select { |
| 794 |
max-width: 100%; |
| 795 |
width: 100%; |
| 796 |
} |
| 797 |
|
| 798 |
.orderable-fields-options__row input[type=checkbox], |
| 799 |
.orderable-fields-options__row input[type=radio] { |
| 800 |
margin: -2px 4px 0 0; |
| 801 |
} |
| 802 |
|
| 803 |
.orderable-fields-options__row-fields { |
| 804 |
display: -webkit-box; |
| 805 |
display: -ms-flexbox; |
| 806 |
display: flex; |
| 807 |
-ms-flex-wrap: wrap; |
| 808 |
flex-wrap: wrap; |
| 809 |
-webkit-box-orient: horizontal; |
| 810 |
-webkit-box-direction: normal; |
| 811 |
-ms-flex-direction: row; |
| 812 |
flex-direction: row; |
| 813 |
margin: 0; |
| 814 |
-webkit-box-flex: 1; |
| 815 |
-ms-flex: 1; |
| 816 |
flex: 1; |
| 817 |
} |
| 818 |
|
| 819 |
.orderable-fields-options__row-fields-row { |
| 820 |
display: -webkit-box; |
| 821 |
display: -ms-flexbox; |
| 822 |
display: flex; |
| 823 |
margin: 0; |
| 824 |
-webkit-box-align: center; |
| 825 |
-ms-flex-align: center; |
| 826 |
align-items: center; |
| 827 |
width: 100%; |
| 828 |
-ms-flex-preferred-size: 50%; |
| 829 |
flex-basis: 50%; |
| 830 |
} |
| 831 |
|
| 832 |
@media (max-width: 1090px) { |
| 833 |
.orderable-fields-options__row-fields-row { |
| 834 |
-webkit-box-align: normal; |
| 835 |
-ms-flex-align: normal; |
| 836 |
align-items: normal; |
| 837 |
-webkit-box-orient: vertical; |
| 838 |
-webkit-box-direction: normal; |
| 839 |
-ms-flex-direction: column; |
| 840 |
flex-direction: column; |
| 841 |
} |
| 842 |
} |
| 843 |
@media (max-width: 1440px) { |
| 844 |
.orderable-fields-options__row-fields-row { |
| 845 |
-ms-flex-preferred-size: 100%; |
| 846 |
flex-basis: 100%; |
| 847 |
border-bottom: 1px solid #d8dbdf; |
| 848 |
border-right: none; |
| 849 |
} |
| 850 |
.orderable-fields-options__row-fields-row:last-child { |
| 851 |
border-bottom: none; |
| 852 |
} |
| 853 |
} |
| 854 |
.orderable-fields-options__row-field { |
| 855 |
-ms-flex-preferred-size: 50%; |
| 856 |
flex-basis: 50%; |
| 857 |
margin: 0; |
| 858 |
padding: 8px 8px 10px; |
| 859 |
border-right: 1px solid #d8dbdf; |
| 860 |
} |
| 861 |
|
| 862 |
.orderable-fields-options__row-fields-row:last-child .orderable-fields-options__row-field:last-child { |
| 863 |
border-right: none; |
| 864 |
} |
| 865 |
|
| 866 |
@media (max-width: 1440px) { |
| 867 |
.orderable-fields-options__row-field:last-child { |
| 868 |
border-right: none; |
| 869 |
} |
| 870 |
} |
| 871 |
@media (max-width: 1090px) { |
| 872 |
.orderable-fields-options__row-field { |
| 873 |
border-right: none; |
| 874 |
border-bottom: 1px solid #d8dbdf; |
| 875 |
} |
| 876 |
.orderable-fields-options__row-field:last-child { |
| 877 |
border-bottom: none; |
| 878 |
} |
| 879 |
} |
| 880 |
.orderable-fields-options__row-field-spacer { |
| 881 |
height: 30px; |
| 882 |
line-height: 30px; |
| 883 |
} |
| 884 |
|
| 885 |
@media (max-width: 782px) { |
| 886 |
.orderable-fields-options__row-field-spacer { |
| 887 |
height: 40px; |
| 888 |
line-height: 40px; |
| 889 |
} |
| 890 |
} |
| 891 |
.orderable-fields-options__row-field--visual { |
| 892 |
display: -webkit-box; |
| 893 |
display: -ms-flexbox; |
| 894 |
display: flex; |
| 895 |
-webkit-box-align: end; |
| 896 |
-ms-flex-align: end; |
| 897 |
align-items: flex-end; |
| 898 |
} |
| 899 |
|
| 900 |
.orderable-fields-options__row-field--full { |
| 901 |
-ms-flex-preferred-size: 100%; |
| 902 |
flex-basis: 100%; |
| 903 |
} |
| 904 |
|
| 905 |
@media (max-width: 1440px) { |
| 906 |
.orderable-fields-options__row-field--full { |
| 907 |
border-right: none; |
| 908 |
} |
| 909 |
} |
| 910 |
@media (max-width: 1090px) { |
| 911 |
.orderable-fields-options__row-field--full { |
| 912 |
border-bottom: none; |
| 913 |
} |
| 914 |
} |
| 915 |
.orderable-fields-options__row-field-label { |
| 916 |
font-weight: 600; |
| 917 |
display: block; |
| 918 |
margin: 0 0 4px; |
| 919 |
} |
| 920 |
|
| 921 |
.orderable-fields-options__row-field-label--inline { |
| 922 |
margin: 0; |
| 923 |
} |
| 924 |
|
| 925 |
.orderable-fields-options__row-type { |
| 926 |
-webkit-box-flex: 1; |
| 927 |
-ms-flex: 1 1 auto; |
| 928 |
flex: 1 1 auto; |
| 929 |
} |
| 930 |
|
| 931 |
.orderable-fields-options__row-visual { |
| 932 |
margin: 0 0 -4px 10px; |
| 933 |
} |
| 934 |
|
| 935 |
@media (max-width: 782px) { |
| 936 |
.orderable-fields-options__row-visual { |
| 937 |
margin-bottom: 0; |
| 938 |
} |
| 939 |
} |
| 940 |
.orderable-fields-options__row-drag, .orderable-fields-options__row-action { |
| 941 |
min-width: 20px; |
| 942 |
display: -webkit-box; |
| 943 |
display: -ms-flexbox; |
| 944 |
display: flex; |
| 945 |
-webkit-box-align: center; |
| 946 |
-ms-flex-align: center; |
| 947 |
align-items: center; |
| 948 |
padding: 0 10px; |
| 949 |
-webkit-box-sizing: content-box; |
| 950 |
box-sizing: content-box; |
| 951 |
} |
| 952 |
|
| 953 |
.orderable-fields-options__row-drag { |
| 954 |
border-right: 1px solid #d8dbdf; |
| 955 |
} |
| 956 |
|
| 957 |
.orderable-fields-options__row-action { |
| 958 |
border-left: 1px solid #d8dbdf; |
| 959 |
} |
| 960 |
|
| 961 |
.orderable-fields-options__grid { |
| 962 |
display: grid; |
| 963 |
grid-template-columns: 20px 1fr 80px 45px 1fr 70px 20px; |
| 964 |
grid-auto-columns: 1fr; |
| 965 |
grid-auto-flow: column; |
| 966 |
grid-gap: 20px; |
| 967 |
} |
| 968 |
|
| 969 |
.orderable-fields-options__grid--select { |
| 970 |
grid-template-columns: 20px repeat(2, 1fr) 70px 20px; |
| 971 |
} |
| 972 |
|
| 973 |
.orderable-fields-options__header { |
| 974 |
font-weight: 700; |
| 975 |
margin-bottom: 15px; |
| 976 |
} |
| 977 |
|
| 978 |
.orderable-fields-options__bullets { |
| 979 |
margin: 0; |
| 980 |
} |
| 981 |
|
| 982 |
.orderable-fields-options__bullets li:last-child { |
| 983 |
margin-bottom: 0; |
| 984 |
} |
| 985 |
|
| 986 |
.orderable-fields-option__empty { |
| 987 |
display: inline-block; |
| 988 |
width: 40px; |
| 989 |
height: 40px; |
| 990 |
} |
| 991 |
|
| 992 |
input[type=color].orderable-fields-option-color { |
| 993 |
width: 40px; |
| 994 |
max-width: 40px; |
| 995 |
border: 1px solid #d8dbdf; |
| 996 |
border-radius: 8px; |
| 997 |
padding: 3px; |
| 998 |
height: 40px; |
| 999 |
display: block; |
| 1000 |
margin: 0; |
| 1001 |
cursor: pointer; |
| 1002 |
} |
| 1003 |
|
| 1004 |
input[type=color].orderable-fields-option-color::-webkit-color-swatch-wrapper { |
| 1005 |
padding: 0; |
| 1006 |
} |
| 1007 |
|
| 1008 |
input[type=color].orderable-fields-option-color::-webkit-color-swatch { |
| 1009 |
border: none; |
| 1010 |
border-radius: 5px; |
| 1011 |
} |
| 1012 |
|
| 1013 |
input[type=color].orderable-fields-option-color:hover, |
| 1014 |
input[type=color].orderable-fields-option-color:focus { |
| 1015 |
outline: none; |
| 1016 |
border-color: #7e8993; |
| 1017 |
-webkit-box-shadow: none; |
| 1018 |
box-shadow: none; |
| 1019 |
} |
| 1020 |
|
| 1021 |
.orderable-fields-option-img__dummy { |
| 1022 |
position: relative; |
| 1023 |
width: 40px; |
| 1024 |
text-align: center; |
| 1025 |
height: 40px; |
| 1026 |
line-height: 40px; |
| 1027 |
font-size: 24px; |
| 1028 |
color: #0073aa; |
| 1029 |
border: 1px solid #d8dbdf; |
| 1030 |
border-radius: 8px; |
| 1031 |
-webkit-box-sizing: border-box; |
| 1032 |
box-sizing: border-box; |
| 1033 |
} |
| 1034 |
|
| 1035 |
.orderable-fields-option-img__dummy:hover { |
| 1036 |
color: #006799; |
| 1037 |
border-color: #7e8993; |
| 1038 |
} |
| 1039 |
|
| 1040 |
.orderable-fields-option-img__img-wrapper { |
| 1041 |
position: relative; |
| 1042 |
width: 40px; |
| 1043 |
max-width: 40px; |
| 1044 |
border: 1px solid #d8dbdf; |
| 1045 |
border-radius: 8px; |
| 1046 |
padding: 3px; |
| 1047 |
-webkit-box-sizing: border-box; |
| 1048 |
box-sizing: border-box; |
| 1049 |
} |
| 1050 |
|
| 1051 |
.orderable-fields-option-img__img { |
| 1052 |
width: 100%; |
| 1053 |
height: auto; |
| 1054 |
border-radius: 5px; |
| 1055 |
display: block; |
| 1056 |
} |
| 1057 |
|
| 1058 |
.orderable-fields-option-img__delete { |
| 1059 |
position: absolute; |
| 1060 |
top: -6px; |
| 1061 |
right: -6px; |
| 1062 |
color: #fff; |
| 1063 |
background: #dc3232; |
| 1064 |
border-radius: 100%; |
| 1065 |
padding: 4px; |
| 1066 |
font-size: 14px; |
| 1067 |
line-height: 14px; |
| 1068 |
width: 14px; |
| 1069 |
height: 14px; |
| 1070 |
border: 3px solid #fff; |
| 1071 |
-webkit-box-sizing: content-box; |
| 1072 |
box-sizing: content-box; |
| 1073 |
} |
| 1074 |
|
| 1075 |
.orderable-fields-option-img__delete:hover { |
| 1076 |
background: #a00; |
| 1077 |
color: #fff !important; |
| 1078 |
} |
| 1079 |
|
| 1080 |
.orderable-pro-modal { |
| 1081 |
display: -webkit-box; |
| 1082 |
display: -ms-flexbox; |
| 1083 |
display: flex; |
| 1084 |
height: 100%; |
| 1085 |
-webkit-box-orient: vertical; |
| 1086 |
-webkit-box-direction: normal; |
| 1087 |
-ms-flex-direction: column; |
| 1088 |
flex-direction: column; |
| 1089 |
} |
| 1090 |
|
| 1091 |
.orderable-pro-modal__content { |
| 1092 |
text-align: center; |
| 1093 |
padding: 20px; |
| 1094 |
margin: auto 0; |
| 1095 |
} |
| 1096 |
|
| 1097 |
.orderable-pointer .wp-pointer-content { |
| 1098 |
border-radius: 8px; |
| 1099 |
} |
| 1100 |
|
| 1101 |
.orderable-pointer .wp-pointer-content h3 { |
| 1102 |
background: #f5f0fe; |
| 1103 |
border-radius: 8px 8px 0 0; |
| 1104 |
color: #1d2327; |
| 1105 |
border-color: #bf9ef9; |
| 1106 |
padding-left: 50px; |
| 1107 |
} |
| 1108 |
|
| 1109 |
.orderable-pointer .wp-pointer-content h3::before { |
| 1110 |
background-color: #7031f5; |
| 1111 |
color: #fff; |
| 1112 |
font-size: 16px; |
| 1113 |
height: 26px; |
| 1114 |
width: 26px; |
| 1115 |
line-height: 26px; |
| 1116 |
top: 12px; |
| 1117 |
} |
| 1118 |
|
| 1119 |
.orderable-pointer.wp-pointer-bottom .wp-pointer-arrow, .orderable-pointer.wp-pointer-top .wp-pointer-arrow, .orderable-pointer.wp-pointer-undefined .wp-pointer-arrow { |
| 1120 |
left: 30px; |
| 1121 |
} |
| 1122 |
|
| 1123 |
.orderable-pointer.wp-pointer-top .wp-pointer-arrow, .orderable-pointer.wp-pointer-undefined .wp-pointer-arrow { |
| 1124 |
border-bottom-color: #bf9ff9; |
| 1125 |
} |
| 1126 |
|
| 1127 |
.orderable-pointer.wp-pointer-top .wp-pointer-arrow-inner, .orderable-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { |
| 1128 |
border-bottom-color: #f5f0fe; |
| 1129 |
} |
| 1130 |
|
| 1131 |
.wp-core-ui .orderable-pointer .button-secondary { |
| 1132 |
margin-right: 0.5em; |
| 1133 |
} |
| 1134 |
|
| 1135 |
/** |
| 1136 |
* CTA. |
| 1137 |
*/ |
| 1138 |
.orderable-cta { |
| 1139 |
overflow: hidden; |
| 1140 |
border: 1px solid #d8dbdf; |
| 1141 |
background: #fff; |
| 1142 |
border-radius: 8px; |
| 1143 |
padding: 25px; |
| 1144 |
} |
| 1145 |
|
| 1146 |
.orderable-cta > :last-child { |
| 1147 |
margin-bottom: 0; |
| 1148 |
} |
| 1149 |
|
| 1150 |
.orderable-cta__title { |
| 1151 |
margin-top: 0; |
| 1152 |
} |
| 1153 |
|
| 1154 |
.orderable-cta__description { |
| 1155 |
font-size: 15px; |
| 1156 |
} |