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
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
5 changed files with 12 additions and 12 deletions

View File

@ -5,6 +5,7 @@ Improvements:
* Add button to close inline popups
* Simplify `.htaccess` to avoid potential issues with possible specific Apache configurations
* Replace notifications Javascript code by CSS
Breaking changes:

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