@import "../var.less";
/* select */
.ant-input-group-wrap .ant-select-selection--single {
  background-color: #FFFFFF;
}
.ant-select-dropdown {
  border-radius: 0px;
}
.ant-select-open .ant-select-selection{
  border-color: @darkOrange;
  box-shadow: 0 0 0 2px @darkOrangeShadow
}
.ant-select-selection {
  border-radius: 0px;
}
.ant-select-selection:hover {
  border-color: @darkOrange;
}
.ant-select-dropdown-menu-item:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}
.ant-select-dropdown-menu-item:last-child {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.ant-select-dropdown-menu-item-selected {
  background-color: @lightOrange;
}
.ant-select-dropdown-menu-item-selected:hover {
  background-color: @lightOrange;
}
.ant-select-dropdown-menu-item-active {
  background-color: @superLightOrange;
}
.ant-select-dropdown-menu-item-active:hover {
  background-color: @superLightOrange;
}

/* combo select */
.ant-select-combobox .ant-select-search__field:focus {
    box-shadow: 0 0 0 1px @darkOrange, 0 0 0 3px @lightOrange;
}
.ant-select-search--inline .ant-select-search__field {
  border-radius: 0;
}
.ant-select-sm .ant-select-selection {
  border-radius: 0;
}
.ant-select.ant-select-border-none {
  &.ant-select-open {
    .ant-select-selection {
      box-shadow: none;
    }
  }
  .ant-select-selection {
    border: none;
  }
}
.ant-select.ant-select-border-dashed {
  &.ant-select-open {
    .ant-select-selection {
      box-shadow: none;
    }
  }
  .ant-select-selection {
    border: dashed;
  }
}

.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected:after, .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected:hover:after {
  color: @orange;
}