diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 232cb9bf0e..8fa27c91f3 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -322,13 +322,11 @@ a:hover { margin-left: 8.333333333333332%; } -[class*="span"].hide, -.row-fluid [class*="span"].hide { +[class*="span"].hide { display: none; } -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { +[class*="span"].pull-right { float: right; } @@ -1252,8 +1250,7 @@ textarea[class*="span"], clear: both; } -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { +.controls-row [class*="span"] { float: left; } @@ -1935,8 +1932,7 @@ table { background-color: #f5f5f5; } -table [class*=span], -.row-fluid table [class*=span] { +table [class*=span] { display: table-cell; float: none; margin-left: 0; diff --git a/less/forms.less b/less/forms.less index 0d1598995f..f02e36f30e 100644 --- a/less/forms.less +++ b/less/forms.less @@ -331,9 +331,7 @@ textarea[class*="span"], } // Float to collapse white-space for proper grid alignment -.controls-row [class*="span"], -// Redeclare the fluid grid collapse since we undo the float for inputs -.row-fluid .controls-row [class*="span"] { +.controls-row [class*="span"] { float: left; } diff --git a/less/grid.less b/less/grid.less index cab62ce5b1..836e29a95b 100644 --- a/less/grid.less +++ b/less/grid.less @@ -12,12 +12,10 @@ #grid > .core(@gridColumnWidth, @gridGutterWidth, @gridRowWidth); // Reset utility classes due to specificity -[class*="span"].hide, -.row-fluid [class*="span"].hide { +[class*="span"].hide { display: none; } -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { +[class*="span"].pull-right { float: right; } diff --git a/less/tables.less b/less/tables.less index 2b1dd7d223..bc3c52451d 100644 --- a/less/tables.less +++ b/less/tables.less @@ -171,8 +171,7 @@ table { // ----------------- // Reset default grid behavior -table [class*=span], -.row-fluid table [class*=span] { +table [class*=span] { display: table-cell; float: none; // undo default grid column styles margin-left: 0; // undo default grid column styles diff --git a/less/tests/css-tests.css b/less/tests/css-tests.css index 9edaf69bfb..8ab487db2f 100644 --- a/less/tests/css-tests.css +++ b/less/tests/css-tests.css @@ -44,28 +44,6 @@ body { } -/* Fluid row inputs */ -#rowInputs .row > [class*=span], -#fluidRowInputs .row-fluid > [class*=span] { - background-color: rgba(255,0,0,.1); -} - - -/* Fluid grid */ -.fluid-grid { - margin-bottom: 45px; -} -.fluid-grid .row { - height: 40px; - padding-top: 10px; - margin-top: 10px; - color: #ddd; - text-align: center; -} -.fluid-grid .span1 { - background-color: #999; -} - /* Gradients */ diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html index ca9dd3ea31..2d9725b3bf 100644 --- a/less/tests/css-tests.html +++ b/less/tests/css-tests.html @@ -467,38 +467,6 @@ -

Fluid grid sizing

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
123
1 and 23
123
13
2 and 3
-
-
@@ -602,28 +570,6 @@ -

Fluid prepended and appended inputs

-
-
-
-
-
- @ -
-
-
-
- @ -
-
-
-
- $.00 -
-
-
-
-

Fixed row with inputs

Inputs should not extend past the light red background, set on their parent, a .span* column.

@@ -692,99 +638,6 @@
-

Fluid row with inputs

-

Inputs should not extend past the light red background, set on their parent, a .span* column.

-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
- -
- -

Inline form in fluid row

- -
-
-
- - - - -
-
-
- - -
- - -

Fluid textarea at .span12

-
-
- -
-
-
@@ -923,29 +776,6 @@ -

Fluid thumbnails

-
-
- -
-
-