@inputNumberScope: ~'@{prefixCls}InputNumber';
.@{inputNumberScope} {
  display: flex;
  .ant-btn {
    width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0;
    border-color: @border-color-base;
    .sc-ui {
      font-size: 14px;
      color: @heading-color;
    }
  }
  .ant-btn[disabled], .ant-btn[disabled]:hover, .ant-btn[disabled]:focus, .ant-btn[disabled]:active {
    background: @disabled-bg-color;
    i {
      color: @disabled-color;
    }
  }
  .ant-input-number {
    width: 72px;
    height: 32px;
    line-height: 32px;
    margin: 0 4px;
    .ant-input-number-input {
      width: 72px;
    }
  }
  &.large {
    .ant-btn {
      height: 40px;
      width: 40px;
      line-height: 40px;
      font-size: 16px;
      .sc-xinjian {
        font-size: 20px;
      }
    }
    .ant-input-number {
      width: 80px;
      height: 40px;
      line-height: 40px;
      .ant-input-number-input {
        width: 80px;
        height: 40px;
        text-align: center;
      }
    }
  }
  &.small {
    .ant-btn {
      height: 24px;
      width: 24px;
      line-height: 24px;
      font-size: 14px;
      // padding: 5px;
      .sc-xinjian {
        font-size: 14px;
      }
    }
    .ant-input-number {
      width: 64px;
      height: 24px;
      line-height: 24px;
      .ant-input-number-input {
        width: 64px;
        height: 24px;
      }
    }
  
  }
  &.bothSides {
    .ant-input-number-handler-wrap {
      display: none;
    }
  }
  &.internal {
    &.notControl {
      .ant-input-number-handler-wrap {
        display: none;
      }
    }
    .scInputNumber-btn {
      display: none;
    }
  }
}
.ant-input-number {
  border-color: @border-color-base;
  border-radius: @border-r-3;
  color: @heading-color;
  &:not(.ant-input-number-disabled):hover, &:not(.ant-input-number-disabled):focus, &:not(.ant-input-number-disabled):active {
    border-color: @primary-color;
  }
  &.ant-input-number-focused:not(.ant-input-number-disabled) {
    border-color: @primary-color;
  }
}
.ant-input-number-disabled {
  background: @disabled-bg-color;
}
.ant-input-number-handler-down {
  border-color: @border-color-base;
}
.ant-input-number-handler:hover .ant-input-number-handler-up-inner, 
.ant-input-number-handler:hover .ant-input-number-handler-down-inner {
  color: @primary-color;
}
.ant-input-number-input {
  text-align: center;
}