Replace notifications Javascript code by CSS
This commit is contained in:
@@ -5,6 +5,7 @@ Improvements:
|
|||||||
|
|
||||||
* Add button to close inline popups
|
* Add button to close inline popups
|
||||||
* Simplify `.htaccess` to avoid potential issues with possible specific Apache configurations
|
* Simplify `.htaccess` to avoid potential issues with possible specific Apache configurations
|
||||||
|
* Replace notifications Javascript code by CSS
|
||||||
|
|
||||||
Breaking changes:
|
Breaking changes:
|
||||||
|
|
||||||
|
|||||||
2
assets/css/app.min.css
vendored
2
assets/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
4
assets/js/app.min.js
vendored
4
assets/js/app.min.js
vendored
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-width: 1px 0 0
|
||||||
border-radius: 4px 4px 0 0
|
border-radius: 4px 4px 0 0
|
||||||
z-index: 9999
|
z-index: 9999
|
||||||
|
opacity: 1
|
||||||
|
animation: fadeout 5s linear forwards
|
||||||
|
|
||||||
|
@keyframes fadeout
|
||||||
|
0%
|
||||||
|
opacity: 1
|
||||||
|
100%
|
||||||
|
opacity: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user