2016-10-07 17:59:00 +08:00
|
|
|
@import "../../style/mixins/index";
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
@confirm-prefix-cls: ~"@{ant-prefix}-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 {
|
2017-11-06 21:28:51 +08:00
|
|
|
padding: 32px 32px 24px;
|
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 {
|
2017-10-18 17:16:14 +08:00
|
|
|
color: @heading-color;
|
|
|
|
font-weight: 500;
|
2016-11-08 21:07:01 +08:00
|
|
|
font-size: @font-size-lg;
|
2018-09-06 23:14:14 +08:00
|
|
|
line-height: 1.4;
|
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;
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{confirm-prefix-cls}-content {
|
2018-09-06 23:14:14 +08:00
|
|
|
margin-left: 38px;
|
2016-05-05 15:03:24 +08:00
|
|
|
font-size: @font-size-base;
|
|
|
|
color: @text-color;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
> .@{iconfont-css-prefix} {
|
2018-09-06 23:14:14 +08:00
|
|
|
font-size: 22px;
|
2016-09-30 11:30:51 +08:00
|
|
|
margin-right: 16px;
|
|
|
|
float: left;
|
2016-05-05 15:03:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{confirm-prefix-cls}-btns {
|
2017-10-11 12:01:27 +08:00
|
|
|
margin-top: 24px;
|
2016-05-05 15:03:24 +08:00
|
|
|
float: right;
|
|
|
|
|
|
|
|
button + button {
|
2017-10-11 12:01:27 +08:00
|
|
|
margin-left: 8px;
|
2016-05-05 15:03:24 +08:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
}
|