-
Notifications
You must be signed in to change notification settings - Fork 2
/
simpleMobileMenu.css
executable file
·115 lines (91 loc) · 1.92 KB
/
simpleMobileMenu.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
/*---------Authar Style----------*/
.smobitrigger, .mnuclose { display: none; }
.nav-div { float:right;
}
.nav-div nav ul {
padding: 0px;
margin: 0px;
list-style: none;
}
.nav-div nav ul li { display: inline-block; }
.nav-div nav ul li a {
text-decoration: none;
padding: 5px 0px;
display: block;
color: #fff;
transition: all 0.2s ease-in-out 0s;
font-size: 15px;
text-transform: uppercase;
font-weight: 400;
margin: 0px 10px;
}
.nav-div nav ul li a:hover {
border-bottom: 2px solid #F00;
}
.active{
border-bottom: 2px solid #F00;
}
@media all and (max-width : 1023px) {
.nav-div { float: left; margin-top: -46px;
}
.smobitrigger, .mnuclose { display: inline-block; }
.smobitrigger {
color: #fff;
font-size: 30px;
line-height: 12px;
padding: 10px;
}
.mnuclose {
font-size: 20px;
padding: 10px 20px;
width: 100%;
background: rgba(0, 0, 0, 0.18);
}
.smobitrigger span, .mnuclose span {
font: 0/0 a;
text-shadow: none;
color: transparent;
}
.nav-div nav ul {
padding-bottom: 40px;
overflow-y: auto;
}
.nav-div nav ul li, .nav-div nav ul li a { width: 100%; }
.nav-div nav ul li a {
padding:5px 25px;
margin:0px;
}
.nav-div nav ul li a:hover { background: rgba(0, 0, 0, 0.29); }
.mobimenu {
list-style: none;
padding: 20px;
margin: 0px;
width: 210px;
position: fixed;
height: 100%;
top: 0px;
left: -250px;
z-index:999;
}
.mnuopn { left: 0px !important; }
.active{
border-bottom:none;
color:#FF0000;
}
.nav-div nav ul li a:hover {
border-bottom:none;
color:#ff0000 !important;
}
.ovrActv {
position: fixed;
background: rgba(0, 0, 0, 0.79);
width: 100%;
height: 100%;
z-index: 5;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-ms-transition: 0.5s;
-o-transition: 0.5s;
}
}