picker component

This commit is contained in:
cookfront
2017-02-20 17:05:43 +08:00
parent 10768acc9f
commit a0910a754e
4 changed files with 83 additions and 11 deletions
+36
View File
@@ -30,6 +30,42 @@
}
}
.z-picker-center-highlight {
box-sizing: border-box;
position: absolute;
left: 0;
width: 100%;
top: 50%;
margin-top: -18px;
pointer-events: none;
}
.z-picker-center-highlight:before,
.z-picker-center-highlight:after {
content: '';
position: absolute;
height: 1px;
width: 100%;
background-color: #eaeaea;
display: block;
z-index: 15;
transform: scaleY(0.5);
}
.z-picker-center-highlight:before {
left: 0;
top: 0;
bottom: auto;
right: auto;
}
.z-picker-center-highlight:after {
left: 0;
bottom: 0;
right: auto;
top: auto;
}
@b picker-column {
font-size: 18px;
overflow: hidden;