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
elasticpress / assets / css / dashboard.css

dashboard.css in ElasticPress 5.3.5, at assets/css/dashboard.css

1,027 lines 16.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "@10up/component-tooltip";
2 @import "./global/colors.css";
3
4 /* stylelint-disable-next-line selector-no-qualifying-type */
5 html.wp-toolbar {
6 background: transparent;
7 }
8
9 @custom-media --tablet-min (min-width: 880px);
10 @custom-media --wide-min (min-width: 1270px);
11 @custom-media --tablet-max (max-width: 880px);
12 @custom-media --wide-max (max-width: 1270px);
13
14 /**
15 * Layout
16 */
17
18 .wrap .notice,
19 .wrap > h2 {
20 position: relative;
21 z-index: 2;
22 }
23
24 /* stylelint-disable-next-line selector-no-qualifying-type */
25 h2.ep-list-features {
26 display: none;
27 }
28
29 /**
30 * Header
31 */
32
33 #wpbody #update-nag,
34 #wpbody .update-nag {
35 display: block;
36 margin: 5px 15px 2px;
37 }
38
39 .ep-header-menu {
40 background-color: var(--ep-c-white);
41 border-bottom: 2px solid #ddd;
42 margin-left: -20px;
43 padding-bottom: 5px;
44 padding-left: 20px;
45 padding-right: 20px;
46 padding-top: 5px;
47 position: relative;
48 z-index: 2;
49 }
50
51 .ep-header-menu::after {
52 clear: both;
53 content: " ";
54 display: block;
55 }
56
57 .ep-header-menu img {
58 float: left;
59 }
60
61 .ep-header-menu .icons {
62 display: inline-block;
63 float: right;
64 height: 30px;
65 line-height: 34px;
66 padding-right: 3px;
67 }
68
69 .ep-header-menu .icons a {
70 color: inherit;
71 cursor: pointer;
72 font-size: 27px;
73 margin-left: 8px;
74 position: relative;
75 top: -3px;
76 vertical-align: middle;
77 }
78
79 .ep-header-menu .icons .dashicons-no,
80 .ep-header-menu .icons .dashicons-controls-play,
81 .ep-header-menu .icons .dashicons-controls-pause,
82 .ep-header-menu .icons .dashicons-update,
83 .ep-header-menu .icons .dashicons-admin-generic {
84 font-size: 30px;
85 top: 1px;
86 }
87
88 .ep-header-menu .resume-sync,
89 .ep-header-menu .pause-sync,
90 .ep-header-menu .cancel-sync {
91 display: none;
92 }
93
94 .ep-header-menu .sync-status {
95 bottom: -1px;
96 color: var(--ep-c-medium-gray);
97 display: none;
98 font-style: italic;
99 margin-right: 8px;
100 position: relative;
101 vertical-align: middle;
102 }
103
104 .ep-header-menu .progress-bar {
105 background-color: var(--ep-c-medium-red);
106 bottom: 0;
107 height: 5px;
108 left: 0;
109 margin-bottom: -5px;
110 position: absolute;
111 }
112
113 .ep-header-menu .icons .dashicons-update,
114 .ep-header-menu .icons .dashicons-admin-generic {
115 display: inline;
116 }
117
118 .ep-header-menu .icons .dashicons-update {
119 top: 2px;
120 }
121
122 /**
123 * Features
124 */
125
126 .ep-features {
127 overflow: auto;
128 }
129
130 .error-overlay.cant-connect,
131 .error-overlay.syncing {
132 background-color: var(--ep-c-white);
133 bottom: 0;
134 content: " ";
135 display: block;
136 left: 0;
137 opacity: 0.6;
138 position: fixed;
139 right: 0;
140 top: 46px;
141 z-index: 1;
142 }
143
144 @media (--tablet-min) {
145
146 .error-overlay.cant-connect,
147 .error-overlay.syncing,
148 .error-overlay {
149 left: 160px;
150 top: 32px;
151 }
152 }
153
154 .ep-feature .postbox {
155 margin-bottom: 0;
156 }
157
158 .ep-feature .postbox .hndle {
159 cursor: inherit;
160 }
161
162 .ep-feature .postbox .hndle .settings-button {
163 background-color: var(--ep-c-medium-white);
164 border: none;
165 border-radius: 4px;
166 color: inherit;
167 cursor: pointer;
168 display: inline-block;
169 float: right;
170 font-size: 13px;
171 font-weight: 400;
172 line-height: inherit;
173 margin-top: -4px;
174 padding: 4px 7px;
175 padding-left: 23px;
176 position: relative;
177 }
178
179 .ep-feature .settings-button::before {
180 color: var(--ep-c-medium-gray);
181 content: "\f140";
182 display: inline-block;
183 font: 400 19px/1 dashicons;
184 left: 1px;
185 padding: 0 5px 0 0;
186 position: absolute;
187 top: 4px;
188 vertical-align: middle;
189 }
190
191 .ep-feature .settings-button::after {
192 border-radius: 50%;
193 content: " ";
194 display: inline-block;
195 height: 8px;
196 margin-left: 10px;
197 margin-top: -2px;
198 vertical-align: middle;
199 width: 8px;
200 }
201
202 .feature-requirements-status-2.ep-feature {
203
204 & .postbox .hndle .settings-button::after {
205 background-color: transparent;
206 border: 1px solid var(--ep-status-error);
207 }
208
209 & .settings .requirements-status-notice {
210 border-color: var(--ep-status-error);
211 }
212 }
213
214 .feature-requirements-status-1.ep-feature {
215
216 & .postbox .hndle .settings-button::after {
217 background-color: transparent;
218 border: 1px solid var(--ep-status-warning);
219 }
220
221 &.feature-active .postbox .hndle .settings-button::after {
222 background-color: var(--ep-status-warning);
223 }
224
225 & .settings .requirements-status-notice {
226 border-color: var(--ep-status-warning);
227 }
228 }
229
230 .feature-requirements-status-0.ep-feature {
231
232 /* stylelint-disable-next-line no-descending-specificity */
233 & .postbox .hndle .settings-button::after {
234 background-color: transparent;
235 border: 1px solid var(--ep-status-ok);
236 }
237
238 &.feature-active .postbox .hndle .settings-button::after {
239 background-color: var(--ep-status-ok);
240 }
241
242 & .settings .requirements-status-notice {
243 border-color: var(--ep-status-ok);
244 }
245 }
246
247 .ep-feature {
248 margin-bottom: 20px;
249 position: relative;
250 vertical-align: top;
251 }
252
253 .ep-feature.saving .action-wrap::before {
254 animation: load8 1.1s infinite linear;
255 border-bottom: 5px solid var(--ep-c-white-gray);
256 border-left: 5px solid var(--ep-c-light-gray);
257 border-radius: 50%;
258 border-right: 5px solid var(--ep-c-white-gray);
259 border-top: 5px solid var(--ep-c-white-gray);
260 content: " ";
261 display: inline-block;
262 font-size: 7px;
263 height: 8px;
264 margin-right: 1.4em;
265 position: relative;
266 text-indent: -9999em;
267 top: 4px;
268 transform: translateZ(0);
269 vertical-align: middle;
270 width: 8px;
271 }
272
273 .ep-feature .description,
274 .ep-feature .settings {
275 margin-bottom: 0;
276 text-align: left;
277 }
278
279 .ep-feature .settings {
280 display: none;
281 overflow: auto;
282
283 & h3 {
284 font-size: inherit;
285 font-weight: 700;
286 margin-top: 0;
287 }
288 }
289
290 .ep-feature.show-settings {
291
292 & .settings {
293 display: block;
294 }
295
296 & .description {
297 display: none;
298 }
299
300 & .settings-button::before {
301 content: "\f142";
302 }
303 }
304
305 /* stylelint-disable-next-line no-descending-specificity */
306 .ep-feature .settings .requirements-status-notice {
307 background-color: var(--ep-c-medium-white);
308 border-left: 4px solid var(--ep-status-ok);
309 margin-bottom: 10px;
310 padding: 8px 12px;
311
312 &.requirements-status-notice--reindex {
313 border-color: var(--ep-status-warning);
314 display: none; /* Controlled by JavaScript. */
315 }
316
317 &.requirements-status-notice--syncing {
318 border-color: var(--ep-status-error);
319 display: none; /* Controlled by JavaScript. */
320 }
321 }
322
323 .ep-feature .settings .action-wrap {
324 clear: both;
325 padding-top: 15px;
326 text-align: right;
327 vertical-align: middle;
328
329 & a {
330 cursor: pointer;
331 display: inline-block;
332 }
333
334 & .no-dash-sync {
335 color: var(--ep-c-light-gray);
336 display: none;
337 line-height: 27px;
338 padding-right: 8px;
339 }
340
341 /* stylelint-disable-next-line selector-no-qualifying-type */
342 & a.disabled {
343 cursor: default;
344 }
345
346 & .cancel {
347 margin-right: 6px;
348 margin-top: 4px;
349 }
350 }
351
352 .ep-feature.dash-sync-disabled .settings .action-wrap {
353
354 & .no-dash-sync {
355 display: inline;
356 }
357 }
358
359 .ep-feature .settings .field {
360 clear: both;
361 overflow: initial;
362 padding-top: 15px;
363
364 &:first-child {
365 padding-top: 0;
366 }
367
368 & label {
369 display: inline-block;
370 margin: 0.25em 0 0.5em;
371 }
372
373 & > label,
374 & .field-name {
375 box-sizing: border-box;
376 display: block;
377 float: left;
378 padding-right: 1.5em;
379 width: 25%;
380 }
381
382 & .input-wrap {
383 display: block;
384 float: right;
385 padding-top: 5px;
386 width: 75%;
387 }
388
389 & .field-description {
390 color: var(--ep-c-medium-gray);
391 font-style: italic;
392 margin-bottom: 0;
393 margin-top: 4px;
394 }
395
396 & .disabled {
397 color: var(--ep-c-light-gray);
398
399 & input {
400 cursor: default;
401 }
402 }
403
404 & .components-form-token-field {
405 padding-top: 0;
406 }
407
408 & .components-form-token-field__label {
409 margin-top: 0;
410 }
411
412 & .components-form-token-field__input-container {
413 border-color: var(--ep-c-light-gray);
414 }
415 }
416
417 .ep-feature .long {
418 display: none;
419
420 & p:last-child {
421 margin-bottom: 0;
422 }
423 }
424
425 .ep-feature.show-full .long {
426 display: block;
427 }
428
429 .ep-feature.show-full .learn-more {
430 display: none;
431 }
432
433 .ep-feature .learn-more::after {
434 content: "\f140";
435 font-family: dashicons;
436 font-size: 1.5em;
437 line-height: 1;
438 position: relative;
439 top: -0.07em;
440 vertical-align: middle;
441 }
442
443 .ep-feature .collapse::after {
444 content: "\f142";
445 font-family: dashicons;
446 font-size: 1.5em;
447 line-height: 1;
448 position: relative;
449 top: -0.07em;
450 vertical-align: middle;
451 }
452
453 /**
454 * Intro Page
455 */
456
457
458 .intro h2 {
459 line-height: 1.2;
460 padding: 9px 0 4px;
461 }
462
463 .intro h1 {
464 color: var(--ep-c-medium-gray);
465 font-weight: 600;
466 margin: 0.5em 0 2em;
467 text-align: center;
468 }
469
470 .intro-container {
471 display: flex;
472 flex-direction: column;
473 justify-content: center;
474 position: relative;
475 text-align: center;
476
477 @media (--tablet-min) {
478 flex-direction: row;
479 }
480
481 @media (--wide-min) {
482 margin-left: 10%;
483 margin-right: 10%;
484 }
485
486 & h2 {
487 color: var(--ep-c-medium-gray);
488 height: 8%;
489 }
490
491 /* stylelint-disable-next-line no-descending-specificity */
492 & p {
493 margin-left: auto;
494 margin-right: auto;
495 max-width: 300px;
496 }
497 }
498
499 .ep-feature-list {
500 display: inline-block;
501 margin: 0;
502 text-align: left;
503 vertical-align: top;
504
505 & li {
506 align-items: center;
507 display: flex;
508 margin: 4px 3px;
509 }
510
511 & [role="tooltip"].a11y-tip__help--top {
512 font-size: inherit;
513 }
514 }
515
516 .ep-feature-info {
517 text-decoration: none;
518
519 & .dashicons {
520 font-size: 14px;
521 position: relative;
522 top: 2px;
523 }
524 }
525
526 .intro-box {
527 flex-grow: 2;
528 margin-bottom: 2em;
529 }
530
531 .intro-container-success {
532 display: flex;
533 flex-wrap: wrap;
534 justify-content: center;
535 text-align: center;
536 }
537
538 /* stylelint-disable-next-line no-descending-specificity */
539 .intro-container-success p {
540 margin-top: 23px;
541 padding: 0 35%;
542 }
543
544 @media (--tablet-max) {
545
546 .intro-container-success p {
547 margin-top: 23px;
548 padding: 0 26%;
549 }
550 }
551
552 .ep-config-success span {
553 font-size: 6em;
554 padding-right: 75px;
555 }
556
557 .setup-complete {
558 font-size: 2em;
559 margin-top: 0;
560 padding-top: 0;
561 width: 100%;
562 }
563
564 .setup-complete h2 {
565 margin-top: 0;
566 padding-top: 0;
567 }
568
569 .ep-copy-text {
570
571 @media (--tablet-min) {
572 padding: 0 9%;
573 }
574
575 /* stylelint-disable-next-line no-descending-specificity */
576 & a {
577 font-weight: 700;
578 }
579 }
580
581 .ep-circle {
582 background: var(--ep-c-white);
583 border-radius: 50%;
584 color: var(--ep-c-medium-gray);
585 display: inline-block;
586 font-size: 16px;
587 font-weight: 400;
588 height: 6em;
589 line-height: 2.8em;
590 margin: 0 1em;
591 text-align: center;
592 width: 6em;
593
594 /* stylelint-disable-next-line no-descending-specificity */
595 & p {
596 border: 0;
597 font-size: 50px;
598 font-weight: 700;
599 line-height: 0.5em;
600 margin: 0;
601 }
602 }
603
604 .ep-circle--first {
605
606 @media (--tablet-min) {
607
608 &::after {
609 background: #d4d4d4;
610 content: "";
611 height: 0.2em;
612 left: 50%;
613 position: absolute;
614 top: 2.9em;
615 transform: translateX(-50%);
616 width: 75%;
617 z-index: -1;
618 }
619 }
620 }
621
622 .ep-circle--active {
623 background-color: var(--ep-c-medium-red);
624 color: var(--ep-c-white);
625 }
626
627 .wrap.intro {
628 margin-bottom: 30px;
629 margin-top: 30px;
630 overflow: auto;
631
632 & .updated,
633 & .notice,
634 & .error,
635 & .is-dismissible {
636 /* stylelint-disable-next-line declaration-no-important */
637 display: none !important;
638 }
639 }
640
641 .features-screenshot {
642 display: none;
643 }
644
645 .setup-message {
646 clear: both;
647 text-align: center;
648 }
649
650 .setup-button {
651 -webkit-appearance: none;
652 background-color: var(--ep-c-medium-red);
653 border: none;
654 border-radius: 10px;
655 box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.25);
656 color: var(--ep-c-white);
657 display: inline-block;
658 margin: 0 0.75em;
659 padding: 1em 1.5em;
660 text-decoration: none;
661 }
662
663 .setup-button:hover {
664 background-color: var(--ep-c-dark-red);
665 color: var(--ep-c-white-red);
666 }
667
668 .setup-message .setup-button-primary {
669 background-color: var(--ep-c-white);
670 color: var(--ep-c-medium-red);
671 }
672
673 .ep-feature-search .wp-color-result.button {
674 margin-bottom: 10px;
675 }
676
677
678 .ep-feature.ep-feature-search .settings .wp-picker-input-wrap > label {
679 margin-right: 10px;
680 margin-top: 0;
681 }
682
683 .ep-feature.ep-feature-search .settings.wp-picker-input-wrap label {
684 align-items: center;
685 display: flex;
686 }
687
688 .ep-feature.ep-feature-search .settings .wp-picker-open + .wp-picker-input-wrap {
689 display: flex;
690 }
691
692 /**
693 * Animations
694 */
695
696 @-webkit-keyframes load8 {
697
698 0% {
699 -webkit-transform: rotate(0deg);
700 transform: rotate(0deg);
701 }
702
703 100% {
704 -webkit-transform: rotate(360deg);
705 transform: rotate(360deg);
706 }
707 }
708
709 @keyframes load8 {
710
711 0% {
712 -webkit-transform: rotate(0deg);
713 transform: rotate(0deg);
714 }
715
716 100% {
717 -webkit-transform: rotate(360deg);
718 transform: rotate(360deg);
719 }
720 }
721
722 @media (--tablet-min) {
723
724 .intro .left {
725 float: left;
726 width: 30%;
727 }
728
729 .features-screenshot {
730 display: block;
731 float: right;
732 height: auto;
733 margin: 0 auto;
734 max-width: 1000px;
735 width: 70%;
736 }
737
738 .ep-features .left {
739 box-sizing: border-box;
740 display: block;
741 float: left;
742 padding-right: 10px;
743 width: 50%;
744 }
745
746 .ep-features .right {
747 box-sizing: border-box;
748 display: block;
749 float: right;
750 padding-left: 10px;
751 width: 50%;
752 }
753
754 .ep-feature .feature-message {
755 display: inline-block;
756 float: left;
757 padding: 0;
758 padding-top: 0.5em;
759 vertical-align: middle;
760 }
761 }
762
763 /**
764 * Settings page
765 */
766
767 /* @media screen and (max-width: 600px) { */
768 /* stylelint-disable-next-line selector-no-qualifying-type */
769 .wrap h2.nav-tab-wrapper.ep-credentials-tabs {
770 border-bottom: 1px solid var(--ep-c-white-gray);
771 }
772
773 /* } */
774
775 .ep-credentials input[type="text"] {
776 min-width: 250px;
777 }
778
779 h2 .nav-tab.ep-credentials-tab {
780 cursor: pointer;
781 margin-bottom: -1px;
782 }
783
784 .ep-credentials-tab.nav-tab-active {
785 border-bottom-color: var(--ep-c-white);
786 }
787
788 .ep-credentials-tab img,
789 .ep-credentials-tab span {
790 display: inline-block;
791 vertical-align: middle;
792 }
793
794 .ep-credentials fieldset {
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);
798 margin: 0;
799 padding: 0 1rem;
800 }
801
802 /* stylelint-disable-next-line selector-no-qualifying-type */
803 .ep-credentials fieldset.predefined {
804 border-top: 1px solid var(--ep-c-white-gray);
805 }
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 */
816 .ep-settings .description {
817 font-size: 0.75rem;
818 font-style: italic;
819 }
820
821 @media (--tablet-min) {
822
823 .ep-credentials {
824 display: inline-block;
825 }
826
827 .ep-credentials .form-table {
828 width: auto;
829 }
830
831 .ep-credentials .form-table td,
832 .ep-credentials-general .form-table td {
833 padding-left: 0;
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 }
842 }
843
844 .ep-flex-container {
845 display: -webkit-box;
846 display: -ms-flexbox;
847 display: flex;
848 -ms-flex-wrap: wrap;
849 flex-wrap: wrap;
850 width: 100%;
851 }
852
853 .ep-flex-container-nowrap {
854 display: -webkit-box;
855 display: -ms-flexbox;
856 display: flex;
857 width: 100%;
858 }
859
860 .stats-list {
861 margin-right: 0;
862 width: 100%;
863
864 /* @media( --tablet-min ) {
865 width: 48%;
866 margin-right: 24px;
867 } */
868
869 @media (--wide-min) {
870 background-color: var(--ep-c-white);
871 margin-right: 28px;
872 width: 37%;
873 }
874 }
875
876 .stats-queries {
877 background-color: var(--ep-c-white);
878 width: 100%;
879
880 /* @media( --tablet-min ) {
881 width: 48%;
882 } */
883
884 @media (--wide-min) {
885 width: 60%;
886 }
887 }
888
889 .stats-list-th span:last-of-type {
890 border-radius: 4px;
891 color: inherit;
892 cursor: pointer;
893 display: inline-block;
894 float: right;
895 font-size: 13px;
896 margin-top: -4px;
897 padding: 4px 7px;
898 padding-left: 23px;
899 position: relative;
900 }
901
902 .status-circle {
903 float: right;
904 text-transform: capitalize;
905 }
906
907 .status-circle::after {
908 border-radius: 50%;
909 content: " ";
910 display: inline-block;
911 height: 8px;
912 margin-left: 10px;
913 margin-top: -2px;
914 vertical-align: middle;
915 width: 8px;
916 }
917
918 .green-status {
919 color: var(--ep-status-ok);
920 }
921
922 .yellow-status {
923 color: var(--ep-status-warning);
924 }
925
926 .red-status {
927 color: var(--ep-status-error);
928 }
929
930 .green-status::after {
931 background-color: var(--ep-status-ok);
932 }
933
934 .yellow-status::after {
935 background-color: var(--ep-status-warning);
936 }
937
938 .red-status::after {
939 background-color: var(--ep-status-error);
940 }
941
942 .doc-chart {
943 margin-right: 0;
944 width: 100%;
945
946 @media (--tablet-min) {
947 margin-right: 24px;
948 width: 48%;
949 }
950
951 @media (--wide-min) {
952 margin-right: 28px;
953 width: 50%;
954 }
955 }
956
957 .ep-qchart-container {
958 margin: 0 auto;
959 width: 90%;
960
961 @media (--tablet-min) {
962 width: 48%;
963 }
964
965 @media (--wide-min) {
966 margin: 0 auto;
967 width: 50%;
968 }
969
970 }
971
972 .inside-totals {
973 padding: 0 12px 12px;
974 }
975
976 .ep-totals {
977 display: flex;
978 flex-direction: column;
979 width: 100%;
980
981 @media (--tablet-min) {
982 width: 48%;
983 }
984
985 @media (--wide-min) {
986 width: 47%;
987 }
988
989 & .ep-flex-container {
990 flex-direction: column;
991 justify-content: center;
992 margin-bottom: auto;
993 margin-top: auto;
994
995 @media (--wide-min) {
996 flex-direction: row;
997 }
998 }
999 }
1000
1001 .ep-totals-column {
1002 box-sizing: border-box;
1003 text-align: center;
1004 width: 100%;
1005
1006 @media (--wide-min) {
1007 width: 50%;
1008 }
1009 }
1010
1011 /* stylelint-disable-next-line selector-no-qualifying-type */
1012 p.ep-totals-title {
1013 font-weight: bolder;
1014 margin-top: 28px;
1015 }
1016
1017 /* stylelint-disable-next-line selector-no-qualifying-type */
1018 p.ep-totals-data {
1019 font-size: 3em;
1020 margin-top: 22px;
1021 }
1022
1023 .feature-epio-logo {
1024 margin-left: 5px;
1025 vertical-align: middle;
1026 }
1027