mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
b445baa001
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2. - [Release notes](https://github.com/prettier/stylelint-config-prettier/releases) - [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2) --- updated-dependencies: - dependency-name: stylelint-config-prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: autofix stylelint errors * chore: autofix stylelint errors Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
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;
|
|
}
|
|
}
|
|
}
|