mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-23 00:13:21 +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 {
|
#notification .alert {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0;
|
||||||
background-color: #FCF8E3;
|
background-color: #f1df83;
|
||||||
color: #9E9980;
|
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 {
|
#notification .close {
|
||||||
|
|
|
@ -110,8 +110,8 @@ window.Backend = window.Backend || {};
|
||||||
if (actions === undefined) {
|
if (actions === undefined) {
|
||||||
actions = [];
|
actions = [];
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('#notification').slideUp('slow');
|
$('#notification').fadeIn();
|
||||||
}, 7000);
|
}, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
var customActionsHtml = '';
|
var customActionsHtml = '';
|
||||||
|
@ -135,7 +135,7 @@ window.Backend = window.Backend || {};
|
||||||
'</div>';
|
'</div>';
|
||||||
|
|
||||||
$('#notification').html(notificationHtml);
|
$('#notification').html(notificationHtml);
|
||||||
$('#notification').show('blind');
|
$('#notification').show('fade');
|
||||||
}
|
}
|
||||||
|
|
||||||
})(window.Backend);
|
})(window.Backend);
|
||||||
|
|
Loading…
Reference in a new issue