From: Alexander Ebert Date: Wed, 27 Mar 2013 23:51:26 +0000 (+0100) Subject: Fixed system notifications blocking the user panel X-Git-Tag: 2.0.0_Beta_1~406^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ba6d79afa50ad2db0777dc8b65232414dd7c860;p=GitHub%2FWoltLab%2FWCF.git Fixed system notifications blocking the user panel --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 5795b3892f..159c2cad2e 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -5167,7 +5167,7 @@ WCF.System.Notification = Class.extend({ this._overlay = $('#systemNotification'); if (!this._overlay.length) { - this._overlay = $('

').appendTo(document.body); + this._overlay = $('

').hide().appendTo(document.body); } }, @@ -5193,7 +5193,7 @@ WCF.System.Notification = Class.extend({ // hide overlay after specified duration new WCF.PeriodicalExecuter($.proxy(this._hide, this), duration); - this._overlay.addClass('open'); + this._overlay.wcfFadeIn(undefined, 300); }, /** @@ -5206,7 +5206,7 @@ WCF.System.Notification = Class.extend({ this._callback(); } - this._overlay.removeClass('open'); + this._overlay.wcfFadeOut(undefined, 300); pe.stop(); } diff --git a/wcfsetup/install/files/style/dialog.less b/wcfsetup/install/files/style/dialog.less index 0740bce20d..4b571caaa3 100644 --- a/wcfsetup/install/files/style/dialog.less +++ b/wcfsetup/install/files/style/dialog.less @@ -180,18 +180,11 @@ /* notification overlay */ #systemNotification { left: 0; - opacity: 0; position: fixed; top: 0; width: 100%; z-index: 460; - .transition(opacity, .3s); - - &.open { - opacity: 1; - } - > p { border-top-left-radius: 0; border-top-right-radius: 0;