style: 侧边栏子菜单顶部增加4px间隙

This commit is contained in:
Argo Zhang 2019-08-22 20:40:46 +08:00
parent bc6c291ef7
commit 3b4a7be2ec
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 14 additions and 6 deletions

View File

@ -273,10 +273,14 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
width: 22px;
}
.sidebar .sub .nav-item {
margin-right: 0;
.sidebar .sub {
margin-top: 4px;
}
.sidebar .sub .nav-item {
margin-right: 0;
}
.sidebar .nav-link .fa-angle-left {
transition: all .3s linear;
transform-origin: center;

View File

@ -273,10 +273,14 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
width: 22px;
}
.sidebar .sub .nav-item {
margin-right: 0;
.sidebar .sub {
margin-top: 4px;
}
.sidebar .sub .nav-item {
margin-right: 0;
}
.sidebar .nav-link .fa-angle-left {
transition: all .3s linear;
transform-origin: center;
@ -286,12 +290,12 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
transform: rotate(-90deg);
}
.sidebar .nav-sidebar > .nav-item > .nav-link:hover,
.sidebar .nav-sidebar > .nav-item > .nav-link:hover,
.sidebar .nav-sidebar > .nav-item > .nav-link[aria-expanded="true"],
.sidebar .show .nav-item .nav-link:hover:before,
.sidebar .nav-sidebar .nav-item:not(.parent) .nav-link.active:before,
.sidebar .nav-sidebar .nav-link.active {
background-color: rgba(255,255,255,.1);
background-color: rgba(255,255,255,.1);
}
.sidebar .nav-sidebar .show .nav-link, .sidebar .nav-sidebar .collapsing .nav-link {