|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
@import './customize.less';
|
|
|
|
|
|
|
|
@list-prefix-cls: ~'@{ant-prefix}-list';
|
|
|
|
|
|
|
|
.@{list-prefix-cls} {
|
|
|
|
.reset-component();
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
* {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-pagination {
|
|
|
|
margin-top: @margin-lg;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
// https://github.com/ant-design/ant-design/issues/20037
|
|
|
|
.@{ant-prefix}-pagination-options {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-more {
|
|
|
|
margin-top: @margin-sm;
|
|
|
|
text-align: center;
|
|
|
|
button {
|
|
|
|
padding-right: 32px;
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-spin {
|
|
|
|
min-height: 40px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-empty-text {
|
|
|
|
padding: @list-empty-text-padding;
|
|
|
|
color: @disabled-color;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-items {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: @list-item-padding;
|
|
|
|
color: @text-color;
|
|
|
|
|
|
|
|
&-meta {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
align-items: flex-start;
|
|
|
|
max-width: 100%;
|
|
|