58 lines
945 B
SCSS
58 lines
945 B
SCSS
.topDiv {
|
|
padding-top: 59px;
|
|
background: whitesmoke;
|
|
height: 100vh;
|
|
padding-left: 4px;
|
|
padding-right: 3px;
|
|
}
|
|
|
|
#toast {
|
|
visibility: hidden;
|
|
max-width: 250px;
|
|
height: 50px;
|
|
/*margin-left: -125px;*/
|
|
margin: auto;
|
|
background-color: #333;
|
|
color: #fff;
|
|
text-align: center;
|
|
border-radius: 2px;
|
|
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: 60%;
|
|
right: 0;
|
|
bottom: 80%;
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#toast #img {
|
|
width: 250px;
|
|
height: 50px;
|
|
|
|
float: left;
|
|
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: #111;
|
|
color: #fff;
|
|
}
|
|
#toast #desc {
|
|
color: #fff;
|
|
|
|
padding: 16px;
|
|
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#toast.show {
|
|
visibility: visible;
|
|
-webkit-animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 2s,
|
|
fadeout 0.5s 2.5s;
|
|
animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 4s,
|
|
fadeout 0.5s 4.5s;
|
|
}
|