From: Marcel Werk Date: Tue, 12 Apr 2016 14:31:29 +0000 (+0200) Subject: Overhauled footer menu X-Git-Tag: 3.0.0_Beta_1~1922 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2e6770cb5611673a2e21e92043688c15c52cead;p=GitHub%2FWoltLab%2FWCF.git Overhauled footer menu * Changed default styling of the footer menu * Add new placeholder menu for nested footer links --- diff --git a/com.woltlab.wcf/menu.xml b/com.woltlab.wcf/menu.xml index df85df1c4b..112c9d20d4 100644 --- a/com.woltlab.wcf/menu.xml +++ b/com.woltlab.wcf/menu.xml @@ -23,5 +23,17 @@ 1 + + + Footer-Links + Footer Links + + + footer + footerLinks + 0 + 1 + + diff --git a/wcfsetup/install/files/style/layout/box.scss b/wcfsetup/install/files/style/layout/box.scss index c466f8a320..b89ea76592 100644 --- a/wcfsetup/install/files/style/layout/box.scss +++ b/wcfsetup/install/files/style/layout/box.scss @@ -438,23 +438,31 @@ } .boxMenu { - display: flex; - flex-wrap: wrap; - margin-bottom: -20px; + display: inline-flex; margin-left: -10px; margin-right: -10px; - .boxMenuLink { - display: inline-block; - } - > li { - flex: 0 0 25%; - margin-bottom: 20px; + flex: 0 0 auto; padding-left: 10px; padding-right: 10px; + } + } + + .footerLinks { + .boxMenu { + display: flex; + flex-wrap: wrap; + margin-bottom: -20px; - &.boxMenuHasChildren { + .boxMenuLink { + display: inline-block; + } + + > li { + flex: 0 0 25%; + margin-bottom: 20px; + > .boxMenuLink { @include wcfFontHeadline;