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 / frontend / less / quadmenu-locations.less

quadmenu-locations.less in QuadMenu – Mega Menu 1.8.8, at assets/frontend/less/quadmenu-locations.less

1,140 lines 33.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @horizontal-padding: @gutter * 0.5px;
2
3 @import "mixins.less";
4 @import "themes/general.less";
5 @import "themes/grid.less";
6
7 // Locations
8 // -----------------------------------------------------------------------------
9
10 .loop(@i: length(@themes)) when (@i > 0) and not (@themes = '') {
11
12 @theme: e(extract(@themes, @i));
13
14 @class: ~"quadmenu-@{theme}";
15
16 @font_font-family: "@{theme}_font_font-family";
17 @font_font-weight: "@{theme}_font_font-weight";
18 @font_font-size: "@{theme}_font_font-size";
19 @font_font-style: "@{theme}_font_font-style";
20 @font_letter-spacing: "@{theme}_font_letter-spacing";
21
22 @navbar_font_font-family: "@{theme}_navbar_font_font-family";
23 @navbar_font_font-weight: "@{theme}_navbar_font_font-weight";
24 @navbar_font_font-size: "@{theme}_navbar_font_font-size";
25 @navbar_font_font-style: "@{theme}_navbar_font_font-style";
26 @navbar_font_letter-spacing: "@{theme}_navbar_font_letter-spacing";
27
28 @dropdown_font_font-family: "@{theme}_dropdown_font_font-family";
29 @dropdown_font_font-weight: "@{theme}_dropdown_font_font-weight";
30 @dropdown_font_font-size: "@{theme}_dropdown_font_font-size";
31 @dropdown_font_font-style: "@{theme}_dropdown_font_font-style";
32 @dropdown_font_letter-spacing: "@{theme}_dropdown_font_letter-spacing";
33
34 @navbar_width: "@{theme}_navbar_width";
35 @navbar_height: "@{theme}_navbar_height";
36 @sticky_height: "@{theme}_sticky_height";
37
38 @navbar_background_color: "@{theme}_navbar_background_color";
39 @navbar_background_to: "@{theme}_navbar_background_to";
40 @navbar_background_deg: "@{theme}_navbar_background_deg";
41
42 @sticky_background_color: "@{theme}_sticky_background";
43
44 @navbar_mobile_border_color: "@{theme}_navbar_mobile_border";
45
46 @navbar_logo_bg: "@{theme}_navbar_logo_bg";
47 @navbar_logo_height: "@{theme}_navbar_logo_height";
48 @sticky_logo_height: "@{theme}_sticky_logo_height";
49
50 @navbar_link_bg: "@{theme}_navbar_link_bg";
51
52 @navbar_link_bg_hover: "@{theme}_navbar_link_bg_hover";
53
54 @navbar_divider: "@{theme}_navbar_divider";
55
56 @navbar_link_hover_effect: "@{theme}_navbar_link_hover_effect";
57
58 @navbar_link_margin_top: "@{theme}_navbar_link_margin_border-top";
59 @navbar_link_margin_bottom: "@{theme}_navbar_link_margin_border-bottom";
60 @navbar_link_margin_left: "@{theme}_navbar_link_margin_border-left";
61 @navbar_link_margin_right: "@{theme}_navbar_link_margin_border-right";
62
63 @navbar_link_radius_top: "@{theme}_navbar_link_radius_border-top";
64 @navbar_link_radius_bottom: "@{theme}_navbar_link_radius_border-bottom";
65 @navbar_link_radius_left: "@{theme}_navbar_link_radius_border-left";
66 @navbar_link_radius_right: "@{theme}_navbar_link_radius_border-right";
67
68 @navbar_button_radius_top: "@{theme}_navbar_button_radius_border-top";
69 @navbar_button_radius_bottom: "@{theme}_navbar_button_radius_border-bottom";
70 @navbar_button_radius_left: "@{theme}_navbar_button_radius_border-left";
71 @navbar_button_radius_right: "@{theme}_navbar_button_radius_border-right";
72
73 @dropdown_margin: "@{theme}_dropdown_margin";
74 @dropdown_radius_top: "@{theme}_dropdown_radius_border-top";
75 @dropdown_radius_right: "@{theme}_dropdown_radius_border-right";
76 @dropdown_radius_bottom: "@{theme}_dropdown_radius_border-bottom";
77 @dropdown_radius_left: "@{theme}_dropdown_radius_border-left";
78 @dropdown_border_color: "@{theme}_dropdown_border_border-color";
79 @dropdown_border_top: "@{theme}_dropdown_border_border-top";
80 @dropdown_border_right: "@{theme}_dropdown_border_border-right";
81 @dropdown_border_bottom: "@{theme}_dropdown_border_border-bottom";
82 @dropdown_border_left: "@{theme}_dropdown_border_border-left";
83
84 @dropdown_background: "@{theme}_dropdown_background";
85
86 @dropdown_title_border_width: "@{theme}_dropdown_title_border_border-top";
87 @dropdown_title_border_style: "@{theme}_dropdown_title_border_border-style";
88 @dropdown_title_border_color: "@{theme}_dropdown_title_border_border-color";
89
90 @dropdown_link: "@{theme}_dropdown_link";
91
92 @dropdown_link_hover: "@{theme}_dropdown_link_hover";
93 @dropdown_link_bg_hover: "@{theme}_dropdown_link_bg_hover";
94
95 @dropdown_link_border_width: "@{theme}_dropdown_link_border_border-top";
96 @dropdown_link_border_style: "@{theme}_dropdown_link_border_border-style";
97 @dropdown_link_border_color: "@{theme}_dropdown_link_border_border-color";
98
99 //@dropdown_link_padding_top: "@{theme}_dropdown_link_padding_border-top";
100 //@dropdown_link_padding_bottom: "@{theme}_dropdown_link_padding_border-bottom";
101 //@dropdown_link_padding_left: "@{theme}_dropdown_link_padding_border-left";
102 //@dropdown_link_padding_right: "@{theme}_dropdown_link_padding_border-right";
103
104 @mobile_link_padding_top: "@{theme}_mobile_link_padding_border-top";
105 @mobile_link_padding_bottom: "@{theme}_mobile_link_padding_border-bottom";
106 @mobile_link_padding_left: "@{theme}_mobile_link_padding_border-left";
107 @mobile_link_padding_right: "@{theme}_mobile_link_padding_border-right";
108
109 @mobile_link_border_width: "@{theme}_mobile_link_border_border-top";
110 @mobile_link_border_style: "@{theme}_mobile_link_border_border-style";
111 @mobile_link_border_color: "@{theme}_mobile_link_border_border-color";
112
113 // Button
114 // -------------------------------------------------------------------------
115
116 @dropdown_button_radius_top: "@{theme}_dropdown_button_radius_border-top";
117 @dropdown_button_radius_right: "@{theme}_dropdown_button_radius_border-right";
118 @dropdown_button_radius_bottom: "@{theme}_dropdown_button_radius_border-bottom";
119 @dropdown_button_radius_left: "@{theme}_dropdown_button_radius_border-left";
120
121 // Tab
122 // -------------------------------------------------------------------------
123
124 @dropdown_tab_bg: "@{theme}_dropdown_tab_bg";
125 @dropdown_tab_bg_hover: "@{theme}_dropdown_tab_bg_hover";
126
127 .quadmenu-sticky-wrapper {
128 &.@{class} {
129 background-color: @@navbar_background_color;
130 }
131 }
132
133 #quadmenu {
134 &.@{class} {
135 background-color: @@navbar_background_color;
136 color: ~"@{@{theme}_navbar_text}";
137
138 &.quadmenu-background-gradient {
139 .navbar-gradient(@@navbar_background_color, @@navbar_background_to, @@navbar_background_deg);
140 }
141
142 // Fonts
143 // -----------------------------------------------------------------
144
145 font-family: @@font_font-family;
146 font-weight: @@font_font-weight;
147 font-size: @@font_font-size * 1px;
148 font-style: @@font_font-style;
149 .letter-spacing(@@font_letter-spacing);
150
151 .quadmenu-navbar-nav {
152
153 > li {
154
155 &.quadmenu-item {
156
157 > a,
158 > form {
159 font-family: @@navbar_font_font-family;
160 font-size: @@navbar_font_font-size * 1px;
161 font-weight: @@navbar_font_font-weight;
162 font-style: @@navbar_font_font-style;
163 .letter-spacing(@@navbar_font_letter-spacing);
164 }
165
166 > form {
167 &.quadmenu-has-icon:not(.quadmenu-item-type-icon) {
168 > a > .quadmenu-item-content {
169 padding-left: @horizontal-padding*2px + @@navbar_font_font-size *1px;
170 }
171 }
172 }
173
174 }
175
176 }
177
178 .quadmenu-dropdown-menu {
179
180 .quadmenu-title {
181 font-family: @@navbar_font_font-family;
182 font-size: @@navbar_font_font-size * 1px;
183 }
184
185 li {
186 &.quadmenu-item {
187 > a {
188 font-family: @@dropdown_font_font-family;
189 font-size: @@dropdown_font_font-size * 1px;
190 font-weight: @@dropdown_font_font-weight;
191 font-style: @@dropdown_font_font-style;
192 .letter-spacing(@@dropdown_font_letter-spacing);
193
194 > .quadmenu-item-content {
195
196 .quadmenu-product-price,
197 .quadmenu-product-rating {
198 &,
199 ins,
200 .woocommerce-Price-currencySymbol,
201 .woocommerce-Price-amount amount {
202 font-family: @@dropdown_font_font-family;
203 font-size: @@dropdown_font_font-size * 1px;
204 font-weight: @@dropdown_font_font-weight;
205 font-style: @@dropdown_font_font-style;
206 .letter-spacing(@@dropdown_font_letter-spacing);
207 }
208 }
209
210 }
211
212 }
213 }
214 }
215
216 }
217
218 }
219
220 // Horizontal
221 // -----------------------------------------------------------------
222
223 .quadmenu-navbar-header {
224
225 .quadmenu-navbar-brand {
226 margin-top: @@navbar_link_margin_top*1px;
227 margin-bottom: @@navbar_link_margin_bottom*1px;
228 }
229
230 }
231
232 &.quadmenu-is-horizontal {
233
234 &.js {
235 .height(@@navbar_height);
236 }
237
238 &.quadmenu-divider-show {
239 .quadmenu-navbar-nav {
240 > li > a:after,
241 > li.quadmenu-item-type-search > form:after {
242 margin-left: -@@navbar_link_margin_left*1px;
243 background-color: @@navbar_divider;
244 }
245 }
246 }
247
248 .quadmenu-navbar-nav {
249
250 // Tabs
251 // ---------------------------------------------------------
252
253 > li {
254 &.quadmenu-item-type-tabs {
255
256 > .quadmenu-dropdown-menu {
257 > ul {
258 > li {
259 > ul.quadmenu-tabs {
260
261 > li.quadmenu-item-type-tab {
262 background-color: @@dropdown_tab_bg;
263
264 &:hover,
265 &.open {
266 background-color: @@dropdown_tab_bg_hover;
267 }
268 }
269 }
270
271 }
272 }
273 }
274 }
275 }
276
277 > li {
278 > .quadmenu-dropdown-menu {
279 margin-top: @@dropdown_margin * 1px;
280 }
281 }
282
283 // Button
284 // ---------------------------------------------------------
285
286 li.quadmenu-item-type-button {
287 > a {
288 > .quadmenu-item-content {
289 border-radius: @@navbar_button_radius_top*1px @@navbar_button_radius_right*1px @@navbar_button_radius_bottom*1px @@navbar_button_radius_left*1px;
290 }
291 }
292 }
293
294 .quadmenu-dropdown-menu {
295 border-top-left-radius: @@dropdown_radius_top*1px;
296 border-top-right-radius: @@dropdown_radius_right*1px;
297 border-bottom-right-radius: @@dropdown_radius_bottom*1px;
298 border-bottom-left-radius: @@dropdown_radius_left*1px;
299 border-top-width: @@dropdown_border_top*1px;
300 border-right-width: @@dropdown_border_right*1px;
301 border-bottom-width: @@dropdown_border_bottom*1px;
302 border-left-width: @@dropdown_border_left*1px;
303 border-color: @@dropdown_border_color;
304 border-style: solid;
305 background-color: @@dropdown_background;
306
307 .dropdown-inner-radius(ceil(@@dropdown_radius_top - @@dropdown_border_top), ceil(@@dropdown_radius_right - @@dropdown_border_right), ceil(@@dropdown_radius_bottom - @@dropdown_border_bottom), ceil(@@dropdown_radius_left - @@dropdown_border_left));
308
309 // Border
310 // -----------------------------------------------------
311
312 li {
313 &.quadmenu-item {
314
315 &:not(.quadmenu-item-type-tab) {
316
317 &:not(:last-child):not(:only-child) {
318 > a {
319 border-color: @@dropdown_link_border_color;
320 border-style: @@dropdown_link_border_style;
321 border-width: 0 0 @@dropdown_link_border_width*1px 0;
322 }
323 }
324 }
325
326 }
327
328 }
329
330 }
331
332 .quadmenu-dropdown-submenu {
333 &:not(.quadmenu-item-type-tab) > .quadmenu-dropdown-menu {
334 margin: @@dropdown_border_top * -1px @@dropdown_margin*1px+@@dropdown_border_right*1px 0 @@dropdown_margin*1px+@@dropdown_border_left*1px;
335 }
336 }
337 }
338 }
339
340 // Sicky
341 // -----------------------------------------------------------------
342
343 &.quadmenu-sticky-top {
344
345 &.js {
346 .height(@@sticky_height);
347 }
348
349 background-color: @@sticky_background_color;
350
351 .quadmenu-navbar-brand {
352 > img {
353 height: @@sticky_logo_height * 1px;
354 }
355 }
356 }
357
358 // Brand
359 // -----------------------------------------------------------------
360
361 .quadmenu-navbar-brand {
362 color: ~"@{@{theme}_navbar_link}";
363 &:hover,
364 &:focus {
365 color: ~"@{@{theme}_navbar_link_hover}";
366 }
367
368 &.img {
369 background-color: @@navbar_logo_bg;
370 }
371
372 > img {
373 height: @@navbar_logo_height * 1px;
374 }
375 }
376
377 .quadmenu-navbar-toggle {
378 &.collapsed {
379 .icon-bar {
380 background-color: ~"@{@{theme}_navbar_toggle_open}";
381 }
382 }
383 .icon-bar {
384 background-color: ~"@{@{theme}_navbar_toggle_close}";
385 }
386 }
387
388 // Perfect Scrollbar
389 // -----------------------------------------------------------------
390
391 .ps-container {
392
393 >.ps-scrollbar-y-rail {
394 background-color: ~"@{@{theme}_navbar_scrollbar_rail}";
395
396 >.ps-scrollbar-y {
397 background-color: ~"@{@{theme}_navbar_scrollbar}";
398 }
399
400 &:hover,
401 &:active {
402 >.ps-scrollbar-y {
403 background-color: ~"@{@{theme}_navbar_scrollbar}";
404 }
405 }
406 }
407 }
408
409 .quadmenu-dropdown-menu {
410
411 .ps-container {
412 >.ps-scrollbar-y-rail {
413
414 >.ps-scrollbar-y {
415 background-color: ~"@{@{theme}_dropdown_scrollbar}";
416 }
417
418 &:hover,
419 &:active {
420 >.ps-scrollbar-y {
421 background-color: ~"@{@{theme}_dropdown_scrollbar}";
422 }
423 }
424 }
425
426 }
427 }
428
429 // Effect
430 // -----------------------------------------------------------------
431
432 &.quadmenu-hover-ripple,
433 &.quadmenu-hover-slidebar {
434
435 .quadmenu-navbar-nav {
436
437 > li {
438
439 &.quadmenu-item {
440 &.quadmenu-has-link {
441 > a:before {
442 background-color: @@navbar_link_hover_effect;
443 }
444 }
445 }
446
447 &.quadmenu-slidebar {
448 > .bar {
449 background-color: @@navbar_link_hover_effect;
450 }
451 }
452
453 }
454 }
455
456 }
457 // UL
458 // -----------------------------------------------------------------
459 .quadmenu-navbar-nav {
460
461 > li {
462
463 &.quadmenu-item {
464 &.quadmenu-has-link {
465 > a:before,
466 > span.bar {
467 background-color: @@navbar_link_hover_effect;
468 }
469 }
470 }
471
472 }
473
474 > li {
475 &:not(.quadmenu-item-type-button) {
476 margin: @@navbar_link_margin_top*1px @@navbar_link_margin_right*1px @@navbar_link_margin_bottom*1px @@navbar_link_margin_left*1px;
477 border-radius: @@navbar_link_radius_top*1px @@navbar_link_radius_right*1px @@navbar_link_radius_bottom*1px @@navbar_link_radius_left*1px;
478
479 > a {
480
481 > .quadmenu-item-content {
482 color: ~"@{@{theme}_navbar_link}";
483 text-transform: ~"@{@{theme}_navbar_link_transform}";
484
485 > .quadmenu-icon {
486 color: ~"@{@{theme}_navbar_link_icon}";
487 }
488
489 > .quadmenu-subtitle {
490 color: ~"@{@{theme}_navbar_link_subtitle}";
491 }
492
493 > .quadmenu-badge {
494
495 > .quadmenu-badge-bubble {
496 background-color: ~"@{@{theme}_navbar_badge}";
497 color: ~"@{@{theme}_navbar_badge_color}";
498 }
499 }
500 }
501
502 }
503
504 &.quadmenu-has-link {
505
506 background-color: @@navbar_link_bg;
507
508 &:hover,
509 &.open {
510
511 background-color: @@navbar_link_bg_hover;
512
513 > a {
514
515 > .quadmenu-item-content {
516 color: ~"@{@{theme}_navbar_link_hover}";
517 > .quadmenu-icon {
518 color: ~"@{@{theme}_navbar_link_icon_hover}";
519 }
520 > .quadmenu-subtitle {
521 color: ~"@{@{theme}_navbar_link_subtitle_hover}";//!important;
522 }
523 }
524 }
525 }
526 }
527 }
528 }
529
530 // Button
531 // -------------------------------------------------------------
532
533 > li.quadmenu-item-type-button {
534
535 > a {
536
537 > .quadmenu-item-content {
538 color: ~"@{@{theme}_navbar_button}";
539 text-transform: ~"@{@{theme}_navbar_link_transform}";
540 background-color: ~"@{@{theme}_navbar_button_background}";
541
542 > .quadmenu-icon {
543 color: ~"@{@{theme}_navbar_button}";
544 }
545 }
546 }
547
548 &:active,
549 &:focus,
550 &:hover,
551 &.open {
552 > a {
553 > .quadmenu-item-content {
554 color: ~"@{@{theme}_navbar_button_hover}";
555 background-color: ~"@{@{theme}_navbar_button_hover_background}";
556
557 > .quadmenu-icon {
558 color: ~"@{@{theme}_navbar_button_hover}";
559 }
560 }
561 }
562 }
563 }
564
565 // Search
566 // -------------------------------------------------------------
567
568 > li.quadmenu-item-type-search {
569
570 > form {
571 ::placeholder {
572 color: ~"@{@{theme}_navbar_link}";
573 font-family: @@navbar_font_font-family;
574 font-size: @@navbar_font_font-size * 1px;
575 font-weight: @@navbar_font_font-weight;
576 font-style: @@navbar_font_font-style;
577 text-transform: ~"@{@{theme}_navbar_link_transform}";
578 .letter-spacing(@@navbar_font_letter-spacing);
579 }
580
581 input {
582 color: ~"@{@{theme}_navbar_link}";
583 font-family: @@navbar_font_font-family;
584 font-size: @@navbar_font_font-size * 1px;
585 font-weight: @@navbar_font_font-weight;
586 font-style: @@navbar_font_font-style;
587 text-transform: ~"@{@{theme}_navbar_link_transform}";
588 .letter-spacing(@@navbar_font_letter-spacing);
589 }
590
591 i {
592 color: ~"@{@{theme}_navbar_link_icon}";
593 }
594 }
595 }
596
597 // Cart & Login
598 // -------------------------------------------------------------
599
600 > li.quadmenu-item-type-login,
601 > li.quadmenu-item-type-cart {
602
603 > .quadmenu-dropdown-menu {
604
605 .quadmenu-bottom-text {
606 font-family: @@navbar_font_font-family;
607 font-size: @@navbar_font_font-size * 1px;
608 font-weight: @@navbar_font_font-weight;
609 font-style: @@navbar_font_font-style;
610 text-transform: ~"@{@{theme}_navbar_link_transform}";
611 .letter-spacing(@@navbar_font_letter-spacing);
612
613 .background-color-diff(@@dropdown_background, 4);
614 }
615 }
616
617 }
618
619 // Cart
620 // -------------------------------------------------------------
621
622 > li.quadmenu-item-type-cart {
623
624 > a > .quadmenu-item-content {
625
626 > .quadmenu-cart-magic {
627
628 > .quadmenu-icon {
629 color: ~"@{@{theme}_navbar_link_icon}";
630 }
631
632 > .quadmenu-cart-qty {
633 background-color: ~"@{@{theme}_navbar_badge}";
634 color: ~"@{@{theme}_navbar_badge_color}";
635 }
636 }
637
638 }
639 &:hover,
640 &.open {
641 > a > .quadmenu-item-content {
642
643 > .quadmenu-cart-magic {
644
645 > .quadmenu-icon {
646 color: ~"@{@{theme}_navbar_link_icon_hover}";
647 }
648 }
649
650 }
651 }
652
653 &.quadmenu-cart-empty {
654
655 > .quadmenu-dropdown-menu {
656
657 .widget_shopping_cart {
658 &,
659 li {
660 font-family: @@navbar_font_font-family;
661 font-size: @@navbar_font_font-size * 1px;
662 font-weight: @@navbar_font_font-weight;
663 font-style: @@navbar_font_font-style;
664 text-transform: ~"@{@{theme}_navbar_link_transform}";
665 .letter-spacing(@@navbar_font_letter-spacing);
666
667 }
668 }
669
670 }
671
672 }
673 }
674
675 // Social
676 // -------------------------------------------------------------
677
678 > li.quadmenu-item-type-social {
679
680 > .quadmenu-toggle-container > a {
681
682 color: ~"@{@{theme}_navbar_link}";
683
684 > .quadmenu-icon {
685 color: ~"@{@{theme}_navbar_link_icon}";
686 }
687
688 &:hover,
689 &:focus {
690
691 > .quadmenu-icon {
692 color: ~"@{@{theme}_navbar_link_icon_hover}";
693 }
694
695 }
696
697 }
698
699 }
700
701 // Carousel
702 // -------------------------------------------------------------
703
704 .owl-carousel {
705
706 .owl-dots {
707 .owl-dot span {
708 background-color: ~"@{@{theme}_dropdown_button_bg}";
709 }
710 }
711
712 .owl-nav {
713
714 .owl-prev,
715 .owl-next {
716 color: ~"@{@{theme}_dropdown_button}";
717 background-color: ~"@{@{theme}_dropdown_button_bg}";
718
719 &:active,
720 &:focus,
721 &:hover {
722 color: ~"@{@{theme}_dropdown_button_hover}";
723 background-color: ~"@{@{theme}_dropdown_button_bg_hover}";
724 }
725
726 }
727
728 }
729
730 }
731
732 // Login
733 // -------------------------------------------------------------
734
735 > li.quadmenu-item-type-login {
736
737 > a {
738
739 > .quadmenu-item-content {
740
741 > .quadmenu-avatar {
742
743 > img {
744 height: @@navbar_logo_height*1px;
745 width: @@navbar_logo_height*1px;
746 }
747 }
748 }
749
750 }
751
752 a {
753 color: @@dropdown_link;
754 &:hover {
755 color: @@dropdown_link_hover;
756 }
757 }
758
759 }
760
761 // Dropdown Menu
762 // -------------------------------------------------------------
763
764 .quadmenu-dropdown-menu {
765 background-color: @@dropdown_background;
766
767 .quadmenu-title {
768 color: ~"@{@{theme}_dropdown_title}";
769 .link-border(@@dropdown_title_border_width,@@dropdown_title_border_style,@@dropdown_title_border_color, @vertical-padding);
770 }
771
772 form {
773 ::placeholder {
774 color: @@dropdown_link;
775 }
776 }
777
778 input,
779 textarea,
780 select,
781 .button {
782 font-family: @@dropdown_font_font-family;
783 font-size: @@dropdown_font_font-size * 1px;
784 font-weight: @@dropdown_font_font-weight;
785 font-style: @@dropdown_font_font-style;
786 text-transform: ~"@{@{theme}_dropdown_link_transform}";
787 .letter-spacing(@@dropdown_font_letter-spacing);
788 }
789
790 .button {
791 color: ~"@{@{theme}_dropdown_button}";
792 background-color: ~"@{@{theme}_dropdown_button_bg}";
793 border-top-left-radius: @@navbar_button_radius_top*1px;
794 border-top-right-radius: @@navbar_button_radius_right*1px;
795 border-bottom-right-radius: @@navbar_button_radius_bottom*1px;
796 border-bottom-left-radius: @@navbar_button_radius_left*1px;
797
798 &:active,
799 &:focus,
800 &:hover {
801 color: ~"@{@{theme}_dropdown_button_hover}";
802 background-color: ~"@{@{theme}_dropdown_button_bg_hover}";
803 }
804 }
805
806 li {
807 &.quadmenu-item {
808
809 > a {
810 border-color: @@dropdown_link_border_color;
811
812 > .quadmenu-item-content {
813 color: @@dropdown_link;
814 text-transform: ~"@{@{theme}_dropdown_link_transform}";
815 //padding: @@dropdown_link_padding_top*1px @@dropdown_link_padding_right*1px @@dropdown_link_padding_bottom*1px @@dropdown_link_padding_left*1px;
816
817 > .quadmenu-icon {
818 color: ~"@{@{theme}_dropdown_link_icon}";
819 }
820 > .quadmenu-subtitle,
821 > .quadmenu-description {
822 color: ~"@{@{theme}_dropdown_link_subtitle}";
823 }
824
825 > .quadmenu-badge {
826
827 > .quadmenu-badge-bubble {
828 background-color: ~"@{@{theme}_navbar_badge}";
829 color: ~"@{@{theme}_navbar_badge_color}";
830 }
831 }
832 }
833 }
834
835 &:hover,
836 &.open {
837
838 > a {
839
840 > .quadmenu-item-content {
841
842 color: @@dropdown_link_hover;//!important;
843
844 > .quadmenu-icon {
845 color: ~"@{@{theme}_dropdown_link_icon_hover}";
846 }
847
848 > .quadmenu-description,
849 > .quadmenu-subtitle {
850 color: ~"@{@{theme}_dropdown_link_subtitle_hover}";
851 }
852 }
853 }
854
855 }
856
857 &.quadmenu-has-link {
858 &:hover,
859 &.open {
860 background-color: @@dropdown_link_bg_hover;
861 }
862 }
863 }
864 }
865
866 // Button
867 // ---------------------------------------------------------
868
869 li.quadmenu-item-type-button {
870 > a {
871 > .quadmenu-item-content {
872 color: ~"@{@{theme}_dropdown_button}";
873 background-color: ~"@{@{theme}_dropdown_button_bg}";
874 > .quadmenu-icon {
875 color: ~"@{@{theme}_dropdown_button}";
876 }
877 }
878 }
879
880 &:active,
881 &:focus,
882 &:hover,
883 &.open {
884 > a {
885 > .quadmenu-item-content {
886 color: ~"@{@{theme}_dropdown_button_hover}";
887 background-color: ~"@{@{theme}_dropdown_button_bg_hover}";
888
889 > .quadmenu-icon {
890 color: ~"@{@{theme}_dropdown_button_hover}";
891 }
892 }
893 }
894 }
895 }
896 }
897 }
898
899 // Mobile
900 // -----------------------------------------------------------------
901
902 &:not(.quadmenu-is-horizontal) {
903
904 .quadmenu-navbar-collapse {
905
906 &.collapsing,
907 &.in {
908 box-shadow: inset 0 1px 0 @@navbar_mobile_border_color;
909 }
910 }
911
912 .quadmenu-navbar-nav {
913
914 > li.quadmenu-item-type-login,
915 > li.quadmenu-item-type-cart {
916
917 > .quadmenu-dropdown-menu {
918
919 padding-top: @@mobile_link_padding_top*2px;
920 padding-bottom: @@mobile_link_padding_bottom*2px;
921 padding-left: @@mobile_link_padding_left*1px;
922 padding-right: @@mobile_link_padding_right*1px;
923
924 .quadmenu-bottom-text {
925 margin-top: @@mobile_link_padding_top*2px;
926 margin-bottom: -@@mobile_link_padding_bottom*2px;
927 margin-left: -@@mobile_link_padding_left*1px;
928 margin-right: -@@mobile_link_padding_right*1px;
929 }
930
931 }
932 }
933
934 > li.quadmenu-item-type-login {
935
936 > .quadmenu-dropdown-menu {
937 > ul {
938 width: auto;
939 margin: 0 -@@mobile_link_padding_right 0 -@@mobile_link_padding_left;
940 }
941 }
942 }
943
944 > li.quadmenu-item-type-cart {
945
946 &.quadmenu-cart-empty {
947
948 > .quadmenu-dropdown-menu {
949 .widget_shopping_cart {
950 padding-bottom: @@mobile_link_padding_bottom*2px;
951 }
952 }
953 }
954
955 > .quadmenu-dropdown-menu {
956
957 .quadmenu-empty-icon {
958 padding-top: @@mobile_link_padding_top*2px;
959 padding-bottom: @@mobile_link_padding_bottom*2px;
960 }
961
962 }
963 }
964
965 > li.quadmenu-item-type-social {
966
967 > .quadmenu-toggle-container {
968
969 > a {
970 padding-left: @@mobile_link_padding_left;
971 padding-right: @@mobile_link_padding_right;
972 }
973 }
974
975 }
976
977
978 > li {
979 &.quadmenu-item {
980
981 &:not(.open) {
982 &:not(:last-child):not(:only-child) {
983 > a {
984 border-color: @@mobile_link_border_color;
985 border-style: @@mobile_link_border_style;
986 border-width: 0 0 @@mobile_link_border_width*1px 0;
987 }
988 }
989 }
990
991 .owl-carousel {
992
993 &:not(:last-child):not(:only-child) {
994 border-color: @@mobile_link_border_color;
995 border-style: @@mobile_link_border_style;
996 border-width: 0 0 @@mobile_link_border_width*1px 0;
997 }
998
999 }
1000
1001 }
1002
1003 }
1004
1005 > li {
1006 &.quadmenu-item-type-search {
1007
1008 > form {
1009
1010 > .quadmenu-item-content {
1011 margin: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px;
1012 padding: 0;
1013 }
1014
1015 }
1016 }
1017 }
1018
1019 li {
1020
1021
1022 &.quadmenu-dropdown {
1023
1024 form {
1025
1026 .quadmenu-item-content + .quadmenu-item-content {
1027 margin-top: @@mobile_link_padding_top*1px;
1028 }
1029
1030 }
1031
1032 }
1033
1034 &.quadmenu-item {
1035
1036 .quadmenu-item-content {
1037 &,
1038 > .quadmenu-caret {
1039 padding: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px;
1040 }
1041
1042 }
1043
1044 .quadmenu-item-widget {
1045 padding: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px;
1046 }
1047
1048 &.open {
1049
1050 > a {
1051
1052 > .quadmenu-item-content {
1053
1054 > .quadmenu-caret {
1055 color: @@dropdown_link;
1056 background-color: @@dropdown_background;
1057 }
1058 }
1059 }
1060 }
1061 }
1062
1063 }
1064
1065 // Button
1066 // ---------------------------------------------------------
1067
1068 li {
1069 &.quadmenu-item-type-button {
1070 padding-left: @@mobile_link_padding_right*1px;
1071 padding-right: @@mobile_link_padding_left*1px;
1072 }
1073 }
1074
1075 // Dropdown
1076 // ---------------------------------------------------------
1077
1078 .quadmenu-dropdown-menu {
1079
1080 border-color: @@mobile_link_border_color;
1081 border-style: @@mobile_link_border_style;
1082 border-width: 0 0 @@mobile_link_border_width*1px 0;
1083
1084 li {
1085 &.quadmenu-item {
1086
1087 &:not(:last-child):not(:only-child) {
1088 > a {
1089 border-style: @@dropdown_link_border_style;
1090 border-width: 0 0 @@dropdown_link_border_width*1px 0;
1091 }
1092 }
1093
1094 .owl-carousel {
1095
1096 &:not(:last-child):not(:only-child) {
1097
1098 border-style: @@dropdown_link_border_style;
1099 border-width: 0 0 @@dropdown_link_border_width*1px 0;
1100 border-color: @@dropdown_link_border_color;
1101 }
1102
1103 }
1104
1105 }
1106
1107 }
1108
1109 }
1110
1111 }
1112
1113 }
1114
1115 // Offcanvas
1116 // -----------------------------------------------------------------
1117
1118 &:not(.quadmenu-is-horizontal) {
1119
1120 &.quadmenu-background-gradient {
1121
1122 .navbar-offcanvas {
1123 .navbar-gradient(@@navbar_background_color, @@navbar_background_to, @@navbar_background_deg);
1124 }
1125
1126 }
1127
1128 .navbar-offcanvas {
1129 background-color: @@navbar_background_color;
1130 width: @@navbar_width * 1px;
1131 max-width: 80%;
1132 }
1133
1134 }
1135
1136 }
1137 }
1138
1139 .loop((@i - 1));
1140 } .loop;