Replace notifications Javascript code by CSS

This commit is contained in:
Frederic Guillot
2016-12-01 20:02:48 -05:00
parent 43243b1ded
commit 6135920a79
5 changed files with 12 additions and 12 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +0,0 @@
Kanboard.Notification = function(app) {
this.app = app;
};
Kanboard.Notification.prototype.execute = function() {
$(".alert-fade-out").delay(4000).fadeOut(800, function() {
$(this).remove();
});
};

View File

@@ -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