From: Marcel Werk Date: Thu, 31 Jan 2013 01:54:02 +0000 (+0100) Subject: Added missing sitemap styling X-Git-Tag: 2.0.0_Beta_1~524 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d79edd9545b3be82b4c0dd8b6be6cb4475ec95e;p=GitHub%2FWoltLab%2FWCF.git Added missing sitemap styling --- diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 7d5926aa6f..7dc16699ff 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -141,6 +141,52 @@ } } +/* sitemap */ +.sitemapList { + margin: 0 -@wcfGapSmall; + + li { + a, + h1 { + overflow: hidden; + padding: @wcfGapTiny @wcfGapMedium; + } + + a { + display: block; + + .borderRadius(6px); + .transition(background-color, .1s); + + &:hover { + background-color: @wcfContainerHoverBackgroundColor; + text-decoration: none; + } + } + } + + > li { + &:not(:first-child) { + margin-top: @wcfGapSmall; + } + + &:not(:last-child) { + border-bottom: 1px solid @wcfContainerBorderColor; + padding-bottom: @wcfGapSmall; + } + + > ul > li { + > a { + padding-left: @wcfGapMedium + @wcfGapLarge; + } + + > ul > li a { + padding-left: @wcfGapMedium + @wcfGapLarge * 2; + } + } + } +} + /* main menu */ .mainMenu { > ul {