From ec05cd9ff58c6f608fc51328c79f538e312dc52a Mon Sep 17 00:00:00 2001 From: Mottie Date: Thu, 27 Feb 2014 15:06:57 -0600 Subject: [PATCH] Increase Bootstrap 3 theme css specificity. See #515 --- css/theme.bootstrap.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/theme.bootstrap.css b/css/theme.bootstrap.css index 631f1680..e32e3ed6 100644 --- a/css/theme.bootstrap.css +++ b/css/theme.bootstrap.css @@ -41,14 +41,14 @@ } /* since bootstrap (table-striped) uses nth-child(), we just use this to add a zebra stripe color */ -.tablesorter-bootstrap tr.odd td { +.tablesorter-bootstrap > tbody > tr.odd > td { background-color: #f9f9f9; } -.tablesorter-bootstrap tbody > .odd:hover > td, -.tablesorter-bootstrap tbody > .even:hover > td { +.tablesorter-bootstrap > tbody > tr.odd:hover > td, +.tablesorter-bootstrap > tbody > tr.even:hover > td { background-color: #f5f5f5; } -.tablesorter-bootstrap tr.even td { +.tablesorter-bootstrap > tbody > tr.even > td { background-color: #fff; }