vant components

This commit is contained in:
cookfront
2017-04-19 17:46:40 +08:00
parent 06e333eb3e
commit 5e7ea19b1a
42 changed files with 2382 additions and 2 deletions
+49
View File
@@ -0,0 +1,49 @@
@import './common/var.css';
@component-namespace van {
@b checkbox {
overflow: hidden;
@m disabled {
.van-icon {
color: #d1dbe5;
}
}
@e input {
position: relative;
height: 22px;
margin-right: 15px;
float: left;
}
@e control {
position: absolute;
top: 0;
left: 0;
width: 22px;
height: 22px;
opacity: 0;
margin: 0;
}
@e label {
line-height: 22px;
margin-left: 37px;
display: block;
}
.van-icon {
font-size: 22px;
line-height: 1;
}
.van-icon-checked {
color: $c-green;
}
.van-icon-check {
color: $c-gray-dark;
}
}
}