| @@ -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,8 +20,9 @@ | ||
| 24 | 20 | position: relative; |
| 25 | 21 | z-index: 2; |
| 26 | 22 | } |
| 27 | 23 | |
| 24 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 28 | 25 | h2.ep-list-features { |
| 29 | 26 | display: none; |
| 30 | 27 | } |
| 31 | 28 | |
| @@ -39,9 +36,9 @@ | ||
| 39 | 36 | margin: 5px 15px 2px; |
| 40 | 37 | } |
| 41 | 38 | |
| 42 | 39 | .ep-header-menu { |
| 43 | - background-color: #fff; | |
| 40 | + background-color: var(--ep-c-white); | |
| 44 | 41 | border-bottom: 2px solid #ddd; |
| 45 | 42 | margin-left: -20px; |
| 46 | 43 | padding-bottom: 5px; |
| 47 | 44 | padding-left: 20px; |
| @@ -95,9 +92,9 @@ | ||
| 95 | 92 | } |
| 96 | 93 | |
| 97 | 94 | .ep-header-menu .sync-status { |
| 98 | 95 | bottom: -1px; |
| 99 | - color: #666; | |
| 96 | + color: var(--ep-c-medium-gray); | |
| 100 | 97 | display: none; |
| 101 | 98 | font-style: italic; |
| 102 | 99 | margin-right: 8px; |
| 103 | 100 | position: relative; |
| @@ -104,9 +101,9 @@ | ||
| 104 | 101 | vertical-align: middle; |
| 105 | 102 | } |
| 106 | 103 | |
| 107 | 104 | .ep-header-menu .progress-bar { |
| 108 | - background-color: #d84440; | |
| 105 | + background-color: var(--ep-c-medium-red); | |
| 109 | 106 | bottom: 0; |
| 110 | 107 | height: 5px; |
| 111 | 108 | left: 0; |
| 112 | 109 | margin-bottom: -5px; |
| @@ -131,9 +128,9 @@ | ||
| 131 | 128 | } |
| 132 | 129 | |
| 133 | 130 | .error-overlay.cant-connect, |
| 134 | 131 | .error-overlay.syncing { |
| 135 | - background-color: #fff; | |
| 132 | + background-color: var(--ep-c-white); | |
| 136 | 133 | bottom: 0; |
| 137 | 134 | content: " "; |
| 138 | 135 | display: block; |
| 139 | 136 | left: 0; |
| @@ -162,9 +159,9 @@ | ||
| 162 | 159 | cursor: inherit; |
| 163 | 160 | } |
| 164 | 161 | |
| 165 | 162 | .ep-feature .postbox .hndle .settings-button { |
| 166 | - background-color: #efefef; | |
| 163 | + background-color: var(--ep-c-medium-white); | |
| 167 | 164 | border: none; |
| 168 | 165 | border-radius: 4px; |
| 169 | 166 | color: inherit; |
| 170 | 167 | cursor: pointer; |
| @@ -179,9 +176,9 @@ | ||
| 179 | 176 | position: relative; |
| 180 | 177 | } |
| 181 | 178 | |
| 182 | 179 | .ep-feature .settings-button::before { |
| 183 | - color: #72777c; | |
| 180 | + color: var(--ep-c-medium-gray); | |
| 184 | 181 | content: "\f140"; |
| 185 | 182 | display: inline-block; |
| 186 | 183 | font: 400 19px/1 dashicons; |
| 187 | 184 | left: 1px; |
| @@ -205,13 +202,13 @@ | ||
| 205 | 202 | .feature-requirements-status-2.ep-feature { |
| 206 | 203 | |
| 207 | 204 | & .postbox .hndle .settings-button::after { |
| 208 | 205 | background-color: transparent; |
| 209 | - border: 1px solid var(--statusError); | |
| 206 | + border: 1px solid var(--ep-status-error); | |
| 210 | 207 | } |
| 211 | 208 | |
| 212 | 209 | & .settings .requirements-status-notice { |
| 213 | - border-color: var(--statusError); | |
| 210 | + border-color: var(--ep-status-error); | |
| 214 | 211 | } |
| 215 | 212 | } |
| 216 | 213 | |
| 217 | 214 | .feature-requirements-status-1.ep-feature { |
| @@ -217,33 +214,34 @@ | ||
| 217 | 214 | .feature-requirements-status-1.ep-feature { |
| 218 | 215 | |
| 219 | 216 | & .postbox .hndle .settings-button::after { |
| 220 | 217 | background-color: transparent; |
| 221 | - border: 1px solid var(--statusWarning); | |
| 218 | + border: 1px solid var(--ep-status-warning); | |
| 222 | 219 | } |
| 223 | 220 | |
| 224 | 221 | &.feature-active .postbox .hndle .settings-button::after { |
| 225 | - background-color: var(--statusWarning); | |
| 222 | + background-color: var(--ep-status-warning); | |
| 226 | 223 | } |
| 227 | 224 | |
| 228 | 225 | & .settings .requirements-status-notice { |
| 229 | - border-color: var(--statusWarning); | |
| 226 | + border-color: var(--ep-status-warning); | |
| 230 | 227 | } |
| 231 | 228 | } |
| 232 | 229 | |
| 233 | 230 | .feature-requirements-status-0.ep-feature { |
| 234 | 231 | |
| 232 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 235 | 233 | & .postbox .hndle .settings-button::after { |
| 236 | 234 | background-color: transparent; |
| 237 | - border: 1px solid var(--statusOk); | |
| 235 | + border: 1px solid var(--ep-status-ok); | |
| 238 | 236 | } |
| 239 | 237 | |
| 240 | 238 | &.feature-active .postbox .hndle .settings-button::after { |
| 241 | - background-color: var(--statusOk); | |
| 239 | + background-color: var(--ep-status-ok); | |
| 242 | 240 | } |
| 243 | 241 | |
| 244 | 242 | & .settings .requirements-status-notice { |
| 245 | - border-color: var(--statusOk); | |
| 243 | + border-color: var(--ep-status-ok); | |
| 246 | 244 | } |
| 247 | 245 | } |
| 248 | 246 | |
| 249 | 247 | .ep-feature { |
| @@ -253,13 +251,13 @@ | ||
| 253 | 251 | } |
| 254 | 252 | |
| 255 | 253 | .ep-feature.saving .action-wrap::before { |
| 256 | 254 | animation: load8 1.1s infinite linear; |
| 257 | - border-bottom: 5px solid #ccc; | |
| 258 | - 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); | |
| 259 | 257 | border-radius: 50%; |
| 260 | - border-right: 5px solid #ccc; | |
| 261 | - 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); | |
| 262 | 260 | content: " "; |
| 263 | 261 | display: inline-block; |
| 264 | 262 | font-size: 7px; |
| 265 | 263 | height: 8px; |
| @@ -303,21 +301,22 @@ | ||
| 303 | 301 | content: "\f142"; |
| 304 | 302 | } |
| 305 | 303 | } |
| 306 | 304 | |
| 305 | +/* stylelint-disable-next-line no-descending-specificity */ | |
| 307 | 306 | .ep-feature .settings .requirements-status-notice { |
| 308 | - background-color: #efefef; | |
| 309 | - border-left: 4px solid var(--statusOk); | |
| 307 | + background-color: var(--ep-c-medium-white); | |
| 308 | + border-left: 4px solid var(--ep-status-ok); | |
| 310 | 309 | margin-bottom: 10px; |
| 311 | 310 | padding: 8px 12px; |
| 312 | 311 | |
| 313 | 312 | &.requirements-status-notice--reindex { |
| 314 | - border-color: var(--statusWarning); | |
| 313 | + border-color: var(--ep-status-warning); | |
| 315 | 314 | display: none; /* Controlled by JavaScript. */ |
| 316 | 315 | } |
| 317 | 316 | |
| 318 | 317 | &.requirements-status-notice--syncing { |
| 319 | - border-color: var(--statusError); | |
| 318 | + border-color: var(--ep-status-error); | |
| 320 | 319 | display: none; /* Controlled by JavaScript. */ |
| 321 | 320 | } |
| 322 | 321 | } |
| 323 | 322 | |
| @@ -332,14 +331,15 @@ | ||
| 332 | 331 | display: inline-block; |
| 333 | 332 | } |
| 334 | 333 | |
| 335 | 334 | & .no-dash-sync { |
| 336 | - color: #aaa; | |
| 335 | + color: var(--ep-c-light-gray); | |
| 337 | 336 | display: none; |
| 338 | 337 | line-height: 27px; |
| 339 | 338 | padding-right: 8px; |
| 340 | 339 | } |
| 341 | 340 | |
| 341 | + /* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 342 | 342 | & a.disabled { |
| 343 | 343 | cursor: default; |
| 344 | 344 | } |
| 345 | 345 | |
| @@ -369,12 +369,8 @@ | ||
| 369 | 369 | display: inline-block; |
| 370 | 370 | margin: 0.25em 0 0.5em; |
| 371 | 371 | } |
| 372 | 372 | |
| 373 | - & div { | |
| 374 | - padding-top: 5px; | |
| 375 | - } | |
| 376 | - | |
| 377 | 373 | & > label, |
| 378 | 374 | & .field-name { |
| 379 | 375 | box-sizing: border-box; |
| 380 | 376 | display: block; |
| @@ -385,13 +381,14 @@ | ||
| 385 | 381 | |
| 386 | 382 | & .input-wrap { |
| 387 | 383 | display: block; |
| 388 | 384 | float: right; |
| 385 | + padding-top: 5px; | |
| 389 | 386 | width: 75%; |
| 390 | 387 | } |
| 391 | 388 | |
| 392 | 389 | & .field-description { |
| 393 | - color: #666; | |
| 390 | + color: var(--ep-c-medium-gray); | |
| 394 | 391 | font-style: italic; |
| 395 | 392 | margin-bottom: 0; |
| 396 | 393 | margin-top: 4px; |
| 397 | 394 | } |
| @@ -396,9 +393,9 @@ | ||
| 396 | 393 | margin-top: 4px; |
| 397 | 394 | } |
| 398 | 395 | |
| 399 | 396 | & .disabled { |
| 400 | - color: #bbb; | |
| 397 | + color: var(--ep-c-light-gray); | |
| 401 | 398 | |
| 402 | 399 | & input { |
| 403 | 400 | cursor: default; |
| 404 | 401 | } |
| @@ -412,9 +409,9 @@ | ||
| 412 | 409 | margin-top: 0; |
| 413 | 410 | } |
| 414 | 411 | |
| 415 | 412 | & .components-form-token-field__input-container { |
| 416 | - padding: 2px 4px; | |
| 413 | + border-color: var(--ep-c-light-gray); | |
| 417 | 414 | } |
| 418 | 415 | } |
| 419 | 416 | |
| 420 | 417 | .ep-feature .long { |
| @@ -459,13 +456,13 @@ | ||
| 459 | 456 | |
| 460 | 457 | |
| 461 | 458 | .intro h2 { |
| 462 | 459 | line-height: 1.2; |
| 463 | - padding: 9px 0 4px 0; | |
| 460 | + padding: 9px 0 4px; | |
| 464 | 461 | } |
| 465 | 462 | |
| 466 | 463 | .intro h1 { |
| 467 | - color: #626262; | |
| 464 | + color: var(--ep-c-medium-gray); | |
| 468 | 465 | font-weight: 600; |
| 469 | 466 | margin: 0.5em 0 2em; |
| 470 | 467 | text-align: center; |
| 471 | 468 | } |
| @@ -486,12 +483,13 @@ | ||
| 486 | 483 | margin-right: 10%; |
| 487 | 484 | } |
| 488 | 485 | |
| 489 | 486 | & h2 { |
| 490 | - color: #626262; | |
| 487 | + color: var(--ep-c-medium-gray); | |
| 491 | 488 | height: 8%; |
| 492 | 489 | } |
| 493 | 490 | |
| 491 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 494 | 492 | & p { |
| 495 | 493 | margin-left: auto; |
| 496 | 494 | margin-right: auto; |
| 497 | 495 | max-width: 300px; |
| @@ -536,11 +534,12 @@ | ||
| 536 | 534 | justify-content: center; |
| 537 | 535 | text-align: center; |
| 538 | 536 | } |
| 539 | 537 | |
| 538 | +/* stylelint-disable-next-line no-descending-specificity */ | |
| 540 | 539 | .intro-container-success p { |
| 541 | 540 | margin-top: 23px; |
| 542 | - padding: 0 35% 0 35%; | |
| 541 | + padding: 0 35%; | |
| 543 | 542 | } |
| 544 | 543 | |
| 545 | 544 | @media (--tablet-max) { |
| 546 | 545 | |
| @@ -569,11 +568,12 @@ | ||
| 569 | 568 | |
| 570 | 569 | .ep-copy-text { |
| 571 | 570 | |
| 572 | 571 | @media (--tablet-min) { |
| 573 | - padding: 0 9% 0 9%; | |
| 572 | + padding: 0 9%; | |
| 574 | 573 | } |
| 575 | 574 | |
| 575 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 576 | 576 | & a { |
| 577 | 577 | font-weight: 700; |
| 578 | 578 | } |
| 579 | 579 | } |
| @@ -578,11 +578,11 @@ | ||
| 578 | 578 | } |
| 579 | 579 | } |
| 580 | 580 | |
| 581 | 581 | .ep-circle { |
| 582 | - background: #fff; | |
| 582 | + background: var(--ep-c-white); | |
| 583 | 583 | border-radius: 50%; |
| 584 | - color: #626262; | |
| 584 | + color: var(--ep-c-medium-gray); | |
| 585 | 585 | display: inline-block; |
| 586 | 586 | font-size: 16px; |
| 587 | 587 | font-weight: 400; |
| 588 | 588 | height: 6em; |
| @@ -590,8 +590,9 @@ | ||
| 590 | 590 | margin: 0 1em; |
| 591 | 591 | text-align: center; |
| 592 | 592 | width: 6em; |
| 593 | 593 | |
| 594 | + /* stylelint-disable-next-line no-descending-specificity */ | |
| 594 | 595 | & p { |
| 595 | 596 | border: 0; |
| 596 | 597 | font-size: 50px; |
| 597 | 598 | font-weight: 700; |
| @@ -618,10 +619,10 @@ | ||
| 618 | 619 | } |
| 619 | 620 | } |
| 620 | 621 | |
| 621 | 622 | .ep-circle--active { |
| 622 | - background-color: #d73c38; | |
| 623 | - color: #fff; | |
| 623 | + background-color: var(--ep-c-medium-red); | |
| 624 | + color: var(--ep-c-white); | |
| 624 | 625 | } |
| 625 | 626 | |
| 626 | 627 | .wrap.intro { |
| 627 | 628 | margin-bottom: 30px; |
| @@ -631,8 +632,9 @@ | ||
| 631 | 632 | & .updated, |
| 632 | 633 | & .notice, |
| 633 | 634 | & .error, |
| 634 | 635 | & .is-dismissible { |
| 636 | + /* stylelint-disable-next-line declaration-no-important */ | |
| 635 | 637 | display: none !important; |
| 636 | 638 | } |
| 637 | 639 | } |
| 638 | 640 | |
| @@ -646,13 +648,13 @@ | ||
| 646 | 648 | } |
| 647 | 649 | |
| 648 | 650 | .setup-button { |
| 649 | 651 | -webkit-appearance: none; |
| 650 | - background-color: #e63e3b; | |
| 652 | + background-color: var(--ep-c-medium-red); | |
| 651 | 653 | border: none; |
| 652 | 654 | border-radius: 10px; |
| 653 | 655 | box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.25); |
| 654 | - color: #fff; | |
| 656 | + color: var(--ep-c-white); | |
| 655 | 657 | display: inline-block; |
| 656 | 658 | margin: 0 0.75em; |
| 657 | 659 | padding: 1em 1.5em; |
| 658 | 660 | text-decoration: none; |
| @@ -658,191 +660,17 @@ | ||
| 658 | 660 | text-decoration: none; |
| 659 | 661 | } |
| 660 | 662 | |
| 661 | 663 | .setup-button:hover { |
| 662 | - background-color: #b93431; | |
| 663 | - color: #ffe8ed; | |
| 664 | + background-color: var(--ep-c-dark-red); | |
| 665 | + color: var(--ep-c-white-red); | |
| 664 | 666 | } |
| 665 | 667 | |
| 666 | 668 | .setup-message .setup-button-primary { |
| 667 | - background-color: #fff; | |
| 668 | - color: #d84440; | |
| 669 | + background-color: var(--ep-c-white); | |
| 670 | + color: var(--ep-c-medium-red); | |
| 669 | 671 | } |
| 670 | 672 | |
| 671 | -/** | |
| 672 | - * Weighting | |
| 673 | - */ | |
| 674 | - | |
| 675 | -.weighting-settings .postbox { | |
| 676 | - box-sizing: border-box; | |
| 677 | - max-width: 650px; | |
| 678 | - | |
| 679 | - & * { | |
| 680 | - box-sizing: border-box; | |
| 681 | - } | |
| 682 | -} | |
| 683 | - | |
| 684 | -.weighting-settings .postbox h2.hndle { | |
| 685 | - color: #444; | |
| 686 | - cursor: inherit; | |
| 687 | -} | |
| 688 | - | |
| 689 | -.weighting-settings fieldset { | |
| 690 | - padding: 10px; | |
| 691 | -} | |
| 692 | - | |
| 693 | -.weighting-settings fieldset legend { | |
| 694 | - float: left; /* legend cannot use display */ | |
| 695 | - position: relative; | |
| 696 | - top: 5px; | |
| 697 | - width: 100px; | |
| 698 | -} | |
| 699 | - | |
| 700 | -.weighting-settings fieldset p { | |
| 701 | - display: inline-block; | |
| 702 | - float: left; | |
| 703 | - margin: 0; | |
| 704 | -} | |
| 705 | - | |
| 706 | -.weighting-settings .field-group { | |
| 707 | - margin: 10px 0 0; | |
| 708 | -} | |
| 709 | - | |
| 710 | -.weighting-settings .field-group h3 { | |
| 711 | - font-size: 1em; | |
| 712 | - margin: 10px; | |
| 713 | -} | |
| 714 | - | |
| 715 | -.weighting-settings .fields > fieldset:nth-of-type(odd) { | |
| 716 | - background: #f9f9f9; | |
| 717 | -} | |
| 718 | - | |
| 719 | -.weighting-settings .searchable { | |
| 720 | - display: inline-block; | |
| 721 | - width: 120px; | |
| 722 | -} | |
| 723 | - | |
| 724 | -.weighting-settings .weighting { | |
| 725 | - align-items: center; | |
| 726 | - display: flex; | |
| 727 | -} | |
| 728 | - | |
| 729 | -.weighting-settings .weighting label { | |
| 730 | - margin-right: 10px; | |
| 731 | - min-width: 80px; | |
| 732 | -} | |
| 733 | - | |
| 734 | -.weighting-settings input[type="range"] { | |
| 735 | - -webkit-appearance: none; | |
| 736 | - background: transparent; | |
| 737 | - display: inline-block; | |
| 738 | - height: 1em; | |
| 739 | - margin: 0; | |
| 740 | - vertical-align: middle; | |
| 741 | - width: 200px; | |
| 742 | -} | |
| 743 | - | |
| 744 | -.weighting-settings input[type="range"]:focus { | |
| 745 | - outline: none; | |
| 746 | -} | |
| 747 | - | |
| 748 | -.weighting-settings input[type="range"]:disabled { | |
| 749 | - opacity: 0.5; | |
| 750 | - pointer-events: none; | |
| 751 | -} | |
| 752 | - | |
| 753 | -.weighting-settings input[type="range"]::-webkit-slider-runnable-track { | |
| 754 | - background: #ddd; | |
| 755 | - border: 0 solid #000; | |
| 756 | - border-radius: 1px; | |
| 757 | - box-shadow: 0 0 0 #000; | |
| 758 | - cursor: pointer; | |
| 759 | - height: 3px; | |
| 760 | - width: 100%; | |
| 761 | -} | |
| 762 | - | |
| 763 | -.weighting-settings input[type="range"]::-webkit-slider-thumb { | |
| 764 | - -webkit-appearance: none; | |
| 765 | - background: #1e8cbe; | |
| 766 | - border: 1px solid #1e8cbe; | |
| 767 | - border-radius: 25px; | |
| 768 | - box-shadow: 0 0 0 #000; | |
| 769 | - cursor: pointer; | |
| 770 | - height: 14px; | |
| 771 | - margin-top: -6px; | |
| 772 | - width: 14px; | |
| 773 | -} | |
| 774 | - | |
| 775 | -.weighting-settings input[type="range"]:focus::-webkit-slider-runnable-track { | |
| 776 | - background: #ddd; | |
| 777 | -} | |
| 778 | - | |
| 779 | -.weighting-settings input[type="range"]:focus::-webkit-slider-thumb { | |
| 780 | - background: #fff !important; | |
| 781 | -} | |
| 782 | - | |
| 783 | -.weighting-settings input[type="range"]::-moz-range-track { | |
| 784 | - background: #1e8cbe; | |
| 785 | - border: 0 solid #000; | |
| 786 | - border-radius: 1px; | |
| 787 | - box-shadow: 0 0 0 #000; | |
| 788 | - cursor: pointer; | |
| 789 | - height: 3px; | |
| 790 | - width: 100%; | |
| 791 | -} | |
| 792 | - | |
| 793 | -.weighting-settings input[type="range"]::-moz-range-thumb { | |
| 794 | - background: #1e8cbe; | |
| 795 | - border: 1px solid #1e8cbe; | |
| 796 | - border-radius: 25px; | |
| 797 | - box-shadow: 0 0 0 #000; | |
| 798 | - cursor: pointer; | |
| 799 | - height: 14px; | |
| 800 | - width: 14px; | |
| 801 | -} | |
| 802 | - | |
| 803 | -.weighting-settings input[type="range"]::-ms-track { | |
| 804 | - background: transparent; | |
| 805 | - border-color: transparent; | |
| 806 | - color: transparent; | |
| 807 | - cursor: pointer; | |
| 808 | - height: 3px; | |
| 809 | - width: 100%; | |
| 810 | -} | |
| 811 | - | |
| 812 | -.weighting-settings input[type="range"]::-ms-fill-lower { | |
| 813 | - background: #1e8cbe; | |
| 814 | - border: 0 solid #000; | |
| 815 | - border-radius: 2px; | |
| 816 | - box-shadow: 0 0 0 #000; | |
| 817 | -} | |
| 818 | - | |
| 819 | -.weighting-settings input[type="range"]::-ms-fill-upper { | |
| 820 | - background: #1e8cbe; | |
| 821 | - border: 0 solid #000; | |
| 822 | - border-radius: 2px; | |
| 823 | - box-shadow: 0 0 0 #000; | |
| 824 | -} | |
| 825 | - | |
| 826 | -.weighting-settings input[type="range"]::-ms-thumb { | |
| 827 | - background: #a1d0ff; | |
| 828 | - border: 1px solid #1e8cbe; | |
| 829 | - border-radius: 25px; | |
| 830 | - box-shadow: 0 0 0 #000; | |
| 831 | - cursor: pointer; | |
| 832 | - height: 14px; | |
| 833 | - margin-top: 1px; | |
| 834 | - width: 14px; | |
| 835 | -} | |
| 836 | - | |
| 837 | -.weighting-settings input[type="range"]:focus::-ms-fill-lower { | |
| 838 | - background: #1e8cbe; | |
| 839 | -} | |
| 840 | - | |
| 841 | -.weighting-settings input[type="range"]:focus::-ms-fill-upper { | |
| 842 | - background: #1e8cbe; | |
| 843 | -} | |
| 844 | - | |
| 845 | 673 | .ep-feature-search .wp-color-result.button { |
| 846 | 674 | margin-bottom: 10px; |
| 847 | 675 | } |
| 848 | 676 | |
| @@ -936,10 +764,11 @@ | ||
| 936 | 764 | * Settings page |
| 937 | 765 | */ |
| 938 | 766 | |
| 939 | 767 | /* @media screen and (max-width: 600px) { */ |
| 768 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 940 | 769 | .wrap h2.nav-tab-wrapper.ep-credentials-tabs { |
| 941 | - border-bottom: 1px solid #ccc; | |
| 770 | + border-bottom: 1px solid var(--ep-c-white-gray); | |
| 942 | 771 | } |
| 943 | 772 | |
| 944 | 773 | /* } */ |
| 945 | 774 | |
| @@ -952,9 +781,9 @@ | ||
| 952 | 781 | margin-bottom: -1px; |
| 953 | 782 | } |
| 954 | 783 | |
| 955 | 784 | .ep-credentials-tab.nav-tab-active { |
| 956 | - border-bottom-color: #f1f1f1; | |
| 785 | + border-bottom-color: var(--ep-c-white); | |
| 957 | 786 | } |
| 958 | 787 | |
| 959 | 788 | .ep-credentials-tab img, |
| 960 | 789 | .ep-credentials-tab span { |
| @@ -962,17 +791,18 @@ | ||
| 962 | 791 | vertical-align: middle; |
| 963 | 792 | } |
| 964 | 793 | |
| 965 | 794 | .ep-credentials fieldset { |
| 966 | - border-bottom: 1px solid #ccc; | |
| 967 | - border-left: 1px solid #ccc; | |
| 968 | - 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); | |
| 969 | 798 | margin: 0; |
| 970 | 799 | padding: 0 1rem; |
| 971 | 800 | } |
| 972 | 801 | |
| 802 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 973 | 803 | .ep-credentials fieldset.predefined { |
| 974 | - border-top: 1px solid #ccc; | |
| 804 | + border-top: 1px solid var(--ep-c-white-gray); | |
| 975 | 805 | } |
| 976 | 806 | |
| 977 | 807 | .ep-settings .ep-credentials-general { |
| 978 | 808 | padding: 0 1rem; |
| @@ -981,8 +811,9 @@ | ||
| 981 | 811 | .ep-settings .button-primary { |
| 982 | 812 | margin: 0 1rem; |
| 983 | 813 | } |
| 984 | 814 | |
| 815 | +/* stylelint-disable-next-line no-descending-specificity */ | |
| 985 | 816 | .ep-settings .description { |
| 986 | 817 | font-size: 0.75rem; |
| 987 | 818 | font-style: italic; |
| 988 | 819 | } |
| @@ -1001,11 +832,11 @@ | ||
| 1001 | 832 | .ep-credentials-general .form-table td { |
| 1002 | 833 | padding-left: 0; |
| 1003 | 834 | } |
| 1004 | 835 | |
| 1005 | - .ep-credentials .form-table td input, | |
| 836 | + .ep-credentials .form-table td input:not([type="checkbox"]), | |
| 1006 | 837 | .ep-credentials .form-table td select, |
| 1007 | - .ep-credentials-general .form-table td input, | |
| 838 | + .ep-credentials-general .form-table td input:not([type="checkbox"]), | |
| 1008 | 839 | .ep-credentials-general .form-table td select { |
| 1009 | 840 | width: 250px; |
| 1010 | 841 | } |
| 1011 | 842 | } |
| @@ -1035,9 +866,9 @@ | ||
| 1035 | 866 | margin-right: 24px; |
| 1036 | 867 | } */ |
| 1037 | 868 | |
| 1038 | 869 | @media (--wide-min) { |
| 1039 | - background-color: #fff; | |
| 870 | + background-color: var(--ep-c-white); | |
| 1040 | 871 | margin-right: 28px; |
| 1041 | 872 | width: 37%; |
| 1042 | 873 | } |
| 1043 | 874 | } |
| @@ -1042,9 +873,9 @@ | ||
| 1042 | 873 | } |
| 1043 | 874 | } |
| 1044 | 875 | |
| 1045 | 876 | .stats-queries { |
| 1046 | - background-color: #fff; | |
| 877 | + background-color: var(--ep-c-white); | |
| 1047 | 878 | width: 100%; |
| 1048 | 879 | |
| 1049 | 880 | /* @media( --tablet-min ) { |
| 1050 | 881 | width: 48%; |
| @@ -1084,29 +915,29 @@ | ||
| 1084 | 915 | width: 8px; |
| 1085 | 916 | } |
| 1086 | 917 | |
| 1087 | 918 | .green-status { |
| 1088 | - color: var(--statusOk); | |
| 919 | + color: var(--ep-status-ok); | |
| 1089 | 920 | } |
| 1090 | 921 | |
| 1091 | 922 | .yellow-status { |
| 1092 | - color: var(--statusWarning); | |
| 923 | + color: var(--ep-status-warning); | |
| 1093 | 924 | } |
| 1094 | 925 | |
| 1095 | 926 | .red-status { |
| 1096 | - color: var(--statusError); | |
| 927 | + color: var(--ep-status-error); | |
| 1097 | 928 | } |
| 1098 | 929 | |
| 1099 | 930 | .green-status::after { |
| 1100 | - background-color: var(--statusOk); | |
| 931 | + background-color: var(--ep-status-ok); | |
| 1101 | 932 | } |
| 1102 | 933 | |
| 1103 | 934 | .yellow-status::after { |
| 1104 | - background-color: var(--statusWarning); | |
| 935 | + background-color: var(--ep-status-warning); | |
| 1105 | 936 | } |
| 1106 | 937 | |
| 1107 | 938 | .red-status::after { |
| 1108 | - background-color: var(--statusError); | |
| 939 | + background-color: var(--ep-status-error); | |
| 1109 | 940 | } |
| 1110 | 941 | |
| 1111 | 942 | .doc-chart { |
| 1112 | 943 | margin-right: 0; |
| @@ -1176,13 +1007,20 @@ | ||
| 1176 | 1007 | width: 50%; |
| 1177 | 1008 | } |
| 1178 | 1009 | } |
| 1179 | 1010 | |
| 1011 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 1180 | 1012 | p.ep-totals-title { |
| 1181 | 1013 | font-weight: bolder; |
| 1182 | 1014 | margin-top: 28px; |
| 1183 | 1015 | } |
| 1184 | 1016 | |
| 1017 | +/* stylelint-disable-next-line selector-no-qualifying-type */ | |
| 1185 | 1018 | p.ep-totals-data { |
| 1186 | 1019 | font-size: 3em; |
| 1187 | 1020 | margin-top: 22px; |
| 1021 | +} | |
| 1022 | + | |
| 1023 | +.feature-epio-logo { | |
| 1024 | + margin-left: 5px; | |
| 1025 | + vertical-align: middle; | |
| 1188 | 1026 | } |