From: Alexander Ebert Date: Mon, 18 May 2015 16:09:18 +0000 (+0200) Subject: Added missing CSS for notice dismissal X-Git-Tag: 3.0.0_Beta_1~2390 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfe65498cd188fef1f4859122c21995e803218e0;p=GitHub%2FWoltLab%2FWCF.git Added missing CSS for notice dismissal --- diff --git a/com.woltlab.wcf/templates/userNotice.tpl b/com.woltlab.wcf/templates/userNotice.tpl index b9cf1bd4fd..34c7e7d06f 100644 --- a/com.woltlab.wcf/templates/userNotice.tpl +++ b/com.woltlab.wcf/templates/userNotice.tpl @@ -25,7 +25,7 @@ {hascontent} {content} {foreach from=$__wcf->getNoticeHandler()->getVisibleNotices() item='notice'} -

+

{if $notice->isDismissible} {/if} diff --git a/wcfsetup/install/files/style/alert.less b/wcfsetup/install/files/style/alert.less index 68ea46897d..b3c7a6fddf 100644 --- a/wcfsetup/install/files/style/alert.less +++ b/wcfsetup/install/files/style/alert.less @@ -48,6 +48,16 @@ float: right; } +.notice.noticeDismissible { + opacity: 0; + + transition: opacity .3s linear; + + &.active { + opacity: 1; + } +} + /* types */ .info { background-color: @wcfInfoBackgroundColor;