style: 微调 lte 样式下侧边栏父节点样式

#Comment
防止收齐时右侧小箭头导致垂直间隙过大
This commit is contained in:
Argo Zhang 2019-10-21 11:02:48 +08:00 committed by Argo Windows
parent 33db72f1ec
commit cc7b5848bd
4 changed files with 12 additions and 6 deletions

View File

@ -144,4 +144,8 @@
.main-content, aside:not(:hover), header, .nav-brand a img, .nav-brand a span {
transition: none !important;
}
.sidebar .sub .nav-item .nav-link:before {
margin-top: -18px;
}
}

View File

@ -272,8 +272,9 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
color: #aeb2b7;
padding: 0.5rem 0.625rem;
transition: background .3s linear, color .3s linear;
display: block;
white-space: nowrap;
display: flex;
align-items: center;
}
.sidebar .nav-link i:first-child {
@ -298,7 +299,6 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
}
.sidebar .nav-item.parent .nav-link .fa-angle-left {
float: right;
margin-top: 4px;
}
@ -323,7 +323,6 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
border-radius: 4px;
height: 37px;
transition: all .3s linear;
margin-top: -8px;
}
.sidebar .sub .nav-item .nav-link i, .sidebar .sub .nav-item .nav-link span {

View File

@ -144,4 +144,8 @@
.main-content, aside:not(:hover), header, .nav-brand a img, .nav-brand a span {
transition: none !important;
}
.sidebar .sub .nav-item .nav-link:before {
margin-top: -18px;
}
}

View File

@ -272,8 +272,9 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
color: #aeb2b7;
padding: 0.5rem 0.625rem;
transition: background .3s linear, color .3s linear;
display: block;
white-space: nowrap;
display: flex;
align-items: center;
}
.sidebar .nav-link i:first-child {
@ -298,7 +299,6 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
}
.sidebar .nav-item.parent .nav-link .fa-angle-left {
float: right;
margin-top: 4px;
}
@ -323,7 +323,6 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou
border-radius: 4px;
height: 37px;
transition: all .3s linear;
margin-top: -8px;
}
.sidebar .sub .nav-item .nav-link i, .sidebar .sub .nav-item .nav-link span {