From 5054c17ab86948a4885c35165b0802e5e60d1ee6 Mon Sep 17 00:00:00 2001 From: Luke Page Date: Wed, 6 Mar 2013 16:38:20 +0000 Subject: make less files compile with strict maths in 1.4.0 --- less/forms.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index b710b32fe..30af1692b 100644 --- a/less/forms.less +++ b/less/forms.less @@ -21,8 +21,8 @@ legend { width: 100%; padding: 0; margin-bottom: @line-height-base; - font-size: @font-size-base * 1.5; - line-height: @line-height-base * 2; + font-size: (@font-size-base * 1.5); + line-height: (@line-height-base * 2); color: @grayDark; border: 0; border-bottom: 1px solid #e5e5e5; @@ -58,7 +58,7 @@ input[type="color"] { .box-sizing(border-box); // Makes inputs behave like true block-level elements min-height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border) padding: 6px 9px; - // margin-bottom: @line-height-base / 2; + // margin-bottom: (@line-height-base / 2); font-size: @font-size-base; line-height: @line-height-base; color: @gray; @@ -168,7 +168,7 @@ textarea { .checkbox { display: block; min-height: @line-height-base; // clear the floating input if there is no label text - margin-bottom: @line-height-base / 2; + margin-bottom: (@line-height-base / 2); padding-left: 20px; label { display: inline; @@ -186,7 +186,7 @@ textarea { } .radio + .radio, .checkbox + .checkbox { - margin-top: (@line-height-base / 4) * -1; + margin-top: ((@line-height-base / 4) * -1); } // Move the options list down to align with labels @@ -359,7 +359,7 @@ select:focus:invalid { .help-block { display: block; // account for any element using help-block - margin-bottom: @line-height-base / 2; + margin-bottom: (@line-height-base / 2); } .help-inline { @@ -530,7 +530,7 @@ select:focus:invalid { // Float the labels left .control-group > .control-label { float: left; - width: @component-offset-horizontal - 20; + width: (@component-offset-horizontal - 20); padding-top: 6px; text-align: right; } -- cgit v1.2.3