Second attempt at fixing admin notifications

This commit is contained in:
purple 2023-07-24 15:46:39 +02:00
parent 8be073b935
commit 6d0ed89db6

View file

@ -1,16 +1,14 @@
@keyframes notification {
0% {right:-300px;opacity:0;background-color: #2a3743;display:none;}
1% {right:-300px;opacity:0;background-color: #2a3743;display:inline;}
10% {right:12px;opacity:1;background-color: #1f2933;display:inline;}
90% {right:12px;opacity:1;background-color: #1f2933;display:inline;}
99% {right:-300px;opacity:0;background-color: #2a3743;display:inline;}
100% {right:-300px;opacity:0;background-color: #2a3743;display:none;}
0% {right:-300px;top:62px;opacity:0;background-color: #2a3743;}
10% {right:12px;top:62px;opacity:1;background-color: #1f2933;}
90% {right:12px;top:62px;opacity:1;background-color: #1f2933;}
100% {right:-300px;top:62px;opacity:0;background-color: #2a3743;}
}
.notification {
opacity:0;
position:fixed;
right:12px;
right:-300px;
top:62px;
height:auto;
width:300px;