mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:59:38 +08:00
e652eef04c
* style: add rtl base * fix: add test snap
29 lines
628 B
Plaintext
29 lines
628 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 {
|
|
.@{input-number-prefix-cls}-rtl & {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|