@import "mixins/mixins";
@import "common/var";

@include b(select-dropdown) {
  @include e(item) {
    font-size: $--select-font-size;
    padding: $--space-base 11px $--space-base 7px;
    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;
      color: $--select-option-hover-color !important;
    }

    &:hover {
      color: $--select-option-disabled-color;
    }

    &.selected {
      color: $--color-text-regular;
      // font-weight: bold;
    }

    & span {
      line-height: $--select-option-height !important;
      // display: block;
      // height: 100%;
    }
  }
}
