From d329769acf2109e6bdd4497b3b9785e099a81c7b Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 21 Jul 2013 21:17:17 +0200 Subject: [PATCH] Small style optimization --- wcfsetup/install/files/style/layout.less | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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; } -- 2.20.1