ant-design/components/empty/style/index.less
2019-02-18 11:17:24 +08:00

52 lines
784 B
Plaintext

@import '../../style/themes/default';
@import '../../style/mixins/index';
@empty-prefix-cls: ~'@{ant-prefix}-empty';
.@{empty-prefix-cls} {
margin: 0 8px;
font-size: @empty-font-size;
line-height: 22px;
text-align: center;
&-image {
height: 100px;
margin-bottom: 8px;
img {
height: 100%;
}
}
&-description {
margin: 0;
}
&-footer {
margin-top: 16px;
}
// antd internal empty style
&-small {
margin: 8px 0;
.@{empty-prefix-cls}-image {
height: 35px;
}
}
&-normal {
margin: 32px 0;
.@{empty-prefix-cls}-image {
height: 40px;
}
}
}
// Patch for popup adjust
.@{ant-prefix}-select-dropdown--empty .@{ant-prefix}-select-dropdown-menu-item {
padding-right: 0;
padding-left: 0;
}