birt
2025-04-13 b0530ed9211230227a8f94e394eda779d5ae5fc1
zhitan-vue/src/assets/styles/sidebar.scss
@@ -1,8 +1,9 @@
.themeDark {
  #app {
    .el-menu-item.is-active {
      background: #3271eb !important;
      border-radius: 30px 30px 30px 30px !important;
     // background: #3271eb !important;
      // border-radius: 30px 30px 30px 30px !important;
      color: #fff;
    }
    .el-scrollbar {
@@ -10,9 +11,6 @@
      margin: 0 auto;
    }
    // .is-active .menu-title {
    //   color: #fff !important;
    // }
    .main-container {
      height: 100%;
@@ -32,14 +30,14 @@
      background-color: $base-menu-background;
      height: 100%;
      position: fixed;
      top: 0;
      top: 60px;
      bottom: 0;
      left: 0;
      z-index: 1001;
      z-index: 999;
      overflow: hidden;
      background-color: #002866 !important;
      -webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
      box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
      font-family: OPPOSans, OPPOSans;
      font-weight: 500;
      font-size: 18px;
@@ -81,12 +79,13 @@
      .svg-icon {
        margin-right: 16px;
        font-size: 14px;
      }
      .el-menu {
        border: none;
        height: 100%;
        width: 95%;
        // width: 95%;
        margin: 0 auto;
      }
@@ -94,7 +93,7 @@
      .menu-title {
        overflow: hidden !important;
        font-weight: 400 !important;
        font-size: 18px !important;
        font-size: 14px !important;
      }
      // @media (min-width: 1440px) {
@@ -127,12 +126,13 @@
      .sub-menu-title-noDropdown,
      .el-sub-menu__title {
        &:hover {
          background-color: rgba(0, 0, 0, 0.06) !important;
          background-color: rgba(0, 0, 0, 0.2) !important;
        }
      }
      & .theme-dark .is-active > .el-sub-menu__title {
        color: $base-menu-color-active !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
      }
      & .nest-menu .el-sub-menu > .el-sub-menu__title,
@@ -141,18 +141,18 @@
        &:hover {
          background-color: rgba(0, 0, 0, 0.06) !important;
          border-radius: 30px 30px 30px 30px !important;
          // border-radius: 30px 30px 30px 30px !important;
        }
      }
      // 子级item
      & .theme-dark .nest-menu .el-sub-menu > .el-sub-menu__title,
      & .theme-dark .el-sub-menu .el-menu-item {
        border-radius: 30px 30px 30px 30px !important;
        // border-radius: 30px 30px 30px 30px !important;
        &:hover {
          background-color: $base-sub-menu-hover !important;
          border-radius: 30px 30px 30px 30px !important;
          // border-radius: 30px 30px 30px 30px !important;
        }
      }
    }
@@ -285,8 +285,8 @@
.themeLight {
  #app {
    .el-menu-item.is-active {
      background: #e0eafc !important;
      border-radius: 30px 30px 30px 30px !important;
      // border-radius: 30px 30px 30px 30px !important;
    }
    .el-scrollbar {
@@ -312,10 +312,10 @@
      background-color: $base-menu-background;
      height: 100%;
      position: fixed;
      top: 0;
      top: 60px;
      bottom: 0;
      left: 0;
      z-index: 1001;
      z-index: 999;
      overflow: hidden;
      -webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
      box-shadow: none;
@@ -358,19 +358,19 @@
        display: inline-block;
        width: 100%;
        overflow: hidden;
        border-radius: 30px;
        // border-radius: 30px;
      }
      .svg-icon {
        margin-right: 16px;
        font-size: 18px;
        font-size: 14px;
        color: #C3C3C3;
      }
      .el-menu {
        border: none;
        height: 100%;
        width: 95%;
        // width: 95%;
        margin: 0 auto;
      }
@@ -378,7 +378,7 @@
      .menu-title {
        overflow: hidden !important;
        font-weight: 400 !important;
        font-size: 18px !important;
        font-size: 16px !important;
      }
      // @media (min-width: 1440px) {
@@ -415,8 +415,10 @@
        }
      }
      & .theme-dark .is-active > .el-sub-menu__title {
        // color: $base-menu-color-active !important;
      & .theme-light .is-active > .el-sub-menu__title {
        color: $--color-primary !important;
        // background-color: #eaeff8 !important;
      }
      & .nest-menu .el-sub-menu > .el-sub-menu__title,
@@ -425,7 +427,7 @@
        &:hover {
          background-color: #E0EAFC !important;
          border-radius: 30px 30px 30px 30px !important;
          // border-radius: 30px 30px 30px 30px !important;
        }
      }
@@ -433,11 +435,11 @@
      & .theme-dark .nest-menu .el-sub-menu > .el-sub-menu__title,
      & .theme-dark .el-sub-menu .el-menu-item {
        background-color: #E0EAFC !important;
        border-radius: 30px 30px 30px 30px !important;
        // border-radius: 30px 30px 30px 30px !important;
        &:hover {
          background-color: #E0EAFC !important;
          border-radius: 30px 30px 30px 30px !important;
          // border-radius: 30px 30px 30px 30px !important;
        }
      }
    }