38 lines
570 B
CSS
38 lines
570 B
CSS
/* Toast animations */
|
|
@keyframes slideIn {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideOut {
|
|
from {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.toast-enter {
|
|
animation: slideIn 0.3s ease-out;
|
|
}
|
|
|
|
.toast-exit {
|
|
animation: slideOut 0.3s ease-in;
|
|
}
|
|
|
|
#toast-container {
|
|
pointer-events: none;
|
|
}
|
|
|
|
#toast-container > div {
|
|
pointer-events: auto;
|
|
} |