PluginProbe
QuadMenu – Mega Menu / 1.8.8
QuadMenu – Mega Menu v1.8.8
3.3.8 3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 88 releases
quadmenu / assets / backend / less / navmenu / settings.less

settings.less in QuadMenu – Mega Menu 1.8.8, at assets/backend/less/navmenu/settings.less

1,027 lines 18.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 #quadmenu-settings {
2
3 &.quadmenu-item-carousel,
4 &.quadmenu-item-tabs,
5 &.quadmenu-item-mega {
6 .quadmenu-tab-pane-default {
7 .quadmenu-setting-description {
8 display: none;
9 }
10 }
11 }
12
13 &.quadmenu-item-social,
14 &.quadmenu-item-carousel,
15 &.quadmenu-item-search,
16 &.quadmenu-item-login {
17 .quadmenu-tab-pane-default {
18 .quadmenu-setting-description,
19 .quadmenu-setting-xfn,
20 .quadmenu-setting-target,
21 .quadmenu-setting-url {
22 display: none;
23 }
24 }
25 }
26
27 li.quadmenu-panel-query,
28 li.quadmenu-panel-content,
29 li.quadmenu-panel-archive_carousel {
30 display: none;
31 }
32
33 .quadmenu-column,
34 &.quadmenu-item-depth-1,
35 &.quadmenu-item-depth-2,
36 &.quadmenu-item-depth-3,
37 &.quadmenu-item-depth-4 {
38 li.quadmenu-panel-query,
39 li.quadmenu-panel-content,
40 li.quadmenu-panel-archive_carousel {
41 display: block!important;
42 }
43 }
44
45 .quadmenu-column {
46 .quadmenu-setting-dropdown,
47 .quadmenu-setting-float {
48 display: none!important;
49 }
50 }
51
52 .quadmenu-setting-depth-0,
53 .quadmenu-setting-depth-1,
54 .quadmenu-setting-depth-2,
55 .quadmenu-setting-depth-3,
56 .quadmenu-setting-depth-4 {
57 display: none;
58 }
59
60 &.quadmenu-item-depth-0 {
61
62 .quadmenu-setting-depth-0 {
63 display: block;
64 }
65
66 }
67
68 &.quadmenu-item-depth-1,
69 .quadmenu-item-depth-1 {
70
71 .quadmenu-setting-depth-1 {
72 display: block;
73 }
74
75 }
76
77 &.quadmenu-item-depth-2,
78 .quadmenu-item-depth-2 {
79
80 .quadmenu-setting-depth-2 {
81 display: block;
82 }
83
84 }
85
86 &.quadmenu-item-depth-3,
87 .quadmenu-item-depth-3 {
88
89 .quadmenu-setting-depth-3 {
90 display: block;
91 }
92
93 }
94
95 &.quadmenu-item-depth-4,
96 .quadmenu-item-depth-4 {
97
98 .quadmenu-setting-depth-4 {
99 display: block;
100 }
101
102 }
103
104 .dashicons {
105 //line-height: inherit;
106 width: auto;
107 height: auto;
108 padding: 0;
109 vertical-align: middle;
110 }
111
112 margin: -1px -10px -11px -10px;
113 border-top: 1px solid #ececec;
114 border-bottom: 1px solid #ececec;
115
116 &.saving {
117 .quadmenu-settings-header .quadmenu_saving {
118 display: block;
119 }
120 }
121
122 input,
123 select,
124 textarea {
125 border-radius: 2px;
126 height: auto;
127 margin: 0;
128 box-shadow: none;
129
130 &:not(.button) {
131 padding: 7px 10px;
132 }
133 }
134
135 input[type=text],
136 input[type=password],
137 select,
138 textarea {
139 width: 100%;
140 max-width: 600px;
141 }
142
143 .button-primary {
144 &:extend(body.admin-color-quadmenu .redux-container .button);
145 &:extend(body.admin-color-quadmenu .redux-container .button-primary);
146 }
147
148 .quadmenu-settings-body {
149 position: relative;
150 }
151
152 .quadmenu-settings-footer,
153 .quadmenu-settings-header {
154 position: relative;
155 overflow: hidden;
156 padding: 15px;
157 }
158
159 .quadmenu-settings-header {
160
161 background-color: rgb(241, 241, 241);
162 border-bottom: 1px solid #ececec;
163
164 .quadmenu-title {
165 margin: 0;
166 line-height: 30px;
167
168 > i {
169 margin: 0 5px 0 0;
170 }
171 }
172
173 .quadmenu_close {
174 float: right;
175 }
176
177 .quadmenu_saving {
178 font-size: 12px;
179 text-align: right;
180 padding: 0 20px;
181 display: none;
182 line-height: 60px;
183 text-transform: uppercase;
184 color: white;
185 font-size: 11px;
186 font-weight: bold;
187 background: #21c2f8;
188 position: absolute;
189 right: 0;
190 top: 0;
191 bottom: 0;
192
193 &:before {
194 color: white;
195 display: inline-block;
196 font: normal 20px 'dashicons';
197 speak: none;
198 -webkit-font-smoothing: antialiased;
199 -moz-osx-font-smoothing: grayscale;
200 vertical-align: top;
201 margin-right: 5px;
202 content: '\f463';
203 -webkit-animation: rotation 2s infinite linear;
204 animation: rotation 2s infinite linear;
205 line-height: inherit;
206 /* z-index: -1; */
207 /* border-top-right-radius: 5px; */
208 border-radius: 5px;
209 /* display: block; */
210 }
211
212 }
213
214 }
215
216 .quadmenu-setting {
217 padding: 15px 0;
218 //padding: 15px;
219 border-bottom: 1px solid #eee;
220
221 &:first-of-type {
222 padding-top: 0;
223 }
224
225 &:last-of-type {
226 border-bottom: none;
227 }
228
229 span.title {
230 display: block;
231 margin: 0 0 5px 0;
232 font-weight: 700;
233 }
234
235 span.description {
236 display: block;
237 margin: 5px 0 0 0;
238 }
239
240 .field-wrapper {
241 label {
242 display: block;
243 line-height: 25px;
244
245 input[type=checkbox],
246 input[type=radio] {
247 margin: -2px 5px 0 0;
248 }
249 }
250 }
251
252 &.quadmenu-setting-actions {
253 .button {
254 padding: 0 15px;
255 }
256 }
257
258 &.quadmenu-setting-background,
259 &.quadmenu-setting-media {
260
261 .field-wrapper {
262 &.active {
263 .edit-menu-item-media-thumbnail:before {
264 display: none;
265 }
266 .menu-item-media-clear {
267 display: inline;
268 }
269 }
270
271 .edit-menu-item-media-thumbnail:before {
272 .dashicons();
273 line-height: 50px;
274 content: "\f128";
275 font-family: dashicons;
276 }
277 .menu-item-media-clear {
278 display: none;
279 }
280
281 .edit-menu-item-media-thumbnail,
282 .edit-menu-item-media-text,
283 .edit-menu-item-media-css {
284 display: block;
285 overflow: hidden;
286 }
287
288 .edit-menu-item-media-css {
289 display: block;
290 overflow: hidden;
291 line-height: 1;
292 margin: 0;
293 font-size: 10px;
294 text-align: right;
295 }
296
297 .edit-menu-item-media-thumbnail {
298 float: left;
299 width: 50px;
300 height: 50px;
301 background: #ccc;
302 margin: 0 10px 0 0;
303 text-align: center;
304 font-size: 20px;
305 color: #aaa;
306 }
307 }
308
309 }
310
311 &.quadmenu-setting-media {
312
313 .field-wrapper {
314 background: #eee;
315 display: block;
316 overflow: hidden;
317 padding: 5px;
318 border: 1px solid #ddd;
319 }
320 }
321
322 &.quadmenu-setting-background {
323
324 position: relative;
325 padding: 15px;
326
327 .field-background {
328 position: absolute;
329 top: 0;
330 right: 0;
331 bottom: 0;
332 left: 0;
333 z-index: -1;
334 //padding: 15px;
335 opacity: 0.2;
336 }
337
338 .setting {
339 display: block;
340 padding: 10px 0;
341 b {
342 display: block;
343 }
344
345 select {
346 min-width: 200px;
347 width: auto;
348 }
349 }
350 }
351
352 &.quadmenu-setting-width {
353
354 > label {
355 display: flex;
356 //padding: 0 15px;
357
358 > .quadmenu-setting-width-icons,
359 > .quadmenu-setting-width-columns,
360 > .quadmenu-setting-width-offset,
361 > .quadmenu-setting-width-hidden {
362 flex: auto;
363
364 > div {
365 padding: 0 20px;
366 line-height: 70px;
367 height: 70px;
368
369 &:not(:last-child) {
370 border-bottom: 1px solid #efefef;
371 }
372
373 > i,
374 > select,
375 > input {
376 margin: 0;
377 }
378 > select {
379 margin: 0 0 3px 0;
380 }
381 }
382 }
383
384 > .quadmenu-setting-width-icons,
385 > .quadmenu-setting-width-offset,
386 > .quadmenu-setting-width-hidden {
387 max-width: 60px;
388 }
389
390 > .quadmenu-setting-width-hidden {
391 text-align: center;
392 }
393
394 > .quadmenu-setting-width-icons {
395
396 > div {
397
398 > i {
399 background: transparent url('../../backend/images/offset.png') -21px 0 no-repeat;
400 width: 21px;
401 height: 21px;
402 display: inline-block;
403 vertical-align: middle;
404 }
405
406 &.md > i {
407 background-position: -21px -21px;
408 }
409 &.sm > i {
410 background-position: -21px -42px;
411 }
412 &.xs > i {
413 background-position: -21px -84px;
414 }
415
416 }
417 }
418
419 }
420 }
421 }
422
423 // Items Structure
424 // -------------------------------------------------------------------------
425
426 ul {
427 > li {
428
429 &:first-of-type {
430
431 > a {
432 &.submit-add-to-quadmenu-column,
433 &.submit-add-to-quadmenu-panel,
434 &.submit-add-to-quadmenu-tab {
435 z-index: 9999;
436 text-align: center;
437 width: auto;
438 padding: 0;
439 text-decoration: none;
440 align-items: center;
441 cursor: pointer;
442 //background: #ebebeb;
443 //margin: 0 0 0 15px;
444
445 &:after {
446 position: relative;
447 display: inline-block;
448 font: 16px dashicons;
449 color: #c3c3c3;
450 content: '\f132';
451 width: 46px;
452 vertical-align: middle;
453 top: 1px;
454 }
455
456 &:hover {
457 }
458 }
459 }
460 }
461 }
462 }
463
464 .quadmenu-columns {
465 position: relative;
466 padding: 46px 0 0 0;
467 //overflow: hidden;
468
469 > ul {
470 position: absolute;
471 width: 100%;
472 left: 0;
473 right: 0;
474 top: 0;
475 display: flex;
476 background-color: #fafafa;
477 border-width: 0 0 1px 0;
478 border-style: solid;
479 border-color: #e5e5e5;
480 margin: 0;
481 height: 46px;
482 align-items: center;
483
484 > .spinner {
485 position: absolute;
486 top: 50%;
487 right: 0;
488 margin: -10px 15px 0 0;
489 }
490
491 > li {
492 min-width: 40px;
493 padding: 0 15px 0 0;
494 margin: 0;
495
496 > a {
497 display: flex;
498 height: 32px;
499 cursor: pointer;
500
501 .transition(all 0.4s);
502
503 &:focus,
504 &:hover {
505 outline: 0;
506 box-shadow: none;
507 > .col {
508 background: #c3c3c3;
509 }
510 }
511 > .col {
512 flex: auto;
513 height: 100%;
514 margin: 0 3px 0 0;
515 background: #ebebeb;
516 padding: 0;
517
518 &:last-of-type {
519 margin: 0;
520 }
521 }
522
523 }
524 }
525 }
526
527 > .spinner {
528 right: 0;
529 }
530 }
531 .quadmenu-carousel,
532 .quadmenu-panel,
533 .quadmenu-tabs,
534 .quadmenu-tab,
535 .quadmenu-columns,
536 .quadmenu-column,
537 .quadmenu-column-item {
538
539 //overflow: hidden;
540
541 .quadmenu-title {
542 font-size: 12px;
543 white-space: nowrap;
544
545 > i {
546 margin: 0 5px 0 0;
547 color: #333;
548 }
549 }
550
551 > .inner {
552 //box-shadow: none;
553 //padding: 0 15px;
554
555 > .action-top {
556
557 .actions {
558 position: relative;
559 //z-index: 2;
560 text-align: right;
561 float: right;
562 padding: 0 15px;
563 z-index: 9999;
564 //top: 1px;
565 //height: 45px;
566 //background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
567
568 a {
569 display: inline-block;
570 line-height: 46px;
571 }
572
573 .spinner {
574 display: none;
575 margin: 10px 0;
576 }
577 }
578
579 .option {
580 font: 400 16px/1 dashicons;
581 speak: none;
582 display: inline-block;
583 position: relative;
584 -webkit-font-smoothing: antialiased;
585 -moz-osx-font-smoothing: grayscale;
586 text-decoration: none!important;
587 color: #999;
588
589 &:hover {
590 color: #333;
591 cursor: pointer;
592 }
593
594 &:after {
595 padding: 0;
596 font: 400 14px/40px dashicons;
597 display: inline;
598 }
599
600 &.remove::after {
601 content: '\f182';
602 margin: 0;
603 }
604 &.edit::after {
605 content: '\f111';
606 }
607
608 &.disabled:hover {
609 color: #999;
610 }
611
612 &.expand::after {
613 content: '\f345';
614 }
615
616 &.contract::after {
617 content: '\f341';
618 }
619 }
620 }
621 }
622
623 .settings {
624
625 .quadmenu-tabs-content {
626 max-height: 400px;
627 overflow-y: hidden;
628 }
629
630 }
631
632 &.open {
633
634 .option.edit::after {
635 content: '\f142';
636 }
637
638 .items {
639 display: none;
640 }
641
642 }
643
644 &.saving {
645
646 > .inner > .action-top {
647
648 > .actions {
649
650 .option {
651 visibility: hidden;
652 }
653
654 .spinner {
655 display: block;
656 visibility: visible;
657 }
658 }
659
660 }
661 }
662
663 }
664
665 // Account
666 // -------------------------------------------------------------------------
667
668 .quadmenu-tab-pane-account {
669
670 .quadmenu-columns {
671 &.row {
672 padding-top: 0;
673 max-width: 630px;
674 }
675 }
676
677 .quadmenu-column {
678 > .inner {
679 padding-top: 15px;
680
681 > .action-top > .actions {
682 display: none;
683 }
684 }
685 }
686 }
687
688 // Tabs
689 // -------------------------------------------------------------------------
690
691 .quadmenu-tabs {
692 overflow: visible;
693 }
694
695 // Column
696 // -------------------------------------------------------------------------
697
698 .drop-column {
699
700 padding: 15px;
701 box-sizing: border-box;
702 overflow: visible;
703 display: table;
704
705 &:before {
706 display: table-cell;
707 height: 100%;
708 content: '';
709 box-sizing: border-box;
710 width: 100%;
711 min-height: 40px;
712 position: relative;
713 border: 1px dashed #DFDFDF;
714 }
715 }
716
717 // Open
718 // -------------------------------------------------------------------------
719 .quadmenu-carousel,
720 .quadmenu-panel,
721 .quadmenu-tabs,
722 .quadmenu-tab,
723 .quadmenu-columns,
724 .quadmenu-column,
725 .quadmenu-column-item {
726
727 &.open {
728
729 > .inner {
730 z-index: 999;
731 min-width: 220px;
732 width: 100%;
733 }
734
735 .settings {
736 visibility: visible;
737 opacity: 1;
738 max-height: 900px;
739 }
740 }
741
742 .settings {
743 position: absolute;
744 visibility: hidden;
745 max-height: 0;
746 opacity: 0;
747 right: 0;
748 left: 0;
749 .transition(all 0.4s cubic-bezier(.18,.74,.72,1));
750 }
751
752 }
753
754 .quadmenu-column {
755 &.open {
756 > .inner {
757 &,
758 > .settings {
759 box-shadow: 0 3px 12px -4px rgba(0, 0, 0, 0.1);
760 }
761 }
762 }
763
764 &:last-of-type {
765
766 &.open {
767 > .inner {
768 float: right;
769 }
770 }
771
772 .quadmenu-column-item {
773
774 &.open {
775 > .inner {
776 float: right;
777 }
778 }
779
780 }
781 }
782
783 }
784
785 // Column
786 // -------------------------------------------------------------------------
787
788 .quadmenu-column {
789 padding: 15px;
790 box-sizing: border-box;
791 overflow: visible;
792
793 &:not(.ui-sortable-helper) {
794 .transition(all 0.4s cubic-bezier(.18,.74,.72,1));
795 }
796
797 &:focus {
798 > .inner {
799 z-index: 1010;
800 }
801 }
802
803 > .inner {
804 position: relative;
805 padding: 0 15px 15px 15px;
806 background: #FAFAFA;
807
808 > .action-top {
809 > .actions {
810 background: #FAFAFA;
811 }
812 }
813
814 > .settings {
815 //padding: 0 15px;
816 background: #FAFAFA;
817
818 .quadmenu-setting {
819
820 &.quadmenu-setting-width {
821 //position: absolute;
822 //right: 0;
823 //left: auto;
824 //z-index: 1;
825 min-width: 220px;
826 background: #FAFAFA;
827 width: 100%;
828
829 > label {
830 padding: 0 15px;
831
832 > .quadmenu-setting-width-icons,
833 > .quadmenu-setting-width-columns,
834 > .quadmenu-setting-width-offset,
835 > .quadmenu-setting-width-hidden {
836
837 > div {
838 padding: 0 5px;
839 line-height: 40px;
840 height: 40px;
841 }
842 }
843 }
844 }
845 }
846 }
847 }
848
849 .items {
850 margin: 0;
851 padding: 0;
852
853 &:after {
854 border: 1px dashed #DFDFDF;
855 padding: 11px 0 7px 0;
856 text-align: center;
857 font-weight: 800;
858 font: 24px dashicons;
859 content: '\f132';
860 color: #c3c3c3;
861 cursor: pointer;
862
863 &:hover {
864 opacity: 0.2;
865 }
866 }
867
868 &:after,
869 .drop-area {
870 display: block;
871 box-sizing: border-box;
872 max-width: 100%;
873 min-height: 46px;
874 position: relative;
875 border: 1px dashed #DFDFDF;
876 }
877
878 &.selected {
879 border: 1px dashed #DFDFDF;
880 padding: 5px 5px 0 5px;
881
882 &:after {
883 border: none;
884 }
885 }
886
887 > li {
888 margin: 0 0 5px 0;
889 list-style: none;
890
891 .menu-item-bar {
892 margin: 0;
893 }
894
895 .menu-item-settings,
896 .menu-item-bar .menu-item-handle {
897 width: auto;
898 }
899
900 .menu-item-handle .item-title {
901 margin: 0;
902 }
903
904 .menu-item-settings {
905 display: block;
906 padding: 10px;
907 }
908
909 .description-wide {
910 width: 100%;
911 }
912
913 .menu-item-actions,
914 .field-move {
915 display: none;
916 }
917
918 }
919 }
920
921 }
922
923 // Column Item
924 // -------------------------------------------------------------------------
925
926 .quadmenu-column-item {
927
928 .item-title {
929 padding: 0 15px;
930 overflow: hidden;
931
932 .quadmenu-title {
933 position: absolute;
934 max-width: 60%;
935 overflow: hidden;
936 vertical-align: middle;
937 height: 46px;
938 line-height: 46px;
939 display: inline-block;
940 margin: 0;
941 padding: 0;
942 white-space: nowrap;
943 border-bottom: 0;
944 }
945 }
946
947 .settings {
948 left: -1px;
949 right: -1px;
950 background-color: #fff;
951 border: 1px solid #ececec;
952 }
953
954 > .inner {
955 position: relative;
956 border: 1px solid #ececec;
957 box-sizing: border-box;
958 background: #fff;
959 .transition(all 0.4s cubic-bezier(.18,.74,.72,1));
960
961 > .settings {
962
963 .quadmenu-setting {
964
965 &.quadmenu-setting-icon {
966 .button-icon {
967 display: none;
968 }
969
970 input {
971 max-width: 100%;
972 }
973 }
974
975 }
976
977 }
978 }
979
980 }
981
982 // Column Invalid
983 // -------------------------------------------------------------------------
984
985 .quadmenu-invalid {
986
987 > .inner {
988
989 &,
990 .actions {
991 background: #f6c9cc;
992 border-color: #f1acb1;
993 }
994
995 .action-top {
996 .option {
997 color: #f5868c;
998 }
999 }
1000
1001 }
1002 }
1003
1004 // Column Widget
1005 // -------------------------------------------------------------------------
1006
1007 .quadmenu-widget {
1008 .widget {
1009 margin: 0;
1010 padding: 15px;
1011 .widget-inner {
1012 border: none;
1013 box-shadow: none;
1014 min-height: 100px;
1015
1016 textarea {
1017 max-height: 110px;
1018 }
1019
1020 }
1021 &.open .widget-inner {
1022 display: block;
1023 }
1024 }
1025 }
1026
1027 }