From 224296f6950ce0e5b00ba88aacf54fe4c638f14a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 14 Mar 2013 13:29:43 -0700 Subject: Fixes #7281: make tables super specific for hovers and striping to avoid nesting issues --- docs/assets/css/bootstrap.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/assets/css/bootstrap.css') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index d8a451773..c5121d7cb 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -967,13 +967,13 @@ th { border-top-right-radius: 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; } -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { background-color: #f5f5f5; } @@ -988,27 +988,27 @@ table th[class^="span"] { float: none; } -.table tbody tr.success > td { +.table > tbody > tr.success > td { background-color: #dff0d8; } -.table tbody tr.error > td { +.table > tbody > tr.error > td { background-color: #f2dede; } -.table tbody tr.warning > td { +.table > tbody > tr.warning > td { background-color: #fcf8e3; } -.table-hover tbody tr.success:hover > td { +.table-hover > tbody > tr.success:hover > td { background-color: #d0e9c6; } -.table-hover tbody tr.error:hover > td { +.table-hover > tbody > tr.error:hover > td { background-color: #ebcccc; } -.table-hover tbody tr.warning:hover > td { +.table-hover > tbody > tr.warning:hover > td { background-color: #faf2cc; } -- cgit v1.2.3