Skip to content

Instantly share code, notes, and snippets.

@vivaserver
Created July 16, 2012 14:53
Show Gist options
  • Save vivaserver/3123143 to your computer and use it in GitHub Desktop.
Save vivaserver/3123143 to your computer and use it in GitHub Desktop.
Bootstrap 2.0 CSS styles for the TableSorter jQuery plugin
th.tablesorter-header {
cursor: pointer;
}
th.tablesorter-header:after {
content: "";
float: right;
margin-top: 7px;
border-width: 0 4px 4px;
border-style: solid;
border-color: #000000 transparent;
visibility: hidden;
}
th.tablesorter-headerSortUp,
th.tablesorter-headerSortDown {
background-color: #f7f7f9;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}
th.tablesorter-headerSortDown:after,
th.tablesorter-headerSortDown:hover:after {
visibility: visible;
filter: alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}
th.tablesorter-headerSortUp:after {
border-bottom: none;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #000000;
visibility: visible;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
filter: alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment