吉安感知网项目-前端
shuishen
2026-01-16 19a8a9601842a42c026c5f74f540221ec3f72d69
applications/task-work-order/src/styles/sidebar.scss
@@ -1,6 +1,5 @@
.avue-sidebar {
  width: $sidebar_width;
  width: 179px;
  height: 100%;
  user-select: none;
  position: relative;
@@ -11,12 +10,13 @@
  box-sizing: border-box;
  box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
  .el-scrollbar__wrap {
    overflow-x: hidden;
  }
  .avue-menu {
    height: calc(100% - #{$top_height});
    height: calc(100% - 42px);
  }
  &--tip {
@@ -36,40 +36,83 @@
    background-color: rgba(0, 0, 0, .4);
  }
  .el-menu-item, .el-sub-menu__title {
  .el-menu-item {
  }
  .el-sub-menu {
    .el-sub-menu__title {
    }
    .el-menu-item {
    }
    &.is-active {
      .el-sub-menu__title {
        i,
        span {
          color: #384CFF !important;
        }
        span {
          font-family: Source Han Sans CN, Source Han Sans CN;
          font-weight: 500;
          font-size: 14px;
          line-height: 56px;
          font-style: normal;
          text-transform: none;
        }
      }
    }
  }
  .el-menu-item,
  .el-sub-menu__title {
    i {
      margin-right: 5px;
    }
    i, span {
    i,
    span {
      color: hsla(0, 0%, 100%, .7);
    }
    &:hover {
      background: transparent;
      i, span {
        color: #fff;
      i,
      span {
        color: #384CFF;
      }
    }
    &.is-active {
      background-color: transparent !important;
      &:before {
        content: '';
        top: 0;
        top: 10px;
        left: 0;
        bottom: 0;
        width: 4px;
        background: var(--el-color-primary);
        bottom: 10px;
        width: 3px;
        background: #384CFF;
        position: absolute;
        border-radius: 0 6px 6px 0;
      }
      background-color: rgba(0, 0, 0, .8);
      i,
      span {
        color: #384CFF !important;
      }
      i, span {
        color: #fff;
      span {
        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 500;
        font-size: 14px;
        line-height: 56px;
        font-style: normal;
        text-transform: none;
      }
    }
  }
}
}