From 80611e5218214efc4e8758c90c7318dc2d6d68d4 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 12 Apr 2013 23:16:03 +0200 Subject: [PATCH] Small style optimization --- wcfsetup/install/files/style/form.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/style/form.less b/wcfsetup/install/files/style/form.less index 751351f2fe..d75207b213 100644 --- a/wcfsetup/install/files/style/form.less +++ b/wcfsetup/install/files/style/form.less @@ -20,7 +20,7 @@ fieldset { } > dl:not(:first-of-type) { - margin-top: @wcfGapSmall; + margin-top: @wcfGapSmall+@wcfGapTiny; } &:not(:first-of-type) { @@ -35,7 +35,7 @@ dl:not(.plain) { .clearfix(); > dd:not(:first-of-type), > dt:not(:first-of-type) { - margin-top: @wcfGapSmall; + margin-top: @wcfGapSmall+@wcfGapTiny; } > dt { @@ -69,7 +69,7 @@ dl:not(.plain) { > small:not(.innerError) { color: @wcfDimmedColor; display: block; - margin-top: 2px; + margin-top: 3px; } > label { @@ -84,6 +84,7 @@ dl:not(.plain) { > input[type='checkbox'], > input[type='radio'] { ~ small { margin-left: 21px; + margin-top: 2px; } } @@ -202,14 +203,14 @@ select[multiple] { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - padding: 5px 3px; + padding: 4px 3px; margin: 0; } select { margin: 0; min-width: 1px; - padding: 1px 1px 1px 3px; + padding: 3px; } /* normal state */ -- 2.20.1