.industry-layout {
  .el-aside {
    .industry-layout-sidebar {
      .industry-layout-sidebar-menus {
        &::-webkit-scrollbar {
          width: 0 !important;
          height: 0 !important;
          background-color: rgba(255, 255, 255, 0) !important;
        }
      }
    }
  }

  .el-main {
    &, * {
      /*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
      &::-webkit-scrollbar {
        width: 7px !important;
        height: 7px !important;
        background-color: rgba(255, 255, 255, 0) !important;
      }

      /*定义滚动条的轨道，内阴影及圆角*/
      &::-webkit-scrollbar-track {
        border-radius: 10px !important;
        background-color: rgba(230, 230, 230, 0.05) !important;
      }

      &:hover::-webkit-scrollbar-track {
        background-color: rgba(230, 230, 230, 0.5) !important;
      }

      /*定义滑块，内阴影及圆角*/

      &::-webkit-scrollbar-thumb {
        height: 20px !important;
        border-radius: 10px !important;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0) !important;
        background-color: rgba(216, 216, 216, 0.4) !important;
        transition: background-color 1s !important;
      }

      &:hover::-webkit-scrollbar-thumb {
        background-color: rgba(216, 216, 216, 1) !important;
      }

      &::-webkit-scrollbar-thumb:hover {
        background-color: rgba(190, 190, 190, 1) !important;
      }

      &::-webkit-scrollbar-thumb:active {
        background-color: rgba(160, 160, 160, 1) !important;
      }
    }
  }
}


body {
  &, * {
    /*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
    &::-webkit-scrollbar {
      width: 7px !important;
      height: 7px !important;
      background-color: rgba(255, 255, 255, 0) !important;
    }

    /*定义滚动条的轨道，内阴影及圆角*/
    &::-webkit-scrollbar-track {
      border-radius: 10px !important;
      background-color: rgba(230, 230, 230, 0.05) !important;
    }

    &:hover::-webkit-scrollbar-track {
      background-color: rgba(230, 230, 230, 0.5) !important;
    }

    /*定义滑块，内阴影及圆角*/

    &::-webkit-scrollbar-thumb {
      height: 20px !important;
      border-radius: 10px !important;
      -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0) !important;
      background-color: rgba(216, 216, 216, 0.4) !important;
      transition: background-color 1s !important;
    }

    &:hover::-webkit-scrollbar-thumb {
      background-color: rgba(216, 216, 216, 1) !important;
    }

    &::-webkit-scrollbar-thumb:hover {
      background-color: rgba(190, 190, 190, 1) !important;
    }

    &::-webkit-scrollbar-thumb:active {
      background-color: rgba(160, 160, 160, 1) !important;
    }
  }
}
