|
@ -6,24 +6,25 @@ |
|
|
margin-left: $sideBarWidth; |
|
|
margin-left: $sideBarWidth; |
|
|
position: relative; |
|
|
position: relative; |
|
|
//margin-top: 70px; |
|
|
//margin-top: 70px; |
|
|
padding-top: 50px; |
|
|
padding-top: 56px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.sidebar-container { |
|
|
.sidebar-container { |
|
|
transition: width 0.28s; |
|
|
transition: width 0.28s; |
|
|
width: $sideBarWidth !important; |
|
|
width: $sideBarWidth !important; |
|
|
background-color: $menuBg; |
|
|
background-color: $menuBg; |
|
|
height: calc(100% - 50px); |
|
|
height: calc(100% - 56px); |
|
|
//height: 100%; |
|
|
//height: 100%; |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
font-size: 0px; |
|
|
font-size: 0px; |
|
|
top: 50px; |
|
|
top: 56px; |
|
|
//top: 0; |
|
|
//top: 0; |
|
|
bottom: 0; |
|
|
bottom: 0; |
|
|
left: 0; |
|
|
left: 0; |
|
|
z-index: 1001; |
|
|
z-index: 1001; |
|
|
//z-index: -1001; |
|
|
//z-index: -1001; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
|
|
|
box-shadow: 2px 0px 8px 0px #0000000d; |
|
|
|
|
|
|
|
|
// reset element-ui css |
|
|
// reset element-ui css |
|
|
.horizontal-collapse-transition { |
|
|
.horizontal-collapse-transition { |
|
@ -66,14 +67,46 @@ |
|
|
border: none; |
|
|
border: none; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
width: 100% !important; |
|
|
width: 100% !important; |
|
|
|
|
|
|
|
|
|
|
|
.el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow { |
|
|
|
|
|
transform: rotate(180deg); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.el-submenu.is-opened > .el-submenu__title { |
|
|
|
|
|
margin-bottom: 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.el-menu-item.is-active { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
background-color: #ebf7f5 !important; |
|
|
|
|
|
&::after { |
|
|
|
|
|
content: ""; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
top: 0; |
|
|
|
|
|
width: 3px; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
background: #36b29e; |
|
|
|
|
|
} |
|
|
|
|
|
&:hover { |
|
|
|
|
|
background-color: #ebf7f5 !important; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// menu hover |
|
|
// menu hover |
|
|
.submenu-title-noDropdown, |
|
|
.submenu-title-noDropdown { |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
&:hover { |
|
|
|
|
|
color: #36b29e !important; |
|
|
|
|
|
background-color: $menuHover !important; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
.el-submenu__title { |
|
|
.el-submenu__title { |
|
|
|
|
|
font-weight: 600; |
|
|
&:hover { |
|
|
&:hover { |
|
|
color: #36b29e; |
|
|
background-color: $menuHover !important; |
|
|
// background-color: $menuHover !important; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -84,11 +117,11 @@ |
|
|
& .nest-menu .el-submenu>.el-submenu__title, |
|
|
& .nest-menu .el-submenu>.el-submenu__title, |
|
|
& .el-submenu .el-menu-item { |
|
|
& .el-submenu .el-menu-item { |
|
|
min-width: $sideBarWidth !important; |
|
|
min-width: $sideBarWidth !important; |
|
|
background-color: $subMenuBg !important; |
|
|
background-color: $subMenuBg; |
|
|
|
|
|
|
|
|
&:hover { |
|
|
&:hover { |
|
|
color: #36b29e; |
|
|
color: #36b29e !important; |
|
|
// background-color: $subMenuHover !important; |
|
|
background-color: $subMenuHover !important; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -96,6 +129,9 @@ |
|
|
.hideSidebar { |
|
|
.hideSidebar { |
|
|
.sidebar-container { |
|
|
.sidebar-container { |
|
|
width: 54px !important; |
|
|
width: 54px !important; |
|
|
|
|
|
.el-submenu.is-opened > .el-submenu__title { |
|
|
|
|
|
margin-bottom: 13px; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.main-container { |
|
|
.main-container { |
|
|