mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
40663fb928
* feat: InputNumber support bordered prop * update style
33 lines
742 B
Plaintext
33 lines
742 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
@import '../../input/style/mixin';
|
|
|
|
@input-number-prefix-cls: ~'@{ant-prefix}-input-number';
|
|
|
|
.@{input-number-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
&-handler-wrap {
|
|
.@{input-number-prefix-cls}-rtl & {
|
|
right: auto;
|
|
left: 0;
|
|
border-right: @border-width-base @border-style-base @input-number-handler-border-color;
|
|
border-left: 0;
|
|
border-radius: @border-radius-base 0 0 @border-radius-base;
|
|
}
|
|
|
|
.@{input-number-prefix-cls}-rtl.@{input-number-prefix-cls}-borderless & {
|
|
border-right-width: 0;
|
|
}
|
|
}
|
|
|
|
&-input {
|
|
.@{input-number-prefix-cls}-rtl & {
|
|
direction: ltr;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|