From: Marcel Werk Date: Tue, 29 Nov 2016 17:21:31 +0000 (+0100) Subject: Overhauled cookie policy notice X-Git-Tag: 3.0.0_RC_1~112 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6444e726716c65744a3d74d8e64831512ecf8bb4;p=GitHub%2FWoltLab%2FWCF.git Overhauled cookie policy notice --- diff --git a/com.woltlab.wcf/templates/footer.tpl b/com.woltlab.wcf/templates/footer.tpl index 96e051433b..c8d8956f11 100644 --- a/com.woltlab.wcf/templates/footer.tpl +++ b/com.woltlab.wcf/templates/footer.tpl @@ -103,21 +103,26 @@
{if MODULE_COOKIE_POLICY_PAGE && $__wcf->session->isFirstVisit() && !$__wcf->user->userID} -

- {lang}wcf.page.cookiePolicy.info{/lang} - - -

+
+
+ {lang}wcf.page.cookiePolicy.info{/lang} + {lang}wcf.page.cookiePolicy.info.moreInformation{/lang} + {lang}wcf.global.button.close{/lang} + +
+
{/if} {event name='pageFooterStickyNotice'}
diff --git a/wcfsetup/install/files/style/ui/alert.scss b/wcfsetup/install/files/style/ui/alert.scss index 2095948de9..f597ccbc78 100644 --- a/wcfsetup/install/files/style/ui/alert.scss +++ b/wcfsetup/install/files/style/ui/alert.scss @@ -75,7 +75,6 @@ left: 0; right: 0; position: fixed; - text-align: center; .error, .info, @@ -85,6 +84,40 @@ border-top-width: 1px; border-top-style: solid; margin-top: 0; + padding: 10px 0; + + @include screen-sm-down { + @include wcfFontSmall; + } + } + + .cookiePolicyNotice { + .layoutBoundary { + display: flex; + align-items: center; + + @include screen-sm-down { + flex-wrap: wrap; + } + } + + .cookiePolicyNoticeText { + flex: 1 1 auto; + + @include screen-sm-down { + flex-basis: 100%; + margin-bottom: 5px; + } + } + + .cookiePolicyNoticeMoreInformation, + .cookiePolicyNoticeDismiss { + flex: 0 0 auto; + } + + .cookiePolicyNoticeDismiss { + margin-left: 5px; + } } } diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index ab0660daf1..1991340d22 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2832,7 +2832,8 @@ Fehler sind beispielsweise: - Weitere Informationen]]> + + Community-Software: WoltLab Suite™{if SHOW_VERSION_NUMBER} {@WCF_VERSION}{/if}]]> getLink()}">{$article->getTitle()}]]> getLink()}">{$category->getTitle()}]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 5235c3edb2..d361890f78 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2787,7 +2787,8 @@ Errors are: - More details]]> + + Powered by WoltLab Suite™{if SHOW_VERSION_NUMBER} {@WCF_VERSION}{/if}]]> getLink()}">{$article->getTitle()}]]> getLink()}">{$category->getTitle()}]]>