From 4fc04dbe59f0433b8ffc681233c8cc5fdaa7cdf7 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 17 Mar 2023 14:46:27 +0700 Subject: [PATCH] Redesigned AJAX system styles (#614) Co-authored-by: Yury Pikhtarev --- styles/templates/default/css/ajax.css | 32 +++++++----------- styles/templates/default/images/loading_1.gif | Bin 723 -> 0 bytes 2 files changed, 12 insertions(+), 20 deletions(-) delete mode 100644 styles/templates/default/images/loading_1.gif diff --git a/styles/templates/default/css/ajax.css b/styles/templates/default/css/ajax.css index 438ca4c81..5d95541f1 100644 --- a/styles/templates/default/css/ajax.css +++ b/styles/templates/default/css/ajax.css @@ -11,36 +11,28 @@ var.ajax-params { } #ajax-loading, #ajax-error { + display: none; position: fixed; + float: right; top: 0 !important; z-index: 2000; - padding: 4px; + padding: 6px; + color: white; font-size: 11px; - max-width: 400px; - max-height: 200px; + min-width: 80px; + min-height: 30px; white-space: nowrap; - display: none; + border-bottom-left-radius: 10px; + -webkit-border-bottom-left-radius: 10px; + -khtml-border-bottom-left-radius: 10px; } #ajax-loading { - display: none; - background: rgba(0, 0, 0, 0.5) url(../images/loading_1.gif) no-repeat center center; - float: right; - width: 85px; - height: 30px; - border-bottom-left-radius: 10px; - -webkit-border-bottom-left-radius: 10px; - -khtml-border-bottom-left-radius: 10px; + background: rgba(0, 0, 0, 0.5) url(../images/loading.gif) no-repeat center center; } #ajax-error { - background: #d32031 url(../images/loading_1.gif) no-repeat center center; - float: right; - min-width: 200px; - height: 30px; - border-bottom-left-radius: 10px; - -webkit-border-bottom-left-radius: 10px; - -khtml-border-bottom-left-radius: 10px; + background: #d32031; } .editable-container { @@ -52,6 +44,6 @@ var.ajax-params { } .loading-1 { - background: transparent url(../images/loading_1.gif) no-repeat left center; + background: transparent url(../images/loading.gif) no-repeat left center; padding-left: 22px; } diff --git a/styles/templates/default/images/loading_1.gif b/styles/templates/default/images/loading_1.gif deleted file mode 100644 index c8fc154b66ee413b0904d72cac13d3886c92e7b7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 723 zcmZ?wbhEHb6ky9v&VK50ALGI1>{S0RaK9 z!5~8MKewN2NU*bGfUA+70W%{==%18xQEFmIYKlU6W=V!ZVpd{BPJUvFUS?ieK7-;< z7EW%UDjkq+kRusbbrlr)QZnZ)S-|z^6w^8ffo6*{rUjR)@7>-ppO5{CVEdLw4kvi@ ziq~D^a$P&k37ZKj35gP{3G-HD%Ct}1ci`5cm2WOB?|uGe@9W(W`Wkas8?6O9C77^j zGy_`Qov8D;LxodGiYIwV(jtwM(&xAIzBZCNFrE28)86QhC%gq4&tAN|L)dTTp-^ru zk!gO11h5%p3N&g7hpS)+Q}1JwBo)t#uWb5-&zDv{x1PnjocTnHUD5{kU!whICKg+= zNL8-B*1bz>Zjd52lZ+tYacxt?Gnc^0J3KBW1%yH+l*<4;{#tPGxnZ% zc7io|p4ZB&U!}16%^YHkN?~lvicLw&GHJ5R$;5m ZuQ*)>6E^3_^-Hh@5Xoj(gOUgs0013G_hSG6