Small style optimization
authorMarcel Werk <burntime@woltlab.com>
Sun, 21 Jul 2013 19:17:17 +0000 (21:17 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 21 Jul 2013 19:17:17 +0000 (21:17 +0200)
wcfsetup/install/files/style/layout.less

index ac33f85cc97a05351990b814be4ed853c16af4f2..8d89714c97247a546d727e46082b19f08dceaa7c 100644 (file)
                        padding: 0 14px;
                        
                        > ol {
+                               margin-top: 0;
+                               
                                > li {
                                        display: inline-block;
                                        font-size: @wcfSmallFontSize;
        }
 }
 
+.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;
                }