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

62 lines
1.1 KiB
Plaintext
Raw Normal View History

@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-body {
2016-05-05 15:03:24 +08:00
padding: 30px 40px;
}
2016-05-18 19:07:14 +08:00
&-body {
2016-05-05 15:03:24 +08:00
.@{confirm-prefix-cls}-title {
color: @text-color;
font-weight: bold;
font-size: 14px;
}
.@{confirm-prefix-cls}-content {
margin-left: 37px;
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;
margin-right: 10px;
padding: 0 1px;
position: relative;
top: 5px;
}
}
.@{confirm-prefix-cls}-btns {
margin-top: 30px;
float: right;
button + button {
margin-left: 10px;
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} {
2016-05-18 19:07:14 +08:00
color: @primary-color;
}
&-success &-body > .@{iconfont-css-prefix} {
2016-05-18 19:07:14 +08:00
color: @success-color;
}
2016-05-05 15:03:24 +08:00
}