antd
Version:
An enterprise-class UI design language and React-based implementation
209 lines (208 loc) • 4.47 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */
.ant-list-more,
.ant-list-pagination {
margin-top: 24px;
text-align: center;
}
.ant-list-more button {
padding-left: 32px;
padding-right: 32px;
}
.ant-list-spin {
text-align: center;
min-height: 48px;
}
.ant-list-item {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding-top: 24px;
padding-bottom: 24px;
}
.ant-list-item-meta {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 0;
}
.ant-list-item-meta-avatar {
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
margin-right: 16px;
}
.ant-list-item-meta-content {
-webkit-box-flex: 1;
-ms-flex: 1 0;
flex: 1 0;
}
.ant-list-item-meta-title {
color: rgba(0, 0, 0, 0.65);
margin-bottom: 4px;
font-size: 12px;
line-height: 22px;
}
.ant-list-item-meta-title a {
color: rgba(0, 0, 0, 0.65);
}
.ant-list-item-meta-title a:hover {
color: #108ee9;
}
.ant-list-item-meta-description {
color: rgba(0, 0, 0, 0.43);
font-size: 12px;
line-height: 22px;
}
.ant-list-item-content {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
}
.ant-list-item-content-single {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
}
.ant-list-item-action {
font-size: 0;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
margin-left: 48px;
}
.ant-list-item-action > li {
display: inline-block;
color: rgba(0, 0, 0, 0.43);
cursor: pointer;
padding: 0 8px;
position: relative;
font-size: 12px;
line-height: 22px;
text-align: center;
}
.ant-list-item-action > li:first-child {
padding-left: 0;
}
.ant-list-item-action-split {
background-color: #e9e9e9;
margin-top: -7px;
position: absolute;
top: 50%;
right: 0;
width: 1px;
height: 14px;
}
.ant-list-item-main {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.ant-list-item-extra {
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
}
.ant-list-bordered .ant-list-item {
border-bottom: 1px solid #e9e9e9;
padding-bottom: 23px;
}
.ant-list-vertical .ant-list-item {
display: block;
}
.ant-list-vertical .ant-list-item-extra-wrap {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.ant-list-vertical .ant-list-item-main {
display: block;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.ant-list-vertical .ant-list-item-extra {
margin-left: 58px;
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
}
.ant-list-vertical .ant-list-item-meta {
margin-bottom: 16px;
}
.ant-list-vertical .ant-list-item-meta-avatar {
display: none;
}
.ant-list-vertical .ant-list-item-meta-title {
color: rgba(0, 0, 0, 0.85);
margin-bottom: 12px;
font-size: 14px;
line-height: 24px;
}
.ant-list-vertical .ant-list-item-content {
display: block;
color: rgba(0, 0, 0, 0.65);
font-size: 12px;
margin-bottom: 16px;
}
.ant-list-vertical .ant-list-item-action {
margin-left: auto;
}
.ant-list-vertical .ant-list-item-action > li {
padding: 0 16px;
}
.ant-list-vertical .ant-list-item-action > li:first-child {
padding-left: 0;
}
.ant-list-grid .ant-list-item {
border-bottom: none;
padding-top: 0;
padding-bottom: 0;
margin-bottom: 24px;
}
.ant-list-grid .ant-list-item-content {
display: block;
}
@media screen and (max-width: 768px) {
.ant-list-item-action {
margin-left: 24px;
}
.ant-list-vertical .ant-list-item-extra {
margin-left: 24px;
}
}
@media screen and (max-width: 480px) {
.ant-list-item {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.ant-list-item-action {
margin-left: 12px;
}
.ant-list-vertical .ant-list-item-extra-wrap {
-ms-flex-wrap: wrap-reverse;
flex-wrap: wrap-reverse;
}
.ant-list-vertical .ant-list-item-main {
min-width: 220px;
}
.ant-list-vertical .ant-list-item-extra {
margin-left: 0;
}
}