_menu.scss
5.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
#wrapper-navbar {
position: relative;
top:0;
width: 100%;
background:white;
z-index: 9000;
height: 158px;
#navbarNavDropdown{
width: 100%;
}
#main-menu {
width: 100%;
justify-content: space-evenly;
& > li:nth-child(n+2) {
.dropdown-menu {
flex-flow: column wrap-reverse;
margin-right: -5px;
}
.dropdown-shadow {
padding:0 5px !important;
}
.dropdown-item {
padding-right:1.625rem;
padding-left: 0.875rem;
}
}
}
.dropdown-toggle::after {
display: inline-block;
margin-left: 0.255em;
vertical-align: 0.255em;
content: "";
border-top: 0.6em solid white;
border-right: 0.6em solid transparent;
border-bottom: 0;
border-left: 0.6em solid transparent;
bottom: -0.5rem;
position: absolute;
left: 50%;
left:calc(50% - 0.5em);
z-index: 999999;
display: none;
}
.dropdown-toggle.show {
&::after {
display: block;
align-items: flex-start;
justify-content: space-evenly;
}
}
#main-nav {
position: fixed;
width: 100%;
height: 158px;
padding:0;
box-shadow: 0px 3px 6px #00000029;
z-index: 991 !important;
.container{
flex-direction: column;
align-items: flex-start;
}
}
#main-menu {
a {
color:black;
padding-top:3.75rem;
padding-right: 1rem;
padding-left: 1rem;
}
li {
display: flex;
align-items: center;
flex-direction: column;
}
& > li {
justify-content: flex-end;
}
}
.dropdown-item {
text-decoration: none;
&:hover {
.title-before-short {
text-decoration: underline;
}
}
}
.title-before-short {
margin:0;
color:#000f;
text-decoration: none;
white-space: break-spaces;
}
.donate .title-before-short {
color:white;
}
.nav-link.donate-btn .title-before-short {
color:white;
}
.short {
padding-top: 0;
color:#4D4D4D;
line-height: 1.2;
padding-left: 0;
padding-bottom: 0;
white-space: normal;
font-size: 0.75rem;
margin-top:0;
}
.mi-image-container + .short {
color:#000;
&:after {
content: "";
background-image: url(../img/more.svg);
background-repeat: no-repeat;
display: inline-block;
height: 10px;
width: 30px;
display: block;
margin-top:0.563rem;
}
&.extern {
position: relative;
&:after {
position: absolute;
top:0;
right:0;
height: 20px;
width: 20px;
background-size: contain;
background-image: url("data:image/svg+xml,%3Csvg id='Group_1558' data-name='Group 1558' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20.935' height='20.915' viewBox='0 0 20.935 20.915'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_151' data-name='Rectangle 151' width='20.935' height='20.915' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath id='Path_1277' data-name='Path 1277' d='M0 0V20.915H20.934V9.763h-2.56v8.6H2.58V2.517h8.383V0Z' transform='translate(0 0)' fill='%231a1818'/%3E%3Cg id='Group_1023' data-name='Group 1023' transform='translate(0 0)'%3E%3Cg id='Group_1022' data-name='Group 1022' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1278' data-name='Path 1278' d='M18.276 13.612 16.363 11.7l9.185-9.143H23V.016h6.913v6.9H27.374V4.478l-9.1 9.134' transform='translate(-8.975 -0.009)' fill='%231a1818'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
}
}
.dropdown-shadow {
background:#E5E5E5;
box-shadow: 0px 3px 6px #00000029;
position: absolute;
top:0;
height: 14.25rem;
z-index: -1;
left: auto;
margin-left: -15px;
z-index: -1;
padding: 0 15px;
box-sizing: content-box;
}
#main-menu .dropdown-menu {
padding:0;
border:0;
margin:0;
padding-bottom:1rem;
background:none;
// padding-top:6px;
// margin-top:-6px;
// padding-top:5px;
// background:none;
border-radius: 0;
height:15.25rem;
max-height: 15.25rem;
min-height: 15.25rem;
flex-direction: column;
flex-wrap: wrap;
left:auto;
right:0;
&:before {
content: "";
width: 100%;
height: 100%;
position: absolute;
top: -10px;
padding-left: 150%;
}
& > li {
flex:0;
background: #e5e5e5;
width:16.25rem;
min-width:16.25rem;
max-width: 16.25rem;
a {
font-family: "PT Sans",sans-serif;
}
}
a {
padding-top:0.688rem;
// padding-bottom:1.063rem;
display: flex;
flex-direction: column;
z-index: 9;
}
&.show {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
}
}