Added "type" argument to flashNotification (to distinguish between error and info)

This commit is contained in:
Zef Hemel
2022-07-14 13:32:28 +02:00
parent d57a9e79de
commit a8274d225c
6 changed files with 51 additions and 21 deletions
+15 -5
View File
@@ -76,18 +76,28 @@ body {
display: flex;
flex-direction: row;
.status {
.notifications {
position: absolute;
font-family: "iA-Mono";
bottom: 45px;
left: 5px;
right: 5px;
background-color: rgb(187, 221, 247);
border: rgb(41, 41, 41) 1px solid;
border-radius: 5px;
padding: 3px;
font-size: 15px;
z-index: 100;
> div {
padding: 3px;
margin-bottom: 3px;
border-radius: 5px;
border: rgb(41, 41, 41) 1px solid;
}
.notification-info {
background-color: rgb(187, 221, 247);
}
.notification-error {
background-color: rgb(255, 84, 84);
}
}
.current-page {