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
+9 -9
View File
@@ -4,23 +4,26 @@
position: fixed;
z-index: 3001;
border-radius: 5px;
background-color: #272727;
opacity: .7;
background-color: rgb(39, 39, 39, .7);
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
font-size: 12px;
color: $c-white;
color: $white;
text-align: center;
line-height: 12px;
&-wrapper {
transition: opacity .2s;
}
&__overlay {
position: fixed;
left: 0;
top: 0;
background: transparent;
height: 100vh;
width: 100vh;
height: 100%;
width: 100%;
z-index: 3000;
}
@@ -28,7 +31,7 @@
padding: 45px;
}
&--text, html {
&--text {
padding: 12px;
min-width: 200px;
}
@@ -50,9 +53,6 @@
}
}
.van-toast-fade-enter-active, .van-toast-fade-leave-active {
transition: opacity .2s;
}
.van-toast-fade-enter, .van-toast-fade-leave-to {
opacity: 0;
}