@jdcfe/yep-react
Version:
一套移动端的React组件库
108 lines (106 loc) • 2.33 kB
CSS
@charset "UTF-8";
.Yep-cell {
border-radius: 24px;
background-color: #fff;
}
.Yep-cell div:not(:last-child) .Yep-cell-line {
position: relative;
}
.Yep-cell div:not(:last-child) .Yep-cell-line:before {
content: "";
display: block;
position: absolute;
width: 100%;
left: 0;
bottom: 0;
height: 1PX;
background-color: #DADADA;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
pointer-events: none;
}
.Yep-cell-item.Yep-cell-item-disabled .Yep-cell-line .Yep-cell-content {
color: #bbb;
}
.Yep-cell-item {
position: relative;
display: flex;
padding-left: 36px;
padding-top: 48px;
background-color: #fff;
vertical-align: middle;
overflow: hidden;
transition: background-color 200ms;
align-items: flex-start;
border-radius: 24px;
/* cell左图片显示*/
}
.Yep-cell-item.Yep-cell-item-top .Yep-cell-line {
align-items: flex-start;
}
.Yep-cell-item.Yep-cell-item-middle .Yep-cell-line {
align-items: center;
}
.Yep-cell-item.Yep-cell-item-active {
background-color: #ddd;
}
.Yep-cell-item .Yep-cell-label {
color: #262626;
font-size: 26px;
font-weight: bold;
}
.Yep-cell-item .Yep-cell-label:first-child {
margin-right: 24px;
}
.Yep-cell-item .Yep-cell-label:last-child {
margin-left: 16px;
}
.Yep-cell-item .Yep-cell-line {
position: relative;
display: flex;
flex: 1;
align-self: stretch;
padding-right: 30px;
overflow: hidden;
padding-bottom: 48px;
/* cell左侧主内容*/
/* 辅助性文字*/
/* cell右侧箭头*/
}
.Yep-cell-item .Yep-cell-line .Yep-cell-content {
flex: 1;
color: #262626;
font-size: 26px;
line-height: 26px;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.Yep-cell-item .Yep-cell-line .Yep-cell-brief {
color: #848484;
font-size: 24px;
line-height: 1.5;
margin-top: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.Yep-cell-item .Yep-cell-line .Yep-cell-arrow {
display: block;
width: 36px;
height: 26px;
margin-left: 34px;
visibility: visible;
}
.Yep-cell-item .Yep-cell-line .Yep-cell-arrow .Yep-icon {
color: #262626;
width: 36px;
height: 26px;
}
.Yep-cell-item .Yep-cell-line-wrap .Yep-cell-content {
white-space: normal;
}
.Yep-cell-item .Yep-cell-line-wrap .Yep-cell-extra {
white-space: normal;
}