依赖更新 && 构建调整 (#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
This commit is contained in:
neverland
2017-07-28 11:02:33 +08:00
committed by Yao
parent 31bc31af81
commit 50983ca28e
68 changed files with 3678 additions and 3149 deletions
+37 -39
View File
@@ -1,50 +1,48 @@
@import "./common/var.css";
@component-namespace van {
@b radio {
overflow: hidden;
.van-radio {
overflow: hidden;
@m disabled {
.van-icon {
color: #d1dbe5;
}
}
&__input {
position: relative;
height: 22px;
float: left;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@e input {
position: relative;
height: 22px;
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;
}
@e control {
position: absolute;
top: 0;
left: 0;
width: 22px;
height: 22px;
opacity: 0;
margin: 0;
}
&__label {
line-height: 22px;
display: block;
margin-left: 37px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@e label {
line-height: 22px;
display: block;
margin-left: 37px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.van-icon {
font-size: 22px;
line-height: 1;
}
.van-icon-checked {
color: $c-green;
}
.van-icon-check {
color: $c-gray-dark;
}
&--disabled {
.van-icon {
font-size: 22px;
line-height: 1;
}
.van-icon-checked {
color: $c-green;
}
.van-icon-check {
color: $c-gray-dark;
color: #d1dbe5;
}
}
}