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

@include b(select-dropdown) {
  @include e(item) {
    font-size: $--select-font-size;
    padding: 0 16px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: $--select-option-color;
    box-sizing: border-box;
    cursor: pointer;

    &--normal {
      height: $--select-option-normal-height;
      line-height: $--select-option-normal-height;
    }

    &--medium {
      height: $--select-option-medium-height;
      line-height: $--select-option-medium-height;
    }

    &--big {
      height: $--select-option-big-height;
      line-height: $--select-option-big-height;
    }

    @include when(disabled) {
      // color: $--select-option-disabled-color;
      opacity: .5;
      cursor: not-allowed;

      &:hover {
        background-color: $--color-white;
      }
    }

    &.hover, &:hover {
      background-color: $--select-option-hover-background;
    }

    &.selected {
      color: $--select-option-selected-font-color;
      // font-weight: bold;
    }

    .label-icon {
      font-size: 20px;
      vertical-align: middle;
      margin-right: 8px;
    }

    .image {
      display: inline-block;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      margin-right: 8px;
      vertical-align: middle;
    }

    .checkbox {
      font-size: 14px;
      // height: 14px;
      // vertical-align: middle;
      margin-right: 8px !important;
    }
  }
}
