vant-weapp/dist/vsteps/index.wxss
pangxie1991 f2c91d53ed vsteps
2016-12-23 14:45:42 +08:00

79 lines
1.1 KiB
Plaintext

.zui-vsteps {
position: relative;
padding: 15px;
color: #999;
font-size: 14px;
}
.zui-vsteps::after {
left: 42px;
}
.zui-vsteps--active {
color: #44BB00;
}
.zui-vsteps__line {
position: absolute;
top: 0;
bottom: 0;
left: 22px;
width: 1px;
background-color: #e5e5e5;
}
.zui-vsteps__content {
padding-left: 27px;
}
.zui-vsteps__icons {
position: absolute;
left: 22px;
top: 50%;
transform: translate(-50%, -50%);
z-index: 2;
font-size: 0;
line-height: 0;
padding: 3px 0;
background-color: #fff;
}
.zui-vsteps__icon {
}
.zui-vsteps__icon--normal {
width: 5px;
height: 5px;
background-color: #cacaca;
border-radius: 10px;
}
.zui-vsteps__icon--active {
width: 13px;
height: 13px;
}
.zui-vsteps--first-child .zui-vsteps__title::before {
content: '';
position: absolute;
top: 0;
bottom: 50%;
left: 22px;
width: 1px;
background-color: #fff;
z-index: 1;
}
.zui-vsteps--last-child .zui-vsteps__title::before {
content: '';
position: absolute;
top: 50%;
bottom: 0%;
left: 22px;
width: 1px;
background-color: #fff;
z-index: 1;
}