From: Alexander Ebert Date: Wed, 13 Jul 2016 12:27:55 +0000 (+0200) Subject: Improved visuals for menus w/o active items X-Git-Tag: 3.0.0_Beta_1~1169 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a903a22c52a9323a9fd113e1999db3821ca52ca;p=GitHub%2FWoltLab%2FWCF.git Improved visuals for menus w/o active items --- diff --git a/wcfsetup/install/files/style/layout/box.scss b/wcfsetup/install/files/style/layout/box.scss index 869e12119c..542450eb11 100644 --- a/wcfsetup/install/files/style/layout/box.scss +++ b/wcfsetup/install/files/style/layout/box.scss @@ -413,8 +413,24 @@ } } - &:not(.open) > :not(.active) { - display: none; + &:not(.open) { + :first-child ~ :not(.active) { + display: block; + pointer-events: none; + + > a::after { + content: $fa-var-caret-down; + font-family: FontAwesome; + } + } + + > .active ~ li { + display: none !important; + } + + li:not(.active) { + display: none; + } } } }