From: Marcel Werk Date: Mon, 18 Feb 2013 00:59:17 +0000 (+0100) Subject: Small style optimization X-Git-Tag: 2.0.0_Beta_1~471 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fb1c726e9af802a09c3e44c2f60e3e2d3aacd17;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 33305ecb8e..1ebe30bb53 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -683,6 +683,44 @@ } } +.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) */