feat: toast update

This commit is contained in:
jiangruowei
2017-03-22 16:53:57 +08:00
parent 7fb9a274de
commit 6728837bb2
5 changed files with 160 additions and 26 deletions
+17 -3
View File
@@ -3,7 +3,7 @@
@component-namespace zan {
@b toast {
position: fixed;
z-index: 3000;
z-index: 3001;
border-radius: 5px;
background-color: #272727;
opacity: .7;
@@ -13,6 +13,17 @@
font-size: 12px;
color: $c-white;
text-align: center;
line-height: 12px;
@e overlay {
position: fixed;
left: 0;
top: 0;
background: transparent;
height: 100vh;
width: 100vh;
z-index: 3000;
}
@m loading {
padding: 45px;
@@ -26,12 +37,15 @@
@m default {
width: 120px;
height: 120px;
.zan-toast__icon {
padding: 20px;
font-size: 36px;
padding-top: 20px;
font-size: 50px;
}
.zan-toast__text {
padding-bottom: 20px;
font-size: 14px;
}
}
}