Move inline CSS code into LESS file
authorMatthias Schmidt <gravatronics@live.com>
Fri, 3 Oct 2014 09:32:02 +0000 (11:32 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 3 Oct 2014 09:32:02 +0000 (11:32 +0200)
com.woltlab.wcf/templates/userNotice.tpl
wcfsetup/install/files/style/alert.less

index 783f9717c789916aac60fe00b63bd111bb6fc61f..7e9f4075c4c6cc7d13409c9a5f545a18891eb66a 100644 (file)
@@ -25,7 +25,7 @@
        {foreach from=$__wcf->getNoticeHandler()->getVisibleNotices() item='notice'}
                <p class="{$notice->cssClassName} notice{if $notice->isDismissible} noticeDismissible{/if}">
                        {if $notice->isDismissible}
-                               <span class="icon icon16 icon-remove pointer jsDismissNoticeButton jsTooltip" data-object-id="{$notice->noticeID}" title="{lang}wcf.notice.button.dismiss{/lang}" style="float: right;"></span>
+                               <span class="icon icon16 fa-times pointer jsDismissNoticeButton jsTooltip" data-object-id="{$notice->noticeID}" title="{lang}wcf.notice.button.dismiss{/lang}"></span>
                        {/if}
                        
                        {if $notice->noticeUseHtml}{@$notice->notice|language}{else}{@$notice->notice|language|htmlspecialchars|nl2br}{/if}
index 8baef0e17d0765cb2b4d2bc43bd53bd6dc2987a4..68ea46897d209b30f3b12f62445fd138cc1dece6 100644 (file)
        }
 }
 
+.error > .fa-times,
+.notice > .fa-times {
+       float: right;
+}
+
 /* types */
 .info {
        background-color: @wcfInfoBackgroundColor;