@import "mixins/mixins";
@import "common/var";

@include newB(select-dropdown) {
  @include e(item) {
    font-size: $--select-font-size;
    padding: 0 20px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(0,0,0,0.65);
    height: $--select-option-height;
    line-height: $--select-option-height;
    box-sizing: border-box;
    cursor: pointer;

    @include when(disabled) {
      color: rgba(0,0,0,0.25);
      cursor: not-allowed;

      &:hover {
        color: rgba(0,0,0,0.25);
        background-color: $--color-white;
      }
    }

    &.hover, &:hover {
      color: #006D9B; 
      background: #F7F7F7;
    }

    &.selected {
      color: #006D9B;
      font-weight: 400;
    }
  }
}
