From: Marcel Werk Date: Tue, 13 Sep 2016 10:02:34 +0000 (+0200) Subject: Overhauled footer styling in style preview X-Git-Tag: 3.0.0_Beta_1~198 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a785e6a715b09c0dafdc77fa10b37af399a8b37d;p=GitHub%2FWoltLab%2FWCF.git Overhauled footer styling in style preview --- diff --git a/wcfsetup/install/files/acp/style/acpStyleEditor.css b/wcfsetup/install/files/acp/style/acpStyleEditor.css index ffd777782d..89a9c7748d 100644 --- a/wcfsetup/install/files/acp/style/acpStyleEditor.css +++ b/wcfsetup/install/files/acp/style/acpStyleEditor.css @@ -53,7 +53,9 @@ #spFooterBox .spFooterBoxHeadline { font-size: 1.2rem; font-weight: 300; margin-bottom: 10px; } /* ### footer ### */ -#spFooter > .spBoundary { padding: 15px 0; text-align: center; } +#spFooter > .spBoundary { padding: 15px 0; } +#spFooter .spFooterHeadline { font-size: 1.2rem; font-weight: 300; margin-bottom: 10px; } +#spFooterCopyright > .spBoundary { padding: 15px 0; text-align: center; } /* ### content sidebar ### */ #spContent > .spBoundary { display: flex; } diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index 1a5a79a8d4..6dd70a5671 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -650,6 +650,18 @@
+
+
+
Lorem Ipsum Dolor Sit Amet
+ +

+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. +

+
+
+
+ +
Copyright © 1970-2038 Example Company
@@ -788,6 +800,13 @@ 'wcfFooterText': '#spFooter { color: VALUE; }', 'wcfFooterLink': '#spFooter a { color: VALUE; }', 'wcfFooterLinkActive': '#spFooter a:active { color: VALUE; }', + 'wcfFooterHeadlineText': '#spFooter .spFooterHeadline { color: VALUE; }', + 'wcfFooterHeadlineLink': '#spFooter .spFooterHeadline a { color: VALUE; }', + 'wcfFooterHeadlineLinkActive': '#spFooter .spFooterHeadline a:hover { color: VALUE; }', + 'wcfFooterCopyrightBackground': '#spFooterCopyright { background-color: VALUE; }', + 'wcfFooterCopyrightText': '#spFooterCopyright { color: VALUE; }', + 'wcfFooterCopyrightLink': '#spFooterCopyright a { color: VALUE; }', + 'wcfFooterCopyrightLinkActive': '#spFooterCopyright a:active { color: VALUE; }', 'wcfSidebarBackground': '#spContentSidebar .spContentSidebarBox { background-color: VALUE; }', 'wcfSidebarText': '#spContentSidebar .spContentSidebarBox { color: VALUE; }', 'wcfSidebarLink': '#spContentSidebar .spContentSidebarBox a { color: VALUE; }', diff --git a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php index 180a5b009e..5c3fc5e813 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php @@ -430,7 +430,7 @@ class StyleAddForm extends AbstractForm { 'wcfDropdown' => 'wcfDropdown', 'wcfStatus' => ['wcfStatusInfo', 'wcfStatusSuccess', 'wcfStatusWarning', 'wcfStatusError'], 'wcfFooterBox' => ['wcfFooterBox', 'wcfFooterBoxHeadline'], - 'wcfFooter' => 'wcfFooter' + 'wcfFooter' => ['wcfFooter', 'wcfFooterHeadline', 'wcfFooterCopyright'] ]; $this->colors = [ @@ -458,7 +458,9 @@ class StyleAddForm extends AbstractForm { 'wcfStatusError' => ['background', 'border', 'text', 'link', 'linkActive'], 'wcfFooterBox' => ['background', 'text', 'link', 'linkActive'], 'wcfFooterBoxHeadline' => ['text', 'link', 'linkActive'], - 'wcfFooter' => ['background', 'text', 'link', 'linkActive'] + 'wcfFooter' => ['background', 'text', 'link', 'linkActive'], + 'wcfFooterHeadline' => ['text', 'link', 'linkActive'], + 'wcfFooterCopyright' => ['background', 'text', 'link', 'linkActive'] ]; // set global variables