Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,74 @@
1
+.mod_navigation li.mm_container:hover > a::after,
2
+.mod_navigation li.mm_container:hover > span::after,
3
+.mod_navigation li.mm_container:hover > strong::after {
4
+  display: none;
5
+}
6
+
7
+#header .header--content.type--1 {
8
+  #mainNav .mm_dropdown {
9
+    margin-top: -8px;
10
+
11
+    &:before {
12
+      top: -50vh;
13
+    }
14
+  }
15
+}
16
+
17
+.mod_navigation li.mm_container {
18
+  &.megamenu-active > *:first-child {
19
+    & + .mm_dropdown {
20
+      opacity: 1;
21
+      width: 100%;
22
+      height: auto;
23
+      overflow: visible;
24
+    }
25
+  }
26
+
27
+  .mm_dropdown {
28
+    max-width: rfs-value($megamenu-width);
29
+    text-align: left;
30
+    left: auto;
31
+    right: 50%;
32
+    transform: translate(50%, 0%);
33
+    display: block !important;
34
+    opacity: 0;
35
+    transition: opacity 0.3s ease;
36
+    height: 0;
37
+    overflow: hidden;
38
+    width: 0;
39
+
40
+    &:before {
41
+      content: "";
42
+      position: fixed;
43
+      z-index: 4900;
44
+      background-color: $megamenu-overlay-background;
45
+      width: 200vw;
46
+      height: 200vh;
47
+      left: -50vw;
48
+      right: -50vw;
49
+      top: 0;
50
+    }
51
+
52
+    .inner {
53
+      position: relative;
54
+      z-index: 4901;
55
+      padding: 0px;
56
+      border: 0px;
57
+      background-color: $megamenu-background;
58
+      box-shadow: $box-shadow;
59
+    }
60
+  }
61
+}
62
+
63
+.header--content {
64
+  &.type--1 {
65
+    .mm_dropdown {
66
+      border-top: rfs-value(40px) solid transparent;
67
+
68
+      &:before {
69
+        height: 200vw;
70
+        top: -50vw;
71
+      }
72
+    }
73
+  }
74
+}