mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-19 13:09:16 +08:00
92 lines
1.5 KiB
CSS
92 lines
1.5 KiB
CSS
@import './common/var.css';
|
|
@import './mixins/border_retina.css';
|
|
@import './icon.css';
|
|
|
|
@component-namespace van {
|
|
@b cell-group {
|
|
padding-left: 15px;
|
|
position: relative;
|
|
background-color: #fff;
|
|
|
|
&::after {
|
|
@mixin border-retina (top, bottom);
|
|
}
|
|
}
|
|
|
|
@b cell {
|
|
width: 100%;
|
|
display: table;
|
|
position: relative;
|
|
padding: 10px 15px 10px 0;
|
|
box-sizing: border-box;
|
|
line-height: 24px;
|
|
background-color: $c-white;
|
|
color: $c-black;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
overflow: hidden;
|
|
|
|
&::after {
|
|
@mixin border-retina (bottom);
|
|
}
|
|
|
|
&:last-child {
|
|
&::after {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
|
|
@e title {
|
|
display: table-cell;
|
|
}
|
|
|
|
@e label {
|
|
display: block;
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
color: $c-gray-darker;
|
|
}
|
|
|
|
@e value {
|
|
display: table-cell;
|
|
text-align: right;
|
|
vertical-align: middle;
|
|
overflow: hidden;
|
|
|
|
@m link {
|
|
padding-right: 20px;
|
|
}
|
|
|
|
@m alone {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
@m required {
|
|
overflow: visible;
|
|
|
|
&::before {
|
|
content: '*';
|
|
position: absolute;
|
|
left: -7px;
|
|
font-size: 14px;
|
|
color: #f44;
|
|
}
|
|
|
|
.van-cell__title {
|
|
float: none;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.van-icon-arrow {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 15px;
|
|
transform: translateY(-50%);
|
|
color: $c-gray-dark;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
}
|