diff options
author | Mark Otto <otto@github.com> | 2012-12-09 00:57:21 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2012-12-09 00:57:21 +0400 |
commit | 9376a7c221a64c2bf508d02ea2ccd85748d10fcc (patch) | |
tree | 22108fb29cdb08456ad1a00451b742d84a699a3c /docs | |
parent | cacc2137620675f81ab8895c2988778d12f92596 (diff) |
Fixes #5729: Nested striped tablesv2.2.2
* Scopes striping to immediate children of the tbody and tr
* For nested tables, sets a background color of @bodyBackground, to override the default transparent bg
Diffstat (limited to 'docs')
-rw-r--r-- | docs/assets/css/bootstrap.css | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index c0838edc5c..8ab3cefcf7 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2012,6 +2012,10 @@ table { border-top: 2px solid #dddddd; } +.table .table { + background-color: #ffffff; +} + .table-condensed th, .table-condensed td { padding: 4px 5px; @@ -2104,8 +2108,8 @@ table { -moz-border-radius-topright: 4px; } -.table-striped tbody tr:nth-child(odd) td, -.table-striped tbody tr:nth-child(odd) th { +.table-striped tbody > tr:nth-child(odd) > td, +.table-striped tbody > tr:nth-child(odd) > th { background-color: #f9f9f9; } |