ant-design/components/modal/style/confirm.less

71 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-10-07 17:59:00 +08:00
@import "../../style/mixins/index";
@confirm-prefix-cls: ~"@{ant-prefix}-confirm";
2016-05-05 15:03:24 +08:00
.@{confirm-prefix-cls} {
.@{ant-prefix}-modal-header {
2016-05-05 15:03:24 +08:00
display: none;
}
.@{ant-prefix}-modal-close {
display: none;
2016-05-05 15:03:24 +08:00
}
.@{ant-prefix}-modal-body {
padding: 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 {
color: @heading-color;
font-weight: 500;
2016-11-08 21:07:01 +08:00
font-size: @font-size-lg;
2016-05-05 15:03:24 +08:00
}
.@{confirm-prefix-cls}-content {
2016-09-30 11:30:51 +08:00
margin-left: 42px;
2016-05-05 15:03:24 +08:00
font-size: @font-size-base;
color: @text-color;
margin-top: 8px;
}
> .@{iconfont-css-prefix} {
2016-05-05 15:03:24 +08:00
font-size: 24px;
2016-09-30 11:30:51 +08:00
margin-right: 16px;
2016-05-05 15:03:24 +08:00
padding: 0 1px;
2016-09-30 11:30:51 +08:00
float: left;
2016-05-05 15:03:24 +08:00
}
}
.@{confirm-prefix-cls}-btns {
margin-top: 24px;
2016-05-05 15:03:24 +08:00
float: right;
button + button {
margin-left: 8px;
2016-05-05 15:03:24 +08:00
margin-bottom: 0;
}
}
2016-05-18 19:07:14 +08:00
&-error &-body > .@{iconfont-css-prefix} {
2016-05-18 19:07:14 +08:00
color: @error-color;
}
&-warning &-body > .@{iconfont-css-prefix},
&-confirm &-body > .@{iconfont-css-prefix} {
2016-05-18 19:07:14 +08:00
color: @warning-color;
}
&-info &-body > .@{iconfont-css-prefix} {
color: @info-color;
2016-05-18 19:07:14 +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
}