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.
126 lines
1.7 KiB
126 lines
1.7 KiB
/*
|
|
* Component: Sidebar
|
|
* ------------------
|
|
*/
|
|
|
|
.sidebar {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
//Sidebar user panel
|
|
.user-panel {
|
|
padding: 10px;
|
|
margin-bottom: 6px;
|
|
|
|
.image {
|
|
float: left;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
max-width: 45px;
|
|
height: auto;
|
|
}
|
|
|
|
.info {
|
|
padding: 5px 5px 5px 10px;
|
|
margin-left: 45px;
|
|
}
|
|
|
|
.status {
|
|
padding: 3px 7px;
|
|
border: 0;
|
|
}
|
|
|
|
h6 {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
margin: 0 0 3px 0;
|
|
}
|
|
|
|
.status,
|
|
.dropdown-menu {
|
|
font-size: $font-size-sm;
|
|
}
|
|
}
|
|
|
|
// Sidebar navigation menu
|
|
.nav-sidebar {
|
|
//First Level
|
|
> .nav-item {
|
|
margin-top: 0 !important;
|
|
|
|
> .nav-link {
|
|
@include border-radius(0);
|
|
|
|
> .nav-icon {
|
|
width: 26px;
|
|
}
|
|
}
|
|
|
|
.float-xs-right {
|
|
margin-top: 3px;
|
|
}
|
|
}
|
|
|
|
// All other levels
|
|
.nav-link > .fa-angle-left {
|
|
width: auto;
|
|
height: auto;
|
|
padding: 0;
|
|
margin-right: 10px;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.menu-open {
|
|
> .nav-treeview {
|
|
display: block;
|
|
}
|
|
|
|
> .nav-link {
|
|
.fa-angle-left {
|
|
@include rotate(-90deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Tree view menu
|
|
.nav-treeview {
|
|
display: none;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
padding-left: 5px;
|
|
|
|
.nav-treeview {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
> .nav-item {
|
|
margin: 0;
|
|
> .nav-link {
|
|
padding: 5px 5px 5px 15px;
|
|
display: block;
|
|
> .nav-icon {
|
|
width: 30px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.nav-header {
|
|
font-size: .9em;
|
|
padding: $nav-link-padding-y;
|
|
|
|
&:not(:first-of-type) {
|
|
padding: 1.7em 1em .5em 1em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar-form {
|
|
.form-control {
|
|
border-radius: 0;
|
|
}
|
|
}
|