vant/packages/vant-css/src/checkbox.css
neverland 50983ca28e 依赖更新 && 构建调整 (#60)
* upgrade dependencies

* 更改所有 saladcss 写法

* fix: 升级依赖导致的样式错误

* fix: build vant css

* use es module when pack && webpack scope hoisting

* fix: vue module version

* delete unused npm script

* fix: build:vant script not work

* fix: webpack config format

* fix: build minify vant.js

* fix: captain ui relative link
2017-07-28 11:02:33 +08:00

50 lines
718 B
CSS

@import './common/var.css';
.van-checkbox {
overflow: hidden;
.van-icon {
font-size: 22px;
line-height: 1;
}
.van-icon-checked {
color: $c-green;
}
.van-icon-check {
color: $c-gray-dark;
}
&--disabled {
.van-icon {
color: #d1dbe5;
}
}
&__input {
position: relative;
height: 22px;
margin-right: 15px;
float: left;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
&__control {
position: absolute;
top: 0;
left: 0;
width: 22px;
height: 22px;
opacity: 0;
margin: 0;
}
&__label {
line-height: 22px;
margin-left: 37px;
display: block;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
}