2019-07-18 16:22:11 +02:00
|
|
|
|
//
|
|
|
|
|
// Component: Main Sidebar
|
|
|
|
|
//
|
2018-03-17 18:07:55 +01:00
|
|
|
|
|
|
|
|
|
.main-sidebar {
|
|
|
|
|
height: 100vh;
|
|
|
|
|
overflow-y: hidden;
|
2019-06-28 10:02:07 +02:00
|
|
|
|
z-index: $zindex-main-sidebar;
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar {
|
2019-06-28 10:02:07 +02:00
|
|
|
|
height: calc(100% - 4rem);
|
|
|
|
|
overflow-y: auto;
|
2018-03-17 18:07:55 +01:00
|
|
|
|
padding-bottom: $sidebar-padding-y;
|
|
|
|
|
padding-left: $sidebar-padding-x;
|
|
|
|
|
padding-right: $sidebar-padding-x;
|
2019-06-28 10:02:07 +02:00
|
|
|
|
padding-top: $sidebar-padding-y;
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Sidebar user panel
|
|
|
|
|
.user-panel {
|
|
|
|
|
position: relative;
|
|
|
|
|
|
2019-06-28 10:02:07 +02:00
|
|
|
|
[class*='sidebar-dark'] & {
|
2018-03-17 18:07:55 +01:00
|
|
|
|
border-bottom: 1px solid lighten($dark, 12%);
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-28 10:02:07 +02:00
|
|
|
|
[class*='sidebar-light'] & {
|
2018-03-17 18:07:55 +01:00
|
|
|
|
border-bottom: 1px solid $gray-300;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&,
|
|
|
|
|
.info {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image {
|
|
|
|
|
display: inline-block;
|
2019-06-28 10:02:07 +02:00
|
|
|
|
padding-left: $nav-link-padding-x - .2;
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
height: auto;
|
2019-06-28 10:02:07 +02:00
|
|
|
|
width: $sidebar-user-image-width;
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 5px 5px 5px 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status,
|
|
|
|
|
.dropdown-menu {
|
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Sidebar navigation menu
|
|
|
|
|
.nav-sidebar {
|
|
|
|
|
// All levels
|
|
|
|
|
.nav-item {
|
|
|
|
|
> .nav-link {
|
2019-07-18 16:22:11 +02:00
|
|
|
|
margin-bottom: .2rem;
|
2019-06-28 10:02:07 +02:00
|
|
|
|
|
2018-03-17 18:07:55 +01:00
|
|
|
|
.right {
|
|
|
|
|
@include transition(transform $transition-fn $transition-speed);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-26 12:04:50 +02:00
|
|
|
|
.nav-link > .right,
|
2018-03-17 18:07:55 +01:00
|
|
|
|
.nav-link > p > .right {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 1rem;
|
2019-08-26 12:04:50 +02:00
|
|
|
|
top: .7rem;
|
|
|
|
|
|
|
|
|
|
i,
|
|
|
|
|
span {
|
|
|
|
|
margin-left: .5rem;
|
|
|
|
|
}
|
2019-05-25 15:15:32 +02:00
|
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
2019-08-26 12:04:50 +02:00
|
|
|
|
right: 2.2rem;
|
2019-05-25 15:15:32 +02:00
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.menu-open {
|
|
|
|
|
> .nav-treeview {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .nav-link {
|
2019-05-25 15:15:32 +02:00
|
|
|
|
i.right {
|
2018-03-17 18:07:55 +01:00
|
|
|
|
@include rotate(-90deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// First Level
|
|
|
|
|
> .nav-item {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
|
|
.nav-icon {
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
margin-right: .2rem;
|
2019-07-17 23:01:00 +02:00
|
|
|
|
text-align: center;
|
|
|
|
|
width: $sidebar-nav-icon-width;
|
|
|
|
|
|
2019-05-25 15:15:32 +02:00
|
|
|
|
&.fa,
|
|
|
|
|
&.fas,
|
|
|
|
|
&.far,
|
2019-06-28 10:02:07 +02:00
|
|
|
|
&.fab,
|
|
|
|
|
&.glyphicon,
|
|
|
|
|
&.ion {
|
2019-05-25 15:15:32 +02:00
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-right {
|
|
|
|
|
margin-top: 3px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Tree view menu
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
display: none;
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
> .nav-item {
|
|
|
|
|
> .nav-link {
|
|
|
|
|
> .nav-icon {
|
|
|
|
|
width: $sidebar-nav-icon-width;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
&.nav-child-indent {
|
|
|
|
|
.nav-treeview {
|
2019-08-19 13:35:38 +02:00
|
|
|
|
transition: padding $transition-speed $transition-fn;
|
2019-06-24 09:23:39 +02:00
|
|
|
|
padding-left: 1rem;
|
2019-06-15 13:46:24 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-17 18:07:55 +01:00
|
|
|
|
.nav-header {
|
|
|
|
|
font-size: .9rem;
|
|
|
|
|
padding: $nav-link-padding-y;
|
|
|
|
|
|
|
|
|
|
&:not(:first-of-type) {
|
2019-07-18 16:22:11 +02:00
|
|
|
|
padding: 1.7rem 1rem .5rem;
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-link p {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar-overlay {
|
2019-07-17 23:01:00 +02:00
|
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
|
.sidebar-open & {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-28 10:02:07 +02:00
|
|
|
|
background-color: rgba($black, 0.1);
|
2018-03-17 18:07:55 +01:00
|
|
|
|
bottom: 0;
|
|
|
|
|
display: none;
|
2019-06-28 10:02:07 +02:00
|
|
|
|
left: 0;
|
|
|
|
|
position: fixed;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
2018-03-17 18:07:55 +01:00
|
|
|
|
z-index: $zindex-main-sidebar - 1;
|
2019-07-17 23:01:00 +02:00
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
.sidebar-mini-md {
|
|
|
|
|
&.sidebar-open {
|
|
|
|
|
#sidebar-overlay {
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
[class*='sidebar-light-'] {
|
|
|
|
|
// Sidebar background color
|
|
|
|
|
background-color: $sidebar-light-bg;
|
|
|
|
|
|
|
|
|
|
// User Panel (resides in the sidebar)
|
|
|
|
|
.user-panel {
|
|
|
|
|
a:hover {
|
|
|
|
|
color: $sidebar-light-hover-color;
|
2019-06-05 13:34:15 +02:00
|
|
|
|
}
|
2019-07-17 23:01:00 +02:00
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
background: $sidebar-light-hover-bg;
|
|
|
|
|
color: $sidebar-light-color;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus,
|
|
|
|
|
&:active {
|
|
|
|
|
background: darken($sidebar-light-hover-bg, 3%);
|
|
|
|
|
color: $sidebar-light-hover-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
|
@include box-shadow(0 2px 4px rgba(0, 0, 0, .4));
|
|
|
|
|
border-color: darken($sidebar-light-hover-bg, 5%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-item {
|
|
|
|
|
color: $body-color;
|
2019-06-05 13:34:15 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
// Sidebar Menu. First level links
|
|
|
|
|
.nav-sidebar > .nav-item {
|
|
|
|
|
// links
|
|
|
|
|
> .nav-link {
|
|
|
|
|
// border-left: 3px solid transparent;
|
|
|
|
|
&:active,
|
|
|
|
|
&:focus {
|
|
|
|
|
color: $sidebar-light-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Hover and active states
|
|
|
|
|
&.menu-open > .nav-link,
|
|
|
|
|
&:hover > .nav-link {
|
|
|
|
|
background-color: $sidebar-light-hover-bg;
|
|
|
|
|
color: $sidebar-light-hover-color;
|
|
|
|
|
}
|
2019-06-05 13:34:15 +02:00
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
> .nav-link.active {
|
|
|
|
|
color: $sidebar-light-active-color;
|
|
|
|
|
|
|
|
|
|
@if $enable-shadows {
|
|
|
|
|
@extend .elevation-1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// First Level Submenu
|
|
|
|
|
> .nav-treeview {
|
|
|
|
|
background: $sidebar-light-submenu-bg;
|
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
// Section Heading
|
|
|
|
|
.nav-header {
|
|
|
|
|
background: inherit;
|
|
|
|
|
color: darken($sidebar-light-color, 5%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// All links within the sidebar menu
|
|
|
|
|
.sidebar {
|
|
|
|
|
a {
|
|
|
|
|
color: $sidebar-light-color;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// All submenus
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
> .nav-item {
|
|
|
|
|
> .nav-link {
|
|
|
|
|
color: $sidebar-light-submenu-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .nav-link.active {
|
|
|
|
|
&,
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: $sidebar-light-submenu-active-bg;
|
|
|
|
|
color: $sidebar-light-submenu-active-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .nav-link:hover {
|
|
|
|
|
background-color: $sidebar-light-submenu-hover-bg;
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
2019-09-11 13:55:20 +02:00
|
|
|
|
|
|
|
|
|
// Flat style
|
|
|
|
|
.nav-flat {
|
|
|
|
|
.nav-item {
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
border-color: $sidebar-light-submenu-active-bg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .nav-item {
|
|
|
|
|
> .nav-link {
|
|
|
|
|
border-color: $sidebar-light-submenu-active-bg;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
[class*='sidebar-dark-'] {
|
|
|
|
|
// Sidebar background color
|
|
|
|
|
background-color: $sidebar-dark-bg;
|
|
|
|
|
|
|
|
|
|
// User Panel (resides in the sidebar)
|
|
|
|
|
.user-panel {
|
|
|
|
|
a:hover {
|
|
|
|
|
color: $sidebar-dark-hover-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
background: $sidebar-dark-hover-bg;
|
|
|
|
|
color: $sidebar-dark-color;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus,
|
|
|
|
|
&:active {
|
|
|
|
|
background: darken($sidebar-dark-hover-bg, 3%);
|
|
|
|
|
color: $sidebar-dark-hover-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
|
@include box-shadow(0 2px 4px rgba(0, 0, 0, .4));
|
|
|
|
|
border-color: darken($sidebar-dark-hover-bg, 5%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-item {
|
|
|
|
|
color: $body-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Sidebar Menu. First level links
|
|
|
|
|
.nav-sidebar > .nav-item {
|
|
|
|
|
// links
|
|
|
|
|
> .nav-link {
|
|
|
|
|
// border-left: 3px solid transparent;
|
|
|
|
|
&:active {
|
|
|
|
|
color: $sidebar-dark-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Hover and active states
|
|
|
|
|
&.menu-open > .nav-link,
|
|
|
|
|
&:hover > .nav-link,
|
|
|
|
|
& > .nav-link:focus {
|
|
|
|
|
background-color: $sidebar-dark-hover-bg;
|
|
|
|
|
color: $sidebar-dark-hover-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .nav-link.active {
|
|
|
|
|
color: $sidebar-dark-hover-color;
|
|
|
|
|
|
|
|
|
|
@if $enable-shadows {
|
|
|
|
|
@extend .elevation-1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// First Level Submenu
|
|
|
|
|
> .nav-treeview {
|
|
|
|
|
background: $sidebar-dark-submenu-bg;
|
|
|
|
|
}
|
2019-07-14 15:21:20 +02:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
// Section Heading
|
|
|
|
|
.nav-header {
|
|
|
|
|
background: inherit; //darken($sidebar-dark-bg, 3%);
|
|
|
|
|
color: lighten($sidebar-dark-color, 5%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// All links within the sidebar menu
|
|
|
|
|
.sidebar {
|
|
|
|
|
a {
|
|
|
|
|
color: $sidebar-dark-color;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// All submenus
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
> .nav-item {
|
|
|
|
|
> .nav-link {
|
|
|
|
|
color: $sidebar-dark-submenu-color;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
|
|
|
|
background-color: $sidebar-dark-submenu-hover-bg;
|
|
|
|
|
color: $sidebar-dark-submenu-hover-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .nav-link.active {
|
|
|
|
|
&,
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
|
|
|
|
background-color: $sidebar-dark-submenu-active-bg;
|
|
|
|
|
color: $sidebar-dark-submenu-active-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-11 13:55:20 +02:00
|
|
|
|
|
|
|
|
|
// Flat Style
|
|
|
|
|
.nav-flat {
|
|
|
|
|
.nav-item {
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
border-color: $sidebar-dark-submenu-active-bg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .nav-item {
|
|
|
|
|
> .nav-link {
|
|
|
|
|
border-color: $sidebar-dark-submenu-active-bg;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-07-17 23:01:00 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Sidebar variants
|
|
|
|
|
@each $name, $color in $theme-colors {
|
|
|
|
|
.sidebar-dark-#{$name},
|
2019-07-14 15:21:20 +02:00
|
|
|
|
.sidebar-light-#{$name} {
|
2019-07-17 23:01:00 +02:00
|
|
|
|
@include sidebar-color($color)
|
2019-07-14 15:21:20 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-17 23:01:00 +02:00
|
|
|
|
@each $name, $color in $colors {
|
|
|
|
|
.sidebar-dark-#{$name},
|
|
|
|
|
.sidebar-light-#{$name} {
|
|
|
|
|
@include sidebar-color($color)
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-03-17 18:07:55 +01:00
|
|
|
|
|
2019-09-11 13:55:20 +02:00
|
|
|
|
// Nav Flat
|
|
|
|
|
.nav-flat {
|
|
|
|
|
margin: 0 -$sidebar-padding-x;
|
|
|
|
|
|
|
|
|
|
&.nav-child-indent {
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
padding-left: 0 !important;
|
|
|
|
|
|
|
|
|
|
.nav-treeview {
|
|
|
|
|
border-left: .2rem solid;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
|
> .nav-link {
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.nav-sidebar > .nav-item {
|
|
|
|
|
.nav-treeview,
|
|
|
|
|
> .nav-treeview {
|
|
|
|
|
background: rgba($white, .05);
|
|
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
|
> .nav-link {
|
|
|
|
|
border-left: .2rem solid;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-26 12:04:50 +02:00
|
|
|
|
|
|
|
|
|
// Nav Compact
|
|
|
|
|
.nav-compact {
|
|
|
|
|
.nav-link,
|
|
|
|
|
.nav-header {
|
|
|
|
|
padding: ($nav-link-padding-y / 2) ($nav-link-padding-x / 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-header:not(:first-of-type) {
|
|
|
|
|
padding: ($nav-link-padding-y * 1.5) ($nav-link-padding-x / 2) ($nav-link-padding-y / 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-link > .right,
|
|
|
|
|
.nav-link > p > .right {
|
|
|
|
|
top: .5rem;
|
|
|
|
|
right: .5rem;
|
|
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
|
right: 1.6rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-11 15:10:42 +02:00
|
|
|
|
|
|
|
|
|
// Sidebar Form Control
|
|
|
|
|
[class*='sidebar-dark'] {
|
|
|
|
|
.form-control-sidebar,
|
|
|
|
|
.btn-sidebar {
|
|
|
|
|
background: lighten($sidebar-dark-bg, 5%);
|
|
|
|
|
border: 1px solid lighten($sidebar-dark-bg, 15%);
|
|
|
|
|
color: lighten(color-yiq(lighten($sidebar-dark-bg, 5%)), 15%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-control-sidebar:focus,
|
|
|
|
|
.btn-sidebar:focus {
|
|
|
|
|
border: 1px solid lighten($sidebar-dark-bg, 30%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-sidebar:hover {
|
|
|
|
|
background: lighten($sidebar-dark-bg, 7.5%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-sidebar:focus {
|
|
|
|
|
background: lighten($sidebar-dark-bg, 10%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[class*='sidebar-light'] {
|
|
|
|
|
.form-control-sidebar,
|
|
|
|
|
.btn-sidebar {
|
|
|
|
|
background: darken($sidebar-light-bg, 5%);
|
|
|
|
|
border: 1px solid darken($sidebar-light-bg, 15%);
|
|
|
|
|
color: color-yiq(darken($sidebar-light-bg, 5%));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-control-sidebar:focus,
|
|
|
|
|
.btn-sidebar:focus {
|
|
|
|
|
border: 1px solid darken($sidebar-light-bg, 30%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-sidebar:hover {
|
|
|
|
|
background: darken($sidebar-light-bg, 7.5%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-sidebar:focus {
|
|
|
|
|
background: darken($sidebar-light-bg, 10%);
|
|
|
|
|
}
|
|
|
|
|
}
|