spring
2 天以前 c466b7f253a93d3a9b58c658adf6ec75574f5bd8
src/assets/styles/sidebar.scss
@@ -1,11 +1,10 @@
#app {
  .main-container {
    min-height: 100%;
    transition: margin-left .28s;
    transition: margin-left 0.28s;
    margin-left: $base-sidebar-width;
    position: relative;
    background: #F5F7FB;
    background: #f5f7fb;
  }
  .sidebarHide {
@@ -23,12 +22,13 @@
    left: 0;
    z-index: 1001;
    overflow: hidden;
    -webkit-box-shadow: 2px 0 6px rgba(0,21,41,.35);
    -webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    // reset element-ui css
    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
      transition: 0s width ease-in-out, 0s padding-left ease-in-out,
        0s padding-right ease-in-out;
    }
    .scrollbar-wrapper {
@@ -69,7 +69,8 @@
      width: 100% !important;
    }
    .el-menu-item, .menu-title {
    .el-menu-item,
    .menu-title {
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      white-space: nowrap !important;
@@ -83,11 +84,11 @@
    .sub-menu-title-noDropdown,
    .el-sub-menu__title {
      &:hover {
        background-color: rgba(212,221,255,0.56) !important;
        background-color: rgba(212, 221, 255, 0.8) !important;
      }
    }
    & .theme-light .is-active > .el-sub-menu__title {
      color: #000000 !important;
      color: #fff !important;
    }
    & .nest-menu .el-sub-menu>.el-sub-menu__title,
@@ -95,10 +96,10 @@
      min-width: $base-sidebar-width !important;
      &:hover {
        background-color: rgba(212,221,255,0.56) !important;
        background-color: rgba(212, 221, 255, 0.8) !important;
      }
      &.is-active {
        background-color: rgba(212,221,255,0.56) !important;
        background-color: #fff !important;
      }
    }
@@ -107,7 +108,7 @@
      //background-color: transparent;
      &:hover {
        background-color: rgba(212,221,255,0.56) !important;
        background-color: rgba(212, 221, 255, 0.8) !important;
      }
    }
  }
@@ -142,7 +143,6 @@
        .svg-icon {
          margin-left: 20px;
        }
      }
    }
@@ -179,7 +179,7 @@
    }
    .sidebar-container {
      transition: transform .28s;
      transition: transform 0.28s;
      width: $base-sidebar-width !important;
    }
@@ -193,7 +193,6 @@
  }
  .withoutAnimation {
    .main-container,
    .sidebar-container {
      transition: none;