Spinner restored
authorAlexander Ebert <ebert@woltlab.com>
Thu, 29 Mar 2012 20:41:07 +0000 (22:41 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 29 Mar 2012 20:41:07 +0000 (22:41 +0200)
wcfsetup/install/files/js/WCF.js
wcfsetup/install/files/style/dialog.less

index 8c7307a836729b667c2c709232a4802d8adce240..697a9e18c9cb585d0c1d7671f263b69732c69b8a 100644 (file)
@@ -1232,7 +1232,7 @@ WCF.Action.Proxy.prototype = {
        _showLoadingOverlay: function() {
                // create loading overlay on first run
                if (this._loadingOverlay === null) {
-                       this._loadingOverlay = $('<div class="wcf-spinner"><img src="' + WCF.Icon.get('wcf.icon.loading') + '" alt="" />' + WCF.Language.get('wcf.global.loading') + '</div>').hide().appendTo($('body'));
+                       this._loadingOverlay = $('<div class="spinner"><img src="' + WCF.Icon.get('wcf.icon.loading') + '" alt="" class="icon48" /> <span>' + WCF.Language.get('wcf.global.loading') + '</span></div>').hide().appendTo($('body'));
                }
 
                // fade in overlay
index 4b0d99a2226ffbba9108d219d2c43d4c17d044f5..94870b33a85013ade77ba6eef3c3509c8d500348 100644 (file)
 
 #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