@import (reference) '../color.less';

// input
.ant-input {
  border-radius: 4px;

  &-number {
    min-width: 110px;
  }
}

.ant-input-group-wrapper {
  height: 32px;
  border-radius: 4px;
}

.ant-input-affix-wrapper {
  border-radius: 4px;
  height: 32px;
}

.ant-input-affix-wrapper .ant-input-suffix {
  right: 9px;
}

.ant-input-clear-icon {
  margin-right: 5px;
}

.ant-input-affix-wrapper-textarea-with-clear-btn {
  padding: 0 !important;

  textarea.ant-input {
    padding: 4px 8px;
  }
}

.ant-table-cell .ant-checkbox-inner {
  width: 14px;
  height: 14px;
  border-radius: 0;
  border: 1px solid #ddd;
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-radius: 4px;
}

.ant-input-group-addon:first-child,
.ant-input-number-group-addon:first-child {
  border-radius: 4px 0 0 4px;
}

.ant-input-group-addon:last-child,
.ant-input-number-group-addon:last-child {
  border-radius: 0 4px 4px 0;
}

.ant-radio-button-wrapper:first-child {
  border-radius: 4px 0 0 4px;
}

.ant-radio-button-wrapper:last-child {
  border-radius: 0 4px 4px 0;
}

.ant-input-number,
.ant-input-number-input {
  border-radius: 4px;
}

.ant-input-number-handler-up {
  border-top-right-radius: 4px;
}

.ant-input-number-handler-down {
  border-bottom-right-radius: 4px;
}

.ant-input-number-handler-wrap {
  border-radius: 0 4px 4px 0;
}

.ant-input-group > .ant-input:last-child {
  border-radius: 4px;
}

.ant-input-number-group > .ant-input-number:last-child {
  border-radius: 4px;
}

.ant-input-number-group > .ant-input-number:not(:first-child),
.ant-input-group > .ant-input:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
