@include b(stepper) {
  position: relative;
  &.background {
    .#{$namespace}-stepper-minus,
    .#{$namespace}-stepper-plus {
      border-radius: 0;
    }
    .#{$namespace}-stepper-input {
      border-top: 1px solid $border-color;
      border-bottom: 1px solid $border-color;
      background-color: $white;
    }
  }
  &-minus,
  &-plus {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 1px solid $border-color;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    background-color: $white;
    color: $auxiliary-text-color;
    vertical-align: top;
    cursor: pointer;
    .iconfont {
      font-size: 28px;
    }
    &.disabled {
      border-color: $border-color;
      color: $border-color;
      cursor: not-allowed;
    }
  }
  &-input {
    width: 50px;
    height: 32px;
    border: none;
    box-sizing: border-box;
    text-align: center;
    background-color: transparent;
    font-size: 18px;
  }
  input[disabled],
  input[readonly] {
    color: $border-color;
  }
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}
