changed navbar child indent to optional via `.nav-child-indent`

pull/2133/head
REJack 2019-06-15 13:46:24 +02:00
parent 0ab4842315
commit 0b96c5ca71
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
5 changed files with 15 additions and 10 deletions

View File

@ -122,8 +122,6 @@
> .nav-item {
> .nav-link {
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
> .nav-icon {
width: $sidebar-nav-icon-width;
}
@ -131,6 +129,12 @@
}
}
&.nav-child-indent { 
.nav-treeview > .nav-item > .nav-link {
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}
}
.nav-header {
font-size: .9rem;
padding: $nav-link-padding-y;

View File

@ -1,3 +1,4 @@
@charset "UTF-8";
/*!
* AdminLTE v3.0.0-beta.1
* Author: Colorlib
@ -10275,14 +10276,14 @@ body,
padding: 0;
}
.nav-sidebar .nav-treeview > .nav-item > .nav-link {
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}
.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
width: 1.6rem;
}
.nav-sidebar.nav-child-indent   .nav-treeview > .nav-item > .nav-link {
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}
.nav-sidebar .nav-header {
font-size: .9rem;
padding: 0.5rem;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long