mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 22:52:35 +03:00
Backend notifications shall be floating.
This commit is contained in:
parent
e8f0f57380
commit
b8b66c28da
2 changed files with 13 additions and 5 deletions
|
@ -105,9 +105,17 @@ root {
|
|||
}
|
||||
|
||||
#notification .alert {
|
||||
margin-bottom: 0px;
|
||||
background-color: #FCF8E3;
|
||||
margin-bottom: 0;
|
||||
background-color: #f1df83;
|
||||
color: #9E9980;
|
||||
box-shadow: 1px 1px 3px #a0a0a0;
|
||||
padding: 15px;
|
||||
position: absolute;
|
||||
z-index: 200;
|
||||
right: 15px;
|
||||
bottom: 15px;
|
||||
min-width: 300px;
|
||||
max-width: 750px;
|
||||
}
|
||||
|
||||
#notification .close {
|
||||
|
|
|
@ -110,8 +110,8 @@ window.Backend = window.Backend || {};
|
|||
if (actions === undefined) {
|
||||
actions = [];
|
||||
setTimeout(function() {
|
||||
$('#notification').slideUp('slow');
|
||||
}, 7000);
|
||||
$('#notification').fadeIn();
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
var customActionsHtml = '';
|
||||
|
@ -135,7 +135,7 @@ window.Backend = window.Backend || {};
|
|||
'</div>';
|
||||
|
||||
$('#notification').html(notificationHtml);
|
||||
$('#notification').show('blind');
|
||||
$('#notification').show('fade');
|
||||
}
|
||||
|
||||
})(window.Backend);
|
||||
|
|
Loading…
Reference in a new issue