From: Marcel Werk Date: Sun, 21 Jul 2013 19:17:17 +0000 (+0200) Subject: Small style optimization X-Git-Tag: 2.0.0_Beta_5~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d329769acf2109e6bdd4497b3b9785e099a81c7b;p=GitHub%2FWoltLab%2FWCF.git Small style optimization --- diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index ac33f85cc9..8d89714c97 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -1065,6 +1065,8 @@ padding: 0 14px; > ol { + margin-top: 0; + > li { display: inline-block; font-size: @wcfSmallFontSize; @@ -1095,6 +1097,36 @@ } } +.sidebarNestedCategoryList { + > li { + > ol { + margin-left: 14px; + } + } + + li { + margin: 6px 0; + position: relative; + + > span { + position: absolute; + right: 0; + top: 2px; + } + + > a { + display: block; + overflow: hidden; + padding-right: 45px; + text-overflow: ellipsis; + } + + &.active > a { + font-weight: bold; + } + } +} + .containerBoxList { margin-bottom: -@wcfGapSmall; @@ -2005,6 +2037,7 @@ ul.inlineDataList { > div, > ul, + > ol, > dl { width: 300px - @wcfGapMedium * 2; }