add toast support to ModuleMessage

This commit is contained in:
sbwalker
2025-09-15 16:42:37 -04:00
parent f9741a82bd
commit a528e5eab2
4 changed files with 111 additions and 22 deletions

View File

@ -286,3 +286,34 @@ app {
top: 0;
right: 5px;
}
.app-modulemessage-toast {
position: fixed;
width: 350px;
z-index: 1000;
animation: slide-in 0.5s ease-out, slide-out 0.5s ease-in 5s forwards;
}
@keyframes slide-in {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slide-out {
from {
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(100%);
opacity: 0;
}
}