ant-design/components/modal/style/rtl.less
xrkffgg 41eacdfff0
style: add rtl.less of Drawer\Modal\Progress\Result (#22354)
* 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
2020-03-18 18:15:13 +08:00

41 lines
676 B
Plaintext

@import '../../style/themes/index';
@import '../../style/mixins/index';
@dialog-prefix-cls: ~'@{ant-prefix}-modal';
@dialog-wrap-rtl-cls: ~'@{dialog-prefix-cls}-wrap-rtl';
.@{dialog-prefix-cls} {
&-wrap {
&-rtl {
direction: rtl;
}
}
&-close {
.@{dialog-wrap-rtl-cls} & {
right: initial;
left: 0;
}
}
&-footer {
.@{dialog-wrap-rtl-cls} & {
text-align: left;
}
button + button {
.@{dialog-wrap-rtl-cls} & {
margin-right: 8px;
margin-left: 0;
}
}
}
}
.@{dialog-prefix-cls}-centered {
.@{dialog-prefix-cls} {
.@{dialog-wrap-rtl-cls}& {
text-align: right;
}
}
}