From 6135920a7904882ce52301e422743cf2c8f24049 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 1 Dec 2016 20:02:48 -0500 Subject: Replace notifications Javascript code by CSS --- assets/sass/_alert.sass | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'assets/sass') diff --git a/assets/sass/_alert.sass b/assets/sass/_alert.sass index 5a90c825..6de1c2f6 100644 --- a/assets/sass/_alert.sass +++ b/assets/sass/_alert.sass @@ -48,3 +48,11 @@ border-width: 1px 0 0 border-radius: 4px 4px 0 0 z-index: 9999 + opacity: 1 + animation: fadeout 5s linear forwards + +@keyframes fadeout + 0% + opacity: 1 + 100% + opacity: 0 -- cgit v1.2.3