From 0d79edd9545b3be82b4c0dd8b6be6cb4475ec95e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 31 Jan 2013 02:54:02 +0100 Subject: [PATCH] Added missing sitemap styling --- wcfsetup/install/files/style/layout.less | 46 ++++++++++++++++++++++++ 1 file changed, 46 insertions(+) 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 { -- 2.20.1