Small style optimization
authorMarcel Werk <burntime@woltlab.com>
Mon, 18 Feb 2013 00:59:17 +0000 (01:59 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 18 Feb 2013 00:59:17 +0000 (01:59 +0100)
wcfsetup/install/files/style/layout.less

index 33305ecb8e6e9cc0cb265c6c95283836e1c372a7..1ebe30bb53ae1acfc2a845067b259bc4dc234b28 100644 (file)
        }
 }
 
+.containerBoxList {
+       margin-bottom: -@wcfGapSmall;
+       
+       > li {
+               margin-bottom: @wcfGapSmall; 
+               
+               > div {
+                       overflow: hidden;
+                       white-space: nowrap;
+               }
+       }
+       
+       &.doubleColumned,
+       &.tripleColumned {
+               .clearfix();
+               
+               > li {
+                       float: left;
+                       
+                       > div {
+                               margin-right: @wcfGapLarge;
+                       }
+               }
+       }
+       
+       &.doubleColumned {
+               > li {
+                       width: 50%;
+               }
+       }
+       
+       &.tripleColumned {
+               > li {
+                       width: 33%;
+               }
+       }
+}
+
 /* boxes with an image */
 .box(@imageSize, @gapOffset: 0) {
        /* using a min-height prevents us from clearing (which causes a lot of issues) */