Transparent update bar

This commit is contained in:
JonnyWong16 2018-02-16 10:58:00 -08:00
parent 7e81ce8c06
commit 60b362b19e
2 changed files with 4 additions and 3 deletions

View file

@ -3234,7 +3234,8 @@ div.dataTables_info {
color: #e9a049; color: #e9a049;
} }
#updatebar { #updatebar {
background-color: rgba(255,255,255,0.075); background-color: #444;
opacity: 0.95;
color: #999999; color: #999999;
font-size: 14px; font-size: 14px;
right: 10px; right: 10px;

View file

@ -26,7 +26,7 @@ function refreshTab() {
function showMsg(msg, loader, timeout, ms, error) { function showMsg(msg, loader, timeout, ms, error) {
var feedback = $("#ajaxMsg"); var feedback = $("#ajaxMsg");
update = $("#updatebar"); var update = $("#updatebar");
if (update.is(":visible")) { if (update.is(":visible")) {
var height = update.height() + 35; var height = update.height() + 35;
feedback.css("bottom", height + "px"); feedback.css("bottom", height + "px");
@ -35,7 +35,7 @@ function showMsg(msg, loader, timeout, ms, error) {
} }
var message = $("<div class='msg'>" + msg + "</div>"); var message = $("<div class='msg'>" + msg + "</div>");
if (loader) { if (loader) {
var message = $("<i class='fa fa-refresh fa-spin'></i> " + msg + "</div>"); message = $("<i class='fa fa-refresh fa-spin'></i> " + msg + "</div>");
feedback.css("padding", "14px 10px") feedback.css("padding", "14px 10px")
} }
if (error) { if (error) {