未验证 提交 b90ae59d 编写于 作者: R REJack

added ability to use fontawesome 5 icon on sidebar-toggle

上级 639fa9e9
...@@ -81,6 +81,14 @@ ...@@ -81,6 +81,14 @@
&:active { &:active {
background: transparent; background: transparent;
} }
&.fa5 {
font-family: "Font Awesome\ 5 Free";
&:before {
content: "\f0c9";
font-weight: 900;
}
}
} }
.sidebar-toggle .icon-bar { .sidebar-toggle .icon-bar {
display: none; display: none;
......
...@@ -263,6 +263,13 @@ a:focus { ...@@ -263,6 +263,13 @@ a:focus {
.main-header .sidebar-toggle:active { .main-header .sidebar-toggle:active {
background: transparent; background: transparent;
} }
.main-header .sidebar-toggle.fa5 {
font-family: "Font Awesome\ 5 Free";
}
.main-header .sidebar-toggle.fa5:before {
content: "\f0c9";
font-weight: 900;
}
.main-header .sidebar-toggle .icon-bar { .main-header .sidebar-toggle .icon-bar {
display: none; display: none;
} }
......
此差异已折叠。
...@@ -264,6 +264,13 @@ a:focus { ...@@ -264,6 +264,13 @@ a:focus {
.main-header .sidebar-toggle:active { .main-header .sidebar-toggle:active {
background: transparent; background: transparent;
} }
.main-header .sidebar-toggle.fa5 {
font-family: "Font Awesome\ 5 Free";
}
.main-header .sidebar-toggle.fa5:before {
content: "\f0c9";
font-weight: 900;
}
.main-header .sidebar-toggle .icon-bar { .main-header .sidebar-toggle .icon-bar {
display: none; display: none;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册