vant-css: use hairline classes instead of mixins

This commit is contained in:
陈嘉涵
2017-09-05 10:50:17 +08:00
parent 99f712104e
commit 9dd8a93067
63 changed files with 414 additions and 466 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
@import './common/var.css';
@import './mixins/ellipsis.css';
.van-card {
color: #333;
color: $text-color;
height: 90px;
background: #fafafa;
position: relative;
@@ -58,7 +59,7 @@
}
&__desc {
color: #666;
color: $gray-darker;
font-size: 12px;
max-height: 20px;
@mixin multi-ellipsis 1;
@@ -77,7 +78,7 @@
}
&__num {
color: #666;
color: $gray-darker;
font-size: 12px;
}