2018-12-07 16:17:45 +08:00
|
|
|
@import '../../style/mixins/index';
|
2016-10-07 17:59:00 +08:00
|
|
|
|
2018-12-07 16:17:45 +08:00
|
|
|
@confirm-prefix-cls: ~'@{ant-prefix}-modal-confirm';
|
2016-05-05 15:03:24 +08:00
|
|
|
|
|
|
|
.@{confirm-prefix-cls} {
|
2016-09-14 16:18:33 +08:00
|
|
|
.@{ant-prefix}-modal-header {
|
2016-05-05 15:03:24 +08:00
|
|
|
display: none;
|
2016-09-20 08:58:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{ant-prefix}-modal-close {
|
|
|
|
display: none;
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
.@{ant-prefix}-modal-body {
|
2020-03-29 10:39:46 +08:00
|
|
|
padding: @modal-confirm-body-padding;
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
|
2016-10-07 17:59:00 +08:00
|
|
|
&-body-wrapper {
|
|
|
|
.clearfix();
|
|
|
|
}
|
|
|
|
|
2016-05-18 19:07:14 +08:00
|
|
|
&-body {
|
2016-05-05 15:03:24 +08:00
|
|
|
.@{confirm-prefix-cls}-title {
|
2018-03-21 17:33:53 +08:00
|
|
|
display: block;
|
|
|
|
// create BFC to avoid
|
|
|
|
// https://user-images.githubusercontent.com/507615/37702510-ba844e06-2d2d-11e8-9b67-8e19be57f445.png
|
2018-08-02 04:20:42 +08:00
|
|
|
overflow: hidden;
|
2019-02-15 10:48:07 +08:00
|
|
|
color: @heading-color;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: @font-size-lg;
|
|
|
|
line-height: 1.4;
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{confirm-prefix-cls}-content {
|
2019-02-15 10:48:07 +08:00
|
|
|
margin-top: 8px;
|
2016-05-05 15:03:24 +08:00
|
|
|
color: @text-color;
|
2019-02-15 10:48:07 +08:00
|
|
|
font-size: @font-size-base;
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
> .@{iconfont-css-prefix} {
|
2016-09-30 11:30:51 +08:00
|
|
|
float: left;
|
2019-02-15 10:48:07 +08:00
|
|
|
margin-right: 16px;
|
|
|
|
font-size: 22px;
|
2019-03-12 09:45:55 +08:00
|
|
|
|
|
|
|
// `content` after `icon` should set marginLeft
|
|
|
|
+ .@{confirm-prefix-cls}-title + .@{confirm-prefix-cls}-content {
|
|
|
|
margin-left: 38px;
|
|
|
|
}
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{confirm-prefix-cls}-btns {
|
|
|
|
float: right;
|
2019-02-15 10:48:07 +08:00
|
|
|
margin-top: 24px;
|
2016-05-05 15:03:24 +08:00
|
|
|
|
|
|
|
button + button {
|
|
|
|
margin-bottom: 0;
|
2019-02-15 10:48:07 +08:00
|
|
|
margin-left: 8px;
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
}
|
2016-05-18 19:07:14 +08:00
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-error &-body > .@{iconfont-css-prefix} {
|
2016-05-18 19:07:14 +08:00
|
|
|
color: @error-color;
|
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-warning &-body > .@{iconfont-css-prefix},
|
|
|
|
&-confirm &-body > .@{iconfont-css-prefix} {
|
2016-05-18 19:07:14 +08:00
|
|
|
color: @warning-color;
|
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-info &-body > .@{iconfont-css-prefix} {
|
2017-03-23 13:57:14 +08:00
|
|
|
color: @info-color;
|
2016-05-18 19:07:14 +08:00
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-success &-body > .@{iconfont-css-prefix} {
|
2016-05-18 19:07:14 +08:00
|
|
|
color: @success-color;
|
|
|
|
}
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|