add toast support to ModuleMessage
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user