diff options
Diffstat (limited to 'tablesorter/theme.bootstrap.css')
-rw-r--r-- | tablesorter/theme.bootstrap.css | 55 |
1 files changed, 45 insertions, 10 deletions
diff --git a/tablesorter/theme.bootstrap.css b/tablesorter/theme.bootstrap.css index 11a3ea7..60cc60c 100644 --- a/tablesorter/theme.bootstrap.css +++ b/tablesorter/theme.bootstrap.css @@ -1,7 +1,9 @@ -/************* - Bootstrap theme - *************/ -/* jQuery Bootstrap Theme */ +/** + * Bootstrap theme v3.x + * + * WARNING!... once a stable Bootstrap v4.x is released, + * this file will be removed; use theme.bootstrap_3.css + */ .tablesorter-bootstrap { width: 100%; } @@ -19,11 +21,21 @@ .tablesorter-bootstrap .tablesorter-header { cursor: pointer; } +.tablesorter-bootstrap .sorter-false { + cursor: default; +} + +.tablesorter-bootstrap .tablesorter-header.sorter-false i.tablesorter-icon { + display: none; +} .tablesorter-bootstrap .tablesorter-header-inner { position: relative; padding: 4px 18px 4px 4px; } +.tablesorter-bootstrap .sorter-false .tablesorter-header-inner { + padding: 4px; +} /* bootstrap uses <i> for icons */ .tablesorter-bootstrap .tablesorter-header i.tablesorter-icon { @@ -41,12 +53,12 @@ /* black unsorted icon */ .tablesorter-bootstrap .bootstrap-icon-unsorted { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAMAAADOvxanAAAAVFBMVEUAAABCQkJZWVkZGRnJyckgICAZGRkZGRn8/PweHh4dHR0aGhoaGhpUVFQbGxvQ0NDc3NxMTExSUlIbGxvr6+s4ODhKSkogICAtLS00NDQzMzMnJydSEPrQAAAAGHRSTlMA1ssZRLgdAQbDyisqsZo8QdXUq0r9xPepSRwiAAAAX0lEQVQI13XHSQKAIAwEwQAKxn13Ev7/T2Pu9qmarJKPXIicI4PH4hxaKNrhm2S8bJK5h4YzKHrzJNtK6yYT/TdXzpS5zuYg4MSQYF6i4IHExdw1UVRi05HPrrvT53a+qyMFC9t04gcAAAAASUVORK5CYII=); + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAAA20lEQVR4AWJABpKSkoxALCstLb0aUAsZaCAMhVEY6B0amx8YZWDDEDSBa2AGe7XeIiAAClYwVGBvsAcIllsf/mvcC9DgOOd8h90fxWvngVEUbZIkuWRZZlE8eQjcisgZMM9zi+LJ6ZfwegmWZflZDugdHMfxTcGqql7TNBlUB/QObtv2VBSFrev6OY7jngzFk9OT/fn73fWYpqnlXNyXDMWT0zuYx/Bvel9ej+LJ6R08DMOu67q7DkTkrSA5vYPneV71fX/QASdTkJwezhs0TfMARn0wMDDGXEPgF4oijqwM5YjNAAAAAElFTkSuQmCC); } -/* white unsorted icon */ -.tablesorter-bootstrap .icon-white.bootstrap-icon-unsorted { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOBAMAAAALT/umAAAAKlBMVEUAAAD///////////////////////////////////////////////////+Gu8ovAAAADXRSTlMA4EXKBtQqvR0+sxmalc142gAAAFdJREFUCNdjYGDoamAAAjZbMxCVfvd6AgMDd+3du9UMDKx3hWSvMjBwXZww8RYDGuC53NB8h4GB8a617UUGBs7Yu3cjGRhYVO9eVQFKOskKOQApFmUgBwBZ+xXRTttNdAAAAABJRU5ErkJggg==); +/* white unsorted icon; updated to use bootstrap-icon-white - see #1432 */ +.tablesorter-bootstrap .bootstrap-icon-white.bootstrap-icon-unsorted { + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAAAe0lEQVR4AbXQoRWDMBiF0Sh2QLAAQ8SxJGugWSA6A2STW1PxTsnB9cnkfuYvv8OGC1t5G3Y0QMP+Bm857keAdQIzWBP3+Bw4MADQE18B6/etRnCV/w9nnGuLezfAmXhABGtAGIkruvk6auIFRwQJDywllsEAjCecB20GP59BQQ+gtlRLAAAAAElFTkSuQmCC); } /* since bootstrap (table-striped) uses nth-child(), we just use this to add a zebra stripe color */ @@ -73,8 +85,31 @@ background-repeat: no-repeat !important; } +/* Column Widget - column sort colors */ +.tablesorter-bootstrap > tbody > tr.odd td.primary { + background-color: #bfbfbf; +} +.tablesorter-bootstrap > tbody > tr td.primary, +.tablesorter-bootstrap > tbody > tr.even td.primary { + background-color: #d9d9d9; +} +.tablesorter-bootstrap > tbody > tr.odd td.secondary { + background-color: #d9d9d9; +} +.tablesorter-bootstrap > tbody > tr td.secondary, +.tablesorter-bootstrap > tbody > tr.even td.secondary { + background-color: #e6e6e6; +} +.tablesorter-bootstrap > tbody > tr.odd td.tertiary { + background-color: #e6e6e6; +} +.tablesorter-bootstrap > tbody > tr td.tertiary, +.tablesorter-bootstrap > tbody > tr.even td.tertiary { + background-color: #f2f2f2; +} + /* caption */ -.caption { +.tablesorter-bootstrap > .caption { background-color: #fff; } @@ -133,7 +168,7 @@ opacity: 0; filter: alpha(opacity=0); } -/* rows hidden by filtering (needed for child rows) */ +/* rows hidden by filtering */ .tablesorter .filtered { display: none; } |