ten-design-vue
Version:
ten-vue
187 lines (186 loc) • 3.52 kB
CSS
/* dependencies icon */
/**
* 文字部分
* size 大小,line 行高, color 颜色
*/
/* button */
/* input */
/* transfer */
/* alert */
/* menu */
/* message */
/* modal */
/* badge */
/* tag */
/* progress */
/* popup */
/* tooltip */
/* loading */
/* tabs */
/* check */
/* mention */
/* popup */
/* steps */
/* tabs */
/* modal */
/* form */
/* table */
/* pagination */
/* upload */
/* collapse */
/* anchor */
/* list */
.ten-list {
background-color: #ffffff;
}
.ten-list__header {
padding: 20px;
color: #333;
font-size: 16px;
line-height: 22px;
font-weight: 600;
padding-bottom: 0;
}
.ten-list__content {
padding: 20px;
}
.ten-list__item__text,
.ten-list__item__rich {
padding-top: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #e8e8e8;
display: flex;
align-items: center;
}
.ten-list__item__text-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 20%;
margin-right: 10px;
font-size: 14px;
color: #333;
line-height: 20px;
}
.ten-list__item__text-content {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
font-size: 14px;
color: #666;
line-height: 20px;
}
.ten-list__item__rich-thumb {
width: 40px;
height: 40px;
margin-right: 20px;
}
.ten-list__item__rich-thumb .ten-image__wrapper {
width: 100%;
height: 100%;
}
.ten-list__item__rich-thumb .ten-image__error {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.ten-list__item__rich-main {
flex: 1;
overflow: hidden;
}
.ten-list__item__rich-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 14px;
color: #333;
line-height: 20px;
margin-bottom: 6px;
}
.ten-list__item__rich-content {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 12px;
color: #999;
line-height: 1.21428571;
}
.ten-list__item__rich-more {
margin-left: 20px;
display: flex;
justify-content: space-between;
width: 40px;
font-size: 14px;
color: #666;
line-height: 20px;
}
.ten-list__item__rich-more .ten-icon {
cursor: pointer;
}
.ten-list__footer {
padding: 20px;
background-color: #FBFBFB;
}
.ten-list__content > .ten-list__row:last-child .ten-list__item__text,
.ten-list__content > .ten-list__row:last-child .ten-list__item__rich {
border-bottom: 0;
padding-bottom: 0;
}
.ten-list--card {
padding: 0;
background-color: transparent;
}
.ten-list--card .ten-list__header {
padding: 0 0 20px 0;
}
.ten-list--card .ten-list__content {
width: calc(100% + 10px + 10px);
margin-left: -10px;
margin-top: -10px;
padding: 0;
}
.ten-list--card .ten-card__content {
color: #999;
font-size: 14px;
line-height: 20px;
}
.ten-list--card .ten-card__footer {
text-align: left;
font-size: 12px;
color: #999;
line-height: 1.21428571;
}
.ten-list--card .ten-list__item {
margin: 10px;
}
.ten-list--card .ten-list__row {
display: flex;
}
.ten-list--card .ten-list__col {
align-self: stretch;
display: flex;
}
.ten-list--card .ten-list__col .ten-list__item {
flex: 1;
}
.ten-list--card .ten-list__item__card,
.ten-list--card .ten-card {
height: 100%;
display: flex;
flex-direction: column;
}
.ten-list--card .ten-card__content {
flex: 1;
}
.ten-list--infinite-scroll {
overflow: hidden;
}
.ten-list--infinite-scroll .ten-list__header {
padding-bottom: 20px;
box-shadow: 3px 3px 8px 2px rgba(0, 0, 0, 0.06);
}
.ten-list--infinite-scroll .ten-list__content {
overflow: auto;
}