菜单折叠,tab栏折叠

This commit is contained in:
zhouyuejun
2018-11-27 18:16:25 +08:00
parent 5470628d7f
commit bb2779e6e8
10 changed files with 219 additions and 85 deletions
+31 -6
View File
@@ -15,14 +15,26 @@
color: rgba(255, 255, 255, 1);
cursor: pointer;
}
.navbar-nav{
background-color: rgb(38,51,68);
padding: 0 10px;
border-radius: 20px;
}
// .bg-dark{
// }
.nav-link{
display: flex;
align-items: center;
label{
margin: 0;
}
}
.nav-icon {
padding: 0.1rem 0.75rem;
// padding: 0.1rem 0.75rem;
cursor: pointer;
display: block;
font-size: 1.5rem;
// font-size: 1.5rem;
transition: color 0.1s ease-in-out, color 0.1s ease-in-out;
&:hover {
color: $color-primary;
@@ -39,9 +51,9 @@
box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.05);
border-radius: 50%;
display: block;
height: 18px;
width: 18px;
padding: 1px;
height: 14px;
width: 14px;
line-height: 14px;
position: absolute;
top: -4px;
right: -8px;
@@ -77,7 +89,7 @@
left: 0;
background-color: rgb(46, 59, 76);
padding-bottom: 30px;
overflow-y: scroll;
overflow-y: auto;
.left-header {
height: 66px;
border-bottom: 1px solid $gray-900;
@@ -101,5 +113,18 @@
height: calc(100% - 66px);
margin-left: 235px;
}
.left-wrapper-o {
width: 235px;
}
.left-wrapper-c {
width: 0px;
display: none;
}
.right-wrapper-o {
margin-left: 235px;
}
.right-wrapper-c {
margin-left: 0px;
}
}
}