From ac948090685f2d1ec2866f9ce612ec0c02eea9ca Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 29 Oct 2011 12:31:56 +0200 Subject: [PATCH] MINOR Fixed content loading overlay in CMS --- admin/css/screen.css | 2 ++ admin/scss/_style.scss | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/admin/css/screen.css b/admin/css/screen.css index a0a203894..80ba0b6d8 100755 --- a/admin/css/screen.css +++ b/admin/css/screen.css @@ -202,6 +202,8 @@ html article, html aside, html details, html figcaption, html figure, html foote /** ------------------------------------------------------- Loading Interface ------------------------------------------------------- */ .cms-content.loading, .cms-content form.loading { background: url(../images/spinner.gif) no-repeat 50% 50%; } +.cms-content-loading-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; } + /** ----------------------------------------------- Loading Screen ------------------------------------------------ */ .ss-loading-screen, .ss-loading-screen .loading-logo { width: 100%; height: 100%; overflow: hidden; position: absolute; background: #fff; background: -moz-radial-gradient(50% 50% 180deg, circle cover, white, #efefef, #c7c7c7 100%); background: -webkit-gradient(radial, 50% 50%, 350, 50% 50%, 0, from(#e3e3e3), to(white)); z-index: 100000; margin: 0; padding: 0; } diff --git a/admin/scss/_style.scss b/admin/scss/_style.scss index cfbbe6d7c..1b820c53e 100644 --- a/admin/scss/_style.scss +++ b/admin/scss/_style.scss @@ -163,6 +163,17 @@ html,body { } } +.cms-content-loading-overlay { + position: absolute; // z-index doesn't apply properly without that + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 9999; + // Further styling by .ui-widget-overlay-light which is usually applied at the same time + +} + /** ----------------------------------------------- * Loading Screen * ------------------------------------------------ */