| | |
| | | } |
| | | |
| | | .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; |
| | | top: 0; |
| | | top: 50px; |
| | | bottom: 0; |
| | | left: 0; |
| | | z-index: 1001; |
| | | overflow: hidden; |
| | | -webkit-box-shadow: 2px 0 6px rgba(0,21,41,.35); |
| | | box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1); |
| | | box-shadow: none; |
| | | |
| | | // 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: #ffffff !important; |
| | | } |
| | | } |
| | | |
| | |
| | | min-width: $base-sidebar-width !important; |
| | | |
| | | &:hover { |
| | | background-color: rgba(0, 0, 0, 0.06) !important; |
| | | background-color: #ffffff !important; |
| | | } |
| | | } |
| | | |
| | |
| | | background-color: $base-sub-menu-background; |
| | | |
| | | &:hover { |
| | | background-color: $base-sub-menu-hover !important; |
| | | background-color: #ffffff !important; |
| | | } |
| | | } |
| | | } |
| | |
| | | .el-menu-item { |
| | | &:hover { |
| | | // you can use $sub-menuHover |
| | | background-color: rgba(0, 0, 0, 0.06) !important; |
| | | background-color: #ffffff !important; |
| | | } |
| | | } |
| | | |