-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhamburgler.css
93 lines (88 loc) · 1.74 KB
/
hamburgler.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
*{ -webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent; /* For some Androids */
}
.top-animate {
background: #fff !important;
top: 13px !important;
-webkit-transform: rotate(45deg);
/* Chrome, Safari, Opera */
transform: rotate(45deg);
}
.mid-animate {
opacity: 0;
}
.bottom-animate {
background: #fff !important;
top: 13px !important;
-webkit-transform: rotate(-225deg);
/* Chrome, Safari, Opera */
transform: rotate(-225deg);
}
.top-menu {
top: 5px;
width: 25px;
height: 2px;
border-radius: 10px;
background-color: #F9A530;
}
.mid-menu {
top: 13px;
width: 25px;
height: 2px;
border-radius: 10px;
background-color: #F9A530;
}
.bottom-menu {
top: 21px;
width: 25px;
height: 2px;
border-radius: 10px;
background-color: #F9A530;
}
/* Adjust the colour for the menu icon */
.menui {
background: #000;
transition: 0.6s ease;
transition-timing-function: cubic-bezier(.75, 0, .29, 1.01);
margin-top: 10px;
position: absolute;
}
.icon {
z-index: 999;
position: fixed;
/* background: rgba(0, 0, 0, 0.21);*/
display: block;
padding: 9px;
height: 32px;
width:32px;
margin: 0px;
top: 0;
left: 0;
}
.mobilenav {
/* top: 47px !important;*/
font-family: inherit;
top: 0;
left:0;
z-index: 999;
display: none;
position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
}
.mobilenav li {
list-style-type: none;
text-align: center;
padding: 10px;
}
.mobilenav li a {
font-size: 150%;
color: #fff;
text-decoration: none;
font-weight: 300;
width: 100%;
}
.mobilenav li:first-child {
margin-top: 60px;
}