mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
644 B
35 lines
644 B
5 years ago
|
//
|
||
|
// Mixins: Navbar
|
||
|
//
|
||
|
|
||
|
// Navbar Variant
|
||
|
@mixin navbar-variant($color, $font-color: rgba(255, 255, 255, 0.8), $hover-color: #f6f6f6, $hover-bg: rgba(0, 0, 0, 0.1)) {
|
||
|
background-color: $color;
|
||
|
|
||
|
.nav > li > a {
|
||
|
color: $font-color;
|
||
|
}
|
||
|
|
||
|
.nav > li > a:hover,
|
||
|
.nav > li > a:active,
|
||
|
.nav > li > a:focus,
|
||
|
.nav .open > a,
|
||
|
.nav .open > a:hover,
|
||
|
.nav .open > a:focus,
|
||
|
.nav > .active > a {
|
||
|
background: $hover-bg;
|
||
|
color: $hover-color;
|
||
|
}
|
||
|
|
||
|
// Add color to the sidebar toggle button
|
||
|
.sidebar-toggle {
|
||
|
color: $font-color;
|
||
|
|
||
|
&:hover,
|
||
|
&:focus {
|
||
|
background: $hover-bg;
|
||
|
color: $hover-color;
|
||
|
}
|
||
|
}
|
||
|
}
|