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} & {
|
2022-05-02 10:46:36 +08:00
|
|
|
// right: initial;
|
|
|
|
// left: 0;
|
2020-03-18 18:15:13 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-footer {
|
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
2022-05-02 10:46:36 +08:00
|
|
|
// text-align: left;
|
2020-03-18 18:15:13 +08:00
|
|
|
}
|
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} & {
|
2022-05-02 10:46:36 +08:00
|
|
|
// margin-right: 8px;
|
|
|
|
// margin-left: 0;
|
2020-03-18 18:15:13 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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;
|
2022-05-02 10:46:36 +08:00
|
|
|
// margin-right: 0;
|
|
|
|
// margin-left: 16px;
|
2020-06-03 17:20:04 +08:00
|
|
|
}
|
|
|
|
+ .@{confirm-prefix-cls}-title + .@{confirm-prefix-cls}-content {
|
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
2022-05-02 10:46:36 +08:00
|
|
|
// margin-right: 38px;
|
|
|
|
// margin-left: 0;
|
2020-06-03 17:20:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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} & {
|
2022-05-02 10:46:36 +08:00
|
|
|
// margin-right: 8px;
|
|
|
|
// margin-left: 0;
|
2020-06-03 17:20:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-18 18:15:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{dialog-prefix-cls}-centered {
|
|
|
|
.@{dialog-prefix-cls} {
|
|
|
|
.@{dialog-wrap-rtl-cls}& {
|
2022-05-02 10:46:36 +08:00
|
|
|
// text-align: right;
|
2020-03-18 18:15:13 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|