@import "mixins/mixins";
// @import "common/var";

// ::-webkit-scrollbar-thumb {
//   background: #C9CDD4 !important;
// }

@include b(select-dropdown) {
  @include e(item) {
    font-size: $--select-font-size;
    padding: 0 12px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: $--select-option-color;
    height: $--select-option-height;
    line-height: $--select-option-height;
    box-sizing: border-box;
    cursor: pointer;

    @include when(disabled) {
      color: $--select-option-disabled-color;
      cursor: not-allowed;

      &:hover {
        background-color: $--color-white;
      }
    }

    &.hover {
      background-color: $--select-option-hover-background;
    }

    &.selected {
      //background-color: $--select-option-hover-background;
      font-weight: $--font-weight-500;
    }

    &:not(.is-disabled) {
      .el-checkbox__input:not(.is-checked):not(.is-indeterminate) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        &:hover {
          background: $--color-text-active;
          // border-radius: 50%;
          border-radius: $--border-radius-circle;
          .el-checkbox__inner {
            border-color: $--cascader-node-color-disabled;
            background: $--color-white;
          }
        }
      }
    }
  }

  @include when(multiple) {
    .el-select-dropdown__item {
      padding: 0 12px;
    }
  }
}
