-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
392 lines (389 loc) · 15.4 KB
/
style.css
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
body {
background-color:rgba(87,79,236,.08)!important;
font-size: 14px;
}
body.hide-scrolling {
overflow-y: hidden;
}
.container { width: 80%; margin: 0 auto;}
/* Menu */
.ozmenu ul.ozmenu-nav {
display: flex;
align-items: flex-start;
justify-content:space-between;
list-style: none;
font-family: 'Roboto', sans-serif;
padding-left: 0px;
}
.ozmenu ul.ozmenu-nav>li {
position: relative;
float: left;
width: auto;
}
.ozmenu ul.ozmenu-nav>li a:hover{
color: rgb(0, 0, 0) !important;
}
.ozmenu ul li.dropdownitem>a:after{
width: 15px;
height: 15px;
text-align: center;
float: right;
background-color: #000;
content: "";
margin: 1px 0px 0px 3px;
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');
mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
}
.ozmenu ul li .dropdown{
display:none;
position: absolute;
min-width: 200px;
}
@media screen and (min-width: 993px) {
.ozmenu ul.ozmenu-nav>li a{
color: #333 !important;
font-weight: 500;
text-decoration: none;
padding: 10px 10px;
background-color: #fff;
border-radius: 8px;
display: inline-block;
font-size: 14px;
height: 100%;
position: relative;
}
.ozmenu ul li.dropdownitem:hover .dropdown{
display: block;
position: absolute;
margin: 0;
padding: 5px 0px;
min-width: 220px;
padding-top: 0px !important;
}
.ozmenu ul li.dropdownitem:hover > a{
border-radius: 8px 8px 0px 0px !important;
}
.ozmenu ul li.dropdownitem ul li.dropdownitem:hover > a{
border-radius: 8px !important;
}
.ozmenu ul li.dropdownitem:hover .dropdown .dropdown{
display: none;
}
.ozmenu ul li.dropdownitem .dropdown li.dropdownitem:hover .dropdown {
padding-left: 16px;
position: absolute;
margin: 0;
padding-top: 0px !important;
min-width: 200px;
display: inline-table;
top: 0 !important;
left: 100% !important;
right: auto !important;
}
.ozmenu ul li.dropdownitem .dropdown .dropdown .dropdown {
display: none !important;
visibility: hidden;
}
.ozmenu ul li.dropdownitem .dropdown ul {
list-style: none;
background-color: #fff;
float: left;
padding: 10px;
border-radius: 0px 8px 8px 8px;
}
.ozmenu ul li.dropdownitem ul li a{
color: #333 !important;
font-weight: 400;
text-decoration: none;
padding: 5px 0px;
float: left;
width: 100%;
border-radius: 0px;
font-size: 14px;
}
.ozmenu ul.ozmenu-nav .dropdown ul li a:hover {
color: #333 !important;
padding-left: 7px;
transition: all 0.15s ease-out;
}
/* Animations */
.dropdownitem .dropdown{
animation: translateDown 200ms 0ms ease-in-out forwards;
transform-origin: top center;
}
.dropdownitem .dropdownitem .dropdown {
transform-origin: top center !important;
animation: translateX 200ms 0ms ease-in-out forwards !important;
}
@keyframes translateDown {
0% {
transform: scaleY(0)
}
80% {
transform: scaleY(1.1)
}
100% {
transform: scaleY(1)
}
}
@keyframes translateX {
0% {
opacity: 0;
transform: translateX(-60px);
}
80% {
transform: translateX(-5px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
/* Dropdown + Dropdown */
.ozmenu ul li.dropdownitem ul li .nav-dropdown:after{
width: 15px;
height: 15px;
text-align: center;
float: right;
background-color: #000;
content: "";
margin: 1px 0px 0px 3px;
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"></path></svg>');
mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"></path></svg>');
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
}
}
.ozmenu ul.ozmenu-nav .dropdown ul li {
float: left;
width: 100%;
}
.ozmenu ul.ozmenu-nav .dropdown ul li a{
padding: 8px 0px;
}
.ozmenu ul li.dropdownitem ul li a,
.ozmenu ul li.dropdownitem ul li .dropdown ul li a {
border-bottom: 1px dotted #eee;
}
.ozmenu ul li.dropdownitem ul li:last-child a,
.ozmenu ul li.dropdownitem ul li .dropdown ul li:last-child a {
border-bottom: 0px !important;
}
/* Dropdown + Dropdown */
.ozmenu ul li.dropdownitem ul li a:before,
.ozmenu ul li.dropdownitem ul li .nav-dropdown ul li a:after{
display: none !important;
}
.ozmenu ul li.dropdownitem ul li .nav-dropdown ul li:last-child a{
border-bottom: 0px !important;
}
.ozmenu ul li.dropdownitem .dropdown ul li.dropdownitem {
display: inline-block;
height: 100%;
position: relative;
width: 100%;
}
/* Responsive Menu */
.menu-close,
.menu-open {
display: none;
}
@media screen and (max-width: 993px) {
.menu-open,
.menu-close {
cursor: pointer;
color:#333;
text-decoration: none;
font-size: 26px;
}
.menu-open {
display: block;
}
.menu-close {
display: none;
}
.ozmenu {
position: relative;
display: none;
}
.ozmenu.active {
display: block;
}
.menu-open {
display: block !important;
float: right;
}
.mobile-menu-active .menu-close {
display: block !important;
z-index: 15;
position: absolute;
right: 13px;
left: unset !important;
top: 0px;
float: left;
}
.ozmenu-nav {
display: none !important;
}
.ozmenu.active .ozmenu-nav {
display: block !important;
}
.ozmenu.active{
position: fixed;
left: 0px;
top: 0px;
margin-top: 0px !important;
width: 40%;
height: 100vh;
display: flex;
z-index: 14;
}
.ozmenu.active .ozmenu-nav{
background-color: #fff;
float: left;
margin-top: 0px;
padding: 40px 20px;
width: 100%;
height: 100vh;
overflow: scroll;
transform-origin: top center !important;
}
.ozmenu.active .ozmenu-nav, .menu-close {
animation: translateX 400ms 0ms ease-in-out forwards !important;
}
@keyframes translateX {
0% {
opacity: 0;
transform: translateX(-160px);
}
80% {
transform: translateX(-5px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
.ozmenu ul.ozmenu-nav>li {
float: left;
width: 100%;
}
.ozmenu ul.ozmenu-nav>li a{
float: left;
width: 100%;
text-decoration: none;
color: #333;
padding: 10px 0px;
border-bottom: 1px solid #ddd;
}
.ozmenu ul.ozmenu-nav>li a:hover {
float: left;
width: 100%;
transition: all 0.25s ease-out;
text-decoration: none;
color: rgb(103, 130, 252) !important;
padding: 10px 0px;
}
.ozmenu ul li.dropdownitem>a:hover:after{
background-color: rgb(103, 130, 252) !important;
}
.nav-dropdown.opened {
color: rgb(103, 130, 252) !important;
border-bottom: 1px solid rgba(103, 130, 252, 0.5) !important;
}
.ozmenu ul.ozmenu-nav>li:last-child a{
border-bottom: 0px solid #ddd;
}
.ozmenu.active ul li .nav-dropdown.opened + .dropdown ul {
list-style: none;
float: left;
margin-left: 0px;
padding-left: 7px;
}
.ozmenu.active ul li .nav-dropdown.opened + .dropdown ul .dropdown ul {
padding-left: 15px;
}
.ozmenu.active ul li .nav-dropdown.opened + .dropdown{
display: block;
position: relative;
margin: 0;
padding: 5px 0px;
min-width: unset;
padding-top: 0px !important;
float: left;
}
.ozmenu.active ul li.dropdownitem:hover + .dropdown + .dropdown{
display: none;
}
#menu-overlay {
background-color: rgba(0,0,0,.3);
float: left;
display: none;
width: 100%;
height: 100vh;
z-index: 13;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#menu-overlay.show {
display: block !important;
}
.menu-open .open {
width: 40px;
height: 40px;
float: right;
background-color: #000;
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="40px" height="40px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-filter-square" viewBox="0 0 16 16"><path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"></path><path d="M6 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"></path></svg>');
mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="40px" height="40px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-filter-square" viewBox="0 0 16 16"><path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"></path><path d="M6 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"></path></svg>');
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
transition: all 0.2s ease-out;
}
.mobile-menu-active .menu-open .open, .menu-open .open:hover {
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="40px" height="40px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-filter-square-fill" viewBox="0 0 16 16"><path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm.5 5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zM4 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"></path></svg>');
mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="40px" height="40px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-filter-square-fill" viewBox="0 0 16 16"><path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm.5 5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zM4 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"></path></svg>');
}
.menu-close .close {
width: 38px;
height: 38px;
float: right;
background-color: #000;
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="38px" height="38px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-x close" viewBox="0 0 16 16"><path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"></path></svg>');
mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="38px" height="38px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-x close" viewBox="0 0 16 16"><path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"></path></svg>');
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
transition: all 0.2s ease-out;
}
.menu-close .close:hover {
background-color: #000;
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="30px" height="30px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-arrow-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z"></path></svg>');
mask-image: url('data:image/svg+xml;charset=utf-8,<svg width="30px" height="30px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-arrow-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z"></path></svg>');
}
.ozmenu.active ul li.dropdownitem>a.opened:after{
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="12px" height="12px" fill="currentColor" class="bi bi-chevron-up" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/></svg>') !important;
mask-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="12px" height="12px" fill="currentColor" class="bi bi-chevron-up" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/></svg>') !important;
}
}
@media screen and (max-width: 500px) {
.ozmenu.active {
width: 70%;
}
}
@media screen and (max-width: 400px) {
.ozmenu.active{
width: 100%;
}
}