diff options
| author | Mark Otto <[email protected]> | 2013-03-11 01:16:08 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-11 01:16:08 -0700 |
| commit | d0e1b56603a56abe94f99c30d94737dbe6ecae27 (patch) | |
| tree | d8a39c791870de43a4c3a12c8d66efeae393eccc /less/forms.less | |
| parent | d344ca4475ce305f799e5899f9abd0d91a52536b (diff) | |
| parent | 5054c17ab86948a4885c35165b0802e5e60d1ee6 (diff) | |
| download | bootstrap-d0e1b56603a56abe94f99c30d94737dbe6ecae27.tar.xz bootstrap-d0e1b56603a56abe94f99c30d94737dbe6ecae27.zip | |
Merge pull request #7181 from lukeapage/3.0.0-wip
make less files compile with strict maths in 1.4.0
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 14 |
1 files changed, 7 insertions, 7 deletions
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; } |
