diff --git a/components/input-number/style/index.less b/components/input-number/style/index.less index f865df881c..7e83cf08a7 100644 --- a/components/input-number/style/index.less +++ b/components/input-number/style/index.less @@ -60,7 +60,6 @@ .disabled(); .@{input-number-prefix-cls}-input { cursor: not-allowed; - background-color: @disabled-bg; } .@{input-number-prefix-cls}-handler-wrap { display: none; @@ -74,17 +73,12 @@ -moz-appearance: textfield; height: @input-height-base - 2px; transition: all 0.3s linear; - color: @input-color; - background-color: @input-bg; + background-color: transparent; border: 0; border-radius: @border-radius-base; padding: 0 @control-padding-horizontal - 1px; display: block; .placeholder(); - - &[disabled] { - .disabled(); - } } &-lg { @@ -109,7 +103,7 @@ border-left: @border-width-base @border-style-base @border-color-base; width: 22px; height: 100%; - background: @component-background; + background: transparent; position: absolute; top: 0; right: 0;