@import "mixins/mixins";
@import "common/var";
@import "tree";
@import "select";
@import "input";

@include b(tree-select) {
  @include m(overflow) {
    .el-select__tags{
      height: 30px;
      overflow-x: auto;
    }
    ::-webkit-scrollbar {/*滚动条整体样式*/
      width: 5px;     /*高宽分别对应横竖滚动条的尺寸*/
      height: 1px;
    }
    ::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
      border-radius: 10px;
      background: #e5e5e5;
    }
    ::-webkit-scrollbar-track {/*滚动条里面轨道*/
      border-radius: 10px;
      background: #EDEDED;
    }
  }
}

@include b(select-dropdown) {

  .el-tree--highlight-current {
     .el-tree-node.is-current:not([aria-disabled="true"]) > .el-tree-node__content {
       background: #fff;
       color: $--color-primary;
       font-weight: 700;
     }
  }

  .el-tree-node[aria-disabled="true"] {
    &>.el-tree-node__content {
      color: $--disabled-color-base;
      cursor: not-allowed;
      background: $--disabled-fill-base;
    }
  }
}
