From 5d05a146581d4a1b7b8d8a219098bd3742d3a3f2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 4 Oct 2018 17:22:56 +0200 Subject: [PATCH] Fix loading_prompt spinner alignments --- pixelegg/css/traditional.css | 9 ++++++--- pixelegg/less/layout_traditional.less | 8 +++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/pixelegg/css/traditional.css b/pixelegg/css/traditional.css index eba20d3481..58b8b2bb67 100644 --- a/pixelegg/css/traditional.css +++ b/pixelegg/css/traditional.css @@ -6585,19 +6585,22 @@ a.textSidebox { } .egw-loading-prompt-container .egw-loading-prompt-spinner-msg { position: absolute; - left: 48%; + margin-left: 50%; + width: 100%; + text-align: center; + left: 0; top: 48%; z-index: 999; text-shadow: 4px 4px 7px #679FD2; color: #0B5FA4; - margin-left: -10px; margin-top: 52px; } .egw-loading-prompt-container .egw-loading-prompt-spinner-animator { width: 38px; height: 38px; position: absolute; - left: 48%; + margin-left: 50%; + left: -17px; top: 48%; z-index: 999; background-position: 3px 3px; diff --git a/pixelegg/less/layout_traditional.less b/pixelegg/less/layout_traditional.less index 978bcdfa20..a670249256 100755 --- a/pixelegg/less/layout_traditional.less +++ b/pixelegg/less/layout_traditional.less @@ -345,19 +345,21 @@ a.textSidebox } .egw-loading-prompt-container .egw-loading-prompt-spinner-msg { position: absolute; - left: 48%; + width: 100%; + text-align: center; + left: 0; top: 48%; z-index: 999; text-shadow: 4px 4px 7px #679FD2; color: #0B5FA4; - margin-left: -10px; margin-top: 52px; } .egw-loading-prompt-container .egw-loading-prompt-spinner-animator { width: 38px; height: 38px; position: absolute; - left: 48%; + margin-left: 50%; + left: -17px; top: 48%; z-index: 999; background-position: 3px 3px;