PluginProbe
ElasticPress / 5.0.0
ElasticPress v5.0.0
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.0.0, at assets/css/dashboard.css

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