diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 7246485c9d..01d89c88e5 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 393d9e6066..8b22f8928b 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -938,7 +938,7 @@ select:focus:required:invalid:focus { padding: 17px 20px 18px; margin-top: 18px; margin-bottom: 18px; - background-color: #eeeeee; + background-color: #f5f5f5; border-top: 1px solid #ddd; *zoom: 1; } @@ -1208,6 +1208,8 @@ table { .table thead th { vertical-align: bottom; } +.table caption + thead tr:first-child th, +.table caption + thead tr:first-child td, .table colgroup + thead tr:first-child th, .table colgroup + thead tr:first-child td, .table thead:first-child tr:first-child th, diff --git a/docs/css-tests.html b/docs/css-tests.html new file mode 100644 index 0000000000..3eeac59243 --- /dev/null +++ b/docs/css-tests.html @@ -0,0 +1,120 @@ + + + + + Css ยท Twitter Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Tests

+

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/less.html b/docs/less.html index 19b2b2235f..08987d1280 100644 --- a/docs/less.html +++ b/docs/less.html @@ -454,6 +454,10 @@ @inputDisabledBackground @grayLighter + + @formActionsBackground + #f5f5f5 +

Form states and alerts

diff --git a/docs/templates/pages/css-tests.mustache b/docs/templates/pages/css-tests.mustache new file mode 100644 index 0000000000..6455039c42 --- /dev/null +++ b/docs/templates/pages/css-tests.mustache @@ -0,0 +1,6 @@ + +
+

{{_i}}Tests{{/i}}

+

{{_i}}{{/i}}

+
diff --git a/docs/templates/pages/less.mustache b/docs/templates/pages/less.mustache index 129c76e9c0..263ec7fce6 100644 --- a/docs/templates/pages/less.mustache +++ b/docs/templates/pages/less.mustache @@ -378,6 +378,10 @@ @inputDisabledBackground @grayLighter + + @formActionsBackground + #f5f5f5 +

{{_i}}Form states and alerts{{/i}}

diff --git a/less/forms.less b/less/forms.less index ffd1983725..5ce8b0c1c6 100644 --- a/less/forms.less +++ b/less/forms.less @@ -314,7 +314,7 @@ select:focus:required:invalid { padding: (@baseLineHeight - 1) 20px @baseLineHeight; margin-top: @baseLineHeight; margin-bottom: @baseLineHeight; - background-color: @grayLighter; + background-color: @formActionsBackground; border-top: 1px solid #ddd; .clearfix(); // Adding clearfix to allow for .pull-right button containers } diff --git a/less/tables.less b/less/tables.less index 7111cb806a..5ce876f4a0 100644 --- a/less/tables.less +++ b/less/tables.less @@ -37,6 +37,8 @@ table { vertical-align: bottom; } // Remove top border from thead by default + caption + thead tr:first-child th, + caption + thead tr:first-child td, colgroup + thead tr:first-child th, colgroup + thead tr:first-child td, thead:first-child tr:first-child th, diff --git a/less/variables.less b/less/variables.less index c8e2a3c0df..35fa11265d 100644 --- a/less/variables.less +++ b/less/variables.less @@ -97,7 +97,7 @@ @inputBackground: @white; @inputBorder: #ccc; @inputDisabledBackground: @grayLighter; - +@formActionsBackground: #f5f5f5; // Dropdowns // ------------------------- @@ -188,7 +188,6 @@ - // GRID // --------------------------------------------------