|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@list-prefix-cls: ~'@{ant-prefix}-list';
|
|
|
|
|
|
|
|
.@{list-prefix-cls} {
|
|
|
|
.reset-component;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
* {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-pagination {
|
|
|
|
margin-top: 24px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-more {
|
|
|
|
margin-top: 12px;
|
|
|
|
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;
|
|
|
|
padding: @list-item-padding;
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
color: @text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-meta {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
align-items: flex-start;
|
|
|
|
font-size: 0;
|
|
|
|
&-avatar {
|
|
|
|
margin-right: @list-item-meta-avatar-margin-right;
|
|
|
|
}
|
|
|
|
&-content {
|
|
|
|
flex: 1 0;
|
|
|
|
}
|
|
|
|
&-title {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
color: @text-color;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
line-height: 22px;
|
|
|
|
> a {
|
|
|
|
color: @text-color;
|
|
|
|
transition: all 0.3s;
|
|
|
|
&:hover {
|
|
|
|
color: @primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-description {
|
|
|
|
color: @text-color-secondary;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-action {
|
|