hc-materials
Version:
基于react的通用组件库
54 lines (43 loc) • 838 B
text/less
@import '../../../theme.less';
@result-prefix-cls: ~'@{hc-prefix}-result';
.@{result-prefix-cls} {
text-align: center;
width: 72%;
margin: 0 auto;
&-icon {
font-size: 72px;
line-height: 72px;
margin-bottom: 24px;
& > .success {
color: @success-color;
}
& > .error {
color: @error-color;
}
}
&-title {
font-size: 24px;
color: @heading-color;
font-weight: 500;
line-height: 32px;
margin-bottom: 16px;
}
&-description {
font-size: 14px;
line-height: 22px;
color: @text-color-secondary;
margin-bottom: 24px;
}
&-extra {
background: #fafafa;
padding: 24px 40px;
border-radius: @border-radius-sm;
text-align: left;
}
&-actions {
margin-top: 32px;
button:not(:last-child) {
margin-right: 8px;
}
}
}