PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.6
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.6
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
merchant / assets / sass / admin / admin.scss

admin.scss in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.6, at assets/sass/admin/admin.scss

3,128 lines 52.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import 'utilities';
2 @import 'animations';
3 @import 'pickr';
4 @import 'buttons';
5 @import 'tabs';
6
7 .toplevel_page_merchant {
8 background-color: #F4F6F8;
9
10 #wpbody-content {
11
12 > .updated,
13 > .notice {
14 display: none;
15 }
16 }
17 }
18
19 .merchant-top-bar {
20 display: flex;
21 align-items: center;
22 justify-content: space-between;
23 background-color: #FFF;
24 margin: 0 0 30px -20px;
25 padding: 18px 20px;
26
27 * {
28 box-sizing: border-box;
29
30 *:before,
31 *:after {
32 box-sizing: border-box;
33 }
34 }
35
36 .merchant-top-bar-infos {
37 display: flex;
38 align-items: center;
39
40 .merchant-top-bar-info-item {
41 position: relative;
42 padding: 0 10px;
43
44 & + .merchant-top-bar-info-item {
45 &:before {
46 content: '';
47 position: absolute;
48 top: 50%;
49 left: 0;
50 height: 17px;
51 transform: translateY(-50%);
52 border-left: 1px solid #F0F0F0;
53 }
54 }
55 }
56 }
57
58 .merchant-version {
59 font-size: 13px;
60 line-height: 13px;
61 color: #97A3B6;
62
63 strong {
64 position: relative;
65 top: 1px;
66 }
67
68 .merchant-badge {
69 display: inline-flex;
70 margin-left: 5px;
71 font-size: 9px;
72 line-height: 10px;
73 }
74 }
75
76 .merchant-notifications {
77 position: relative;
78 display: inline-flex;
79 align-items: center;
80 justify-content: center;
81 width: 27px;
82 height: 27px;
83 border: 1px solid #DFDFDF;
84 border-radius: 35px;
85
86 &:focus {
87 box-shadow: none;
88 }
89
90 .merchant-notifications-count {
91 position: absolute;
92 top: -8px;
93 right: -7px;
94 display: flex;
95 align-items: center;
96 justify-content: center;
97 width: 16px;
98 height: 16px;
99 color: #FFF;
100 background-color: #FA1212;
101 border-radius: 35px;
102 font-size: 10px;
103 line-height: 1;
104 }
105
106 &.read {
107 .merchant-notifications-count {
108 display: none;
109 }
110 }
111 }
112
113 .merchant-website {
114 display: flex;
115 align-items: center;
116 gap: 8px;
117 font-size: 13px;
118 line-height: 16px;
119 color: #3858E9;
120 text-decoration: none;
121 }
122 }
123
124 /* Notifications Sidebar */
125 .merchant-notifications-sidebar {
126 position: fixed;
127 top: calc(32px + 64px);
128 right: 0;
129 width: 100%;
130 max-width: 500px;
131 height: calc(100vh - 92px);
132 background-color: #FFF;
133 box-shadow: -10px 12px 14px rgba(0, 0, 0, 0.05);
134 opacity: 0;
135 visibility: hidden;
136 transform: translate3d(100%, 0, 0);
137 transition: ease transform 300ms, ease opacity 300ms;
138 z-index: 1000;
139
140 &.opened {
141 opacity: 1;
142 visibility: visible;
143 transform: none;
144 }
145
146 &.closing {
147 opacity: 0;
148 transform: translate3d(100%, 0, 0);
149 }
150
151 .merchant-notifications-sidebar-close {
152 position: absolute;
153 top: 15px;
154 right: 15px;
155 transition: ease opacity 300ms;
156
157 &:hover {
158 opacity: 0.7;
159 }
160 }
161
162 .merchant-notifications-sidebar-header {
163 display: flex;
164 align-items: center;
165 gap: 10px;
166 background-color: #EAEEF2;
167 padding: 20px 22px;
168
169 .merchant-notifications-sidebar-header-icon {
170 display: flex;
171 align-items: center;
172 justify-content: center;
173 width: 40px;
174 height: 40px;
175 background-color: #FFF;
176 border: 1px solid #EBEDEF;
177 border-radius: 35px;
178
179 svg {
180 position: relative;
181 top: -2px;
182 }
183 }
184
185 .merchant-notifications-sidebar-header-content {
186 h3 {
187 font-size: 16px;
188 line-height: 26px;
189 font-weight: 600;
190 color: #3858E9;
191 margin: 0;
192 }
193
194 p {
195 font-size: 13px;
196 line-height: 18px;
197 color: #757575;
198 margin: 0;
199 }
200 }
201 }
202
203 .merchant-notifications-sidebar-tabs {
204 position: relative;
205
206 &:after {
207 content: '';
208 position: absolute;
209 bottom: -10px;
210 left: 20px;
211 width: calc(100% - 40px);
212 border-bottom: 1px solid #F0F0F1;
213 }
214
215 & + .merchant-notifications-sidebar-body {
216 max-height: calc(100vh - 232px);
217 }
218 }
219
220 .merchant-notifications-sidebar-body {
221 padding: 20px;
222 overflow-y: auto;
223 max-height: calc(100vh - 230px);
224
225 &::-webkit-scrollbar {
226 width: 5px;
227 }
228
229 &::-webkit-scrollbar-track {
230 background: #e2e2e2;
231 }
232
233 &::-webkit-scrollbar-thumb {
234 background-color: #CCC;
235 }
236 }
237 }
238
239 /* Notifications (card) */
240 .merchant-notification {
241 .merchant-notification-date {
242 display: block;
243 font-size: 13px;
244 line-height: 18px;
245 color: #757575;
246
247 & + .merchant-notification-content {
248 margin-top: 20px;
249 }
250 }
251
252 .changelog-tag {
253 display: inline-block;
254 font-size: 10px;
255 line-height: 18px;
256 color: #FFF;
257 padding: 0px 10px;
258 background-color: #CCC;
259 border-radius: 3px;
260 text-transform: uppercase;
261 font-weight: 600;
262 margin-bottom: 5px;
263
264 &.changelog-added {
265 background-color: #73B189;
266 }
267
268 &.changelog-changed {
269 background-color: #F6CA45;
270 }
271
272 &.changelog-fixed {
273 background-color: #967BE3;
274 }
275 }
276
277 .changelog-description {
278 display: block;
279 font-size: 13px;
280 line-height: 21px;
281 font-weight: 400;
282 color: #757575;
283 margin-top: 5px;
284 }
285
286 .merchant-notification-content {
287 ul {
288 margin: 0;
289
290 li {
291 display: flex;
292 flex-direction: column;
293 align-items: flex-start;
294 font-size: 16px;
295 line-height: 26px;
296 font-weight: 600;
297 color: #101517;
298
299 & + li {
300 margin-top: 15px;
301 padding-top: 15px;
302 border-top: 1px solid #E7E7E7;
303 }
304 }
305 }
306 }
307
308 & + .merchant-notification {
309 margin: 20px -20px 0px;
310 padding: 20px 20px 0px;
311 border-top: 1px solid #E7E7E7;
312 }
313 }
314
315 .merchant-wrap {
316 padding-left: 5px;
317 padding-right: 5px;
318
319 * {
320 box-sizing: border-box;
321
322 *:before,
323 *:after {
324 box-sizing: border-box;
325 }
326 }
327 }
328
329 .merchant-modules-panel {
330 display: flex;
331 grid-gap: 20px;
332 flex-direction: column;
333 }
334
335 .merchant-modules-header {
336 display: flex;
337 grid-gap: 30px;
338 }
339
340 .merchant-modules-header-left,
341 .merchant-modules-header-right {
342 flex: 1;
343 display: flex;
344 grid-gap: 10px;
345 flex-direction: column;
346 justify-content: center;
347 }
348
349 .merchant-modules-header-heading {
350 font-size: 24px;
351 line-height: 34px;
352 font-weight: 500;
353 color: #101517;
354 }
355
356 .merchant-modules-header-subheading {
357 font-size: 16px;
358 line-height: 1.35em;
359 color: #7B7B7B;
360 font-weight: 400;
361 }
362
363 .merchant-modules-header-status {
364 margin-top: 20px;
365 margin-bottom: 40px;
366 display: flex;
367 grid-gap: 20px;
368 }
369
370 .merchant-modules-header-status-box {
371 min-width: 175px;
372 display: flex;
373 grid-gap: 10px;
374 flex-direction: column;
375 align-items: center;
376 padding: 20px;
377 font-size: 14px;
378 font-weight: 500;
379 color: #101517;
380 background-color: #fff;
381 box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
382 border-radius: 4px;
383
384 span {
385 display: flex;
386 grid-gap: 5px;
387 align-items: center;
388 }
389
390 strong {
391 color: #101517;
392 font-size: 40px;
393 line-height: 1em;
394 }
395 }
396
397 .merchant-modules-header-image {
398 height: 100%;
399 display: flex;
400 justify-content: center;
401 align-items: flex-end;
402
403 svg {
404 width: 300px;
405 }
406
407 @media(max-width: 1400px) {
408 img {
409 max-width: 450px;
410 margin-top: 20px;
411 }
412 }
413 }
414
415 .merchant-modules-header-shortlinks {
416 margin: 20px 0;
417 padding: 0;
418 list-style: none;
419 display: flex;
420 flex-direction: column;
421 border-radius: 4px;
422 border: 2px solid #F0F0F1;
423 background-color: #fff;
424 border-radius: 4px;
425
426 li {
427 margin: 0 15px;
428 border-bottom: 1px solid #EFEFEF;
429
430 &:last-child {
431 border-bottom: none;
432 margin-bottom: 5px;
433 }
434
435 &:first-child {
436 margin-top: 5px;
437 }
438 }
439
440 a {
441 font-size: 14px;
442 display: flex;
443 grid-gap: 8px;
444 align-items: center;
445 justify-content: space-between;
446 color: #757575;
447 text-decoration: none;
448 padding: 10px 0;
449
450 &:focus {
451 outline: none;
452 box-shadow: none;
453 }
454 }
455
456 span {
457 flex: 1;
458 }
459
460 strong {
461 color: #101517;
462 font-weight: 500;
463 }
464 }
465
466
467 .merchant-modules-box {
468 display: flex;
469 grid-gap: 20px;
470 flex-direction: column;
471 padding: 20px;
472 background-color: #fff;
473 box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
474 border-radius: 4px;
475 }
476
477 .merchant-modules-box-heading {
478 font-size: 20px;
479 font-weight: 500;
480 line-height: 30px;
481 color: #101517;
482 }
483
484 .merchant-modules-list {
485 display: grid;
486 grid-template-columns: repeat(3, minmax(0, 1fr));
487 grid-gap: 20px;
488 }
489
490 .merchant-modules-list-item {
491 position: relative;
492 display: flex;
493 grid-gap: 10px;
494 padding: 20px;
495 text-decoration: none;
496 border: 2px solid #F0F0F1;
497 background-color: #fff;
498 border-radius: 4px;
499 transition: all .2s;
500
501 &.merchant-module-deactivated-by-bp {
502 text-transform: uppsercase;
503
504 .merchant-modules-list-item-icon,
505 .merchant-modules-list-item-content {
506 opacity: 0.5;
507 }
508 }
509
510 &:hover {
511 box-shadow: 0px 8px 12px 0px rgba(240, 240, 241, 0.7);
512 }
513
514 &:focus {
515 outline: none;
516 box-shadow: none;
517 }
518 }
519
520 .merchant-badge {
521 color: #99A5B8;
522 padding: 3px 6px;
523 border: 1px solid #DFDFDF;
524 border-radius: 2px;
525 font-weight: 700;
526
527 &.merchant-badge-pro {
528 color: #3858e9;
529 border-color: #3858e9;
530 }
531 }
532
533 .merchant-pro-badge {
534
535 &.merchant-pro-tooltip {
536 position: relative;
537
538 &:before {
539 content: attr(data-tooltip-message);
540 position: absolute;
541 right: -30px;
542 bottom: calc(100% + 11px);
543 color: #FFF;
544 font-size: 11px;
545 line-height: 16px;
546 padding: 3px 6px;
547 background-color: #1E1E1E;
548 white-space: nowrap;
549 opacity: 0;
550 visibility: hidden;
551 transform: translate3d(0, 6px, 0);
552 transition: ease opacity 300ms, ease transform 300ms;
553 z-index: 2;
554 }
555
556 &:after {
557 content: '';
558 position: absolute;
559 bottom: calc(100% + 3px);
560 right: 10px;
561 width: 0;
562 height: 0;
563 border-style: solid;
564 border-width: 4px 4px 4px 4px;
565 border-color: #1E1E1E transparent transparent transparent;
566 opacity: 0;
567 visibility: hidden;
568 transform: translate3d(0, 6px, 0);
569 transition: ease opacity 300ms, ease transform 300ms;
570 z-index: 2;
571 }
572
573 &:hover {
574 &:before,
575 &:after {
576 opacity: 1;
577 visibility: visible;
578 transform: translate3d(0, 0, 0);
579 }
580 }
581 }
582
583 }
584
585 .merchant-modules-list-item-badge-wrapper {
586 position: absolute;
587 top: 20px;
588 right: 20px;
589 }
590
591 .merchant-modules-list-item-removed-by-bp {
592 .merchant-pro-badge {
593 padding: 3px 7px;
594 color: #FFF;
595 border: 1px solid #212121;
596 background-color: #212121;
597 border-radius: 3px;
598 font-size: 10px;
599 line-height: 1.2;
600 font-weight: 400;
601 display: inline-flex;
602 top: -2px;
603 text-transform: uppercase;
604
605 &:before {
606 font-weight: 400;
607 text-transform: none;
608 }
609 }
610 }
611
612 .merchant-modules-list-item-woo-required {
613 .merchant-pro-badge {
614 padding: 1px 2px;
615 color: #674399;
616 border: 1px solid #674399;
617 border-radius: 3px;
618 font-size: 9px;
619 line-height: 1.2;
620 font-weight: 700;
621 display: inline-flex;
622 top: -2px;
623
624 &:before {
625 font-weight: 400;
626 }
627 }
628
629 & + .merchant-modules-list-item-upsell {
630 right: 53px;
631 }
632 }
633
634 .merchant-modules-list-item-icon {
635 display: flex;
636
637 svg {
638 width: 18px;
639 height: 26px;
640 fill: #787C82;
641
642 &.stroke-based {
643 fill: none;
644 stroke: #787C82;
645 }
646 }
647 }
648
649 .merchant-modules-list-item-content {
650 display: flex;
651 grid-gap: 8px;
652 flex-direction: column;
653 }
654
655 .merchant-modules-list-item-title {
656 display: flex;
657 align-items: center;
658 grid-gap: 5px;
659 font-size: 16px;
660 line-height: 26px;
661 font-weight: 500;
662 color: #101517;
663 }
664
665 .merchant-modules-indicator {
666 width: 10px;
667 height: 10px;
668 border-radius: 10px;
669 background-color: #3c8733;
670 }
671
672 .merchant-modules-list-item-desc {
673 color: #757575;
674 font-size: 13px;
675 line-height: 20px;
676 max-width: 400px;
677 }
678
679 .merchant-module-page {
680 display: flex;
681 }
682
683 .merchant-module-page-back {
684
685 a {
686 display: flex;
687 grid-gap: 5px;
688 align-items: center;
689 transition: all .2s;
690 text-decoration: none;
691 color: #1D2327;
692 font-weight: 500;
693
694 &:focus,
695 &:active {
696 box-shadow: none;
697 outline: none;
698 }
699 }
700 }
701
702 .merchant-module-page-content {
703 width: 50%;
704 flex: 1;
705 display: flex;
706 grid-gap: 20px;
707 flex-direction: column;
708 }
709
710 .merchant-module-page-body {
711 display: flex;
712 }
713
714 .merchant-module-page-preview {
715 width: 50%;
716 margin-left: 20px;
717 }
718
719 .merchant-module-page-body.has-preview {
720 .merchant-module-page-setting-box {
721 flex-direction: column;
722 grid-gap: 20px;
723 }
724
725 .merchant-module-page-setting-title,
726 .merchant-module-page-setting-fields {
727 width: 100%;
728 }
729 }
730
731 .merchant-module-page-ajax-form {
732 flex: 1;
733 display: flex;
734 grid-gap: 20px;
735 flex-direction: column;
736 }
737
738 .merchant-module-page-header {
739 display: flex;
740 align-items: center;
741 background-color: #fff;
742 box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
743 border-radius: 4px;
744 }
745
746 .merchant-module-page-header-content {
747 width: 100%;
748 display: flex;
749 grid-gap: 20px;
750 flex-direction: column;
751 padding: 30px;
752 }
753
754 .merchant-module-page-header-placeholder {
755 width: 40%;
756 display: flex;
757 align-self: flex-end;
758 justify-content: center;
759 margin: 40px 60px 0 60px;
760
761 img {
762 max-width: 100%;
763 max-height: 300px;
764 }
765 }
766
767 body.merchant-has-admin-preview {
768 .merchant-module-page-header-content {
769 width: 100%;
770 }
771
772 .merchant-module-page-header-placeholder {
773 display: none;
774 }
775
776 .merchant-module-page-desc {
777 max-width: none;
778 }
779 }
780
781 .merchant-module-page-heading {
782 display: flex;
783 grid-gap: 12px;
784 }
785
786 .merchant-module-page-info {
787 display: flex;
788 grid-gap: 10px;
789 flex-direction: column;
790 }
791
792 .merchant-module-page-title {
793 font-size: 32px;
794 line-height: 40px;
795 font-weight: 500;
796 color: #101517;
797 display: flex;
798 grid-gap: 15px;
799 align-items: center;
800
801 svg {
802 width: 28px;
803 height: 28px;
804 fill: #787C82;
805 }
806 }
807
808 .merchant-module-page-desc {
809 font-size: 18px;
810 line-height: 28px;
811 font-weight: normal;
812 color: #757575;
813 max-width: none;
814 }
815
816 .merchant-module-page-actions {
817 display: flex;
818 grid-gap: 10px;
819 justify-content: space-between;
820 }
821
822 .merchant-module-page-actions-inner {
823 display: flex;
824 grid-gap: 15px;
825 }
826
827 .merchant-module-page-button {
828 cursor: pointer;
829 display: flex;
830 grid-gap: 7px;
831 justify-content: center;
832 align-items: center;
833 padding: 14px 25px;
834 font-size: 16px;
835 line-height: 1em;
836 font-weight: 500;
837 user-select: none;
838 text-decoration: none;
839 border-radius: 4px;
840 border: none;
841 color: #fff;
842 border: 1px solid transparent;
843 background-color: #3858E9;
844
845 &:focus,
846 &:hover {
847 outline: none;
848 box-shadow: none;
849 color: #fff;
850 }
851
852 svg {
853 width: 8px;
854 height: 8px;
855 }
856 }
857
858 .merchant-module-deactivate {
859 display: none;
860 }
861
862 .merchant-module-action {
863 position: relative;
864
865 &.merchant-enabled {
866
867 .merchant-module-activate {
868 display: none;
869 }
870
871 .merchant-module-deactivate {
872 display: block;
873 }
874 }
875 }
876
877 .merchant-module-deactivate-dropdown {
878 cursor: pointer;
879 position: absolute;
880 top: 100%;
881 left: 0;
882 padding: 5px;
883 white-space: nowrap;
884 border-radius: 8px;
885 background-color: #fff;
886 font-size: 14px;
887 line-height: 16px;
888 margin: 0;
889 box-shadow: 0 3px 6px -3px rgba(23, 24, 24, .08), 0 8px 20px -4px rgba(23, 24, 24, .12);
890 opacity: 0;
891 pointer-events: none;
892 transition: all .1s;
893
894 &.merchant-show {
895 opacity: 1;
896 pointer-events: auto;
897 margin-top: 10px;
898 }
899 }
900
901 .merchant-module-dropdown {
902 position: absolute;
903 overflow: hidden;
904 top: 100%;
905 left: 0;
906 min-width: 275px;
907 white-space: nowrap;
908 border-radius: 8px;
909 background-color: #fff;
910 font-size: 13px;
911 line-height: 14px;
912 margin: 0;
913 box-shadow: 0 3px 6px -3px rgba(23, 24, 24, .08), 0 8px 20px -4px rgba(23, 24, 24, .12);
914 opacity: 0;
915 pointer-events: none;
916 transition: all .1s;
917
918 &.merchant-show {
919 opacity: 1;
920 pointer-events: auto;
921 margin-top: 10px;
922 }
923
924 ul {
925 margin: 0;
926 padding: 0;
927 list-style: none;
928 display: flex;
929 flex-direction: column;
930
931 li {
932 cursor: pointer;
933 position: relative;
934 margin: 0;
935 padding: 0;
936 display: flex;
937 align-items: center;
938 justify-content: space-between;
939 white-space: nowrap;
940 padding: 15px 15px 0 15px;
941 color: #202223;
942 transition: all .2s;
943
944 &:before {
945 content: "";
946 position: absolute;
947 z-index: 1;
948 top: 0;
949 left: 0;
950 bottom: 0;
951 width: 0;
952 opacity: 0;
953 transition: all .2s;
954 background-color: #3858E9;
955 }
956
957 &:hover {
958 background-color: #F2F7FE;
959
960 &:before {
961 opacity: 1;
962 width: 3px;
963 }
964 }
965
966 span {
967 width: 100%;
968 padding-bottom: 15px;
969 border-bottom: 1px solid #eee;
970 }
971
972 &:last-child {
973
974 span {
975 border-bottom: none;
976 }
977 }
978 }
979 }
980 }
981
982 .merchant-module-dropdown-close {
983 cursor: pointer;
984 }
985
986 .merchant-module-question-title {
987 display: flex;
988 grid-gap: 15px;
989 align-items: center;
990 justify-content: space-between;
991 white-space: nowrap;
992 padding: 15px 15px 5px 15px;
993 font-size: 14px;
994 line-height: 16px;
995 color: #202223;
996 font-weight: 500;
997
998 i {
999 width: auto;
1000 height: auto;
1001 font-size: 24px;
1002 line-height: 1;
1003 }
1004 }
1005
1006 .merchant-module-question-answer-title {
1007 display: none;
1008 grid-gap: 15px;
1009 align-items: center;
1010 justify-content: space-between;
1011 white-space: nowrap;
1012 padding: 15px;
1013 font-size: 14px;
1014 line-height: 16px;
1015 color: #202223;
1016 font-weight: 500;
1017
1018 i {
1019 width: auto;
1020 height: auto;
1021 font-size: 20px;
1022 line-height: 1;
1023 }
1024
1025 &.merchant-show {
1026 display: flex;
1027 }
1028 }
1029
1030 .merchant-module-question-answer-form {
1031 padding: 5px 15px 15px 15px;
1032 display: flex;
1033 grid-gap: 10px;
1034 flex-direction: column;
1035
1036 textarea {
1037 width: 100%;
1038 height: 100px;
1039 padding: 12px;
1040 line-height: 1em;
1041 width: 100%;
1042 max-width: 100%;
1043 min-height: auto;
1044 border: 1px solid #D6D6D6;
1045
1046 &:focus {
1047 outline: none;
1048 box-shadow: none;
1049 border-color: #3858E9;
1050 }
1051 }
1052
1053 button {
1054 align-self: flex-end;
1055 padding: 8px 10px;
1056 font-size: 13px;
1057 font-weight: 400;
1058 }
1059 }
1060
1061 .merchant-module-question-answer-thank-you-text {
1062 padding: 5px 15px 15px 15px;
1063 }
1064
1065 .merchant-module-question-thank-you-dropdown {
1066
1067 .merchant-module-question-answer-title {
1068 display: flex;
1069 }
1070 }
1071
1072 .merchant-module-page-button-action-deactivate {
1073 border-radius: 8px;
1074 padding: 12px 16px;
1075 display: flex;
1076 justify-items: center;
1077 align-items: center;
1078 text-decoration: none;
1079 color: #d82c0d;
1080
1081 &:hover {
1082 background-color: #fff4f4;
1083 }
1084 }
1085
1086 .merchant-module-page-button-deactivate {
1087 color: #3858E9;
1088 border-color: #3858E9;
1089 background-color: transparent;
1090
1091 &:focus,
1092 &:hover {
1093 color: #3858E9;
1094 }
1095
1096 &.merchant-show {
1097
1098 .merchant-module-deactivate-dropdown {
1099 pointer-events: auto;
1100 }
1101 }
1102 }
1103
1104 .merchant-module-page-actions-links {
1105 display: flex;
1106 }
1107
1108 .merchant-module-page-link {
1109 display: flex;
1110 grid-gap: 5px;
1111 justify-content: center;
1112 align-items: center;
1113 padding: 10px;
1114 font-size: 13px;
1115 font-weight: 500;
1116 text-decoration: none;
1117 color: #3858E9;
1118
1119 span {
1120 text-decoration: underline;
1121 }
1122
1123 &:focus,
1124 &:hover {
1125 outline: none;
1126 box-shadow: none;
1127 color: #3858E9;
1128 }
1129 }
1130
1131 body.merchant-module-disabled {
1132 .merchant-module-page-link-preview {
1133 pointer-events: none;
1134 color: #CCC;
1135
1136 span {
1137 text-decoration: none;
1138 }
1139
1140 svg {
1141 path {
1142 fill: #CCC;
1143 }
1144 }
1145 }
1146 }
1147
1148 .merchant-module-page-ajax-header {
1149 display: flex;
1150 justify-content: space-between;
1151 align-items: center;
1152 position: fixed;
1153 z-index: 10000;
1154 overflow: hidden;
1155 padding-left: 20px;
1156 padding-right: 20px;
1157 top: 32px;
1158 left: 160px;
1159 right: 0;
1160 height: 56px;
1161 opacity: 0;
1162 pointer-events: none;
1163 background-color: #1d2327;
1164 transition: opacity .3s cubic-bezier(0, 0, .42, 1);
1165
1166 &.merchant-show {
1167 opacity: 1;
1168 pointer-events: auto;
1169 }
1170
1171 &.merchant-saving {
1172 user-select: none;
1173
1174 i {
1175 opacity: 1;
1176 }
1177
1178 span {
1179 opacity: 0;
1180 }
1181
1182 .merchant-module-page-ajax-buttons {
1183 user-select: none;
1184 pointer-events: none;
1185 }
1186 }
1187 }
1188
1189 .merchant-module-page-ajax-notice {
1190 font-size: 14px;
1191 font-weight: 500;
1192 color: #e3e5e7;
1193 }
1194
1195 .merchant-module-page-ajax-buttons {
1196 display: flex;
1197 align-items: center;
1198 grid-gap: 15px;
1199 }
1200
1201 .merchant-module-save-button {
1202 position: relative;
1203 cursor: pointer;
1204 display: flex;
1205 justify-content: center;
1206 align-items: center;
1207 font-size: 14px;
1208 line-height: 16px;
1209 border: 0;
1210 border-radius: 4px;
1211 min-width: 60px;
1212 min-height: 36px;
1213 padding-left: 16px;
1214 padding-right: 16px;
1215 color: #fff;
1216 background-color: #3858E9;
1217
1218 i {
1219 position: absolute;
1220 width: auto;
1221 height: auto;
1222 font-size: 20px;
1223 opacity: 0;
1224 animation: merchant-spin 1.5s infinite linear;
1225 }
1226 }
1227
1228 @keyframes merchant-spin {
1229 0% {
1230 transform: rotate(0deg)
1231 }
1232
1233 100% {
1234 transform: rotate(359deg)
1235 }
1236 }
1237
1238 .merchant-module-discard-button {
1239 cursor: pointer;
1240 display: flex;
1241 justify-content: center;
1242 align-items: center;
1243 font-size: 14px;
1244 line-height: 16px;
1245 min-width: 36px;
1246 min-height: 36px;
1247 color: #fff;
1248 text-decoration: none;
1249
1250 &:hover {
1251 color: #fff;
1252 opacity: 0.75;
1253 }
1254
1255 &:focus {
1256 outline: none;
1257 box-shadow: none;
1258 }
1259 }
1260
1261 .merchant-module-page-preview-browser-top {
1262 background: #323232;
1263 display: flex;
1264 align-items: center;
1265 height: 45px;
1266 padding-left: 9px;
1267 }
1268
1269 .merchant-module-page-preview-browser-top-circle {
1270 background: #616161;
1271 width: 12px;
1272 height: 12px;
1273 border-radius: 50%;
1274 display: block;
1275 margin-left: 7px;
1276 }
1277
1278 .merchant-module-page-preview-browser {
1279 border-top-left-radius: 5px;
1280 border-top-right-radius: 5px;
1281 overflow: hidden;
1282 box-shadow: 0 0 50px #0000001f;
1283 margin-bottom: -29px;
1284 display: flex;
1285 flex-direction: column;
1286 }
1287
1288 .merchant-module-page-preview-browser-inner {
1289 flex-grow: 1;
1290 position: relative;
1291 display: block;
1292 }
1293
1294 .merchant-module-page-preview-box {
1295 overflow: hidden;
1296 position: sticky;
1297 top: 45px;
1298 }
1299
1300 .merchant-module-page-settings,
1301 .merchant-module-page-preview-box {
1302 display: flex;
1303 grid-gap: 30px;
1304 flex-direction: column;
1305 padding: 30px;
1306 background-color: #fff;
1307 box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
1308 border-radius: 4px;
1309 }
1310
1311 .merchant-module-page-setting-box {
1312 display: flex;
1313
1314 &.merchant-module-page-setting-box-style-2 {
1315 flex-direction: column;
1316 grid-gap: 20px;
1317
1318 .merchant-module-page-setting-title,
1319 .merchant-module-page-setting-fields {
1320 width: 100%;
1321 }
1322 }
1323 }
1324
1325 .merchant-module-page-preview-title,
1326 .merchant-module-page-setting-title {
1327 margin-top: 10px;
1328 padding-right: 50px;
1329 font-size: 20px;
1330 font-weight: 500;
1331 color: #2F2F2F;
1332 }
1333
1334 .merchant-module-page-setting-title {
1335 width: 40%;
1336 }
1337
1338 .merchant-module-page-setting-subtitle {
1339 margin-top: 20px;
1340 font-size: 13px;
1341 font-weight: 400;
1342 color: #757575;
1343 }
1344
1345 .merchant-module-page-setting-fields {
1346 display: flex;
1347 grid-gap: 24px;
1348 flex-direction: column;
1349 width: 60%;
1350 padding: 30px;
1351 border-radius: 4px;
1352 border: 2px solid #F0F0F1;
1353 background-color: #fff;
1354 }
1355
1356 .merchant-module-page-setting-field {
1357 display: flex;
1358 grid-gap: 10px;
1359 flex-direction: column;
1360
1361 &.merchant-show {
1362 display: flex;
1363 }
1364
1365 &.merchant-hide {
1366 display: none;
1367 }
1368 }
1369
1370 .merchant-module-page-setting-field-title {
1371 font-size: 14px;
1372 font-weight: 500;
1373 color: #2F2F2F;
1374 }
1375
1376 .merchant-module-page-setting-field-desc {
1377 font-size: 13px;
1378 font-weight: 400;
1379 color: #777;
1380
1381 a {
1382 color: #3858E9;
1383
1384 &:focus {
1385 box-shadow: none;
1386 }
1387 }
1388 }
1389
1390 .merchant-license-form-wrapper {
1391 .merchant-license-form {
1392 display: flex;
1393 flex-wrap: wrap;
1394 grid-gap: 10px;
1395
1396 input {
1397 width: 400px;
1398 max-width: 100%;
1399 padding-left: 36px;
1400 min-height: 36px;
1401
1402 &::placeholder {
1403 opacity: 0.75;
1404 }
1405 }
1406
1407 button {
1408 position: relative;
1409 display: flex;
1410 grid-gap: 2px;
1411 align-items: center;
1412 line-height: 1em;
1413 min-height: 36px;
1414 padding: 10px 40px !important;
1415 background-color: transparent;
1416 color: #3858E9;
1417 border-color: #3858E9;
1418
1419 &:hover,
1420 &:focus,
1421 &:active {
1422 color: #FFF;
1423 background-color: #3452da;
1424 border-color: #3452da;
1425 }
1426
1427 &.merchant-license-button-deactivate {
1428 color: #d82c0d;
1429 border-color: #d82c0d;
1430
1431 &:hover,
1432 &:focus,
1433 &:active {
1434 color: #FFF;
1435 background-color: #d82c0d;
1436 border-color: #d82c0d;
1437 }
1438 }
1439 }
1440 }
1441
1442 .merchant-license-key-input {
1443 position: relative;
1444 display: flex;
1445
1446 i {
1447 position: absolute;
1448 z-index: 1;
1449 top: 50%;
1450 left: 10px;
1451 transform: translateY(-50%);
1452 margin-top: -1px;
1453 font-size: 20px !important;
1454 color: #5C5F62;
1455 }
1456 }
1457 }
1458
1459 .mechant-license-response-wrapper,
1460 .merchant-dashboard-license-success {
1461 display: block;
1462 margin-top: 10px;
1463 color: #757575;
1464
1465 span {
1466 margin-left: 5px;
1467 }
1468 }
1469
1470 .merchant-module-page-setting-field-text,
1471 .merchant-module-page-setting-field-number,
1472 .merchant-module-page-setting-field-text_readonly {
1473
1474 input {
1475 padding: 12px;
1476 line-height: 1.3em;
1477 width: 100%;
1478 max-width: 100%;
1479 min-height: auto;
1480 border: 1px solid #D6D6D6;
1481
1482 &:focus {
1483 outline: none;
1484 box-shadow: none;
1485 border-color: #3858E9;
1486 }
1487 }
1488 }
1489
1490 .merchant-module-page-setting-field-textarea,
1491 .merchant-module-page-setting-field-textarea_code {
1492
1493 textarea {
1494 padding: 12px;
1495 line-height: 1em;
1496 width: 100%;
1497 max-width: 100%;
1498 min-height: 120px;
1499 border: 1px solid #D6D6D6;
1500
1501 &:focus {
1502 outline: none;
1503 box-shadow: none;
1504 border-color: #3858E9;
1505 }
1506 }
1507 }
1508
1509 .merchant-code-snippets-textarea,
1510 .merchant-code-snippets-textarea_code {
1511
1512 textarea {
1513 min-height: 200px;
1514 }
1515 }
1516
1517 .merchant-module-page-setting-field-radio,
1518 .merchant-module-page-setting-field-radio_alt,
1519 .merchant-module-page-setting-field-checkbox {
1520
1521 div {
1522 display: flex;
1523 grid-gap: 30px;
1524 }
1525
1526 label {
1527 display: flex;
1528 grid-gap: 12px;
1529 align-items: center;
1530 user-select: none;
1531 }
1532
1533 span {
1534 font-size: 14px;
1535 font-weight: 400;
1536 color: #1D2327;
1537 }
1538
1539 input {
1540 flex-shrink: 0;
1541 margin: 0;
1542 width: 20px;
1543 height: 20px;
1544 border: 1px solid #D6D6D6;
1545 background-color: #fff;
1546 display: inline-flex;
1547 align-items: center;
1548 justify-content: center;
1549 transition: none;
1550 box-sizing: border-box;
1551 box-shadow: none;
1552
1553 &:checked {
1554 transition: none;
1555 }
1556
1557 &:checked::before {
1558 content: "";
1559 margin: 0;
1560 padding: 0;
1561 box-sizing: border-box;
1562 transition: none;
1563 }
1564 }
1565
1566 input[type=checkbox]=checkbox] {
1567 border-radius: 6px;
1568 }
1569
1570 input[type=checkbox]=checkbox]:focus {
1571 border-color: #fff;
1572 box-shadow: 0 0 0 2px #3858E9;
1573 }
1574
1575 input[type=checkbox]=checkbox]:checked {
1576 border-color: #fff;
1577 background-color: #3858E9;
1578 }
1579
1580 input[type=checkbox]=checkbox]:checked::before {
1581 width: 100%;
1582 height: 100%;
1583 background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m10.7.89-6 8.07-3.77-2.8.75-1L4.44 7.2 9.69.14l1 .75Z' fill='%23fff'/%3E%3C/svg%3E");
1584 background-repeat: no-repeat;
1585 background-position: 3px 4px;
1586 }
1587
1588 input[type=radio]=radio] {
1589 border-radius: 100%;
1590 }
1591
1592 input[type=radio]=radio]:focus {
1593 border-color: #fff;
1594 box-shadow: none;
1595 }
1596
1597 input[type=radio]=radio]:checked {
1598 border-color: #3858E9;
1599 background-color: #fff;
1600 box-shadow: 0 0 0 1px #3858E9;
1601 }
1602
1603 input[type=radio]=radio]:checked::before {
1604 width: 12px;
1605 height: 12px;
1606 border-radius: 12px;
1607 background-color: #3858E9;
1608 }
1609 }
1610
1611 @media(max-width: 1300px) {
1612 .merchant-module-page-setting-field-radio {
1613 div {
1614 grid-gap: 20px;
1615 }
1616 }
1617 }
1618
1619 .merchant-module-page-setting-field-radio {
1620
1621 span {
1622 opacity: 0.80;
1623 }
1624
1625 input[type=radio]=radio]:checked + span {
1626 opacity: 1;
1627 }
1628 }
1629
1630 .merchant-module-page-setting-field-radio_alt {
1631
1632 div {
1633 display: flex;
1634 grid-gap: 10px;
1635 flex-direction: column;
1636 }
1637
1638 label {
1639
1640 span {
1641 font-size: 14px;
1642 font-weight: 400;
1643 color: #1D2327;
1644 }
1645 }
1646
1647 p {
1648 margin: 0;
1649 color: #757575;
1650 }
1651
1652 .merchant-module-page-setting-field-inner {
1653 grid-gap: 30px;
1654 flex-direction: column;
1655 }
1656 }
1657
1658 .merchant-module-page-setting-field-content {
1659 max-width: 60vw;
1660
1661 a {
1662 color: #3858E9;
1663
1664 &:focus {
1665 box-shadow: none;
1666 }
1667 }
1668 }
1669
1670 .merchant-tag-pre-orders {
1671 display: flex;
1672 grid-gap: 16px;
1673
1674 a {
1675 display: flex;
1676 align-items: center;
1677 justify-content: center;
1678 margin: 0;
1679 padding: 8px 26px;
1680 font-size: 14px;
1681 line-height: 20px;
1682 user-select: none;
1683 min-width: 145px;
1684 font-weight: 500;
1685 text-decoration: none;
1686 border-radius: 4px;
1687 color: #202223;
1688 border: 1px solid #C9CCCF;
1689 background-color: #fff;
1690
1691 &:focus,
1692 &:active {
1693 outline: none;
1694 box-shadow: none;
1695 }
1696 }
1697
1698 p {
1699 display: flex;
1700 flex-direction: column;
1701 align-items: flex-start;
1702 grid-gap: 16px;
1703 font-size: 14px;
1704 line-height: 20px;
1705 margin: 0;
1706 padding: 0;
1707
1708 i {
1709 flex-shrink: 0;
1710 }
1711 }
1712 }
1713
1714 .merchant-module-page-setting-field-select,
1715 .merchant-module-page-setting-field-select_ajax,
1716 .merchant-module-page-setting-field-select_size_chart {
1717
1718 select {
1719 padding: 12px 20px 12px 12px;
1720 line-height: 1.3em;
1721 width: 100%;
1722 max-width: 100%;
1723 min-height: auto;
1724 border-radius: 6px;
1725 color: #2F2F2F;
1726 border: 1px solid #D6D6D6;
1727
1728 &:hover {
1729 color: #2F2F2F;
1730 }
1731
1732 &:focus {
1733 outline: none;
1734 box-shadow: none;
1735 border-color: #3858E9;
1736 }
1737
1738 option {
1739 color: #2F2F2F;
1740 }
1741 }
1742 .select2-container .select2-selection--single {
1743 height: 44px !important;
1744
1745 .select2-selection__rendered {
1746 line-height: 41px !important;
1747 }
1748 }
1749 .select2-selection__arrow {
1750 height: 43px !important;
1751 }
1752 }
1753
1754 .merchant-module-page-setting-field-choices {
1755
1756 input {
1757 display: none;
1758
1759 &:checked {
1760
1761 + figure {
1762 border-color: #3858E9;
1763 }
1764 }
1765 }
1766
1767 label {
1768 display: flex;
1769 position: relative;
1770
1771 &:hover {
1772
1773 .merchant-tooltip {
1774 opacity: 1;
1775 visibility: visible;
1776 transform: translate3d(-50%, 0, 0);
1777 }
1778 }
1779 }
1780
1781 figure {
1782 display: flex;
1783 margin: 0;
1784 padding: 2px;
1785 border-radius: 4px;
1786 border: 2px solid transparent;
1787 }
1788
1789 .merchant-tooltip {
1790 position: absolute;
1791 z-index: 10;
1792 left: 50%;
1793 bottom: calc(100% + 12px);
1794 padding: 3px 12px;
1795 font-size: 11px;
1796 white-space: nowrap;
1797 opacity: 0;
1798 visibility: hidden;
1799 transform: translate3d(-50%, 6px, 0);
1800 transition: all .2s;
1801 border-radius: 3px;
1802 color: #f7f7f7;
1803 background-color: #212121;
1804
1805 &:after {
1806 content: '';
1807 position: absolute;
1808 left: 50%;
1809 bottom: -12px;
1810 border: 6px solid transparent;
1811 border-top-color: #212121;
1812 transform: translate3d(-50%, 0, 0);
1813 }
1814 }
1815
1816 .merchant-choices {
1817 display: flex;
1818 grid-gap: 10px;
1819
1820 svg {
1821 width: 20px;
1822 height: 20px;
1823 }
1824 }
1825 }
1826
1827 .merchant-module-page-setting-field-buttons {
1828
1829 input {
1830 display: none;
1831
1832 &:checked {
1833
1834 + span {
1835 color: #fff;
1836 background-color: #3858E9;
1837 }
1838 }
1839 }
1840
1841 label {
1842 display: flex;
1843 }
1844
1845 span {
1846 display: flex;
1847 align-items: center;
1848 justify-content: center;
1849 margin: 0;
1850 padding: 10px 15px;
1851 border-radius: 2px;
1852 user-select: none;
1853 min-width: 120px;
1854 font-weight: 500;
1855 }
1856
1857 .merchant-buttons {
1858 display: inline-flex;
1859 padding: 3px;
1860 border: 1px solid #D6D6D6;
1861 border-radius: 4px;
1862 }
1863
1864 .merchant-button-underline span {
1865 text-decoration: underline;
1866 }
1867
1868 .merchant-button-line-through span {
1869 text-decoration: line-through;
1870 }
1871
1872 .merchant-button-overline span {
1873 text-decoration: overline;
1874 }
1875 }
1876
1877 .merchant-module-page-setting-field-buttons_alt {
1878
1879 input {
1880 display: none;
1881
1882 &:checked {
1883
1884 + span {
1885 color: #fff;
1886 background-color: #3858E9;
1887 }
1888 }
1889 }
1890
1891 label {
1892 display: flex;
1893
1894 &:hover {
1895 position: relative;
1896 z-index: 10;
1897 }
1898 }
1899
1900 span {
1901 display: flex;
1902 align-items: center;
1903 justify-content: center;
1904 margin: 0;
1905 padding: 10px 15px;
1906 border-radius: 2px;
1907 user-select: none;
1908 min-width: 120px;
1909 font-weight: 500;
1910 border-radius: 4px;
1911 border: 1px solid #D6D6D6;
1912 background-color: #fff;
1913 }
1914
1915 .merchant-buttons {
1916 display: flex;
1917 flex-wrap: wrap;
1918 grid-gap: 5px;
1919 padding: 3px;
1920 }
1921 }
1922
1923 .merchant-animated-buttons {
1924
1925 .merchant-buttons {
1926 display: grid;
1927 grid-template-columns: repeat(5, 1fr);
1928 }
1929
1930 span {
1931 width: 100%;
1932 }
1933 }
1934
1935 @media(max-width: 1470px) {
1936 .merchant-animated-buttons {
1937 .merchant-buttons {
1938 grid-template-columns: repeat(3, 1fr);
1939 }
1940 }
1941 }
1942
1943 @media(max-width: 1050px) {
1944 .merchant-animated-buttons {
1945 .merchant-buttons {
1946 grid-template-columns: repeat(2, 1fr);
1947 }
1948 }
1949 }
1950
1951 /* Sortable Field */
1952 .merchant-sortable {
1953 max-width: 300px;
1954
1955 ul.ui-sortable {
1956 li {
1957 position: relative;
1958 overflow: hidden;
1959 padding: 0;
1960 color: #1E1E1E;
1961 border: 1px solid #ddd;
1962 border-radius: 2px;
1963 text-transform: capitalize;
1964 line-height: 36px;
1965 cursor: grab;
1966
1967 .dashicons {
1968 width: 36px;
1969 height: 36px;
1970 flex-basis: 36px;
1971 display: flex;
1972 justify-content: center;
1973 align-items: center;
1974 text-align: center;
1975 box-sizing: border-box;
1976
1977 &:before {
1978 font-size: 16px;
1979 line-height: 1em;
1980 }
1981
1982 &.dashicons-menu {
1983 float: left;
1984 padding: 0;
1985 margin: 0 10px 0 0;
1986 border: none;
1987 border-right: 1px solid #ddd;
1988 }
1989
1990 &.dashicons-visibility {
1991 float: right;
1992 color: #3858E9;
1993 padding: 0;
1994 margin: 0 0 0 10px;
1995 border: none;
1996 border-left: 1px solid #ddd;
1997 }
1998
1999 &.visibility {
2000 cursor: pointer;
2001 }
2002 }
2003
2004 &.invisible {
2005 color: #6E7780;
2006 border: 1px solid #CAD2F6;
2007 background-color: #EBEEFB;
2008
2009 .dashicons.dashicons-visibility {
2010 &:before {
2011 content: "\f530";
2012 }
2013 }
2014 }
2015 }
2016 }
2017 }
2018
2019 /* Sortable Repeater Field */
2020
2021 .merchant-module-page-setting-field-flexible_content .merchant-module-page-setting-field-title {
2022 margin-bottom: 10px;
2023 }
2024
2025 .merchant-sortable-repeater-control {
2026 max-width: 100%;
2027
2028 .sortable {
2029 list-style-type: none;
2030 margin: 0;
2031 padding: 0;
2032
2033 input[type="text"]="text""] {
2034 width: 100%;
2035 margin: 0;
2036 border-radius: 4px 0 0 4px;
2037 border: 1px solid #D6D6D6;
2038 padding: 12px;
2039 line-height: 1.3em;
2040
2041 &:focus {
2042 border-color: #3858E9;
2043 outline: none;
2044 box-shadow: none;
2045 }
2046 }
2047
2048 div {
2049 cursor: grab;
2050 margin-bottom: 7px;
2051 }
2052 }
2053
2054 .customize-control-sortable-repeater-delete {
2055 display: flex;
2056 align-items: center;
2057 justify-content: center;
2058 margin: 0;
2059 width: 44px;
2060 height: auto;
2061 font-size: 1.3em;
2062 line-height: 34px;
2063 color: #d4d4d4;
2064 background: #fff;
2065 padding: 0;
2066 vertical-align: top;
2067 margin-left: -1px;
2068 border: 1px solid #D6D6D6;
2069 text-decoration: none;
2070
2071 .dashicons-no-alt {
2072 width: 100%;
2073 text-decoration: none;
2074 margin: 0;
2075 font-weight: 600;
2076 color: #50575e;
2077 font-size: 1.1em;
2078 line-height: 34px;
2079 height: auto;
2080 }
2081
2082 &:hover,
2083 &:focus {
2084 outline: none;
2085 box-shadow: none;
2086
2087 .dashicons-no-alt {
2088 color: #a7a7a7;
2089 }
2090 }
2091 }
2092
2093 .repeater {
2094 display: flex;
2095
2096 .dashicons-menu {
2097 display: flex;
2098 align-items: center;
2099 justify-content: center;
2100 margin: 0;
2101 width: 44px;
2102 height: auto;
2103 font-size: 1.3em;
2104 line-height: 34px;
2105 background: #fff;
2106 padding: 0;
2107 vertical-align: top;
2108 margin-left: -1px;
2109 border: 1px solid #D6D6D6;
2110
2111 &:hover {
2112 color: #a7a7a7;
2113 }
2114 }
2115 }
2116
2117 .customize-control-sortable-repeater-add {
2118 color: #3858E9;
2119 border-color: #3858E9;
2120 background-color: transparent;
2121 margin-top: 10px;
2122 padding: 4px 19px;
2123
2124 &:hover,
2125 &:focus {
2126 outline: none;
2127 box-shadow: none;
2128 background-color: #ffffff;
2129 }
2130 }
2131
2132 // Disabled sorting.
2133 &.disable-sorting {
2134 .dashicons-menu {
2135 display: none;
2136 }
2137 }
2138 }
2139
2140 /* Flexible Content Field */
2141 .merchant-flexible-content-control {
2142 max-width: 100%;
2143
2144 .sortable {
2145 list-style-type: none;
2146 margin: 0;
2147 padding: 0;
2148
2149 input[type="text"]="text""] {
2150 width: 100%;
2151 margin: 0;
2152 border-radius: 4px 0 0 4px;
2153 border: 1px solid #D6D6D6;
2154 padding: 12px;
2155 line-height: 1.3em;
2156
2157 &:focus {
2158 border-color: #3858E9;
2159 outline: none;
2160 box-shadow: none;
2161 }
2162 }
2163 }
2164
2165 .customize-control-flexible-content-move {
2166 cursor: grab;
2167 }
2168
2169 .customize-control-flexible-content-delete {
2170 display: flex;
2171 align-items: center;
2172 justify-content: center;
2173 margin: 0;
2174 width: 40px;
2175 height: auto;
2176 font-size: 1.3em;
2177 line-height: 34px;
2178 color: #d4d4d4;
2179 background: #fff;
2180 padding: 0;
2181 vertical-align: top;
2182 margin-left: -1px;
2183 text-decoration: none;
2184
2185 .dashicons-no-alt {
2186 width: 100%;
2187 text-decoration: none;
2188 margin: 0;
2189 font-weight: 600;
2190 color: #50575e;
2191 font-size: 1.1em;
2192 line-height: 34px;
2193 height: auto;
2194 }
2195
2196 &:hover,
2197 &:focus {
2198 outline: none;
2199 box-shadow: none;
2200
2201 .dashicons-no-alt {
2202 color: #a7a7a7;
2203 }
2204 }
2205 }
2206
2207 .merchant-flexible-content.empty {
2208 border: 2px dashed #dcdcde;
2209 min-height: 100px;
2210 margin-bottom: 10px;
2211 }
2212
2213
2214 &.default-style {
2215 .layout {
2216 background: white;
2217 border: 1px solid #c3c4c7;
2218 border-left: 3px solid #3858e9;
2219
2220 .layout-header {
2221 padding: 8px 15px;
2222 }
2223
2224 .layout-body {
2225 padding: 15px;
2226 }
2227 }
2228 }
2229 &.table-style {
2230 .layout {
2231 .layout-header {
2232 padding-bottom: 8px;
2233 margin-bottom: 15px;
2234 }
2235 .layout-body {
2236 flex-direction: row;
2237
2238 .merchant-module-page-setting-field-title {
2239 display: none;
2240 }
2241 }
2242 }
2243 }
2244
2245 .layouts {
2246 display: none;
2247 }
2248
2249 .layout {
2250 margin-bottom: 20px;
2251
2252 .layout-header {
2253 display: flex;
2254 align-items: center;
2255 border-bottom: 1px solid #f3f3f3;
2256 }
2257
2258 .layout-count {
2259 border-radius: 50%;
2260 width: 24px;
2261 height: 23px;
2262 border: 1px solid #949494;
2263 text-align: center;
2264 display: flex;
2265 justify-content: center;
2266 flex-direction: column;
2267 font-size: 12px;
2268 font-weight: bold;
2269 margin-right: 10px;
2270 }
2271
2272 .layout-title {
2273 font-size: 14px;
2274 font-weight: bold;
2275 }
2276
2277 .layout-actions {
2278 display: flex;
2279 margin: 0;
2280 padding: 0;
2281 justify-content: flex-end;
2282 flex-grow: 1;
2283 }
2284
2285 .layout-body {
2286 display: flex;
2287 flex-direction: column;
2288 grid-gap: 20px;
2289 }
2290
2291 .layout-field {
2292 &.flex-grow {
2293 flex-grow: 1;
2294 }
2295 }
2296
2297 .dashicons-menu {
2298 display: flex;
2299 align-items: center;
2300 justify-content: center;
2301 margin: 0;
2302 width: 40px;
2303 height: auto;
2304 font-size: 1.3em;
2305 line-height: 34px;
2306 background: #fff;
2307 padding: 0;
2308 vertical-align: top;
2309 margin-left: -1px;
2310
2311 &:hover {
2312 color: #a7a7a7;
2313 }
2314 }
2315 }
2316
2317 .customize-control-flexible-content-add-wrapper {
2318 position: relative;
2319 display: inline-block;
2320 }
2321
2322 .customize-control-flexible-content-add-list {
2323 opacity: 0;
2324 visibility: hidden;
2325 position: absolute;
2326 background-color: #ffffff;
2327 border: 1px solid #c3c4c7;
2328 border-left: 3px solid #3858e9;
2329 box-shadow: 0 2px 10px 0 #0000001a;
2330 width: 180px;
2331 bottom: 100%;
2332 display: flex;
2333 flex-direction: column;
2334 left: 50%;
2335 transform: translate(-50%, 10px);
2336 padding: 3px 3px 3px 5px;
2337
2338 &.active {
2339 z-index: 10;
2340 opacity: 1;
2341 visibility: visible;
2342 transform: translate(-50%, -15px);
2343 transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
2344 }
2345
2346 &:before {
2347 right: calc(50% - 12px);
2348 bottom: -14px;
2349 border-width: 14px 14px 0 15px;
2350 border-color: #c3c4c7 transparent transparent transparent;
2351 }
2352
2353 &:after {
2354 content: "";
2355 right: calc(50% - 10px);
2356 bottom: -12px;
2357 border-width: 12px 12px 0 13px;
2358 border-color: #ffffff transparent transparent transparent;
2359 }
2360
2361 &:before, &:after {
2362 position: absolute;
2363 z-index: -1;
2364 content: "";
2365 border-style: solid;
2366 transition-duration: 0.3s;
2367 transition-property: -webkit-transform;
2368 transition-property: transform;
2369 transition-property: transform, -webkit-transform;
2370 }
2371 }
2372
2373 .customize-control-flexible-content-add {
2374 display: block;
2375 flex-shrink: 0;
2376 padding: 10px;
2377 text-decoration: none;
2378
2379 &:hover {
2380 background: #f0f0f1;
2381 }
2382 }
2383
2384 .customize-control-flexible-content-add-button {
2385 color: #3858E9;
2386 border-color: #3858E9;
2387 background-color: transparent;
2388 margin-top: 10px;
2389 padding: 4px 19px;
2390
2391 &:hover,
2392 &:focus {
2393 outline: none;
2394 box-shadow: none;
2395 background-color: #ffffff;
2396 }
2397 }
2398
2399 // Disabled sorting.
2400 &.disable-sorting {
2401 .dashicons-menu {
2402 display: none;
2403 }
2404 }
2405 }
2406
2407 .flexible-content-template {
2408 display: none;
2409 }
2410
2411 .merchant-module-page-setting-field-range {
2412
2413 .merchant-range {
2414 position: relative;
2415 width: 100%;
2416 width: 300px;
2417 display: flex;
2418 align-items: center;
2419 justify-content: space-between;
2420 }
2421
2422 input[type="range"]="range""] {
2423 -webkit-appearance: none;
2424 appearance: none;
2425 width: calc(100% - 105px);
2426 height: 2px;
2427 border-radius: 5px;
2428 outline: none;
2429 padding: 0;
2430 margin: 0;
2431 background-color: #ddd;
2432 background-image: linear-gradient(to right, #3858E9 0%, #3858E9 0%, #ddd 0%, #ddd 100%);
2433
2434 &::-webkit-slider-thumb {
2435 appearance: none;
2436 width: 15px;
2437 height: 15px;
2438 border-radius: 50%;
2439 background: #3858E9;
2440 cursor: pointer;
2441 transition: background 0.15s ease-in-out;
2442 }
2443
2444 &::-webkit-slider-thumb:hover {
2445 background: #3858E9;
2446 }
2447
2448 &:active::-webkit-slider-thumb {
2449 background: #3858E9;
2450 }
2451
2452 &::-moz-range-thumb {
2453 width: 15px;
2454 height: 15px;
2455 border: 0;
2456 border-radius: 50%;
2457 background: #3858E9;
2458 cursor: pointer;
2459 transition: background 0.15s ease-in-out;
2460 }
2461
2462 &::-moz-range-thumb:hover {
2463 background: #3858E9;
2464 }
2465
2466 &:active::-moz-range-thumb {
2467 background: #3858E9;
2468 }
2469
2470 &:focus::-webkit-slider-thumb {
2471 box-shadow: 0 0 0 3px #fff, 0 0 0 6px #3858E9;
2472 }
2473
2474 &::-moz-range-track {
2475 border: 0;
2476 background: #d7dcdf;
2477 }
2478 }
2479
2480 input[type="number"]="number""] {
2481 padding: 12px 25px 12px 10px;
2482 line-height: 1.3em;
2483 width: 100%;
2484 max-width: 85px;
2485 min-height: auto;
2486 border: 1px solid #D6D6D6;
2487
2488 &:focus {
2489 outline: none;
2490 box-shadow: none;
2491 border-color: #3858E9;
2492 }
2493 }
2494
2495 .merchant-range-unit {
2496 color: #3858E9;
2497 position: absolute;
2498 z-index: 1;
2499 right: 10px;
2500 font-size: 11px;
2501 line-height: 1em;
2502 }
2503 }
2504
2505 .merchant-module-page-setting-field-color {
2506
2507 input {
2508 padding: 0 10px;
2509 line-height: 1em;
2510 width: 100%;
2511 max-width: 254px;
2512 min-height: auto;
2513 border: 1px solid #D6D6D6;
2514
2515 &:focus {
2516 outline: none;
2517 box-shadow: none;
2518 border-color: #3858E9;
2519 }
2520 }
2521
2522 .merchant-color {
2523 display: flex;
2524 grid-gap: 10px;
2525 }
2526
2527 .merchant-color-picker {
2528 cursor: pointer;
2529 width: 36px;
2530 height: 36px;
2531 border: 1px solid rgba(0, 0, 0, 0.1);
2532 border-radius: 4px;
2533 }
2534 }
2535
2536 .merchant-module-page-settings-dimensions {
2537 display: flex;
2538 grid-gap: 10px;
2539
2540 > div {
2541 display: flex;
2542 flex-direction: column;
2543 }
2544
2545 label {
2546 color: gray;
2547 font-size: 12px;
2548 margin-top: 7px;
2549 }
2550
2551 input {
2552 max-width: 70px;
2553 width: 100%;
2554 font-size: 12px;
2555 border: 1px solid #D6D6D6;
2556 }
2557 }
2558
2559
2560 .merchant-module-page-settings-unit {
2561 margin-bottom: 10px;
2562
2563 select {
2564 font-size: 13px;
2565 border: 0;
2566 }
2567 }
2568
2569 .merchant-module-page-settings-devices {
2570 display: flex;
2571 column-gap: 10px;
2572 justify-content: flex-end;
2573
2574 button {
2575 border: 0;
2576 background: transparent;
2577 padding: 0;
2578 cursor: pointer;
2579
2580 &.active {
2581 color: #3858e9;
2582 }
2583
2584 &:hover {
2585 color: #3858e9;
2586 }
2587
2588 i {
2589 font-size: 14px;
2590 line-height: 20px;
2591 width: auto;
2592 }
2593 }
2594 }
2595
2596 .merchant-module-page-settings-device-container {
2597 &:not(.active) {
2598 display: none;
2599 }
2600 }
2601
2602 .merchant-module-page-setting-field-responsive_dimensions {
2603 .merchant-module-page-setting-field-inner {
2604 max-width: 320px;
2605 }
2606
2607 .merchant-module-page-settings-devices {
2608 margin-bottom: -30px;
2609 margin-top: 0;
2610 }
2611 }
2612
2613
2614 .merchant-module-page-setting-field-warning {
2615 padding: 8px 10px;
2616 font-size: 14px;
2617 line-height: 1.6;
2618 color: #1D2327;
2619 border-radius: 4px;
2620 border: 1px solid #D72C0D;
2621 background-color: #FFF4F4;
2622 }
2623
2624 .merchant-module-page-setting-field-divider {
2625 border-bottom: 1px solid #F0F0F1;
2626
2627 .merchant-module-page-setting-field-title {
2628 font-size: 16px;
2629 }
2630 }
2631
2632 .merchant-module-page-setting-field-gallery {
2633
2634 .merchant-gallery-images {
2635 display: flex;
2636 grid-gap: 5px;
2637 flex-wrap: wrap;
2638 margin-bottom: 15px;
2639
2640 &:empty {
2641 display: none;
2642 }
2643 }
2644
2645 .merchant-gallery-image {
2646 position: relative;
2647 display: flex;
2648 align-items: center;
2649 justify-content: center;
2650 border-radius: 4px;
2651 padding: 2px;
2652 border: 1px solid #eee;
2653 background-color: #fff;
2654
2655 img {
2656 cursor: grab;
2657 width: 100%;
2658 height: 100%;
2659 max-height: 75px;
2660 object-fit: cover;
2661 }
2662
2663 &.ui-sortable-helper {
2664
2665 img {
2666 cursor: grabbing;
2667 }
2668 }
2669
2670 i {
2671 cursor: pointer;
2672 position: absolute;
2673 z-index: 1;
2674 top: 5px;
2675 right: 5px;
2676 width: 16px;
2677 height: 16px;
2678 display: flex;
2679 justify-content: center;
2680 align-items: center;
2681 color: #fff;
2682 background-color: #c5280c;
2683 font-size: 14px;
2684 line-height: 1em;
2685 border-radius: 16px;
2686 opacity: 0;
2687 transition: all .2s;
2688 }
2689
2690 &:hover {
2691
2692 i {
2693 opacity: 1;
2694 }
2695 }
2696 }
2697
2698 .merchant-gallery-button {
2699 cursor: pointer;
2700 user-select: none;
2701 display: inline-flex;
2702 padding: 0.4375rem 1rem;
2703 font-size: .875rem;
2704 font-weight: 600;
2705 line-height: 1.5;
2706 white-space: nowrap;
2707 text-transform: none;
2708 text-decoration: none;
2709 color: #212b36;
2710 background-color: #fff;
2711 border: 1px solid #c4cdd5;
2712 border-radius: 0.25rem;
2713 transition: background .2s cubic-bezier(.64, 0, .35, 1), border .2s cubic-bezier(.64, 0, .35, 1), box-shadow .2s cubic-bezier(.64, 0, .35, 1);
2714
2715 &:hover,
2716 &:focus {
2717 outline: none;
2718 box-shadow: none;
2719 }
2720 }
2721
2722
2723 .ui-sortable-placeholder {
2724 visibility: visible !important;
2725 border: 1px dashed #ddd;
2726 background-color: #f9f9f9;
2727 border-radius: 4px;
2728 }
2729 }
2730
2731 .merchant-module-page-setting-field-upload {
2732
2733 .merchant-upload-wrapper {
2734 display: flex;
2735 grid-gap: 5px;
2736 flex-wrap: wrap;
2737 margin-bottom: 15px;
2738
2739 &:empty {
2740 display: none;
2741 }
2742 }
2743
2744 .merchant-upload-image {
2745 position: relative;
2746 display: flex;
2747 align-items: center;
2748 justify-content: center;
2749 border-radius: 4px;
2750 padding: 2px;
2751 border: 1px solid #eee;
2752 background-color: #fff;
2753
2754 img {
2755 cursor: grab;
2756 width: 100%;
2757 height: 100%;
2758 max-height: 75px;
2759 object-fit: cover;
2760 }
2761
2762 i {
2763 cursor: pointer;
2764 position: absolute;
2765 z-index: 1;
2766 top: 5px;
2767 right: 5px;
2768 width: 16px;
2769 height: 16px;
2770 display: flex;
2771 justify-content: center;
2772 align-items: center;
2773 color: #fff;
2774 background-color: #c5280c;
2775 font-size: 14px;
2776 line-height: 1em;
2777 border-radius: 16px;
2778 opacity: 0;
2779 transition: all .2s;
2780 }
2781
2782 &:hover {
2783
2784 i {
2785 opacity: 1;
2786 }
2787 }
2788 }
2789
2790 .merchant-upload-button {
2791 cursor: pointer;
2792 user-select: none;
2793 display: inline-flex;
2794 padding: 0.4375rem 1rem;
2795 font-size: .875rem;
2796 font-weight: 600;
2797 line-height: 1.5;
2798 white-space: nowrap;
2799 text-transform: none;
2800 text-decoration: none;
2801 color: #212b36;
2802 background-color: #fff;
2803 border: 1px solid #c4cdd5;
2804 border-radius: 0.25rem;
2805 transition: background .2s cubic-bezier(.64, 0, .35, 1), border .2s cubic-bezier(.64, 0, .35, 1), box-shadow .2s cubic-bezier(.64, 0, .35, 1);
2806
2807 &:hover,
2808 &:focus {
2809 outline: none;
2810 box-shadow: none;
2811 }
2812 }
2813 }
2814
2815 .merchant-module-page-setting-field-switcher {
2816
2817 .merchant-toggle-switch {
2818 display: flex;
2819 justify-content: flex-start;
2820 }
2821
2822 input {
2823 display: none;
2824
2825 &:checked + .toggle-switch-label .toggle-switch-inner {
2826 margin-left: 0;
2827 background: #3858E9;
2828 }
2829
2830 &:checked + .toggle-switch-label .toggle-switch-switch {
2831 right: 1px;
2832 }
2833 }
2834
2835 .toggle-switch {
2836 float: right;
2837 position: relative;
2838 width: 36px;
2839 margin-top: 2px;
2840 user-select: none;
2841 }
2842
2843 .toggle-switch-label {
2844 position: relative;
2845 display: inline-block;
2846 overflow: hidden;
2847 cursor: pointer;
2848 border-radius: 20px;
2849 padding: 0;
2850 margin: 0;
2851 width: 36px;
2852 }
2853
2854 .toggle-switch-inner {
2855 display: block;
2856 width: 200%;
2857 margin-left: -100%;
2858 background: #c8c8c8;
2859 height: 18px;
2860 }
2861
2862 .toggle-switch-switch {
2863 display: block;
2864 width: 12px;
2865 height: 12px;
2866 margin: 3px;
2867 background-color: #fff;
2868 position: absolute;
2869 top: 0;
2870 bottom: 0;
2871 right: 18px;
2872 border-radius: 20px;
2873 transition: all 0.1s ease-in 0s;
2874 }
2875 }
2876
2877 .merchant-module-alert {
2878 position: fixed;
2879 top: 0;
2880 left: 0;
2881 right: 0;
2882 bottom: 0;
2883 z-index: 99999;
2884 display: flex;
2885 justify-content: center;
2886 align-items: center;
2887 background-color: rgba(0, 0, 0, 0.6);
2888 opacity: 0;
2889 visibility: hidden;
2890 user-select: none;
2891 pointer-events: none;
2892 transition: all .2s;
2893
2894 &.merchant-show {
2895 user-select: auto;
2896 pointer-events: auto;
2897 opacity: 1;
2898 visibility: visible;
2899 }
2900 }
2901
2902 .merchant-module-alert-wrapper {
2903 display: flex;
2904 flex-direction: column;
2905 width: 640px;
2906 max-width: 90%;
2907 border-radius: 4px;
2908 background-color: #fff;
2909 }
2910
2911 .merchant-module-alert-header {
2912 display: flex;
2913 align-items: center;
2914 justify-content: space-between;
2915 padding: 20px 30px;
2916
2917 strong {
2918 font-size: 18px;
2919 line-height: 1em;
2920 }
2921
2922 a {
2923 position: relative;
2924 right: -5px;
2925 display: flex;
2926 color: #212121;
2927 text-decoration: none;
2928 transition: all .2s;
2929
2930 &:hover {
2931 opacity: 0.6;
2932 }
2933
2934 &:focus,
2935 &:active {
2936 outline: none;
2937 box-shadow: none;
2938 }
2939 }
2940
2941 i {
2942 font-size: 32px;
2943 line-height: 1em;
2944 width: auto;
2945 height: auto;
2946 }
2947 }
2948
2949 .merchant-module-alert-content {
2950 display: flex;
2951 flex-direction: column;
2952 grid-gap: 20px;
2953 padding: 0 30px 30px 30px;
2954
2955 p {
2956 margin: 0;
2957 padding: 0;
2958 font-size: 15px;
2959 font-weight: 500;
2960 color: #757575;
2961 }
2962
2963 figure {
2964 display: flex;
2965 margin: 0;
2966 padding: 0;
2967 }
2968
2969 img {
2970 max-width: 100%;
2971 }
2972 }
2973
2974 .merchant-module-alert-footer {
2975 display: flex;
2976 justify-content: flex-end;
2977 padding: 30px;
2978
2979 a {
2980 font-weight: bold;
2981 font-size: 14px;
2982 padding: 10px 15px;
2983 text-decoration: none;
2984 border-radius: 4px;
2985 color: #212121;
2986 border: 1px solid #e5e5e5;
2987
2988 &:focus,
2989 &:active {
2990 outline: none;
2991 box-shadow: none;
2992 }
2993 }
2994 }
2995
2996 .merchant-module-page-setting-field-inner.disabled {
2997 .merchant-color-picker {
2998 pointer-events: none;
2999 opacity: 0.8;
3000 }
3001
3002 .merchant-toggle-switch {
3003 opacity: 0.5;
3004 }
3005
3006 .merchant-range {
3007 opacity: 0.5;
3008 }
3009
3010 .merchant-module-page-settings-devices {
3011 opacity: 0.5;
3012 }
3013 }
3014
3015 /* Utils */
3016 .merchant-height-auto {
3017 height: auto;
3018 }
3019
3020 /* Admin Footer Text */
3021 .merchant-admin-page {
3022
3023 .merchant-admin-footer-text-link {
3024 display: inline-block;
3025 padding-right: 5px;
3026 color: #3858E9;
3027
3028 &:hover,
3029 &:active,
3030 &:visited {
3031 color: #3858E9;
3032 }
3033 }
3034 }
3035
3036 .merchant-admin-page-module {
3037
3038 #wpfooter {
3039 display: none;
3040 }
3041
3042 #wpbody-content {
3043 padding-bottom: 30px;
3044 }
3045 }
3046
3047 .merchant-module-footer-text {
3048 display: flex;
3049 grid-gap: 5px;
3050 justify-content: center;
3051 text-align: center;
3052 margin-top: 37px;
3053
3054 i {
3055 color: #3858E9;
3056 }
3057 }
3058
3059 /* Responsive */
3060 @media (max-width: 991px) {
3061
3062 // Dashboard
3063 .merchant-wrap {
3064 display: flex;
3065 flex-direction: column;
3066 grid-gap: 20px;
3067 }
3068
3069 .merchant-modules-header-shortlinks {
3070 margin: 0;
3071 }
3072
3073 .merchant-modules-header {
3074 flex-direction: column;
3075 grid-gap: 20px;
3076 }
3077
3078 .merchant-module-page-header-content {
3079 width: 100%;
3080 }
3081
3082 .merchant-module-page-desc {
3083 max-width: none;
3084 }
3085
3086 .merchant-module-page-header-placeholder {
3087 display: none;
3088 }
3089
3090 .merchant-modules-header-image {
3091 display: none;
3092 }
3093
3094 .merchant-modules-list {
3095 grid-template-columns: repeat(1, minmax(0, 1fr));
3096 }
3097
3098 // Modules
3099 .merchant-modules-header-status {
3100 margin-bottom: 0;
3101 }
3102
3103 // Module
3104 .merchant-module-page-setting-box {
3105 flex-direction: column;
3106 grid-gap: 20px;
3107 }
3108
3109 .merchant-module-page-setting-title,
3110 .merchant-module-page-setting-fields {
3111 width: 100%;
3112 }
3113
3114 .merchant-module-page-body {
3115 flex-direction: column-reverse;
3116 }
3117
3118 .merchant-module-page-content {
3119 width: 100%;
3120 }
3121
3122 .merchant-module-page-preview {
3123 margin-left: 0;
3124 margin-bottom: 20px;
3125 width: 100%;
3126 }
3127 }
3128