#app {
  .main-container {
    min-height: calc(100% - 10px);
    transition: margin-left 0.28s;
  }

  // 侧边栏
  .sidebar-container {
    transition: width 0.3s;
    width: inherit;
    height: 100%;
    position: fixed;
    font-size: 0px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 4px 0 6px rgba(0, 0, 0, 0.1);
    //  border-right: 1px solid #eaeaea;
    // 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;
    }
    .scrollbar-wrapper {
      overflow-x: hidden !important;
    }
    .el-scrollbar__bar.is-vertical {
      right: 0px;
    }
    .el-scrollbar {
      height: 90%;
    }
    &.has-logo {
      .el-scrollbar {
        height: calc(100% - 50px);
      }
    }
    .el-submenu__title,.el-menu-item {
      display: flex;
      align-items: center;

      &.is-active {
        svg {
          stroke: #ffffff;
        }
      }
    }
    .is-horizontal {
      display: none;
    }
    a {
      display: inline-block;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    .svg-icon {
      margin-right: 10px;
    }
    .el-menu-item {
      &.is-active {
        background-color: $menuHover !important;
        color: $menuActiveText !important;
      }
    }
    .el-menu--collapse {
      .el-menu-item span,
      .el-submenu > .el-submenu__title span {
        height: 0;
        width: 0;
        overflow: hidden;
        visibility: hidden;
        display: inline-block;
      }
      .el-menu-item .el-submenu__icon-arrow,
      .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
        display: none;
      }
    }
  }
}
