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 -237 4.7.05.3.5 View file →
@@ -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
@@ -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,191 +660,17 @@
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 -/**
669 - * Weighting
670 - */
671 -
672 -.weighting-settings .postbox {
673 - box-sizing: border-box;
674 - max-width: 650px;
675 -
676 - & * {
677 - box-sizing: border-box;
678 - }
679 -}
680 -
681 -.weighting-settings .postbox h2.hndle {
682 - color: #444;
683 - cursor: inherit;
684 -}
685 -
686 -.weighting-settings fieldset {
687 - padding: 10px;
688 -}
689 -
690 -.weighting-settings fieldset legend {
691 - float: left; /* legend cannot use display */
692 - position: relative;
693 - top: 5px;
694 - width: 100px;
695 -}
696 -
697 -.weighting-settings fieldset p {
698 - display: inline-block;
699 - float: left;
700 - margin: 0;
701 -}
702 -
703 -.weighting-settings .field-group {
704 - margin: 10px 0 0;
705 -}
706 -
707 -.weighting-settings .field-group h3 {
708 - font-size: 1em;
709 - margin: 10px;
710 -}
711 -
712 -.weighting-settings .fields > fieldset:nth-of-type(odd) {
713 - background: #f9f9f9;
714 -}
715 -
716 -.weighting-settings .searchable {
717 - display: inline-block;
718 - width: 120px;
719 -}
720 -
721 -.weighting-settings .weighting {
722 - align-items: center;
723 - display: flex;
724 -}
725 -
726 -.weighting-settings .weighting label {
727 - margin-right: 10px;
728 - min-width: 80px;
729 -}
730 -
731 -.weighting-settings input[type="range"] {
732 - -webkit-appearance: none;
733 - background: transparent;
734 - display: inline-block;
735 - height: 1em;
736 - margin: 0;
737 - vertical-align: middle;
738 - width: 200px;
739 -}
740 -
741 -.weighting-settings input[type="range"]:focus {
742 - outline: none;
743 -}
744 -
745 -.weighting-settings input[type="range"]:disabled {
746 - opacity: 0.5;
747 - pointer-events: none;
748 -}
749 -
750 -.weighting-settings input[type="range"]::-webkit-slider-runnable-track {
751 - background: #ddd;
752 - border: 0 solid #000;
753 - border-radius: 1px;
754 - box-shadow: 0 0 0 #000;
755 - cursor: pointer;
756 - height: 3px;
757 - width: 100%;
758 -}
759 -
760 -.weighting-settings input[type="range"]::-webkit-slider-thumb {
761 - -webkit-appearance: none;
762 - background: #1e8cbe;
763 - border: 1px solid #1e8cbe;
764 - border-radius: 25px;
765 - box-shadow: 0 0 0 #000;
766 - cursor: pointer;
767 - height: 14px;
768 - margin-top: -6px;
769 - width: 14px;
770 -}
771 -
772 -.weighting-settings input[type="range"]:focus::-webkit-slider-runnable-track {
773 - background: #ddd;
774 -}
775 -
776 -.weighting-settings input[type="range"]:focus::-webkit-slider-thumb {
777 - background: #fff !important;
778 -}
779 -
780 -.weighting-settings input[type="range"]::-moz-range-track {
781 - background: #1e8cbe;
782 - border: 0 solid #000;
783 - border-radius: 1px;
784 - box-shadow: 0 0 0 #000;
785 - cursor: pointer;
786 - height: 3px;
787 - width: 100%;
788 -}
789 -
790 -.weighting-settings input[type="range"]::-moz-range-thumb {
791 - background: #1e8cbe;
792 - border: 1px solid #1e8cbe;
793 - border-radius: 25px;
794 - box-shadow: 0 0 0 #000;
795 - cursor: pointer;
796 - height: 14px;
797 - width: 14px;
798 -}
799 -
800 -.weighting-settings input[type="range"]::-ms-track {
801 - background: transparent;
802 - border-color: transparent;
803 - color: transparent;
804 - cursor: pointer;
805 - height: 3px;
806 - width: 100%;
807 -}
808 -
809 -.weighting-settings input[type="range"]::-ms-fill-lower {
810 - background: #1e8cbe;
811 - border: 0 solid #000;
812 - border-radius: 2px;
813 - box-shadow: 0 0 0 #000;
814 -}
815 -
816 -.weighting-settings input[type="range"]::-ms-fill-upper {
817 - background: #1e8cbe;
818 - border: 0 solid #000;
819 - border-radius: 2px;
820 - box-shadow: 0 0 0 #000;
821 -}
822 -
823 -.weighting-settings input[type="range"]::-ms-thumb {
824 - background: #a1d0ff;
825 - border: 1px solid #1e8cbe;
826 - border-radius: 25px;
827 - box-shadow: 0 0 0 #000;
828 - cursor: pointer;
829 - height: 14px;
830 - margin-top: 1px;
831 - width: 14px;
832 -}
833 -
834 -.weighting-settings input[type="range"]:focus::-ms-fill-lower {
835 - background: #1e8cbe;
836 -}
837 -
838 -.weighting-settings input[type="range"]:focus::-ms-fill-upper {
839 - background: #1e8cbe;
840 -}
841 -
842 673 .ep-feature-search .wp-color-result.button {
843 674 margin-bottom: 10px;
844 675 }
845 676
@@ -933,10 +764,11 @@
933 764 * Settings page
934 765 */
935 766
936 767 /* @media screen and (max-width: 600px) { */
768 +/* stylelint-disable-next-line selector-no-qualifying-type */
937 769 .wrap h2.nav-tab-wrapper.ep-credentials-tabs {
938 - border-bottom: 1px solid #ccc;
770 + border-bottom: 1px solid var(--ep-c-white-gray);
939 771 }
940 772
941 773 /* } */
942 774
@@ -949,9 +781,9 @@
949 781 margin-bottom: -1px;
950 782 }
951 783
952 784 .ep-credentials-tab.nav-tab-active {
953 - border-bottom-color: #f1f1f1;
785 + border-bottom-color: var(--ep-c-white);
954 786 }
955 787
956 788 .ep-credentials-tab img,
957 789 .ep-credentials-tab span {
@@ -959,17 +791,18 @@
959 791 vertical-align: middle;
960 792 }
961 793
962 794 .ep-credentials fieldset {
963 - border-bottom: 1px solid #ccc;
964 - border-left: 1px solid #ccc;
965 - 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);
966 798 margin: 0;
967 799 padding: 0 1rem;
968 800 }
969 801
802 +/* stylelint-disable-next-line selector-no-qualifying-type */
970 803 .ep-credentials fieldset.predefined {
971 - border-top: 1px solid #ccc;
804 + border-top: 1px solid var(--ep-c-white-gray);
972 805 }
973 806
974 807 .ep-settings .ep-credentials-general {
975 808 padding: 0 1rem;
@@ -978,8 +811,9 @@
978 811 .ep-settings .button-primary {
979 812 margin: 0 1rem;
980 813 }
981 814
815 +/* stylelint-disable-next-line no-descending-specificity */
982 816 .ep-settings .description {
983 817 font-size: 0.75rem;
984 818 font-style: italic;
985 819 }
@@ -998,11 +832,11 @@
998 832 .ep-credentials-general .form-table td {
999 833 padding-left: 0;
1000 834 }
1001 835
1002 - .ep-credentials .form-table td input,
836 + .ep-credentials .form-table td input:not([type="checkbox"]),
1003 837 .ep-credentials .form-table td select,
1004 - .ep-credentials-general .form-table td input,
838 + .ep-credentials-general .form-table td input:not([type="checkbox"]),
1005 839 .ep-credentials-general .form-table td select {
1006 840 width: 250px;
1007 841 }
1008 842 }
@@ -1032,9 +866,9 @@
1032 866 margin-right: 24px;
1033 867 } */
1034 868
1035 869 @media (--wide-min) {
1036 - background-color: #fff;
870 + background-color: var(--ep-c-white);
1037 871 margin-right: 28px;
1038 872 width: 37%;
1039 873 }
1040 874 }
@@ -1039,9 +873,9 @@
1039 873 }
1040 874 }
1041 875
1042 876 .stats-queries {
1043 - background-color: #fff;
877 + background-color: var(--ep-c-white);
1044 878 width: 100%;
1045 879
1046 880 /* @media( --tablet-min ) {
1047 881 width: 48%;
@@ -1081,29 +915,29 @@
1081 915 width: 8px;
1082 916 }
1083 917
1084 918 .green-status {
1085 - color: var(--statusOk);
919 + color: var(--ep-status-ok);
1086 920 }
1087 921
1088 922 .yellow-status {
1089 - color: var(--statusWarning);
923 + color: var(--ep-status-warning);
1090 924 }
1091 925
1092 926 .red-status {
1093 - color: var(--statusError);
927 + color: var(--ep-status-error);
1094 928 }
1095 929
1096 930 .green-status::after {
1097 - background-color: var(--statusOk);
931 + background-color: var(--ep-status-ok);
1098 932 }
1099 933
1100 934 .yellow-status::after {
1101 - background-color: var(--statusWarning);
935 + background-color: var(--ep-status-warning);
1102 936 }
1103 937
1104 938 .red-status::after {
1105 - background-color: var(--statusError);
939 + background-color: var(--ep-status-error);
1106 940 }
1107 941
1108 942 .doc-chart {
1109 943 margin-right: 0;
@@ -1173,13 +1007,15 @@
1173 1007 width: 50%;
1174 1008 }
1175 1009 }
1176 1010
1011 +/* stylelint-disable-next-line selector-no-qualifying-type */
1177 1012 p.ep-totals-title {
1178 1013 font-weight: bolder;
1179 1014 margin-top: 28px;
1180 1015 }
1181 1016
1017 +/* stylelint-disable-next-line selector-no-qualifying-type */
1182 1018 p.ep-totals-data {
1183 1019 font-size: 3em;
1184 1020 margin-top: 22px;
1185 1021 }