diff --git a/src/assets/app.css b/src/assets/app.css
index 7d4a8bb..2233bd8 100644
--- a/src/assets/app.css
+++ b/src/assets/app.css
@@ -72,20 +72,21 @@ footer {
display: block;
margin-top: 1.5em;
}
-section[name=notifications] {
+section.notification-section {
display: block;
max-width: 70rem;
margin: 0 auto 1em;
}
-section[name=notifications] > .note {
+section.notification-section > .note {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1em 1.5em;
background-color: #0006;
border: .5em solid #000;
+ transition: opacity .5s ease, transform .3s ease;
}
-section[name=notifications] > .warning {
+section.notification-section > .warning {
border-color: red;
}
@@ -203,3 +204,12 @@ button.action-close {
margin: auto inherit;
text-align: center;
}
+
+.notifications-enter-from, .notifications-leave-to {
+ opacity: 0;
+ transform: translate(0, -100px);
+}
+.notifications-leave-from, .notifications-enter-to {
+ opacity: 1;
+ transform: translate(0, 0);
+}
diff --git a/src/components/Notifications.vue b/src/components/Notifications.vue
index 906dba0..9a416c3 100644
--- a/src/components/Notifications.vue
+++ b/src/components/Notifications.vue
@@ -1,11 +1,11 @@
-
{{ note.title }}