Skip to content

Commit

Permalink
added ability to use fontawesome 5 icon on sidebar-toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed Jul 10, 2019
1 parent 639fa9e commit b90ae59
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
8 changes: 8 additions & 0 deletions build/less/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@
&:active {
background: transparent;
}

&.fa5 {
font-family: "Font Awesome\ 5 Free";
&:before {
content: "\f0c9";
font-weight: 900;
}
}
}
.sidebar-toggle .icon-bar {
display: none;
Expand Down
7 changes: 7 additions & 0 deletions dist/css/AdminLTE.css
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,13 @@ a:focus {
.main-header .sidebar-toggle:active {
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 {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/css/AdminLTE.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dist/css/alt/AdminLTE-without-plugins.css
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,13 @@ a:focus {
.main-header .sidebar-toggle:active {
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 {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/css/alt/AdminLTE-without-plugins.min.css

Large diffs are not rendered by default.

0 comments on commit b90ae59

Please sign in to comment.