| | |
| | | transition: margin-left .28s;
|
| | | margin-left: $base-sidebar-width;
|
| | | position: relative;
|
| | | background: #F5F7FB;
|
| | | }
|
| | |
|
| | | .sidebarHide {
|
| | |
| | | }
|
| | |
|
| | | .sidebar-container {
|
| | | -webkit-transition: width .28s;
|
| | | transition: width 0.28s;
|
| | | width: $base-sidebar-width !important;
|
| | | background-color: $base-menu-background;
|
| | | height: 100%;
|
| | | position: fixed;
|
| | | font-size: 0px;
|
| | |
| | | z-index: 1001;
|
| | | overflow: hidden;
|
| | | -webkit-box-shadow: 2px 0 6px rgba(0,21,41,.35);
|
| | | box-shadow: 2px 0 6px rgba(0,21,41,.35);
|
| | | box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
|
| | |
|
| | | // reset element-ui css
|
| | | .horizontal-collapse-transition {
|
| | |
| | | .sub-menu-title-noDropdown,
|
| | | .el-sub-menu__title {
|
| | | &:hover {
|
| | | background-color: rgba(0, 0, 0, 0.06) !important;
|
| | | background-color: rgba(212,221,255,0.56) !important;
|
| | | }
|
| | | }
|
| | |
|
| | | & .theme-dark .is-active > .el-sub-menu__title {
|
| | | color: $base-menu-color-active !important;
|
| | | & .theme-light .is-active > .el-sub-menu__title {
|
| | | color: #000000 !important;
|
| | | }
|
| | |
|
| | | & .nest-menu .el-sub-menu>.el-sub-menu__title,
|
| | |
| | | min-width: $base-sidebar-width !important;
|
| | |
|
| | | &:hover {
|
| | | background-color: rgba(0, 0, 0, 0.06) !important;
|
| | | background-color: rgba(212,221,255,0.56) !important;
|
| | | }
|
| | | &.is-active {
|
| | | background-color: rgba(212,221,255,0.56) !important;
|
| | | }
|
| | | }
|
| | |
|
| | | & .theme-dark .nest-menu .el-sub-menu>.el-sub-menu__title,
|
| | | & .theme-dark .el-sub-menu .el-menu-item {
|
| | | background-color: $base-sub-menu-background !important;
|
| | | & .theme-light .nest-menu .el-sub-menu>.el-sub-menu__title,
|
| | | & .theme-light .el-sub-menu .el-menu-item {
|
| | | //background-color: transparent;
|
| | |
|
| | | &:hover {
|
| | | background-color: $base-sub-menu-hover !important;
|
| | | background-color: rgba(212,221,255,0.56) !important;
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | .el-sub-menu {
|
| | | overflow: hidden;
|
| | |
|
| | |
| | | .el-menu-item {
|
| | | &:hover {
|
| | | // you can use $sub-menuHover
|
| | | background-color: rgba(0, 0, 0, 0.06) !important;
|
| | | background-color: rgba(212,221,255,0.56) !important;
|
| | | }
|
| | | &.is-active {
|
| | | background-color: rgba(212,221,255,0.56) !important;
|
| | | }
|
| | | }
|
| | |
|