| @@ -1,12 +1,8 @@ | ||
| 1 | 1 | @import "@10up/component-tooltip"; |
| 2 | +@import "./global/colors.css"; | |
| 2 | 3 | |
| 3 | -:root { | |
| 4 | - --statusOk: #6aa000; | |
| 5 | - --statusWarning: #e3e600; | |
| 6 | - --statusError: #f00; | |
| 7 | -} | |
| 8 | - | |
| 4 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 9 | 5 | html.wp-toolbar { |
| 10 | 6 | background: transparent; |
| 11 | 7 | } |
| 12 | 8 | |
| @@ -24,22 +20,9 @@ | ||
| 24 | 20 | position: relative; |
| 25 | 21 | z-index: 2; |
| 26 | 22 | } |
| 27 | 23 | |
| 28 | -.wrap h1 { | |
| 29 | - font-size: 23px; | |
| 30 | - font-weight: 400; | |
| 31 | - line-height: 29px; | |
| 32 | - margin: 0; | |
| 33 | - padding: 9px 0 4px; | |
| 34 | -} | |
| 35 | - | |
| 36 | -.wrap h2 { | |
| 37 | - color: #888; | |
| 38 | - line-height: 1.75; | |
| 39 | - margin: 0.5em 0 0.75em; | |
| 40 | -} | |
| 41 | - | |
| 24 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 42 | 25 | h2.ep-list-features { |
| 43 | 26 | display: none; |
| 44 | 27 | } |
| 45 | 28 | |
| @@ -53,9 +36,9 @@ | ||
| 53 | 36 | margin: 5px 15px 2px; |
| 54 | 37 | } |
| 55 | 38 | |
| 56 | 39 | .ep-header-menu { |
| 57 | - background-color: #fff; | |
| 40 | + background-color: var(--ep-c-white); | |
| 58 | 41 | border-bottom: 2px solid #ddd; |
| 59 | 42 | margin-left: -20px; |
| 60 | 43 | padding-bottom: 5px; |
| 61 | 44 | padding-left: 20px; |
| @@ -109,9 +92,9 @@ | ||
| 109 | 92 | } |
| 110 | 93 | |
| 111 | 94 | .ep-header-menu .sync-status { |
| 112 | 95 | bottom: -1px; |
| 113 | - color: #666; | |
| 96 | + color: var(--ep-c-medium-gray); | |
| 114 | 97 | display: none; |
| 115 | 98 | font-style: italic; |
| 116 | 99 | margin-right: 8px; |
| 117 | 100 | position: relative; |
| @@ -118,9 +101,9 @@ | ||
| 118 | 101 | vertical-align: middle; |
| 119 | 102 | } |
| 120 | 103 | |
| 121 | 104 | .ep-header-menu .progress-bar { |
| 122 | - background-color: #d84440; | |
| 105 | + background-color: var(--ep-c-medium-red); | |
| 123 | 106 | bottom: 0; |
| 124 | 107 | height: 5px; |
| 125 | 108 | left: 0; |
| 126 | 109 | margin-bottom: -5px; |
| @@ -145,9 +128,9 @@ | ||
| 145 | 128 | } |
| 146 | 129 | |
| 147 | 130 | .error-overlay.cant-connect, |
| 148 | 131 | .error-overlay.syncing { |
| 149 | - background-color: #fff; | |
| 132 | + background-color: var(--ep-c-white); | |
| 150 | 133 | bottom: 0; |
| 151 | 134 | content: " "; |
| 152 | 135 | display: block; |
| 153 | 136 | left: 0; |
| @@ -176,9 +159,9 @@ | ||
| 176 | 159 | cursor: inherit; |
| 177 | 160 | } |
| 178 | 161 | |
| 179 | 162 | .ep-feature .postbox .hndle .settings-button { |
| 180 | - background-color: #efefef; | |
| 163 | + background-color: var(--ep-c-medium-white); | |
| 181 | 164 | border: none; |
| 182 | 165 | border-radius: 4px; |
| 183 | 166 | color: inherit; |
| 184 | 167 | cursor: pointer; |
| @@ -193,9 +176,9 @@ | ||
| 193 | 176 | position: relative; |
| 194 | 177 | } |
| 195 | 178 | |
| 196 | 179 | .ep-feature .settings-button::before { |
| 197 | - color: #72777c; | |
| 180 | + color: var(--ep-c-medium-gray); | |
| 198 | 181 | content: "\f140"; |
| 199 | 182 | display: inline-block; |
| 200 | 183 | font: 400 19px/1 dashicons; |
| 201 | 184 | left: 1px; |
| @@ -219,13 +202,13 @@ | ||
| 219 | 202 | .feature-requirements-status-2.ep-feature { |
| 220 | 203 | |
| 221 | 204 | & .postbox .hndle .settings-button::after { |
| 222 | 205 | background-color: transparent; |
| 223 | - border: 1px solid var(--statusError); | |
| 206 | + border: 1px solid var(--ep-status-error); | |
| 224 | 207 | } |
| 225 | 208 | |
| 226 | 209 | & .settings .requirements-status-notice { |
| 227 | - border-color: var(--statusError); | |
| 210 | + border-color: var(--ep-status-error); | |
| 228 | 211 | } |
| 229 | 212 | } |
| 230 | 213 | |
| 231 | 214 | .feature-requirements-status-1.ep-feature { |
| @@ -231,33 +214,34 @@ | ||
| 231 | 214 | .feature-requirements-status-1.ep-feature { |
| 232 | 215 | |
| 233 | 216 | & .postbox .hndle .settings-button::after { |
| 234 | 217 | background-color: transparent; |
| 235 | - border: 1px solid var(--statusWarning); | |
| 218 | + border: 1px solid var(--ep-status-warning); | |
| 236 | 219 | } |
| 237 | 220 | |
| 238 | 221 | &.feature-active .postbox .hndle .settings-button::after { |
| 239 | - background-color: var(--statusWarning); | |
| 222 | + background-color: var(--ep-status-warning); | |
| 240 | 223 | } |
| 241 | 224 | |
| 242 | 225 | & .settings .requirements-status-notice { |
| 243 | - border-color: var(--statusWarning); | |
| 226 | + border-color: var(--ep-status-warning); | |
| 244 | 227 | } |
| 245 | 228 | } |
| 246 | 229 | |
| 247 | 230 | .feature-requirements-status-0.ep-feature { |
| 248 | 231 | |
| 232 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 249 | 233 | & .postbox .hndle .settings-button::after { |
| 250 | 234 | background-color: transparent; |
| 251 | - border: 1px solid var(--statusOk); | |
| 235 | + border: 1px solid var(--ep-status-ok); | |
| 252 | 236 | } |
| 253 | 237 | |
| 254 | 238 | &.feature-active .postbox .hndle .settings-button::after { |
| 255 | - background-color: var(--statusOk); | |
| 239 | + background-color: var(--ep-status-ok); | |
| 256 | 240 | } |
| 257 | 241 | |
| 258 | 242 | & .settings .requirements-status-notice { |
| 259 | - border-color: var(--statusOk); | |
| 243 | + border-color: var(--ep-status-ok); | |
| 260 | 244 | } |
| 261 | 245 | } |
| 262 | 246 | |
| 263 | 247 | .ep-feature { |
| @@ -267,13 +251,13 @@ | ||
| 267 | 251 | } |
| 268 | 252 | |
| 269 | 253 | .ep-feature.saving .action-wrap::before { |
| 270 | 254 | animation: load8 1.1s infinite linear; |
| 271 | - border-bottom: 5px solid #ccc; | |
| 272 | - border-left: 5px solid #999; | |
| 255 | + border-bottom: 5px solid var(--ep-c-white-gray); | |
| 256 | + border-left: 5px solid var(--ep-c-light-gray); | |
| 273 | 257 | border-radius: 50%; |
| 274 | - border-right: 5px solid #ccc; | |
| 275 | - border-top: 5px solid #ccc; | |
| 258 | + border-right: 5px solid var(--ep-c-white-gray); | |
| 259 | + border-top: 5px solid var(--ep-c-white-gray); | |
| 276 | 260 | content: " "; |
| 277 | 261 | display: inline-block; |
| 278 | 262 | font-size: 7px; |
| 279 | 263 | height: 8px; |
| @@ -317,21 +301,22 @@ | ||
| 317 | 301 | content: "\f142"; |
| 318 | 302 | } |
| 319 | 303 | } |
| 320 | 304 | |
| 305 | +/* stylelint-disable-next-line no-descending-specificity */ | |
| 321 | 306 | .ep-feature .settings .requirements-status-notice { |
| 322 | - background-color: #efefef; | |
| 323 | - border-left: 4px solid var(--statusOk); | |
| 307 | + background-color: var(--ep-c-medium-white); | |
| 308 | + border-left: 4px solid var(--ep-status-ok); | |
| 324 | 309 | margin-bottom: 10px; |
| 325 | 310 | padding: 8px 12px; |
| 326 | 311 | |
| 327 | 312 | &.requirements-status-notice--reindex { |
| 328 | - border-color: var(--statusWarning); | |
| 313 | + border-color: var(--ep-status-warning); | |
| 329 | 314 | display: none; /* Controlled by JavaScript. */ |
| 330 | 315 | } |
| 331 | 316 | |
| 332 | 317 | &.requirements-status-notice--syncing { |
| 333 | - border-color: var(--statusError); | |
| 318 | + border-color: var(--ep-status-error); | |
| 334 | 319 | display: none; /* Controlled by JavaScript. */ |
| 335 | 320 | } |
| 336 | 321 | } |
| 337 | 322 | |
| @@ -346,14 +331,15 @@ | ||
| 346 | 331 | display: inline-block; |
| 347 | 332 | } |
| 348 | 333 | |
| 349 | 334 | & .no-dash-sync { |
| 350 | - color: #aaa; | |
| 335 | + color: var(--ep-c-light-gray); | |
| 351 | 336 | display: none; |
| 352 | 337 | line-height: 27px; |
| 353 | 338 | padding-right: 8px; |
| 354 | 339 | } |
| 355 | 340 | |
| 341 | + /* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 356 | 342 | & a.disabled { |
| 357 | 343 | cursor: default; |
| 358 | 344 | } |
| 359 | 345 | |
| @@ -383,12 +369,8 @@ | ||
| 383 | 369 | display: inline-block; |
| 384 | 370 | margin: 0.25em 0 0.5em; |
| 385 | 371 | } |
| 386 | 372 | |
| 387 | - & div { | |
| 388 | - padding-top: 5px; | |
| 389 | - } | |
| 390 | - | |
| 391 | 373 | & > label, |
| 392 | 374 | & .field-name { |
| 393 | 375 | box-sizing: border-box; |
| 394 | 376 | display: block; |
| @@ -399,13 +381,14 @@ | ||
| 399 | 381 | |
| 400 | 382 | & .input-wrap { |
| 401 | 383 | display: block; |
| 402 | 384 | float: right; |
| 385 | + padding-top: 5px; | |
| 403 | 386 | width: 75%; |
| 404 | 387 | } |
| 405 | 388 | |
| 406 | 389 | & .field-description { |
| 407 | - color: #666; | |
| 390 | + color: var(--ep-c-medium-gray); | |
| 408 | 391 | font-style: italic; |
| 409 | 392 | margin-bottom: 0; |
| 410 | 393 | margin-top: 4px; |
| 411 | 394 | } |
| @@ -410,9 +393,9 @@ | ||
| 410 | 393 | margin-top: 4px; |
| 411 | 394 | } |
| 412 | 395 | |
| 413 | 396 | & .disabled { |
| 414 | - color: #bbb; | |
| 397 | + color: var(--ep-c-light-gray); | |
| 415 | 398 | |
| 416 | 399 | & input { |
| 417 | 400 | cursor: default; |
| 418 | 401 | } |
| @@ -426,9 +409,9 @@ | ||
| 426 | 409 | margin-top: 0; |
| 427 | 410 | } |
| 428 | 411 | |
| 429 | 412 | & .components-form-token-field__input-container { |
| 430 | - padding: 2px 4px; | |
| 413 | + border-color: var(--ep-c-light-gray); | |
| 431 | 414 | } |
| 432 | 415 | } |
| 433 | 416 | |
| 434 | 417 | .ep-feature .long { |
| @@ -473,13 +456,13 @@ | ||
| 473 | 456 | |
| 474 | 457 | |
| 475 | 458 | .intro h2 { |
| 476 | 459 | line-height: 1.2; |
| 477 | - padding: 9px 0 4px 0; | |
| 460 | + padding: 9px 0 4px; | |
| 478 | 461 | } |
| 479 | 462 | |
| 480 | 463 | .intro h1 { |
| 481 | - color: #626262; | |
| 464 | + color: var(--ep-c-medium-gray); | |
| 482 | 465 | font-weight: 600; |
| 483 | 466 | margin: 0.5em 0 2em; |
| 484 | 467 | text-align: center; |
| 485 | 468 | } |
| @@ -500,12 +483,13 @@ | ||
| 500 | 483 | margin-right: 10%; |
| 501 | 484 | } |
| 502 | 485 | |
| 503 | 486 | & h2 { |
| 504 | - color: #626262; | |
| 487 | + color: var(--ep-c-medium-gray); | |
| 505 | 488 | height: 8%; |
| 506 | 489 | } |
| 507 | 490 | |
| 491 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 508 | 492 | & p { |
| 509 | 493 | margin-left: auto; |
| 510 | 494 | margin-right: auto; |
| 511 | 495 | max-width: 300px; |
| @@ -550,11 +534,12 @@ | ||
| 550 | 534 | justify-content: center; |
| 551 | 535 | text-align: center; |
| 552 | 536 | } |
| 553 | 537 | |
| 538 | +/* stylelint-disable-next-line no-descending-specificity */ | |
| 554 | 539 | .intro-container-success p { |
| 555 | 540 | margin-top: 23px; |
| 556 | - padding: 0 35% 0 35%; | |
| 541 | + padding: 0 35%; | |
| 557 | 542 | } |
| 558 | 543 | |
| 559 | 544 | @media (--tablet-max) { |
| 560 | 545 | |
| @@ -583,11 +568,12 @@ | ||
| 583 | 568 | |
| 584 | 569 | .ep-copy-text { |
| 585 | 570 | |
| 586 | 571 | @media (--tablet-min) { |
| 587 | - padding: 0 9% 0 9%; | |
| 572 | + padding: 0 9%; | |
| 588 | 573 | } |
| 589 | 574 | |
| 575 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 590 | 576 | & a { |
| 591 | 577 | font-weight: 700; |
| 592 | 578 | } |
| 593 | 579 | } |
| @@ -592,11 +578,11 @@ | ||
| 592 | 578 | } |
| 593 | 579 | } |
| 594 | 580 | |
| 595 | 581 | .ep-circle { |
| 596 | - background: #fff; | |
| 582 | + background: var(--ep-c-white); | |
| 597 | 583 | border-radius: 50%; |
| 598 | - color: #626262; | |
| 584 | + color: var(--ep-c-medium-gray); | |
| 599 | 585 | display: inline-block; |
| 600 | 586 | font-size: 16px; |
| 601 | 587 | font-weight: 400; |
| 602 | 588 | height: 6em; |
| @@ -604,8 +590,9 @@ | ||
| 604 | 590 | margin: 0 1em; |
| 605 | 591 | text-align: center; |
| 606 | 592 | width: 6em; |
| 607 | 593 | |
| 594 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 608 | 595 | & p { |
| 609 | 596 | border: 0; |
| 610 | 597 | font-size: 50px; |
| 611 | 598 | font-weight: 700; |
| @@ -632,19 +619,12 @@ | ||
| 632 | 619 | } |
| 633 | 620 | } |
| 634 | 621 | |
| 635 | 622 | .ep-circle--active { |
| 636 | - background-color: #d73c38; | |
| 637 | - color: #fff; | |
| 623 | + background-color: var(--ep-c-medium-red); | |
| 624 | + color: var(--ep-c-white); | |
| 638 | 625 | } |
| 639 | 626 | |
| 640 | -@media (--tablet-min) { | |
| 641 | - | |
| 642 | - .wrap h1 { | |
| 643 | - line-height: 1.75; | |
| 644 | - } | |
| 645 | -} | |
| 646 | - | |
| 647 | 627 | .wrap.intro { |
| 648 | 628 | margin-bottom: 30px; |
| 649 | 629 | margin-top: 30px; |
| 650 | 630 | overflow: auto; |
| @@ -652,8 +632,9 @@ | ||
| 652 | 632 | & .updated, |
| 653 | 633 | & .notice, |
| 654 | 634 | & .error, |
| 655 | 635 | & .is-dismissible { |
| 636 | + /* stylelint-disable-next-line declaration-no-important */ | |
| 656 | 637 | display: none !important; |
| 657 | 638 | } |
| 658 | 639 | } |
| 659 | 640 | |
| @@ -667,13 +648,13 @@ | ||
| 667 | 648 | } |
| 668 | 649 | |
| 669 | 650 | .setup-button { |
| 670 | 651 | -webkit-appearance: none; |
| 671 | - background-color: #e63e3b; | |
| 652 | + background-color: var(--ep-c-medium-red); | |
| 672 | 653 | border: none; |
| 673 | 654 | border-radius: 10px; |
| 674 | 655 | box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.25); |
| 675 | - color: #fff; | |
| 656 | + color: var(--ep-c-white); | |
| 676 | 657 | display: inline-block; |
| 677 | 658 | margin: 0 0.75em; |
| 678 | 659 | padding: 1em 1.5em; |
| 679 | 660 | text-decoration: none; |
| @@ -679,191 +660,17 @@ | ||
| 679 | 660 | text-decoration: none; |
| 680 | 661 | } |
| 681 | 662 | |
| 682 | 663 | .setup-button:hover { |
| 683 | - background-color: #b93431; | |
| 684 | - color: #ffe8ed; | |
| 664 | + background-color: var(--ep-c-dark-red); | |
| 665 | + color: var(--ep-c-white-red); | |
| 685 | 666 | } |
| 686 | 667 | |
| 687 | 668 | .setup-message .setup-button-primary { |
| 688 | - background-color: #fff; | |
| 689 | - color: #d84440; | |
| 669 | + background-color: var(--ep-c-white); | |
| 670 | + color: var(--ep-c-medium-red); | |
| 690 | 671 | } |
| 691 | 672 | |
| 692 | -/** | |
| 693 | - * Weighting | |
| 694 | - */ | |
| 695 | - | |
| 696 | -.weighting-settings .postbox { | |
| 697 | - box-sizing: border-box; | |
| 698 | - max-width: 650px; | |
| 699 | - | |
| 700 | - & * { | |
| 701 | - box-sizing: border-box; | |
| 702 | - } | |
| 703 | -} | |
| 704 | - | |
| 705 | -.weighting-settings .postbox h2.hndle { | |
| 706 | - color: #444; | |
| 707 | - cursor: inherit; | |
| 708 | -} | |
| 709 | - | |
| 710 | -.weighting-settings fieldset { | |
| 711 | - padding: 10px; | |
| 712 | -} | |
| 713 | - | |
| 714 | -.weighting-settings fieldset legend { | |
| 715 | - float: left; /* legend cannot use display */ | |
| 716 | - position: relative; | |
| 717 | - top: 5px; | |
| 718 | - width: 100px; | |
| 719 | -} | |
| 720 | - | |
| 721 | -.weighting-settings fieldset p { | |
| 722 | - display: inline-block; | |
| 723 | - float: left; | |
| 724 | - margin: 0; | |
| 725 | -} | |
| 726 | - | |
| 727 | -.weighting-settings .field-group { | |
| 728 | - margin: 10px 0 0; | |
| 729 | -} | |
| 730 | - | |
| 731 | -.weighting-settings .field-group h3 { | |
| 732 | - font-size: 1em; | |
| 733 | - margin: 10px; | |
| 734 | -} | |
| 735 | - | |
| 736 | -.weighting-settings .fields > fieldset:nth-of-type(odd) { | |
| 737 | - background: #f9f9f9; | |
| 738 | -} | |
| 739 | - | |
| 740 | -.weighting-settings .searchable { | |
| 741 | - display: inline-block; | |
| 742 | - width: 120px; | |
| 743 | -} | |
| 744 | - | |
| 745 | -.weighting-settings .weighting { | |
| 746 | - align-items: center; | |
| 747 | - display: flex; | |
| 748 | -} | |
| 749 | - | |
| 750 | -.weighting-settings .weighting label { | |
| 751 | - margin-right: 10px; | |
| 752 | - min-width: 80px; | |
| 753 | -} | |
| 754 | - | |
| 755 | -.weighting-settings input[type="range"] { | |
| 756 | - -webkit-appearance: none; | |
| 757 | - background: transparent; | |
| 758 | - display: inline-block; | |
| 759 | - height: 1em; | |
| 760 | - margin: 0; | |
| 761 | - vertical-align: middle; | |
| 762 | - width: 200px; | |
| 763 | -} | |
| 764 | - | |
| 765 | -.weighting-settings input[type="range"]:focus { | |
| 766 | - outline: none; | |
| 767 | -} | |
| 768 | - | |
| 769 | -.weighting-settings input[type="range"]:disabled { | |
| 770 | - opacity: 0.5; | |
| 771 | - pointer-events: none; | |
| 772 | -} | |
| 773 | - | |
| 774 | -.weighting-settings input[type="range"]::-webkit-slider-runnable-track { | |
| 775 | - background: #ddd; | |
| 776 | - border: 0 solid #000; | |
| 777 | - border-radius: 1px; | |
| 778 | - box-shadow: 0 0 0 #000; | |
| 779 | - cursor: pointer; | |
| 780 | - height: 3px; | |
| 781 | - width: 100%; | |
| 782 | -} | |
| 783 | - | |
| 784 | -.weighting-settings input[type="range"]::-webkit-slider-thumb { | |
| 785 | - -webkit-appearance: none; | |
| 786 | - background: #1e8cbe; | |
| 787 | - border: 1px solid #1e8cbe; | |
| 788 | - border-radius: 25px; | |
| 789 | - box-shadow: 0 0 0 #000; | |
| 790 | - cursor: pointer; | |
| 791 | - height: 14px; | |
| 792 | - margin-top: -6px; | |
| 793 | - width: 14px; | |
| 794 | -} | |
| 795 | - | |
| 796 | -.weighting-settings input[type="range"]:focus::-webkit-slider-runnable-track { | |
| 797 | - background: #ddd; | |
| 798 | -} | |
| 799 | - | |
| 800 | -.weighting-settings input[type="range"]:focus::-webkit-slider-thumb { | |
| 801 | - background: #fff !important; | |
| 802 | -} | |
| 803 | - | |
| 804 | -.weighting-settings input[type="range"]::-moz-range-track { | |
| 805 | - background: #1e8cbe; | |
| 806 | - border: 0 solid #000; | |
| 807 | - border-radius: 1px; | |
| 808 | - box-shadow: 0 0 0 #000; | |
| 809 | - cursor: pointer; | |
| 810 | - height: 3px; | |
| 811 | - width: 100%; | |
| 812 | -} | |
| 813 | - | |
| 814 | -.weighting-settings input[type="range"]::-moz-range-thumb { | |
| 815 | - background: #1e8cbe; | |
| 816 | - border: 1px solid #1e8cbe; | |
| 817 | - border-radius: 25px; | |
| 818 | - box-shadow: 0 0 0 #000; | |
| 819 | - cursor: pointer; | |
| 820 | - height: 14px; | |
| 821 | - width: 14px; | |
| 822 | -} | |
| 823 | - | |
| 824 | -.weighting-settings input[type="range"]::-ms-track { | |
| 825 | - background: transparent; | |
| 826 | - border-color: transparent; | |
| 827 | - color: transparent; | |
| 828 | - cursor: pointer; | |
| 829 | - height: 3px; | |
| 830 | - width: 100%; | |
| 831 | -} | |
| 832 | - | |
| 833 | -.weighting-settings input[type="range"]::-ms-fill-lower { | |
| 834 | - background: #1e8cbe; | |
| 835 | - border: 0 solid #000; | |
| 836 | - border-radius: 2px; | |
| 837 | - box-shadow: 0 0 0 #000; | |
| 838 | -} | |
| 839 | - | |
| 840 | -.weighting-settings input[type="range"]::-ms-fill-upper { | |
| 841 | - background: #1e8cbe; | |
| 842 | - border: 0 solid #000; | |
| 843 | - border-radius: 2px; | |
| 844 | - box-shadow: 0 0 0 #000; | |
| 845 | -} | |
| 846 | - | |
| 847 | -.weighting-settings input[type="range"]::-ms-thumb { | |
| 848 | - background: #a1d0ff; | |
| 849 | - border: 1px solid #1e8cbe; | |
| 850 | - border-radius: 25px; | |
| 851 | - box-shadow: 0 0 0 #000; | |
| 852 | - cursor: pointer; | |
| 853 | - height: 14px; | |
| 854 | - margin-top: 1px; | |
| 855 | - width: 14px; | |
| 856 | -} | |
| 857 | - | |
| 858 | -.weighting-settings input[type="range"]:focus::-ms-fill-lower { | |
| 859 | - background: #1e8cbe; | |
| 860 | -} | |
| 861 | - | |
| 862 | -.weighting-settings input[type="range"]:focus::-ms-fill-upper { | |
| 863 | - background: #1e8cbe; | |
| 864 | -} | |
| 865 | - | |
| 866 | 673 | .ep-feature-search .wp-color-result.button { |
| 867 | 674 | margin-bottom: 10px; |
| 868 | 675 | } |
| 869 | 676 | |
| @@ -957,10 +764,11 @@ | ||
| 957 | 764 | * Settings page |
| 958 | 765 | */ |
| 959 | 766 | |
| 960 | 767 | /* @media screen and (max-width: 600px) { */ |
| 768 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 961 | 769 | .wrap h2.nav-tab-wrapper.ep-credentials-tabs { |
| 962 | - border-bottom: 1px solid #ccc; | |
| 770 | + border-bottom: 1px solid var(--ep-c-white-gray); | |
| 963 | 771 | } |
| 964 | 772 | |
| 965 | 773 | /* } */ |
| 966 | 774 | |
| @@ -973,9 +781,9 @@ | ||
| 973 | 781 | margin-bottom: -1px; |
| 974 | 782 | } |
| 975 | 783 | |
| 976 | 784 | .ep-credentials-tab.nav-tab-active { |
| 977 | - border-bottom-color: #f1f1f1; | |
| 785 | + border-bottom-color: var(--ep-c-white); | |
| 978 | 786 | } |
| 979 | 787 | |
| 980 | 788 | .ep-credentials-tab img, |
| 981 | 789 | .ep-credentials-tab span { |
| @@ -983,17 +791,18 @@ | ||
| 983 | 791 | vertical-align: middle; |
| 984 | 792 | } |
| 985 | 793 | |
| 986 | 794 | .ep-credentials fieldset { |
| 987 | - border-bottom: 1px solid #ccc; | |
| 988 | - border-left: 1px solid #ccc; | |
| 989 | - border-right: 1px solid #ccc; | |
| 795 | + border-bottom: 1px solid var(--ep-c-white-gray); | |
| 796 | + border-left: 1px solid var(--ep-c-white-gray); | |
| 797 | + border-right: 1px solid var(--ep-c-white-gray); | |
| 990 | 798 | margin: 0; |
| 991 | 799 | padding: 0 1rem; |
| 992 | 800 | } |
| 993 | 801 | |
| 802 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 994 | 803 | .ep-credentials fieldset.predefined { |
| 995 | - border-top: 1px solid #ccc; | |
| 804 | + border-top: 1px solid var(--ep-c-white-gray); | |
| 996 | 805 | } |
| 997 | 806 | |
| 998 | 807 | .ep-settings .ep-credentials-general { |
| 999 | 808 | padding: 0 1rem; |
| @@ -1002,8 +811,9 @@ | ||
| 1002 | 811 | .ep-settings .button-primary { |
| 1003 | 812 | margin: 0 1rem; |
| 1004 | 813 | } |
| 1005 | 814 | |
| 815 | +/* stylelint-disable-next-line no-descending-specificity */ | |
| 1006 | 816 | .ep-settings .description { |
| 1007 | 817 | font-size: 0.75rem; |
| 1008 | 818 | font-style: italic; |
| 1009 | 819 | } |
| @@ -1022,11 +832,11 @@ | ||
| 1022 | 832 | .ep-credentials-general .form-table td { |
| 1023 | 833 | padding-left: 0; |
| 1024 | 834 | } |
| 1025 | 835 | |
| 1026 | - .ep-credentials .form-table td input, | |
| 836 | + .ep-credentials .form-table td input:not([type="checkbox"]), | |
| 1027 | 837 | .ep-credentials .form-table td select, |
| 1028 | - .ep-credentials-general .form-table td input, | |
| 838 | + .ep-credentials-general .form-table td input:not([type="checkbox"]), | |
| 1029 | 839 | .ep-credentials-general .form-table td select { |
| 1030 | 840 | width: 250px; |
| 1031 | 841 | } |
| 1032 | 842 | } |
| @@ -1056,9 +866,9 @@ | ||
| 1056 | 866 | margin-right: 24px; |
| 1057 | 867 | } */ |
| 1058 | 868 | |
| 1059 | 869 | @media (--wide-min) { |
| 1060 | - background-color: #fff; | |
| 870 | + background-color: var(--ep-c-white); | |
| 1061 | 871 | margin-right: 28px; |
| 1062 | 872 | width: 37%; |
| 1063 | 873 | } |
| 1064 | 874 | } |
| @@ -1063,9 +873,9 @@ | ||
| 1063 | 873 | } |
| 1064 | 874 | } |
| 1065 | 875 | |
| 1066 | 876 | .stats-queries { |
| 1067 | - background-color: #fff; | |
| 877 | + background-color: var(--ep-c-white); | |
| 1068 | 878 | width: 100%; |
| 1069 | 879 | |
| 1070 | 880 | /* @media( --tablet-min ) { |
| 1071 | 881 | width: 48%; |
| @@ -1105,29 +915,29 @@ | ||
| 1105 | 915 | width: 8px; |
| 1106 | 916 | } |
| 1107 | 917 | |
| 1108 | 918 | .green-status { |
| 1109 | - color: var(--statusOk); | |
| 919 | + color: var(--ep-status-ok); | |
| 1110 | 920 | } |
| 1111 | 921 | |
| 1112 | 922 | .yellow-status { |
| 1113 | - color: var(--statusWarning); | |
| 923 | + color: var(--ep-status-warning); | |
| 1114 | 924 | } |
| 1115 | 925 | |
| 1116 | 926 | .red-status { |
| 1117 | - color: var(--statusError); | |
| 927 | + color: var(--ep-status-error); | |
| 1118 | 928 | } |
| 1119 | 929 | |
| 1120 | 930 | .green-status::after { |
| 1121 | - background-color: var(--statusOk); | |
| 931 | + background-color: var(--ep-status-ok); | |
| 1122 | 932 | } |
| 1123 | 933 | |
| 1124 | 934 | .yellow-status::after { |
| 1125 | - background-color: var(--statusWarning); | |
| 935 | + background-color: var(--ep-status-warning); | |
| 1126 | 936 | } |
| 1127 | 937 | |
| 1128 | 938 | .red-status::after { |
| 1129 | - background-color: var(--statusError); | |
| 939 | + background-color: var(--ep-status-error); | |
| 1130 | 940 | } |
| 1131 | 941 | |
| 1132 | 942 | .doc-chart { |
| 1133 | 943 | margin-right: 0; |
| @@ -1197,13 +1007,20 @@ | ||
| 1197 | 1007 | width: 50%; |
| 1198 | 1008 | } |
| 1199 | 1009 | } |
| 1200 | 1010 | |
| 1011 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 1201 | 1012 | p.ep-totals-title { |
| 1202 | 1013 | font-weight: bolder; |
| 1203 | 1014 | margin-top: 28px; |
| 1204 | 1015 | } |
| 1205 | 1016 | |
| 1017 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 1206 | 1018 | p.ep-totals-data { |
| 1207 | 1019 | font-size: 3em; |
| 1208 | 1020 | margin-top: 22px; |
| 1021 | +} | |
| 1022 | + | |
| 1023 | +.feature-epio-logo { | |
| 1024 | + margin-left: 5px; | |
| 1025 | + vertical-align: middle; | |
| 1209 | 1026 | } |