2020-03-18 18:15:13 +08:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@dialog-prefix-cls: ~'@{ant-prefix}-modal';
|
2020-06-03 17:20:04 +08:00
|
|
|
@confirm-prefix-cls: ~'@{ant-prefix}-modal-confirm';
|
2020-03-18 18:15:13 +08:00
|
|
|
@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;
|
|
|
|
}
|
2021-03-09 20:51:43 +08:00
|
|
|
.@{ant-prefix}-btn + .@{ant-prefix}-btn {
|
2020-03-18 18:15:13 +08:00
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-03 17:20:04 +08:00
|
|
|
|
|
|
|
&-confirm {
|
|
|
|
&-body {
|
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
> .@{iconfont-css-prefix} {
|
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
+ .@{confirm-prefix-cls}-title + .@{confirm-prefix-cls}-content {
|
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
|
|
margin-right: 38px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2020-06-03 17:20:04 +08:00
|
|
|
&-btns {
|
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
|
|
float: left;
|
|
|
|
}
|
2021-03-09 20:51:43 +08:00
|
|
|
.@{ant-prefix}-btn + .@{ant-prefix}-btn {
|
2020-06-03 17:20:04 +08:00
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-18 18:15:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{dialog-prefix-cls}-centered {
|
|
|
|
.@{dialog-prefix-cls} {
|
|
|
|
.@{dialog-wrap-rtl-cls}& {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|