PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / 6.2.4
Social Media Auto Poster – Schedule & Publish to Buffer v6.2.4
6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 All 125 releases
wp-to-buffer / lib / shared / scss / admin.scss

admin.scss in Social Media Auto Poster – Schedule & Publish to Buffer 6.2.4, at lib/shared/scss/admin.scss

1,489 lines 23.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * This file contains global Admin UI CSS that's used across all Plugins.
3 *
4 * If an Admin UI element is used in the majority of our plugins, then include its CSS
5 * here.
6 *
7 * If an Admin UI element is used in one or a minority of our plugins, include its CSS
8 * in its own admin.css file.
9 */
10
11 /**
12 * Vars
13 */
14 $wpzinc-option-label-width: 140px;
15 $wpzinc-vertical-tabbed-ui-width: 180px;
16 $wpzinc-vertical-tabbed-ui-width-mobile: 60px;
17 $wpzinc-border-color: #e5e5e5;
18
19 /**
20 * wp_die() Screen
21 * - Adds styling when emulating wp_die() through JS
22 */
23 body#wpzinc-error-page {
24 background: #f1f1f1;
25
26 div.wpzinc-die-message {
27 background: #fff;
28 border: 1px solid #ccd0d4;
29 color: #444;
30 font-family:
31 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
32 Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
33 margin: 2em auto;
34 padding: 1em 2em;
35 max-width: 700px;
36 -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
37 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
38 }
39 }
40
41 /**
42 * New Settings UI: Settings Screens
43 * - Excludes Post and Taxonomy Types.
44 */
45 body.wpzinc {
46 background: #f0f0f1;
47
48 /**
49 * Screen Options
50 * - Add left margin so it's not tight to the admin menu
51 */
52 #screen-meta {
53 margin-left: 22px;
54 }
55
56 #wpcontent {
57 padding-left: 0;
58
59 #wpbody-content {
60 padding-left: 0;
61
62 /**
63 * Header
64 * - Used in settings screens and WP_List_Tables, excluding CPT's and
65 * excluding Custom Taxonomies.
66 */
67 > header {
68 height: 98px;
69 margin: 0 0 10px 0;
70 padding: 0 20px;
71 background-image: var(--wpzinc-logo);
72 background-size: 40px auto;
73 background-position: 30px 50%;
74 background-repeat: no-repeat;
75 background-color: var(--wpzinc-header-background-color, #fff);
76
77 h1 {
78 float: left;
79 margin: 0;
80 padding: 0;
81 font-size: 24px;
82 font-weight: 600;
83 color: var(--wpzinc-header-primary-text-color, #3d3d3d);
84 line-height: 98px;
85 text-indent: 70px;
86
87 span {
88 color: var(
89 --wpzinc-header-secondary-text-color,
90 #6e6e6e
91 );
92 }
93 }
94
95 a.wpzinc-docs {
96 float: right;
97 line-height: 98px;
98 padding: 0 20px;
99 font-weight: 400;
100 color: #144264;
101 text-decoration: none;
102 }
103 }
104
105 /**
106 * Content Wrap
107 */
108 .wrap {
109 margin: 0;
110
111 /**
112 * Notices immediately inside the .wrap have incorrect margins
113 * applied to them in WordPress.
114 */
115 > .notice,
116 > .js-notices > .notice {
117 margin: 5px 15px 2px 15px;
118 }
119
120 /* stylelint-disable-next-line no-invalid-position-at-import-rule */
121 @import "custom-post-tax-types";
122
123 /**
124 * Search Results Sub Title
125 */
126 span.subtitle {
127 position: absolute;
128 left: 0;
129 right: 0;
130 margin: 20px 0;
131 font-style: italic;
132 max-width: 50%;
133 }
134
135 /**
136 * Settings screens
137 */
138 .wrap-inner {
139 margin: 0 20px;
140
141 form#posts-filter {
142 margin: 0;
143 }
144 }
145
146 /**
147 * Section
148 */
149 .postbox {
150 background: #fff;
151 margin: 0 0 30px 0;
152 padding: 0;
153 }
154
155 /**
156 * Modern Settings Sections
157 */
158 form.wpzinc-settings-ui {
159
160 .postbox {
161 margin: 0 0 30px 0;
162 padding: 30px;
163 font-size: 14px;
164 border-radius: 8px;
165 border: none;
166
167 h2 {
168 margin: 0 0 30px 0;
169 padding: 0 0 30px 0;
170 font-size: 24px;
171 font-weight: 600;
172 border-bottom: 1px solid #e3e3e3;
173 color: #3d3d3d;
174 }
175 }
176 }
177
178 /**
179 * Buttons
180 */
181 p.submit {
182 margin-bottom: 20px;
183 padding: 0;
184 }
185 }
186 }
187 }
188 }
189
190 /**
191 * Settings UI: Gutenberg
192 */
193 /* stylelint-disable-next-line no-duplicate-selectors */
194 body.wpzinc {
195
196 /**
197 * Force selectize elements to be 100% width
198 */
199 .components-base-control {
200
201 &.wpzinc-selectize-freeform,
202 &.wpzinc-selectize-drag-drop,
203 &.wpzinc-selectize-search,
204 &.wpzinc-selectize-api,
205 &.wpzinc-selectize {
206 width: 100%;
207 }
208 }
209 }
210
211 /**
212 * TinyMCE and tribute.js Autocompleters
213 * - Same style as Gutenberg's Autocompleters
214 */
215 .tribute-container,
216 ul.wpzinc-tinymce-autocomplete {
217 position: absolute;
218 z-index: 999999;
219 display: block;
220 top: 0;
221 left: 0;
222 height: auto;
223 min-width: 220px;
224 max-width: 500px;
225 max-height: 300px;
226 overflow-x: hidden;
227 overflow-y: auto;
228 box-sizing: border-box;
229
230 margin: 0;
231 padding: 16px;
232 background-color: #fff;
233 border: 1px solid #ccc;
234 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
235 border-radius: 2px;
236 }
237
238 .tribute-container ul,
239 ul.wpzinc-tinymce-autocomplete {
240 margin: 0;
241 list-style: none;
242 }
243
244 .tribute-container ul li,
245 ul.wpzinc-tinymce-autocomplete li {
246 width: 100%;
247 line-height: 24px;
248 margin: 0;
249 padding: 6px 12px;
250 font-size: 13px;
251 text-align: left;
252 border: 0;
253 border-radius: 2px;
254 color: #1e1e1e;
255 text-decoration: none;
256 cursor: pointer;
257 background: none;
258 transition: box-shadow 0.1s linear;
259 box-sizing: border-box;
260
261 &:hover {
262 color: #007cba;
263 }
264
265 &:focus,
266 &.highlight {
267 color: #007cba;
268 box-shadow: 0 0 0 2px #007cba;
269 outline: 3px solid transparent;
270 }
271
272 &.highlight:hover {
273 box-shadow: none;
274 outline: 0;
275 }
276 }
277
278 ul.wpzinc-tinymce-autocomplete {
279 display: none;
280
281 &.displayed {
282 display: block;
283 }
284
285 li {
286 display: none;
287
288 &.displayed {
289 display: block;
290 }
291 }
292 }
293
294 /**
295 * jQuery UI Autocomplete
296 * - Increase z-index on results so they appear over the TinyMCE Modal
297 * - Scroll results
298 */
299 .ui-autocomplete {
300 font-family:
301 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
302 Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
303 font-size: 15px !important;
304 z-index: 9999999 !important;
305 max-height: 120px !important;
306 overflow-x: hidden !important;
307 overflow-y: auto !important;
308 border: 1px solid #ddd !important;
309 background: #f2f2f2 !important;
310 color: #333 !important;
311 }
312
313 /**
314 * Media Library: Insert/Delete Image
315 */
316 .wpzinc-media-library-selector {
317
318 ul {
319 margin: 0;
320 padding: 0;
321 }
322
323 /**
324 * Individual Attachment
325 */
326 li.wpzinc-media-library-attachment {
327 position: relative;
328 border: 1px dashed #dfdfdf;
329 background-color: #fff;
330 padding: 5px 10px;
331
332 .wpzinc-media-library-insert {
333
334 img {
335 position: relative;
336 z-index: 2;
337 display: block;
338 width: 100%;
339 height: auto;
340 }
341 }
342
343 /**
344 * Replace
345 */
346 a.wpzinc-media-library-replace {
347 position: absolute;
348 z-index: 4;
349 top: -11px;
350 left: -12px;
351 width: 19px;
352 height: 19px;
353 background: url(../feather/edit-2.svg) center no-repeat #fff;
354 background-size: 15px 15px;
355 text-indent: -9999px;
356 border: 2px solid #000;
357 border-radius: 50%;
358 }
359
360 /**
361 * Remove
362 */
363 a.wpzinc-media-library-remove {
364 position: absolute;
365 z-index: 3;
366 top: -12px;
367 right: -12px;
368 width: 24px;
369 height: 24px;
370 background: url(../feather/x-circle.svg) center no-repeat #fff;
371 background-size: 24px 24px;
372 text-indent: -9999px;
373 border: none;
374 border-radius: 50%;
375 }
376 }
377
378 /**
379 * Sortable Attachments
380 */
381 ul.ui-sortable {
382
383 li.wpzinc-media-library-attachment {
384 cursor: move;
385 }
386 }
387
388 /**
389 * Multiple Attachments
390 */
391 &[data-multiple="true"]="true""] {
392
393 ul {
394 display: grid;
395 grid-gap: 10px;
396 grid-template-columns: 1fr 1fr;
397 }
398 }
399
400 /**
401 * Image Attachments
402 */
403 &[data-file-type="image"]="image""] {
404
405 li.wpzinc-media-library-attachment {
406 --aspect-ratio: 1/1;
407 border: 1px dashed #dfdfdf;
408 background-color: #fff;
409 padding: 0;
410
411 &::before {
412 content: "";
413 display: inline-block;
414 width: 1px;
415 height: 0;
416 padding-bottom: calc(100% / (var(--aspect-ratio)));
417 }
418
419 .wpzinc-media-library-insert {
420 display: inline-block;
421 position: absolute;
422 z-index: 1;
423 width: 100%;
424 height: 100%;
425 }
426 }
427 }
428 }
429
430 /**
431 * Settings UI - Horizontal Tabbed Interface
432 * - Extends WordPress' .nav-tab-wrapper class
433 */
434 h2.wpzinc-horizontal-tabbed-ui.nav-tab-wrapper {
435 margin: 0 0 20px 0;
436 padding: 0;
437 border-bottom: 1px solid #d0d0cf;
438
439 &.needs-js {
440 display: none;
441 }
442
443 a.nav-tab {
444 position: relative;
445 display: inline-block;
446 margin: 0 5px 0 0;
447 padding: 0 20px;
448 height: 64px;
449 line-height: 64px;
450 text-decoration: none;
451 font-size: 14px;
452 font-weight: 600;
453 color: #565656;
454 border: none;
455 background: none;
456
457 &:hover {
458 color: #144264;
459 background: #e7e7e7;
460 }
461
462 &.nav-tab-active {
463 color: #144264;
464 border-bottom: 1px solid #4c596d;
465 }
466
467 &.enabled {
468 color: #008000;
469
470 span.dashicons.dashicons-yes {
471 display: inline-block;
472 }
473 }
474
475 &.error {
476 color: #f00;
477 }
478
479 &.last {
480 float: right;
481 margin: 0;
482 }
483
484 /**
485 * Remove focus shadow on tabs
486 */
487 &:focus {
488 box-shadow: none;
489 -webkit-box-shadow: none;
490 }
491
492 span.text-mobile {
493 display: none;
494 }
495
496 /**
497 * Dashicons
498 */
499 span.dashicons {
500 vertical-align: middle;
501 }
502
503 /**
504 * OK Icon
505 */
506 span.dashicons.dashicons-yes {
507 position: absolute;
508 display: none;
509 top: -8px;
510 right: -8px;
511 background-color: #008000;
512 color: #fff;
513 border-radius: 50%;
514
515 &::before {
516 margin-left: -2px;
517 }
518 }
519
520 /**
521 * Warning Icon
522 */
523 span.dashicons.dashicons-warning {
524 position: absolute;
525 display: inline-block;
526 top: -8px;
527 right: -8px;
528 color: #f00;
529 border-radius: 50%;
530 }
531 }
532 }
533
534 /**
535 * Settings UI - Vertical Tabbed Interface
536 */
537 div.wpzinc-vertical-tabbed-ui {
538 display: grid;
539 grid-template-columns: $wpzinc-vertical-tabbed-ui-width auto;
540 grid-template-areas: "tabs content";
541
542 /**
543 * We force styles here as Gutenberg meta boxes might not have borders etc
544 */
545 border: 1px solid $wpzinc-border-color !important;
546 background: #f7f7f7 !important;
547
548 &.no-border {
549 border: none !important;
550 }
551
552 header {
553 border-bottom: 1px solid $wpzinc-border-color;
554 }
555
556 /**
557 * Vertical Tabs
558 */
559 ul.wpzinc-nav-tabs {
560 grid-area: tabs;
561 width: 100%;
562 margin: 0;
563 padding: 0;
564 border-right: 1px solid $wpzinc-border-color;
565
566 li.wpzinc-nav-tab {
567 width: 100%;
568 margin: 0;
569 padding: 0;
570
571 /**
572 * Icons for dashboard elements e.g. Import & Export
573 */
574 &.download {
575
576 a {
577 background-image: url(../feather/download.svg);
578 background-size: 16px 16px;
579 }
580 }
581
582 &.upload {
583
584 a {
585 background-image: url(../feather/upload.svg);
586 background-size: 16px 16px;
587 }
588 }
589
590 a {
591 position: relative;
592 display: block;
593 width: $wpzinc-vertical-tabbed-ui-width - 40;
594 margin: 0 20px;
595 padding: 20px 0 20px 25px;
596 text-decoration: none;
597 color: #999;
598 border-bottom: 1px solid $wpzinc-border-color;
599 box-sizing: border-box;
600 transition: none;
601 background-position: 0 50%;
602 background-repeat: no-repeat;
603
604 /**
605 * Status Icons
606 */
607 span.dashicons {
608 position: absolute;
609 top: 16px;
610 right: 0;
611 display: inline-block;
612 border-radius: 50%;
613
614 &::before {
615 margin-left: -1px;
616 }
617
618 &.dashicons-yes {
619 background-color: #008000;
620 color: #fff;
621 }
622
623 &.dashicons-warning {
624 color: #f00;
625 }
626
627 &.hidden {
628 display: none;
629 }
630 }
631
632 /**
633 * Tag
634 */
635 span.tag {
636 position: absolute;
637 top: 15px;
638 right: 0;
639 display: inline-block;
640 font-size: 13px;
641 background-color: #999;
642 color: #fff;
643 border-radius: 3px;
644 padding: 3px;
645 }
646
647 /**
648 * Enabled + Error Styles
649 */
650 &.enabled {
651 color: #008000;
652
653 span.dashicons {
654
655 &.hidden {
656 display: inline-block;
657 }
658 }
659 }
660
661 &.error {
662 color: #f00;
663
664 span.dashicons {
665
666 &.hidden {
667 display: inline-block;
668 }
669 }
670 }
671
672 &.wpzinc-nav-tab-vertical-active,
673 &:hover {
674 width: $wpzinc-vertical-tabbed-ui-width + 1;
675 margin: -1px 0 0 0;
676 padding: 20px 20px 20px 45px;
677 text-decoration: none;
678 color: #444;
679 border-top: 1px solid $wpzinc-border-color;
680 border-bottom: 1px solid $wpzinc-border-color;
681 border-right: 1px solid #f9f7f4;
682 background-color: #fff;
683 background-position: 20px 50%;
684 background-repeat: no-repeat;
685
686 span.dashicons {
687 right: 20px;
688 }
689
690 span.tag {
691 right: 20px;
692 font-weight: 400;
693 }
694 }
695
696 &.wpzinc-nav-tab-vertical-active {
697 font-weight: 700;
698 }
699
700 &:hover {
701 background-color: #f9f7f4;
702 }
703
704 &:focus {
705 box-shadow: none;
706 }
707 }
708
709 &:last-child {
710
711 a {
712 border-bottom: none;
713 }
714 }
715 }
716 }
717
718 /**
719 * Content
720 */
721 div.wpzinc-nav-tabs-content {
722 grid-area: content;
723 margin: 0;
724 background: #fff;
725 border-left: 1px solid $wpzinc-border-color;
726
727 &::after {
728 content: "";
729 display: table;
730 clear: both;
731 }
732
733 div.postbox {
734 margin: 0;
735 padding: 0;
736 border: none;
737 background-color: transparent;
738
739 + div.postbox {
740 border-top: 1px solid $wpzinc-border-color;
741 }
742
743 header {
744 padding: 19px 15px 18px 15px;
745
746 h3 {
747
748 /* Defined so h3's style consistently in TinyMCE modals */
749 display: block;
750 margin: 0;
751 font-size: 1.3em;
752 font-weight: 600;
753 color: #23282d;
754
755 /**
756 * Checkboxes in Titles
757 */
758 label {
759 float: right;
760 font-weight: 400;
761 }
762 }
763
764 p.description {
765 margin: 10px 0 0 0;
766 }
767 }
768 }
769 }
770
771 /**
772 * Horizontal Tabs
773 */
774 ul.wpzinc-nav-tabs-horizontal {
775 display: inline-block;
776 width: 100%;
777 margin: 0;
778 padding: 0;
779 background-color: #f7f7f7;
780
781 li.wpzinc-nav-tab-horizontal {
782 float: left;
783 margin: 0;
784 padding: 0;
785
786 a {
787 position: relative;
788 float: left;
789 height: 54px;
790 line-height: 54px;
791 margin: 0;
792 padding: 0 20px;
793 text-decoration: none;
794 color: #999;
795
796 box-sizing: border-box;
797 transition: none;
798 background-position: 0 50%;
799 background-repeat: no-repeat;
800
801 /**
802 * Enabled + Error Styles
803 */
804 &.enabled {
805 color: #008000;
806 }
807
808 &.error {
809 color: #f00;
810 }
811
812 /**
813 * Status Icons
814 */
815 span.dashicons {
816 display: inline-block;
817 width: 16px;
818 height: 16px;
819 font-size: 17px;
820 margin: 18px 0 0 0;
821 border-radius: 50%;
822
823 &::before {
824 margin-left: -1px;
825 }
826
827 &.dashicons-yes {
828 margin: 18px 0 0 10px;
829 background-color: #008000;
830 color: #fff;
831 }
832
833 &.dashicons-warning {
834 margin: 18px 0 0 10px;
835 color: #f00;
836 }
837 }
838
839 &.wpzinc-nav-tab-horizontal-active,
840 &:hover {
841 text-decoration: none;
842 color: #444;
843 background-color: #fff;
844 background-position: 20px 50%;
845 background-repeat: no-repeat;
846
847 span.dashicons {
848 right: 20px;
849 }
850 }
851
852 &.wpzinc-nav-tab-horizontal-active {
853 font-weight: 700;
854 }
855
856 &:focus {
857 box-shadow: none;
858 }
859 }
860 }
861 }
862 }
863
864 /**
865 * Settings UI - Admin Interface
866 */
867 /* stylelint-disable-next-line no-invalid-position-at-import-rule */
868 @import "option";
869
870 /**
871 * Settings UI - Horizontal Selection
872 */
873 .wpzinc-horizontal-selection {
874 display: flex;
875 flex-wrap: wrap;
876
877 label {
878 width: 300px;
879 text-align: center;
880 margin: 0 20px 20px 0;
881 padding: 20px;
882 background-color: #fcfcfc;
883 border: 1px solid #ccc;
884 border-radius: 5px;
885 cursor: pointer;
886
887 .image {
888 min-height: 105px;
889 }
890
891 span {
892 display: block;
893
894 &.description {
895 margin: 20px 0 0 0;
896 color: #646970;
897 font-size: 13px;
898 }
899 }
900
901 input[type="radio"]="radio""] {
902 margin: 20px 0 0 0;
903 }
904 }
905 }
906
907 /**
908 * Settings UI - Items in Headers
909 */
910 .postbox {
911
912 .hndle {
913
914 .right {
915 float: right;
916
917 /**
918 * Buttons
919 */
920 &.button {
921 margin-top: -3px;
922 }
923 }
924
925 /**
926 * Input & Select
927 */
928 input.right,
929 select.right {
930 margin-top: -3px;
931 }
932 }
933 }
934
935 /**
936 * Settings UI - TinyMCE Popups
937 */
938 #wpzinc-tinymce-modal {
939
940 #wpzinc-tinymce-modal-body {
941
942 /* Scroll inner contents so that modal height doesn't need to exceed screen resolution. */
943 overflow-y: auto;
944 }
945
946 div.mce-foot {
947
948 div.mce-cancel {
949 left: 10px !important;
950 }
951 }
952 }
953
954 /**
955 * Settings UI - TinyMCE and QuickTags
956 */
957 form.wpzinc-tinymce-popup {
958 font-family:
959 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
960 Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
961
962 /**
963 * Vertical Tabbed UI
964 */
965 div.wpzinc-vertical-tabbed-ui {
966 border: none !important;
967 }
968
969 /**
970 * Text Wrapping
971 */
972 p.description {
973 white-space: normal;
974 margin: 2px 0 5px;
975 color: #666;
976 font-size: 13px;
977 font-style: italic;
978 }
979
980 /**
981 * Imports to override greedy TinyMCE reset
982 * - Settings UI
983 * - Selectize
984 */
985 /* stylelint-disable no-invalid-position-at-import-rule, no-duplicate-at-import-rules */
986 @import "option";
987 @import "selectize";
988 /* stylelint-enable no-invalid-position-at-import-rule, no-duplicate-at-import-rules */
989
990 /**
991 * Settings UI
992 */
993 div.wpzinc-option {
994
995 &:last-child {
996 border-bottom: none;
997 }
998
999 .widefat {
1000 width: 100%;
1001 max-width: 100%;
1002 box-sizing: border-box;
1003 }
1004
1005 /**
1006 * Inputs
1007 */
1008 select {
1009 background-color: #fff;
1010 }
1011
1012 textarea {
1013 padding: 5px;
1014 background-color: #fff;
1015 border: 1px solid #7e8993;
1016 }
1017
1018 /**
1019 * One column layout
1020 */
1021 .full {
1022 clear: both;
1023 display: block;
1024 padding: 5px 0 0 0;
1025 }
1026
1027 /**
1028 * Selectize
1029 * - Prevent control from dropping under tabs
1030 */
1031 .selectize-control {
1032 clear: none;
1033 }
1034
1035 /**
1036 * Footer Buttons
1037 */
1038 &.buttons {
1039 position: absolute;
1040 bottom: 0;
1041 left: 0;
1042 right: 0;
1043 border-top: 1px solid #ddd;
1044 background-color: #f7f7f7;
1045
1046 &.has-wpzinc-vertical-tabbed-ui {
1047 border-top: 1px solid #ddd;
1048 background-color: #f7f7f7;
1049 }
1050 }
1051 }
1052 }
1053
1054 /**
1055 * TinyMCE - dashicons for Visual Editor Buttons
1056 */
1057 i.mce-i-wpzinc-icon {
1058 font: 400 20px/1 dashicons;
1059 padding: 0;
1060 vertical-align: top;
1061 speak: none;
1062 -webkit-font-smoothing: antialiased;
1063 -moz-osx-font-smoothing: grayscale;
1064 margin-left: -2px;
1065 padding-right: 2px;
1066 }
1067
1068 /**
1069 * Warning Notices
1070 */
1071 div.notice.warning {
1072 border-left-color: #ffb900;
1073 }
1074
1075 /**
1076 * Settings UI: Upgrade
1077 */
1078 .wpzinc-upgrade-hr {
1079 padding: 20px 0 0 0;
1080 border-bottom: none;
1081 }
1082
1083 .wpzinc-upgrade {
1084 background: #f7f7f7;
1085 border: 1px solid #e5e5e5;
1086 padding: 20px;
1087
1088 h3 {
1089 margin: 0 0 30px 0;
1090 padding: 0;
1091 }
1092
1093 ul {
1094 display: grid;
1095 grid-template-columns: repeat(3, 1fr);
1096 column-gap: 20px;
1097 row-gap: 20px;
1098
1099 li {
1100 background: url(../feather/check-circle.svg) top left no-repeat;
1101 background-size: 20px 20px;
1102 padding: 0 0 0 30px;
1103
1104 strong {
1105 display: block;
1106 font-size: 15px;
1107 margin: 0 0 5px 0;
1108 }
1109 }
1110 }
1111
1112 a.button {
1113 margin: 20px 0 0 0;
1114 }
1115 }
1116
1117 /**
1118 * Gutenberg Editor Styling
1119 * - gutenberg-editor-page is for WP 4.9.x w/ Gutenberg Plugin
1120 * - block-editor-page is for WP 5.x
1121 */
1122 body.wpzinc.gutenberg-editor-page,
1123 body.wpzinc.block-editor-page {
1124
1125 .edit-post-layout__metaboxes:not(:empty) {
1126 margin: 0;
1127 padding: 0;
1128 }
1129
1130 .edit-post-meta-boxes-area {
1131 margin: 0;
1132
1133 #poststuff {
1134
1135 .handlediv {
1136
1137 /* Required so open/close button sits above and isn't covered by background color below */
1138 position: relative;
1139 z-index: 2;
1140 }
1141
1142 h2.hndle {
1143 z-index: 1; /* Required so open/close button sits above and isn't covered by background color below */
1144 background-color: #fcfcfc;
1145 }
1146 }
1147
1148 .wpzinc-option {
1149 background-color: transparent;
1150 border: none;
1151
1152 &:nth-child(odd) {
1153 background-color: transparent;
1154 }
1155 }
1156 }
1157 }
1158
1159 /**
1160 * Modals
1161 */
1162 .wpzinc-modal-overlay {
1163 display: none;
1164 position: fixed;
1165 z-index: 99999999;
1166 top: 0;
1167 left: 0;
1168 width: 100vw;
1169 height: 100vh;
1170 background: rgba(0, 0, 0, 0.5);
1171 }
1172
1173 .wpzinc-modal {
1174 display: none;
1175 position: fixed;
1176 z-index: 100000000;
1177
1178 top: 60px;
1179 left: 50%;
1180 transform: translateX(-50%);
1181 max-width: 720px;
1182 width: calc(100vw - 40px);
1183 height: auto;
1184 max-height: calc(100vh - 120px);
1185 margin: 0;
1186 overflow-y: auto;
1187
1188 box-sizing: border-box;
1189 background-color: #fff;
1190 padding: 30px 30px 20px;
1191 border-radius: 4px;
1192 box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
1193
1194 &.wpzinc-modal-mini {
1195 top: 50%;
1196 left: 50%;
1197 transform: translate(-50%, -50%);
1198 width: auto;
1199 min-width: 240px;
1200 max-width: 360px;
1201 height: auto;
1202 max-height: none;
1203 margin: 0;
1204 padding: 20px 25px;
1205 overflow: hidden;
1206 }
1207
1208 h2 {
1209 font-size: 20px;
1210 line-height: 25px;
1211 font-weight: 700;
1212 margin: 0 0 10px 0;
1213 padding: 0;
1214
1215 div.spinner {
1216 display: none;
1217 visibility: hidden;
1218 margin: 0;
1219 }
1220
1221 div.tick {
1222 display: none;
1223 visibility: hidden;
1224 float: right;
1225 width: 20px;
1226 height: 20px;
1227 margin: 4px 10px 0 4px;
1228 }
1229 }
1230
1231 p.message {
1232 margin: 0 0 20px 0;
1233 padding: 0;
1234 }
1235
1236 .notice {
1237 display: block !important;
1238 margin: 0 0 20px 0;
1239 padding: 10px;
1240
1241 &.warning {
1242 border-left-color: #ffa500;
1243 }
1244
1245 p {
1246 margin: 0;
1247 }
1248 }
1249
1250 button.close {
1251 display: none;
1252 }
1253 }
1254
1255 /**
1256 * QuickTags Backbone Modal
1257 * - used by tinymce-modal.js
1258 * - override styles set by WordPress
1259 */
1260 .wpzinc-backbone-modal {
1261
1262 .media-modal {
1263 position: absolute;
1264 left: 50%;
1265 top: 50%;
1266 transform: translate(-50%, -50%);
1267
1268 .media-frame-title {
1269 left: 0;
1270 height: 30px;
1271 }
1272
1273 .media-frame-content {
1274 left: 0;
1275 top: 54px;
1276 bottom: 54px; /* 34px + .media-toolbar top and bottom padding */
1277 }
1278
1279 .media-frame-toolbar {
1280 left: 0;
1281 bottom: 47px;
1282 background: #fff;
1283
1284 .media-toolbar {
1285 padding: 10px;
1286 }
1287 }
1288 }
1289 }
1290
1291 /**
1292 * Notifications
1293 */
1294 .wpzinc-notification {
1295 display: none;
1296 position: fixed;
1297 z-index: 9999999;
1298 bottom: 20px;
1299 right: 20px;
1300 color: #fff;
1301 background-color: #585e65;
1302
1303 padding: 10px;
1304 -webkit-border-radius: 4px;
1305 -moz-border-radius: 4px;
1306 border-radius: 4px;
1307 box-shadow: 0 20px 30px -16px rgba(9, 9, 16, 0.8);
1308
1309 &.wpzinc-notification-success {
1310 border-left: 4px solid #46b450;
1311 }
1312
1313 &.wpzinc-notification-warning {
1314 border-left: 4px solid #ffa500;
1315 }
1316
1317 &.wpzinc-notification-error {
1318 border-left: 4px solid #dc3232;
1319 }
1320 }
1321
1322 /**
1323 * Red Button
1324 */
1325 .wp-core-ui {
1326 /* stylelint-disable-next-line no-invalid-position-at-import-rule */
1327 @import "buttons";
1328 }
1329
1330 /* stylelint-disable no-invalid-position-at-import-rule, no-duplicate-at-import-rules */
1331 @import "buttons";
1332 /* stylelint-enable no-invalid-position-at-import-rule, no-duplicate-at-import-rules */
1333
1334 /**
1335 * Taxonomy Term Checkboxes
1336 */
1337 .tax-selection {
1338
1339 .tabs-panel {
1340 height: 200px !important;
1341 overflow: auto;
1342 padding: 10px 15px;
1343 border-left: none;
1344 border-top: none;
1345 border-right: none;
1346 border-bottom: none;
1347 background: #fff;
1348
1349 ul.categorychecklist {
1350 margin: 0;
1351 padding: 0;
1352 }
1353 }
1354 }
1355
1356 /**
1357 * Onboarding UI
1358 */
1359 #wpzinc-onboarding {
1360 max-width: 900px;
1361 margin: 0 auto;
1362 padding: 40px 0;
1363
1364 #wpzinc-onboarding-progress {
1365 text-align: center;
1366 padding: 40px 0;
1367
1368 ol {
1369 list-style: none;
1370 margin: 0;
1371 padding: 0;
1372
1373 li {
1374 position: relative;
1375 display: inline-block;
1376 width: 135px;
1377 text-align: center;
1378 line-height: 3em;
1379
1380 /**
1381 * Lines
1382 */
1383 &::after {
1384 position: absolute;
1385 display: block;
1386 z-index: 1;
1387 top: -2px;
1388 left: -65px;
1389 height: 2px;
1390 width: 135px;
1391 content: "";
1392 background-color: #dfdfdf;
1393 }
1394
1395 /**
1396 * Bullets
1397 */
1398 &::before {
1399 position: absolute;
1400 z-index: 2;
1401 top: -6px;
1402 left: 65px;
1403 height: 10px;
1404 width: 10px;
1405 border-radius: 1.2em;
1406 border: none;
1407 line-height: 1.2em;
1408 content: " ";
1409 background-color: #dfdfdf;
1410 }
1411
1412 &:first-child {
1413
1414 &::after {
1415 display: none;
1416 }
1417 }
1418
1419 /**
1420 * Completed Item
1421 */
1422 &.done {
1423 color: #1c9bd7;
1424
1425 &::after,
1426 &::before {
1427 background-color: #1c9bd7;
1428 }
1429 }
1430 }
1431 }
1432 }
1433
1434 #wpzinc-onboarding-form {
1435 padding: 20px 80px 80px 80px;
1436 background-color: #fff;
1437 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
1438
1439 #wpzinc-onboarding-content {
1440
1441 h1 {
1442 margin: 60px 0 20px 0;
1443 }
1444
1445 p {
1446 font-size: 16px;
1447
1448 &.description {
1449 font-size: 13px;
1450 }
1451 }
1452
1453 > div {
1454 margin: 0 0 20px 0;
1455
1456 label {
1457 display: block;
1458 margin-bottom: 10px;
1459 font-size: 16px;
1460 font-weight: 500;
1461 }
1462 }
1463 }
1464
1465 #wpzinc-onboarding-footer {
1466 display: grid;
1467 grid-template-columns: repeat(2, 1fr);
1468 grid-template-areas: "left right";
1469 padding: 40px 0 0 0;
1470
1471 .left {
1472 grid-area: left;
1473 text-align: left;
1474 }
1475
1476 .right {
1477 grid-area: right;
1478 text-align: right;
1479 }
1480 }
1481 }
1482 }
1483
1484 /**
1485 * Responsive
1486 */
1487 /* stylelint-disable-next-line no-invalid-position-at-import-rule */
1488 @import "responsive";
1489