You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@dialog-prefix-cls: ~'@{ant-prefix}-modal';
|
|
|
|
@confirm-prefix-cls: ~'@{ant-prefix}-modal-confirm';
|
|
|
|
@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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-btns {
|
|
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
|
|
float: 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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|