wetrade-design
Version:
一款多语言支持Vue3的UI框架
341 lines (340 loc) • 7 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/** gray-sp */
/** blue-sp */
/** green-sp */
/** red-sp */
/** orange-sp */
/** 品牌橙 */
/** 日落黄 */
/** 柠檬黄 */
/** 新生绿 */
/** 绿色 */
/** 碧涛青 */
/** 海蔚蓝 */
/** 品牌蓝色 */
/** 宝石蓝 */
/** 星空紫 */
/** 罗兰紫 */
/** 青春紫 */
/** 品红 */
/** 红色 */
/** 灰色 */
/** 保留ant色板 */
/** 绿色 */
/** 品牌蓝 */
.wd-list {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #1E1E29;
font-size: 14px;
font-variant: tabular-nums;
line-height: 18px;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
}
.wd-list * {
outline: none;
}
.wd-list-pagination {
margin-top: 24px;
text-align: right;
}
.wd-list-pagination .wd-pagination-options {
text-align: left;
}
.wd-list-more {
margin-top: 12px;
text-align: center;
}
.wd-list-more button {
padding-right: 32px;
padding-left: 32px;
}
.wd-list-spin {
min-height: 40px;
text-align: center;
}
.wd-list-empty-text {
padding: 16px;
color: #C7CBD6;
font-size: 14px;
text-align: center;
}
.wd-list-items {
margin: 0;
padding: 0;
list-style: none;
}
.wd-list-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 0;
color: #1E1E29;
}
.wd-list-item-meta {
display: flex;
flex: 1;
align-items: flex-start;
max-width: 100%;
}
.wd-list-item-meta-avatar {
margin-right: 16px;
}
.wd-list-item-meta-content {
flex: 1 0;
width: 0;
color: #1E1E29;
}
.wd-list-item-meta-title {
margin-bottom: 4px;
color: #1E1E29;
font-size: 14px;
line-height: 18px;
}
.wd-list-item-meta-title > a {
color: #1E1E29;
transition: all 0.3s;
}
.wd-list-item-meta-title > a:hover {
color: #2469F2;
}
.wd-list-item-meta-description {
color: #575E73;
font-size: 14px;
line-height: 18px;
}
.wd-list-item-action {
flex: 0 0 auto;
margin-left: 48px;
padding: 0;
font-size: 0;
list-style: none;
}
.wd-list-item-action > li {
position: relative;
display: inline-block;
padding: 0 8px;
color: #575E73;
font-size: 14px;
line-height: 18px;
text-align: center;
}
.wd-list-item-action > li:first-child {
padding-left: 0;
}
.wd-list-item-action-split {
position: absolute;
top: 50%;
right: 0;
width: 1px;
height: 14px;
margin-top: -7px;
background-color: #EBEDF2;
}
.wd-list-header {
background: transparent;
}
.wd-list-footer {
background: transparent;
}
.wd-list-header,
.wd-list-footer {
padding-top: 12px;
padding-bottom: 12px;
}
.wd-list-empty {
padding: 16px 0;
color: #575E73;
font-size: 12px;
text-align: center;
}
.wd-list-split .wd-list-item {
border-bottom: 1px solid #EBEDF2;
}
.wd-list-split .wd-list-item:last-child {
border-bottom: none;
}
.wd-list-split .wd-list-header {
border-bottom: 1px solid #EBEDF2;
}
.wd-list-split.wd-list-empty .wd-list-footer {
border-top: 1px solid #EBEDF2;
}
.wd-list-loading .wd-list-spin-nested-loading {
min-height: 32px;
}
.wd-list-split.wd-list-something-after-last-item .wd-spin-container > .wd-list-items > .wd-list-item:last-child {
border-bottom: 1px solid #EBEDF2;
}
.wd-list-lg .wd-list-item {
padding: 16px 24px;
}
.wd-list-sm .wd-list-item {
padding: 8px 16px;
}
.wd-list-vertical .wd-list-item {
align-items: initial;
}
.wd-list-vertical .wd-list-item-main {
display: block;
flex: 1;
}
.wd-list-vertical .wd-list-item-extra {
margin-left: 40px;
}
.wd-list-vertical .wd-list-item-meta {
margin-bottom: 16px;
}
.wd-list-vertical .wd-list-item-meta-title {
margin-bottom: 12px;
color: #1E1E29;
font-size: 16px;
line-height: 24px;
}
.wd-list-vertical .wd-list-item-action {
margin-top: 16px;
margin-left: auto;
}
.wd-list-vertical .wd-list-item-action > li {
padding: 0 16px;
}
.wd-list-vertical .wd-list-item-action > li:first-child {
padding-left: 0;
}
.wd-list-grid .wd-col > .wd-list-item {
display: block;
max-width: 100%;
margin-bottom: 16px;
padding-top: 0;
padding-bottom: 0;
border-bottom: none;
}
.wd-list-item-no-flex {
display: block;
}
.wd-list:not(.wd-list-vertical) .wd-list-item-no-flex .wd-list-item-action {
float: right;
}
.wd-list-bordered {
border: 1px solid #EBEDF2;
border-radius: 6px;
}
.wd-list-bordered .wd-list-header {
padding-right: 24px;
padding-left: 24px;
}
.wd-list-bordered .wd-list-footer {
padding-right: 24px;
padding-left: 24px;
}
.wd-list-bordered .wd-list-item {
padding-right: 24px;
padding-left: 24px;
}
.wd-list-bordered .wd-list-pagination {
margin: 16px 24px;
}
.wd-list-bordered.wd-list-sm .wd-list-item {
padding: 8px 16px;
}
.wd-list-bordered.wd-list-sm .wd-list-header,
.wd-list-bordered.wd-list-sm .wd-list-footer {
padding: 8px 16px;
}
.wd-list-bordered.wd-list-lg .wd-list-item {
padding: 16px 24px;
}
.wd-list-bordered.wd-list-lg .wd-list-header,
.wd-list-bordered.wd-list-lg .wd-list-footer {
padding: 16px 24px;
}
@media screen and (max-width: 769px) {
.wd-list-item-action {
margin-left: 24px;
}
.wd-list-vertical .wd-list-item-extra {
margin-left: 24px;
}
}
@media screen and (max-width: 577px) {
.wd-list-item {
flex-wrap: wrap;
}
.wd-list-item-action {
margin-left: 12px;
}
.wd-list-vertical .wd-list-item {
flex-wrap: wrap-reverse;
}
.wd-list-vertical .wd-list-item-main {
min-width: 220px;
}
.wd-list-vertical .wd-list-item-extra {
margin: auto auto 16px;
}
}
.wd-list-rtl {
direction: rtl;
text-align: right;
}
.wd-list-rtl .ReactVirtualized__List .wd-list-item {
direction: rtl;
}
.wd-list-rtl .wd-list-pagination {
text-align: left;
}
.wd-list-rtl .wd-list-item-meta-avatar {
margin-right: 0;
margin-left: 16px;
}
.wd-list-rtl .wd-list-item-action {
margin-right: 48px;
margin-left: 0;
}
.wd-list.wd-list-rtl .wd-list-item-action > li:first-child {
padding-right: 0;
padding-left: 16px;
}
.wd-list-rtl .wd-list-item-action-split {
right: auto;
left: 0;
}
.wd-list-rtl.wd-list-vertical .wd-list-item-extra {
margin-right: 40px;
margin-left: 0;
}
.wd-list-rtl.wd-list-vertical .wd-list-item-action {
margin-right: auto;
}
.wd-list-rtl .wd-list-vertical .wd-list-item-action > li:first-child {
padding-right: 0;
padding-left: 16px;
}
.wd-list-rtl .wd-list:not(.wd-list-vertical) .wd-list-item-no-flex .wd-list-item-action {
float: left;
}
@media screen and (max-width: 769px) {
.wd-list-rtl .wd-list-item-action {
margin-right: 24px;
margin-left: 0;
}
.wd-list-rtl .wd-list-vertical .wd-list-item-extra {
margin-right: 24px;
margin-left: 0;
}
}
@media screen and (max-width: 577px) {
.wd-list-rtl .wd-list-item-action {
margin-right: 22px;
margin-left: 0;
}
.wd-list-rtl.wd-list-vertical .wd-list-item-extra {
margin: auto auto 16px;
}
}