From cfe65498cd188fef1f4859122c21995e803218e0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 18 May 2015 18:09:18 +0200 Subject: [PATCH] Added missing CSS for notice dismissal --- com.woltlab.wcf/templates/userNotice.tpl | 2 +- wcfsetup/install/files/style/alert.less | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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; -- 2.20.1