style: 微调主体与顶部高度

This commit is contained in:
Argo Zhang 2019-08-18 17:51:45 +08:00
parent 905f1633a8
commit 59be8816ee
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
5 changed files with 19 additions and 14 deletions

View File

@ -109,7 +109,7 @@
}
.userinfo.show .dropdown-menu {
margin-top: 8px;
margin-top: 4px;
left: auto !important;
}

View File

@ -111,7 +111,7 @@
left: 0;
bottom: 40px;
right: 0;
top: 96px;
top: 93px;
transition: margin-left .3s ease-in-out;
}
@ -274,7 +274,7 @@
}
#nprogress .spinner {
top: 22px;
top: 19px;
right: 17px;
}

View File

@ -331,7 +331,7 @@ aside {
transition: transform .3s ease-in-out;
transform: translate(-100%);
position: absolute;
top: 96px;
top: 93px;
bottom: 0;
left: 0;
right: 0;

View File

@ -109,22 +109,20 @@
}
.userinfo.show .dropdown-menu {
margin-top: 8px;
margin-top: 4px;
left: auto !important;
}
aside, .main-content {
top: 55px;
}
aside {
background-color: #1a2226;
}
aside .bg {
background-color: #337ab7;
height: 3px;
margin: 0 -15px;
}
aside .nav-brand, .sidebar-open aside:hover .nav-brand {
height: 54px;
height: 55px;
align-items: center;
padding: 0 0.625rem;
}
@ -152,7 +150,6 @@ aside {
}
.main-content {
top: 58px;
transition: margin-left .3s linear;
}
@ -253,7 +250,7 @@ body {
}
aside .sidebar, .sidebar-open aside:hover .sidebar {
top: 139px;
top: 136px;
transition: top .3s linear;
}

View File

@ -11,6 +11,14 @@ body {
-webkit-overflow-scrolling: touch;
}
.bg {
background-color: #337ab7;
height: 3px;
position: absolute;
left: 0;
right: 0;
}
aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdown-item:first-child {
display: none;
}