Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit 3ceff73

Browse files
committed
Change menu icon style
1 parent 28f3474 commit 3ceff73

File tree

4 files changed

+18
-21
lines changed

4 files changed

+18
-21
lines changed

src/css/style.menu.css

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
responsive menu
44
*/
55
.nav .click {
6-
cursor: pointer;
7-
margin: 15px 20px 0 0;
8-
float: right;
9-
}
10-
11-
.nav .click .menu {
126
border-radius: 30px;
137
font-size: 14px;
14-
padding: 7px 8px;
8+
padding: 3px 8px;
9+
cursor: pointer;
10+
margin: 15px 20px 0 0;
11+
float: right;
12+
}
13+
14+
.nav .click:before {
15+
font-family: "FontAwesome";
16+
font-size: 14px;
17+
content: "\f0c9";
1518
}
1619

1720
.nav .responsive { display: none; }
@@ -82,8 +85,6 @@
8285
font-family: "FontAwesome";
8386
content: "\f106";
8487
margin: 0 15px 0 0;
85-
height: 10px;
86-
width: 10px;
8788
float: right;
8889
}
8990

src/css/style.menu.dark.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
/*
33
dark theme sidebar menu
44
*/
5-
.nav .click { color: white; }
6-
.nav .click .menu {
5+
.nav .click {
76
transition: all 0.1s ease-in-out;
87
color: #4a5160;
98
}
109

11-
.nav .click .menu:hover {
10+
.nav .click:hover {
1211
background-color: #363c49;
1312
color: #eaedf1;
1413
}

src/css/style.menu.light.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
/*
33
light theme sidebar menu
44
*/
5-
.nav .click { color: white; }
6-
.nav .click .menu {
5+
.nav .click {
76
transition: all 0.1s ease-in-out;
8-
color: #bdbdbd;
7+
color: #dcdcdc;
98
}
109

11-
.nav .click .menu:hover {
12-
background-color: #f4f4f4;
13-
color: #7f7f7f;
10+
.nav .click:hover {
11+
background-color: #f2f2f2;
12+
color: #5c5c5c;
1413
}
1514

1615
.sidebar .title {

src/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030
<div class="nav">
3131

3232
<!-- click menu -->
33-
<div class="click">
34-
<i class="fa fa-bars menu" aria-hidden="true"></i>
35-
</div>
33+
<div class="click"></div>
3634

3735
<!-- sidebar -->
3836
<div class="sidebar">

0 commit comments

Comments
 (0)