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