gaoluyang
5 天以前 64d172717748c383a5c88348037354bffd60f966
src/assets/styles/sidebar.scss
@@ -12,18 +12,20 @@
  }
  .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 {
@@ -82,7 +84,7 @@
    .sub-menu-title-noDropdown,
    .el-sub-menu__title {
      &:hover {
        background-color: rgba(0, 0, 0, 0.06) !important;
        background-color: #ffffff !important;
      }
    }
@@ -95,7 +97,7 @@
      min-width: $base-sidebar-width !important;
      &:hover {
        background-color: rgba(0, 0, 0, 0.06) !important;
        background-color: #ffffff !important;
      }
    }
@@ -104,7 +106,7 @@
      background-color: $base-sub-menu-background;
      &:hover {
        background-color: $base-sub-menu-hover !important;
        background-color: #ffffff !important;
      }
    }
  }
@@ -211,7 +213,7 @@
  .el-menu-item {
    &:hover {
      // you can use $sub-menuHover
      background-color: rgba(0, 0, 0, 0.06) !important;
      background-color: #ffffff !important;
    }
  }