Notifications

This commit is contained in:
2025-02-03 18:07:00 -08:00
parent d3977958ed
commit 0fea2069f1
5 changed files with 149 additions and 1 deletions

View File

@@ -10,6 +10,9 @@ window {
> centerbox {
background: $background-1;
}
icon {
font-size: 24px;
}
}
button {
@@ -303,3 +306,34 @@ button {
border: 2px solid $highlight-3;
border-radius: 8px;
}
@keyframes notifIn {
0% {
margin-right: -352px;
}
}
@keyframes glowIn {
from {
background: white;
box-shadow: 0 0 10px 4px white;
}
}
.notifBox {
animation: notifIn cubic-bezier(0.34, 1.4, 0.64, 1) 0.4s, glowIn ease-in 0.3s;
transition: margin cubic-bezier(0.34, 1.4, 0.64, 1) 0.4s;
background: $background-3;
border-radius: 10px;
padding: 8px;
box-shadow: 0 0 10px 4px black;
min-width: 300px;
margin: 12px 12px 40px 40px;
}
.notifIcon {
min-width: 64px;
min-height: 64px;
margin: 8px;
background-size: contain;
border-radius: 10px;
}