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 -5
View File
@@ -9,24 +9,23 @@
&__nav {
width: 143px;
/*float: left;*/
position: absolute;
left: 0;
top: 0;
bottom: 0;
overflow: scroll;
background-color: $c-white;
background-color: $white;
-webkit-overflow-scrolling: touch;
}
&__nitem {
line-height: 44px;
padding: 0 15px;
background-color: $c-white;
background-color: $white;
@mixin multi-ellipsis 1;
&--active {
background-color: $c-background;
background-color: $background-color;
}
}
@@ -52,7 +51,7 @@
&__selected {
float: right;
position: absolute;
right: 0px;
right: 0;
top: 0;
bottom: 0;
}