mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 12:10:06 +08:00
41eacdfff0
* style: add rtl.less of Drawer\Modal\Progress\Resul * fix: rtl.less name * fix: add import * fix: remove modal * fix: remove drawer * fix: remove progress * style: add rtl.less of Drawer\Modal\Progress\Resul * fix: rtl.less name * fix: add import
37 lines
658 B
Plaintext
37 lines
658 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@progress-prefix-cls: ~'@{ant-prefix}-progress';
|
|
|
|
.@{progress-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
&-outer {
|
|
.@{progress-prefix-cls}-show-info & {
|
|
.@{progress-prefix-cls}-rtl& {
|
|
margin-right: 0;
|
|
margin-left: ~'calc(-2em - 8px)';
|
|
padding-right: 0;
|
|
padding-left: ~'calc(2em + 8px)';
|
|
}
|
|
}
|
|
}
|
|
|
|
&-success-bg {
|
|
.@{progress-prefix-cls}-rtl & {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
&-text {
|
|
.@{progress-prefix-cls}-rtl & {
|
|
margin-right: 8px;
|
|
margin-left: 0;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|