ant-design/components/empty/style/index.less

52 lines
784 B
Plaintext
Raw Normal View History

2018-12-26 16:01:00 +08:00
@import '../../style/themes/default';
@import '../../style/mixins/index';
@empty-prefix-cls: ~'@{ant-prefix}-empty';
.@{empty-prefix-cls} {
margin: 0 8px;
2018-12-26 16:01:00 +08:00
font-size: @empty-font-size;
line-height: 22px;
text-align: center;
2018-12-26 16:01:00 +08:00
&-image {
height: 100px;
margin-bottom: 8px;
2018-12-26 16:01:00 +08:00
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;
}
}
}
2019-01-07 22:04:18 +08:00
// Patch for popup adjust
2019-01-29 11:04:22 +08:00
.@{ant-prefix}-select-dropdown--empty .@{ant-prefix}-select-dropdown-menu-item {
padding-right: 0;
2019-02-18 11:17:24 +08:00
padding-left: 0;
2019-01-07 22:04:18 +08:00
}