diff --git a/css/bootstrap.less b/css/bootstrap.less index 90191aa6..4cc75c77 100644 --- a/css/bootstrap.less +++ b/css/bootstrap.less @@ -204,10 +204,10 @@ Test out these custom less files live } /* Zebra Widget - row alternating colors */ - tr.odd td { + tr.odd > td { .oddRows; } - tr.even td { + tr.even > td { .evenRows; } diff --git a/css/metro.less b/css/metro.less index fbff46e9..bcb0febd 100644 --- a/css/metro.less +++ b/css/metro.less @@ -100,7 +100,7 @@ Test out these custom less files live } /*** Arrows ***/ -@arrowPosition : center right; +@arrowPosition : right 5px center; /* black */ @unsortedBlack : url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABt0UjBAAAACnRSTlMAMwsqXt+gIBUGxGoDMAAAAFlJREFUCNctzC0SQAAUReEzGNQ3AlHRiSRZFCVZYgeswRL8hLdK7834wj3tAlGP6y7fYHpKS6w6WwbVG0I1NZVnZPG8/DYxOYlnhUYkA06R1s9ESsxR4NIdPhkPFDFYuEnMAAAAAElFTkSuQmCC); @@ -225,10 +225,10 @@ Test out these custom less files live } /* Zebra Widget - row alternating colors */ - tr.odd td { + tr.odd > td { .oddRows; } - tr.even td { + tr.even > td { .evenRows; } diff --git a/css/theme.black-ice.css b/css/theme.black-ice.css index a5911aae..64853c6f 100644 --- a/css/theme.black-ice.css +++ b/css/theme.black-ice.css @@ -84,10 +84,10 @@ } /* Zebra Widget - row alternating colors */ -.tablesorter-blackice tr.odd td { +.tablesorter-blackice tr.odd > td { background-color: #333; } -.tablesorter-blackice tr.even td { +.tablesorter-blackice tr.even > td { background-color: #393939; } diff --git a/css/theme.blue.css b/css/theme.blue.css index 74e9ef20..66a99a20 100644 --- a/css/theme.blue.css +++ b/css/theme.blue.css @@ -119,10 +119,10 @@ } /* Zebra Widget - row alternating colors */ -.tablesorter-blue tbody tr.odd td { +.tablesorter-blue tbody tr.odd > td { background-color: #ebf2fa; } -.tablesorter-blue tbody tr.even td { +.tablesorter-blue tbody tr.even > td { background-color: #fff; } diff --git a/css/theme.bootstrap_2.css b/css/theme.bootstrap_2.css index bff0ee47..d9665c9c 100644 --- a/css/theme.bootstrap_2.css +++ b/css/theme.bootstrap_2.css @@ -60,14 +60,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 tr.odd > td { background-color: #f9f9f9; } .tablesorter-bootstrap tbody > .odd:hover > td, .tablesorter-bootstrap tbody > .even:hover > td { background-color: #f5f5f5; } -.tablesorter-bootstrap tr.even td { +.tablesorter-bootstrap tr.even > td { background-color: #fff; } diff --git a/css/theme.dark.css b/css/theme.dark.css index 091d7f78..7cf876ae 100644 --- a/css/theme.dark.css +++ b/css/theme.dark.css @@ -83,10 +83,10 @@ } /* Zebra Widget - row alternating colors */ -.tablesorter-dark tr.odd td { +.tablesorter-dark tr.odd > td { background-color: #202020; } -.tablesorter-dark tr.even td { +.tablesorter-dark tr.even > td { background-color: #101010; } diff --git a/css/theme.default.css b/css/theme.default.css index 468df0a3..74757531 100644 --- a/css/theme.default.css +++ b/css/theme.default.css @@ -86,10 +86,10 @@ Default Theme } /* Zebra Widget - row alternating colors */ -.tablesorter-default tr.odd td { +.tablesorter-default tr.odd > td { background-color: #dfdfdf; } -.tablesorter-default tr.even td { +.tablesorter-default tr.even > td { background-color: #efefef; } diff --git a/css/theme.dropbox.css b/css/theme.dropbox.css index e844e963..4bd47f5c 100644 --- a/css/theme.dropbox.css +++ b/css/theme.dropbox.css @@ -116,9 +116,9 @@ } /* Zebra Widget - row alternating colors */ -.tablesorter-dropbox tr.odd td { +.tablesorter-dropbox tr.odd > td { } -.tablesorter-dropbox tr.even td { +.tablesorter-dropbox tr.even > td { } /* Column Widget - column sort colors */ diff --git a/css/theme.green.css b/css/theme.green.css index 97336bc4..c596973e 100644 --- a/css/theme.green.css +++ b/css/theme.green.css @@ -101,10 +101,10 @@ } /* Zebra Widget - row alternating colors */ -.tablesorter-green tr.odd td { +.tablesorter-green tr.odd > td { background-color: #ebfaeb; } -.tablesorter-green tr.even td { +.tablesorter-green tr.even > td { background-color: #fff; } diff --git a/css/theme.grey.css b/css/theme.grey.css index ae62ee73..06453d22 100644 --- a/css/theme.grey.css +++ b/css/theme.grey.css @@ -137,10 +137,10 @@ } /* Zebra Widget - row alternating colors */ -.tablesorter-grey tbody tr.odd td { +.tablesorter-grey tbody tr.odd > td { background-color: #5e5e5e; } -.tablesorter-grey tbody tr.even td { +.tablesorter-grey tbody tr.even > td { background-color: #6d6d6d; } diff --git a/css/theme.ice.css b/css/theme.ice.css index 45080ff5..8c6d1bae 100644 --- a/css/theme.ice.css +++ b/css/theme.ice.css @@ -93,10 +93,10 @@ } /* Zebra Widget - row alternating colors */ -.tablesorter-ice tr.odd td { +.tablesorter-ice tr.odd > td { background-color: #dfdfdf; } -.tablesorter-ice tr.even td { +.tablesorter-ice tr.even > td { background-color: #efefef; } diff --git a/css/theme.less b/css/theme.less index a116e5f0..69cba257 100644 --- a/css/theme.less +++ b/css/theme.less @@ -90,7 +90,7 @@ Test out these custom less files live } /*** Arrows ***/ -@arrowPosition : 95% center; +@arrowPosition : right 5px center; /* black */ @unsortedBlack : url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==); @@ -210,10 +210,10 @@ Test out these custom less files live } /* Zebra Widget - row alternating colors */ - tr.odd td { + tr.odd > td { .oddRows; } - tr.even td { + tr.even > td { .evenRows; } diff --git a/css/theme.metro-dark.css b/css/theme.metro-dark.css index 28cf1eb4..e119b287 100644 --- a/css/theme.metro-dark.css +++ b/css/theme.metro-dark.css @@ -36,7 +36,7 @@ Metro Dark Theme .tablesorter-metro-dark .header, .tablesorter-metro-dark .tablesorter-header { background-image: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAGFBMVEUAAADu7u7u7u7u7u7u7u7u7u7u7u7u7u5jNePWAAAACHRSTlMAMxIHKwEgMWD59H4AAABSSURBVAjXY2BgYFJgAAHzYhDJ6igSAKTYBAUTgJSioKAQAwNzoaCguAFDiCAQuDIkgigxBgiA8cJAVCpQt6AgSL+JoKAzA0gjUBsQqBcBCYhFAAE/CV4zeSzxAAAAAElFTkSuQmCC); - background-position: center right; + background-position: right 5px center; background-repeat: no-repeat; cursor: pointer; white-space: normal; @@ -95,10 +95,10 @@ Metro Dark Theme } /* Zebra Widget - row alternating colors */ -.tablesorter-metro-dark tr.odd td { +.tablesorter-metro-dark tr.odd > td { background-color: #eee; } -.tablesorter-metro-dark tr.even td { +.tablesorter-metro-dark tr.even > td { background-color: #fff; }