diff options
| author | Mark Otto <[email protected]> | 2014-02-07 01:21:58 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-02-07 01:22:30 -0800 |
| commit | 228d4e59fcdb0e05811821a9aff899e7b4e5f4d9 (patch) | |
| tree | 084f843ecbc0682560d7ffddad4fed5a59fbd6a0 /less | |
| parent | 3b4b9a7fe58082cde1545167e511a4acc6d5a0fb (diff) | |
| download | bootstrap-228d4e59fcdb0e05811821a9aff899e7b4e5f4d9.tar.xz bootstrap-228d4e59fcdb0e05811821a9aff899e7b4e5f4d9.zip | |
Fixes #12555: Rearrange variables to place grids and containers closer
Diffstat (limited to 'less')
| -rw-r--r-- | less/variables.less | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/less/variables.less b/less/variables.less index b06206dfb..4fb811d29 100644 --- a/less/variables.less +++ b/less/variables.less @@ -301,6 +301,26 @@ @grid-float-breakpoint-max: (@grid-float-breakpoint - 1); +//== Container sizes +// +//## Define the maximum width of `.container` for different screen sizes. + +// Small screen / tablet +@container-tablet: ((720px + @grid-gutter-width)); +//** For `@screen-sm-min` and up. +@container-sm: @container-tablet; + +// Medium screen / desktop +@container-desktop: ((940px + @grid-gutter-width)); +//** For `@screen-md-min` and up. +@container-md: @container-desktop; + +// Large screen / wide desktop +@container-large-desktop: ((1140px + @grid-gutter-width)); +//** For `@screen-lg-min` and up. +@container-lg: @container-large-desktop; + + //== Navbar // //## @@ -805,23 +825,3 @@ //** Horizontal offset for forms and lists. @component-offset-horizontal: 180px; - - -//== Container sizes -// -//## Define the maximum width of `.container` for different screen sizes. - -// Small screen / tablet -@container-tablet: ((720px + @grid-gutter-width)); -//** For `@screen-sm-min` and up. -@container-sm: @container-tablet; - -// Medium screen / desktop -@container-desktop: ((940px + @grid-gutter-width)); -//** For `@screen-md-min` and up. -@container-md: @container-desktop; - -// Large screen / wide desktop -@container-large-desktop: ((1140px + @grid-gutter-width)); -//** For `@screen-lg-min` and up. -@container-lg: @container-large-desktop; |
