diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 94760cc..be2f76f 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -10,7 +10,8 @@ .sidebar-container { transition: width 0.28s; width: $sideBarWidth !important; - background-color: $menuBg; + // background-color: $menuBg; + background: -webkit-linear-gradient(bottom, #3d6df8, #5b8cff); height: 100%; position: fixed; font-size: 0px; @@ -27,6 +28,8 @@ .scrollbar-wrapper { overflow-x: hidden !important; + background: url('~@/assets/common/leftnavBg.png') no-repeat 0 100%; + // ~@ 表示相对于@的路径 } .el-scrollbar__bar.is-vertical { @@ -66,6 +69,29 @@ border: none; height: 100%; width: 100% !important; + a{ + li{ + .svg-icon{ + color: #fff; + font-size: 18px; + vertical-align: middle; + .icon{ + color:#fff; + } + } + span{ + color: #fff; + } + &:hover{ + .svg-icon{ + color: #43a7fe + } + span{ + color: #43a7fe; + } + } + } + } } // menu hover