Replace notifications Javascript code by CSS
This commit is contained in:
parent
43243b1ded
commit
6135920a79
|
|
@ -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
|
|
@ -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();
|
||||
});
|
||||
};
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue