ant-design/components/empty/style/index.less
陈帅 7b98df8075 fix: better typescript code, use svg components (#18036)
* better typescript code, use svg components

fix #18017

* snapshots updated

* snapshots updated
2019-08-02 21:37:26 +08:00

53 lines
746 B
Plaintext

@import '../../style/themes/index';
@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%;
}
svg {
height: 100%;
margin: auto;
}
}
&-description {
margin: 0;
}
&-footer {
margin-top: 16px;
}
// antd internal empty style
&-normal {
margin: 32px 0;
color: @disabled-color;
.@{empty-prefix-cls}-image {
height: 40px;
}
}
&-small {
margin: 8px 0;
color: @disabled-color;
.@{empty-prefix-cls}-image {
height: 35px;
}
}
}