ant-design-blazor/components/input-number/style/rtl.less

33 lines
742 B
Plaintext
Raw Normal View History

2020-03-23 13:51:37 +08:00
@import '../../style/themes/index';
@import '../../style/mixins/index';
@import '../../input/style/mixin';
@input-number-prefix-cls: ~'@{ant-prefix}-input-number';
.@{input-number-prefix-cls} {
2020-04-10 17:44:53 +08:00
&-rtl {
direction: rtl;
}
2020-03-23 13:51:37 +08:00
&-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;
}
2021-02-03 15:47:48 +08:00
.@{input-number-prefix-cls}-rtl.@{input-number-prefix-cls}-borderless & {
border-right-width: 0;
}
2020-03-23 13:51:37 +08:00
}
&-input {
.@{input-number-prefix-cls}-rtl & {
2020-07-01 21:38:23 +08:00
direction: ltr;
2020-03-23 13:51:37 +08:00
text-align: right;
}
}
}