@import '../../style/themes/index.less';
.lm_select {
  &.ant-select {
    font-size: @font-size-base;
    width: 100%;
  }
  &.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
    box-shadow: none;
  }

  .lm_select_delete_tag {
    color: @error-color;
  }
}

.lm_select_dropdown {
  .ant-select-item-option-disabled {
    color: @disabled-color;
  }
  .rc-virtual-list-scrollbar {
    width: 4px !important;
  }
  .rc-virtual-list-scrollbar-thumb {
    background: @text-color-disable !important;
  }
  .lm_select_delete_tag {
    color: @error-color;
  }
}

.lm_select_has_icon {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  .ant-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 3;
    .ant-select-selector {
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
    }
  }
  .lm_select_icon_button {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    z-index: 2;
    flex: none;
    &:hover, &:focus {
      z-index: 5;
    }
  }
}