-
Notifications
You must be signed in to change notification settings - Fork 0
/
sm-mint.css
471 lines (457 loc) · 12.5 KB
/
sm-mint.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
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
.sm-mint {
border-top: 2px solid #E0080C;
border-bottom: 2px solid #E0080C;
background: #13144D;
}
.sm-mint a, .sm-mint a:hover, .sm-mint a:focus, .sm-mint a:active {
padding: 13px 20px;
/* make room for the toggle button (sub indicator) */
padding-right: 58px;
color: #cc9900;
font-family: 'Eczar', serif;
font-size: 20px; /*16*/
font-weight: normal;
line-height: 17px;
text-decoration: none;
}
.sm-mint a {
}
.sm-mint a.current {
/*font-weight: bold;*/
color: #E0080C;
}
.sm-mint a.disabled {
color: #F9EC75;
}
.sm-mint a span.sub-arrow {
position: absolute;
top: 50%;
margin-top: -17px;
left: auto;
right: 4px;
width: 34px;
height: 34px;
overflow: hidden;
font: bold 14px/34px monospace !important;
text-align: right;
text-shadow: none;
background: rgba(141, 184, 99, 0.2);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
}
.sm-mint a.highlighted span.sub-arrow:before {
display: block;
content: '-';
}
.sm-mint li {
border-top: 1px solid rgba(141, 184, 99, 0.2);
}
.sm-mint > li:first-child {
border-top: 0;
}
.sm-mint ul {
background: rgba(141, 184, 99, 0.2);
}
.sm-mint ul a, .sm-mint ul a:hover, .sm-mint ul a:focus, .sm-mint ul a:active {
font-size: 14px;
border-left: 8px solid transparent;
}
.sm-mint ul ul a,
.sm-mint ul ul a:hover,
.sm-mint ul ul a:focus,
.sm-mint ul ul a:active {
border-left: 16px solid transparent;
}
.sm-mint ul ul ul a,
.sm-mint ul ul ul a:hover,
.sm-mint ul ul ul a:focus,
.sm-mint ul ul ul a:active {
border-left: 24px solid transparent;
}
.sm-mint ul ul ul ul a,
.sm-mint ul ul ul ul a:hover,
.sm-mint ul ul ul ul a:focus,
.sm-mint ul ul ul ul a:active {
border-left: 32px solid transparent;
}
.sm-mint ul ul ul ul ul a,
.sm-mint ul ul ul ul ul a:hover,
.sm-mint ul ul ul ul ul a:focus,
.sm-mint ul ul ul ul ul a:active {
border-left: 40px solid transparent;
}
@media (min-width: 768px) {
/* Switch to desktop layout
-----------------------------------------------
These transform the menu tree from
collapsible to desktop (navbar + dropdowns)
-----------------------------------------------*/
/* start... (it's not recommended editing these rules) */
#main-nav {
position: absolute;
bottom: 10px;
right: 50px;
z-index: 2
}
.sm-mint ul {
position: absolute;
width: 12em;
}
.sm-mint li {
float: left;
}
.sm-mint.sm-rtl li {
float: left;
}
.sm-mint ul li, .sm-mint.sm-rtl ul li, .sm-mint.sm-vertical li {
float: none;
}
.sm-mint a {
white-space: nowrap;
}
.sm-mint ul a, .sm-mint.sm-vertical a {
white-space: normal;
}
.sm-mint .sm-nowrap > li > a, .sm-mint .sm-nowrap > li > :not(ul) a {
white-space: nowrap;
}
/* ...end */
.sm-mint {
border-top: 0;
background: transparent;
}
.sm-mint a, .sm-mint a:hover, .sm-mint a:focus, .sm-mint a:active, .sm-mint a.highlighted {
padding: 11px 20px;
color: #cc9900;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
-ms-border-radius: 4px 4px 0 0;
-o-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
.sm-mint a:hover, .sm-mint a:focus, .sm-mint a:active {
background: #1F21DD; /*#2F344B*/
color: #FFBF02;
}
.sm-mint a.highlighted {
background: #343578;
color: #A68C40;
-webkit-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
}
.sm-mint a.disabled {
background: transparent;
color: #F9EC75;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.sm-mint a.has-submenu {
padding-right: 34px;
}
.sm-mint a span.sub-arrow {
top: 50%;
margin-top: -3px;
right: 20px;
width: 0;
height: 0;
border-width: 6px 4.02px 0 4.02px;
border-style: solid dashed dashed dashed;
border-color: #E0080C transparent transparent transparent;
background: transparent;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
}
.sm-mint a:hover span.sub-arrow, .sm-mint a:focus span.sub-arrow, .sm-mint a:active span.sub-arrow {
border-color: #E0080C transparent transparent transparent;
}
.sm-mint a.highlighted span.sub-arrow {
border-color: #C34345 transparent transparent transparent;
}
.sm-mint a.disabled span.sub-arrow {
border-color: #5A3C3D transparent transparent transparent;
}
.sm-mint a.highlighted span.sub-arrow:before {
display: none;
}
.sm-mint li {
border-top: 0;
}
.sm-mint ul {
border: 0;
padding: 8px 0;
background: #13144D;
-webkit-border-radius: 0 4px 4px 4px;
-moz-border-radius: 0 4px 4px 4px;
-ms-border-radius: 0 4px 4px 4px;
-o-border-radius: 0 4px 4px 4px;
border-radius: 0 4px 4px 4px;
-webkit-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
}
.sm-mint ul ul {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
}
.sm-mint ul a, .sm-mint ul a:hover, .sm-mint ul a:focus, .sm-mint ul a:active, .sm-mint ul a.highlighted {
border: 0 !important;
padding: 10px 20px;
color: #cc9900;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
}
.sm-mint ul a:hover, .sm-mint ul a:focus, .sm-mint ul a:active, .sm-mint ul a.highlighted {
background: #1F21DD;
color: #cc9900;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.sm-mint ul a.disabled {
background: transparent;
color: #F9EC75;
}
.sm-mint ul a.has-submenu {
padding-right: 20px;
}
.sm-mint ul a span.sub-arrow {
right: 10px;
margin-top: -4.02px;
border-width: 4.02px 0 4.02px 6px;
border-style: dashed dashed dashed solid;
border-color: transparent transparent transparent #E0080C;
}
.sm-mint ul a:hover span.sub-arrow, .sm-mint ul a:focus span.sub-arrow, .sm-mint ul a:active span.sub-arrow, .sm-mint ul a.highlighted span.sub-arrow {
border-color: transparent transparent transparent #E0080C;
}
.sm-mint ul a.disabled span.sub-arrow {
border-color: transparent transparent transparent #5A3C3D;
}
.sm-mint span.scroll-up,
.sm-mint span.scroll-down {
position: absolute;
display: none;
visibility: hidden;
overflow: hidden;
background: #2F344B;
height: 20px;
}
.sm-mint span.scroll-up-arrow, .sm-mint span.scroll-down-arrow {
position: absolute;
top: 6px;
left: 50%;
margin-left: -8px;
width: 0;
height: 0;
overflow: hidden;
border-width: 0 6px 8px 6px;
border-style: dashed dashed solid dashed;
border-color: transparent transparent #E0080C transparent;
}
.sm-mint span.scroll-down-arrow {
border-width: 8px 6px 0 6px;
border-style: solid dashed dashed dashed;
border-color: #E0080C transparent transparent transparent;
}
.sm-mint.sm-rtl a.has-submenu {
padding-right: 20px;
padding-left: 34px;
}
.sm-mint.sm-rtl a span.sub-arrow {
right: auto;
left: 20px;
}
.sm-mint.sm-rtl.sm-vertical {
border-right: 0;
border-left: 2px solid #E0080C;
}
.sm-mint.sm-rtl.sm-vertical a {
-webkit-border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
-ms-border-radius: 0 4px 4px 0;
-o-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}
.sm-mint.sm-rtl.sm-vertical a.has-submenu {
padding: 10px 20px;
}
.sm-mint.sm-rtl.sm-vertical a span.sub-arrow {
right: auto;
left: 10px;
border-width: 4.02px 6px 4.02px 0;
border-style: dashed solid dashed dashed;
border-color: transparent #E0080C transparent transparent;
}
.sm-mint.sm-rtl.sm-vertical a:hover span.sub-arrow, .sm-mint.sm-rtl.sm-vertical a:focus span.sub-arrow, .sm-mint.sm-rtl.sm-vertical a:active span.sub-arrow, .sm-mint.sm-rtl.sm-vertical a.highlighted span.sub-arrow {
border-color: transparent #E0080C transparent transparent;
}
.sm-mint.sm-rtl.sm-vertical a.disabled span.sub-arrow {
border-color: transparent #5A3C3D transparent transparent;
}
.sm-mint.sm-rtl ul {
-webkit-border-radius: 4px 0 4px 4px;
-moz-border-radius: 4px 0 4px 4px;
-ms-border-radius: 4px 0 4px 4px;
-o-border-radius: 4px 0 4px 4px;
border-radius: 4px 0 4px 4px;
}
.sm-mint.sm-rtl ul a {
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
-ms-border-radius: 0 !important;
-o-border-radius: 0 !important;
border-radius: 0 !important;
}
.sm-mint.sm-rtl ul a.has-submenu {
padding: 10px 20px !important;
}
.sm-mint.sm-rtl ul a span.sub-arrow {
right: auto;
left: 10px;
border-width: 4.02px 6px 4.02px 0;
border-style: dashed solid dashed dashed;
border-color: transparent #E0080C transparent transparent;
}
.sm-mint.sm-rtl ul a:hover span.sub-arrow, .sm-mint.sm-rtl ul a:focus span.sub-arrow, .sm-mint.sm-rtl ul a:active span.sub-arrow, .sm-mint.sm-rtl ul a.highlighted span.sub-arrow {
border-color: transparent #C34345 transparent transparent;
}
.sm-mint.sm-rtl ul a.disabled span.sub-arrow {
border-color: transparent #5A3C3D transparent transparent;
}
.sm-mint.sm-vertical {
border-bottom: 0;
border-right: 2px solid #E0080C;
}
.sm-mint.sm-vertical a {
padding: 10px 20px;
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
-ms-border-radius: 4px 0 0 4px;
-o-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
.sm-mint.sm-vertical a:hover, .sm-mint.sm-vertical a:focus, .sm-mint.sm-vertical a:active, .sm-mint.sm-vertical a.highlighted {
background: #2F344B;
color: #cc9900;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.sm-mint.sm-vertical a.disabled {
background: transparent;
color: #F9EC75;
}
.sm-mint.sm-vertical a span.sub-arrow {
right: 10px;
margin-top: -4.02px;
border-width: 4.02px 0 4.02px 6px;
border-style: dashed dashed dashed solid;
border-color: transparent transparent transparent #E0080C;
}
.sm-mint.sm-vertical a:hover span.sub-arrow, .sm-mint.sm-vertical a:focus span.sub-arrow, .sm-mint.sm-vertical a:active span.sub-arrow, .sm-mint.sm-vertical a.highlighted span.sub-arrow {
border-color: transparent transparent transparent #FFBF02;
}
.sm-mint.sm-vertical a.disabled span.sub-arrow {
border-color: transparent transparent transparent #5A3C3D;
}
.sm-mint.sm-vertical ul {
-webkit-border-radius: 4px !important;
-moz-border-radius: 4px !important;
-ms-border-radius: 4px !important;
-o-border-radius: 4px !important;
border-radius: 4px !important;
}
.sm-mint.sm-vertical ul a {
padding: 10px 20px;
}
}
.main-menu-btn {
position: relative;
display: inline-block;
width: 28px;
height: 28px;
text-indent: 28px;
white-space: nowrap;
overflow: hidden;
cursor: pointer;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
position: absolute;
top: 50%;
left: 2px;
height: 2px;
width: 24px;
background: #bbb;
-webkit-transition: all 0.25s;
transition: all 0.25s;
}
.main-menu-btn-icon:before {
content: '';
top: -7px;
left: 0;
}
.main-menu-btn-icon:after {
content: '';
top: 7px;
left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
height: 0;
background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
top: 0;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
top: 0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
overflow: hidden;
clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
display: none;
}
#main-menu-state:checked ~ #main-menu {
display: block;
}
@media (min-width: 768px) {
/* hide the button in desktop view */
.main-menu-btn {
position: absolute;
top: -99999px;
}
/* always show the menu in desktop view */
#main-menu-state:not(:checked) ~ #main-menu {
display: block;
}
}