mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-06 14:07:40 +08:00
1659aef02d
* chore: sync ant-design v4.20.7 * fix style build * clean the style * fix dropdown overlay * remove cdk styles * fix dropdown overwrite styles * fix doc styles
75 lines
1.4 KiB
Plaintext
75 lines
1.4 KiB
Plaintext
@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;
|
|
}
|
|
.@{ant-prefix}-btn + .@{ant-prefix}-btn {
|
|
.@{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;
|
|
}
|
|
.@{ant-prefix}-btn + .@{ant-prefix}-btn {
|
|
.@{dialog-wrap-rtl-cls} & {
|
|
margin-right: 8px;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{dialog-prefix-cls}-centered {
|
|
.@{dialog-prefix-cls} {
|
|
.@{dialog-wrap-rtl-cls}& {
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|