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/variables.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/variables.less')
| -rw-r--r-- | less/variables.less | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/less/variables.less b/less/variables.less index 47a02256a..ef9ac5a2a 100644 --- a/less/variables.less +++ b/less/variables.less @@ -46,9 +46,9 @@ @font-family-base: @font-family-sans-serif; @font-size-base: 14px; -@font-size-large: @font-size-base * 1.25; // ~18px -@font-size-small: @font-size-base * 0.85; // ~12px -@font-size-mini: @font-size-base * 0.75; // ~11px +@font-size-large: (@font-size-base * 1.25); // ~18px +@font-size-small: (@font-size-base * 0.85); // ~12px +@font-size-mini: (@font-size-base * 0.75); // ~11px @line-height-base: 20px; @@ -115,9 +115,9 @@ @input-color-placeholder: @grayLight; -@input-height-base: @line-height-base + 14px; // base line-height + 12px vertical padding + 2px top/bottom border -@input-height-large: @line-height-base + 24px; // base line-height + 22px vertical padding + 2px top/bottom border -@input-height-small: @line-height-base + 6px; // base line-height + 4px vertical padding + 2px top/bottom border +@input-height-base: (@line-height-base + 14px); // base line-height + 12px vertical padding + 2px top/bottom border +@input-height-large: (@line-height-base + 24px); // base line-height + 22px vertical padding + 2px top/bottom border +@input-height-small: (@line-height-base + 6px); // base line-height + 4px vertical padding + 2px top/bottom border // adjust min-height on input sizes @@ -266,7 +266,7 @@ @popover-title-background: darken(@popover-background, 3%); // Special enhancement for popovers -@popover-arrow-outer-width: @popover-arrow-width + 1; +@popover-arrow-outer-width: (@popover-arrow-width + 1); @popover-arrow-outer-color: rgba(0,0,0,.25); @@ -315,4 +315,4 @@ @grid-columns: 12; @grid-column-width: 60px; @grid-gutter-width: 20px; -@grid-row-width: (@grid-columns * @grid-column-width) + (@grid-gutter-width * (@grid-columns - 1)); +@grid-row-width: ((@grid-columns * @grid-column-width) + (@grid-gutter-width * (@grid-columns - 1))); |
