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