MusicTopus/sass/toast.scss

37 lines
555 B
SCSS
Raw Normal View History

2022-02-15 11:03:20 +01:00
#toastr {
visibility: hidden;
min-width: 250px;
2022-02-15 16:45:14 +01:00
max-width: 360px;
2022-02-15 11:03:20 +01:00
position: fixed;
2022-02-15 16:45:14 +01:00
z-index: 31;
2022-02-15 11:03:20 +01:00
right: 30px;
top: 30px;
font-size: 17px;
&.show {
visibility: visible;
animation: toastrFadein 0.5s, toastrFadeout 0.5s 2.5s;
}
}
@keyframes toastrFadein {
from {
top: 0;
opacity: 0;
}
to {
top: 30px;
opacity: 1;
}
}
@keyframes toastrFadeout {
from {
top: 30px;
opacity: 1;
}
to {
top: 0;
opacity: 0;
}
}