mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 18:08:34 +08:00
bdceb5f083
* Fix style * Fix style * fix lint * Fix more styles * Fix more styles * update snap
71 lines
1.2 KiB
Plaintext
71 lines
1.2 KiB
Plaintext
@import "../../style/mixins/index";
|
|
|
|
@confirm-prefix-cls: ~"@{ant-prefix}-confirm";
|
|
|
|
.@{confirm-prefix-cls} {
|
|
.@{ant-prefix}-modal-header {
|
|
display: none;
|
|
}
|
|
|
|
.@{ant-prefix}-modal-close {
|
|
display: none;
|
|
}
|
|
|
|
.@{ant-prefix}-modal-body {
|
|
padding: 32px 32px 24px;
|
|
}
|
|
|
|
&-body-wrapper {
|
|
.clearfix();
|
|
}
|
|
|
|
&-body {
|
|
.@{confirm-prefix-cls}-title {
|
|
color: @heading-color;
|
|
font-weight: 500;
|
|
font-size: @font-size-lg;
|
|
}
|
|
|
|
.@{confirm-prefix-cls}-content {
|
|
margin-left: 38px;
|
|
font-size: @font-size-base;
|
|
color: @text-color;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
> .@{iconfont-css-prefix} {
|
|
font-size: 22px;
|
|
margin-right: 16px;
|
|
margin-top: 1px;
|
|
float: left;
|
|
}
|
|
}
|
|
|
|
.@{confirm-prefix-cls}-btns {
|
|
margin-top: 24px;
|
|
float: right;
|
|
|
|
button + button {
|
|
margin-left: 8px;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
&-error &-body > .@{iconfont-css-prefix} {
|
|
color: @error-color;
|
|
}
|
|
|
|
&-warning &-body > .@{iconfont-css-prefix},
|
|
&-confirm &-body > .@{iconfont-css-prefix} {
|
|
color: @warning-color;
|
|
}
|
|
|
|
&-info &-body > .@{iconfont-css-prefix} {
|
|
color: @info-color;
|
|
}
|
|
|
|
&-success &-body > .@{iconfont-css-prefix} {
|
|
color: @success-color;
|
|
}
|
|
}
|