PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
← All changes | assets/css/dashboard.css +73 -63 5.0.25.3.5 View file →
@@ -1,12 +1,8 @@
1 1 @import "@10up/component-tooltip";
2 +@import "./global/colors.css";
2 3
3 -:root {
4 - --ep-dashboard-status-ok: #6aa000;
5 - --ep-dashboard-status-warning: #e3e600;
6 - --ep-dashboard-status-error: #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(--ep-dashboard-status-error);
206 + border: 1px solid var(--ep-status-error);
210 207 }
211 208
212 209 & .settings .requirements-status-notice {
213 - border-color: var(--ep-dashboard-status-error);
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(--ep-dashboard-status-warning);
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(--ep-dashboard-status-warning);
222 + background-color: var(--ep-status-warning);
226 223 }
227 224
228 225 & .settings .requirements-status-notice {
229 - border-color: var(--ep-dashboard-status-warning);
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(--ep-dashboard-status-ok);
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(--ep-dashboard-status-ok);
239 + background-color: var(--ep-status-ok);
242 240 }
243 241
244 242 & .settings .requirements-status-notice {
245 - border-color: var(--ep-dashboard-status-ok);
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(--ep-dashboard-status-ok);
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(--ep-dashboard-status-warning);
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(--ep-dashboard-status-error);
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
@@ -386,9 +386,9 @@
386 386 width: 75%;
387 387 }
388 388
389 389 & .field-description {
390 - color: #666;
390 + color: var(--ep-c-medium-gray);
391 391 font-style: italic;
392 392 margin-bottom: 0;
393 393 margin-top: 4px;
394 394 }
@@ -393,9 +393,9 @@
393 393 margin-top: 4px;
394 394 }
395 395
396 396 & .disabled {
397 - color: #bbb;
397 + color: var(--ep-c-light-gray);
398 398
399 399 & input {
400 400 cursor: default;
401 401 }
@@ -409,9 +409,9 @@
409 409 margin-top: 0;
410 410 }
411 411
412 412 & .components-form-token-field__input-container {
413 - border-color: #8c8f94;
413 + border-color: var(--ep-c-light-gray);
414 414 }
415 415 }
416 416
417 417 .ep-feature .long {
@@ -456,13 +456,13 @@
456 456
457 457
458 458 .intro h2 {
459 459 line-height: 1.2;
460 - padding: 9px 0 4px 0;
460 + padding: 9px 0 4px;
461 461 }
462 462
463 463 .intro h1 {
464 - color: #626262;
464 + color: var(--ep-c-medium-gray);
465 465 font-weight: 600;
466 466 margin: 0.5em 0 2em;
467 467 text-align: center;
468 468 }
@@ -483,12 +483,13 @@
483 483 margin-right: 10%;
484 484 }
485 485
486 486 & h2 {
487 - color: #626262;
487 + color: var(--ep-c-medium-gray);
488 488 height: 8%;
489 489 }
490 490
491 + /* stylelint-disable-next-line no-descending-specificity */
491 492 & p {
492 493 margin-left: auto;
493 494 margin-right: auto;
494 495 max-width: 300px;
@@ -533,11 +534,12 @@
533 534 justify-content: center;
534 535 text-align: center;
535 536 }
536 537
538 +/* stylelint-disable-next-line no-descending-specificity */
537 539 .intro-container-success p {
538 540 margin-top: 23px;
539 - padding: 0 35% 0 35%;
541 + padding: 0 35%;
540 542 }
541 543
542 544 @media (--tablet-max) {
543 545
@@ -566,11 +568,12 @@
566 568
567 569 .ep-copy-text {
568 570
569 571 @media (--tablet-min) {
570 - padding: 0 9% 0 9%;
572 + padding: 0 9%;
571 573 }
572 574
575 + /* stylelint-disable-next-line no-descending-specificity */
573 576 & a {
574 577 font-weight: 700;
575 578 }
576 579 }
@@ -575,11 +578,11 @@
575 578 }
576 579 }
577 580
578 581 .ep-circle {
579 - background: #fff;
582 + background: var(--ep-c-white);
580 583 border-radius: 50%;
581 - color: #626262;
584 + color: var(--ep-c-medium-gray);
582 585 display: inline-block;
583 586 font-size: 16px;
584 587 font-weight: 400;
585 588 height: 6em;
@@ -587,8 +590,9 @@
587 590 margin: 0 1em;
588 591 text-align: center;
589 592 width: 6em;
590 593
594 + /* stylelint-disable-next-line no-descending-specificity */
591 595 & p {
592 596 border: 0;
593 597 font-size: 50px;
594 598 font-weight: 700;
@@ -615,10 +619,10 @@
615 619 }
616 620 }
617 621
618 622 .ep-circle--active {
619 - background-color: #d73c38;
620 - color: #fff;
623 + background-color: var(--ep-c-medium-red);
624 + color: var(--ep-c-white);
621 625 }
622 626
623 627 .wrap.intro {
624 628 margin-bottom: 30px;
@@ -628,8 +632,9 @@
628 632 & .updated,
629 633 & .notice,
630 634 & .error,
631 635 & .is-dismissible {
636 + /* stylelint-disable-next-line declaration-no-important */
632 637 display: none !important;
633 638 }
634 639 }
635 640
@@ -643,13 +648,13 @@
643 648 }
644 649
645 650 .setup-button {
646 651 -webkit-appearance: none;
647 - background-color: #e63e3b;
652 + background-color: var(--ep-c-medium-red);
648 653 border: none;
649 654 border-radius: 10px;
650 655 box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.25);
651 - color: #fff;
656 + color: var(--ep-c-white);
652 657 display: inline-block;
653 658 margin: 0 0.75em;
654 659 padding: 1em 1.5em;
655 660 text-decoration: none;
@@ -655,15 +660,15 @@
655 660 text-decoration: none;
656 661 }
657 662
658 663 .setup-button:hover {
659 - background-color: #b93431;
660 - color: #ffe8ed;
664 + background-color: var(--ep-c-dark-red);
665 + color: var(--ep-c-white-red);
661 666 }
662 667
663 668 .setup-message .setup-button-primary {
664 - background-color: #fff;
665 - color: #d84440;
669 + background-color: var(--ep-c-white);
670 + color: var(--ep-c-medium-red);
666 671 }
667 672
668 673 .ep-feature-search .wp-color-result.button {
669 674 margin-bottom: 10px;
@@ -759,10 +764,11 @@
759 764 * Settings page
760 765 */
761 766
762 767 /* @media screen and (max-width: 600px) { */
768 +/* stylelint-disable-next-line selector-no-qualifying-type */
763 769 .wrap h2.nav-tab-wrapper.ep-credentials-tabs {
764 - border-bottom: 1px solid #ccc;
770 + border-bottom: 1px solid var(--ep-c-white-gray);
765 771 }
766 772
767 773 /* } */
768 774
@@ -775,9 +781,9 @@
775 781 margin-bottom: -1px;
776 782 }
777 783
778 784 .ep-credentials-tab.nav-tab-active {
779 - border-bottom-color: #f1f1f1;
785 + border-bottom-color: var(--ep-c-white);
780 786 }
781 787
782 788 .ep-credentials-tab img,
783 789 .ep-credentials-tab span {
@@ -785,17 +791,18 @@
785 791 vertical-align: middle;
786 792 }
787 793
788 794 .ep-credentials fieldset {
789 - border-bottom: 1px solid #ccc;
790 - border-left: 1px solid #ccc;
791 - 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);
792 798 margin: 0;
793 799 padding: 0 1rem;
794 800 }
795 801
802 +/* stylelint-disable-next-line selector-no-qualifying-type */
796 803 .ep-credentials fieldset.predefined {
797 - border-top: 1px solid #ccc;
804 + border-top: 1px solid var(--ep-c-white-gray);
798 805 }
799 806
800 807 .ep-settings .ep-credentials-general {
801 808 padding: 0 1rem;
@@ -804,8 +811,9 @@
804 811 .ep-settings .button-primary {
805 812 margin: 0 1rem;
806 813 }
807 814
815 +/* stylelint-disable-next-line no-descending-specificity */
808 816 .ep-settings .description {
809 817 font-size: 0.75rem;
810 818 font-style: italic;
811 819 }
@@ -824,11 +832,11 @@
824 832 .ep-credentials-general .form-table td {
825 833 padding-left: 0;
826 834 }
827 835
828 - .ep-credentials .form-table td input,
836 + .ep-credentials .form-table td input:not([type="checkbox"]),
829 837 .ep-credentials .form-table td select,
830 - .ep-credentials-general .form-table td input,
838 + .ep-credentials-general .form-table td input:not([type="checkbox"]),
831 839 .ep-credentials-general .form-table td select {
832 840 width: 250px;
833 841 }
834 842 }
@@ -858,9 +866,9 @@
858 866 margin-right: 24px;
859 867 } */
860 868
861 869 @media (--wide-min) {
862 - background-color: #fff;
870 + background-color: var(--ep-c-white);
863 871 margin-right: 28px;
864 872 width: 37%;
865 873 }
866 874 }
@@ -865,9 +873,9 @@
865 873 }
866 874 }
867 875
868 876 .stats-queries {
869 - background-color: #fff;
877 + background-color: var(--ep-c-white);
870 878 width: 100%;
871 879
872 880 /* @media( --tablet-min ) {
873 881 width: 48%;
@@ -907,29 +915,29 @@
907 915 width: 8px;
908 916 }
909 917
910 918 .green-status {
911 - color: var(--ep-dashboard-status-ok);
919 + color: var(--ep-status-ok);
912 920 }
913 921
914 922 .yellow-status {
915 - color: var(--ep-dashboard-status-warning);
923 + color: var(--ep-status-warning);
916 924 }
917 925
918 926 .red-status {
919 - color: var(--ep-dashboard-status-error);
927 + color: var(--ep-status-error);
920 928 }
921 929
922 930 .green-status::after {
923 - background-color: var(--ep-dashboard-status-ok);
931 + background-color: var(--ep-status-ok);
924 932 }
925 933
926 934 .yellow-status::after {
927 - background-color: var(--ep-dashboard-status-warning);
935 + background-color: var(--ep-status-warning);
928 936 }
929 937
930 938 .red-status::after {
931 - background-color: var(--ep-dashboard-status-error);
939 + background-color: var(--ep-status-error);
932 940 }
933 941
934 942 .doc-chart {
935 943 margin-right: 0;
@@ -999,13 +1007,15 @@
999 1007 width: 50%;
1000 1008 }
1001 1009 }
1002 1010
1011 +/* stylelint-disable-next-line selector-no-qualifying-type */
1003 1012 p.ep-totals-title {
1004 1013 font-weight: bolder;
1005 1014 margin-top: 28px;
1006 1015 }
1007 1016
1017 +/* stylelint-disable-next-line selector-no-qualifying-type */
1008 1018 p.ep-totals-data {
1009 1019 font-size: 3em;
1010 1020 margin-top: 22px;
1011 1021 }