From 957810a614aa552f8755674114e7856850e3a80b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 29 Mar 2012 22:41:07 +0200 Subject: [PATCH] Spinner restored --- wcfsetup/install/files/js/WCF.js | 2 +- wcfsetup/install/files/style/dialog.less | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 8c7307a836..697a9e18c9 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1232,7 +1232,7 @@ WCF.Action.Proxy.prototype = { _showLoadingOverlay: function() { // create loading overlay on first run if (this._loadingOverlay === null) { - this._loadingOverlay = $('
' + WCF.Language.get('wcf.global.loading') + '
').hide().appendTo($('body')); + this._loadingOverlay = $('
' + WCF.Language.get('wcf.global.loading') + '
').hide().appendTo($('body')); } // fade in overlay diff --git a/wcfsetup/install/files/style/dialog.less b/wcfsetup/install/files/style/dialog.less index 4b0d99a222..94870b33a8 100644 --- a/wcfsetup/install/files/style/dialog.less +++ b/wcfsetup/install/files/style/dialog.less @@ -103,4 +103,25 @@ #packageInstallationAction { margin-bottom: @wcfGapTiny; +} + +.spinner { + border: 1px solid rgba(0, 0, 0, .3); + color: #fff; + left: 46%; + padding: 7px 0; + position: fixed; + right: 46%; + text-align: center; + top: 200px; + width: 70px; + z-index: 401; + + .borderRadius(); + .boxShadow(0, 1px, rgba(0, 0, 0, .5), 7px); + .linearGradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0), rgba(0, 0, 0, .7)); + + img { + margin-bottom: @wcfGapSmall; + } } \ No newline at end of file -- 2.20.1