tablesorter/css/ui/style.css

60 lines
1.5 KiB
CSS
Raw Normal View History

2011-07-27 06:14:20 +00:00
/* jQuery UI Theme */
table.tablesorter {
font-family: arial;
margin: 10px 0pt 15px;
font-size: 8pt;
width: 100%;
text-align: left;
2011-09-14 14:20:15 +00:00
padding: 5px;
2011-07-27 06:14:20 +00:00
}
2012-03-27 01:49:48 +00:00
table.tablesorter thead tr th,
table.tablesorter tfoot tr th {
2011-07-27 06:14:20 +00:00
border-collapse: collapse;
font-size: 8pt;
padding: 4px;
}
2012-01-30 16:07:36 +00:00
table.tablesorter thead tr th {
2011-07-27 06:14:20 +00:00
background-repeat: no-repeat;
background-position: center right;
cursor: pointer;
white-space: normal;
2012-01-30 16:07:36 +00:00
/* UI hover and active states make the font normal and the table resizes, this fixes it */
font-weight: bold !important;
2011-07-27 06:14:20 +00:00
}
2012-03-07 18:06:35 +00:00
table.tablesorter thead tr th .tablesorter-inner {
2012-01-30 16:07:36 +00:00
position: relative;
padding-right: 20px; /* wider than the icon */
2011-07-27 06:14:20 +00:00
}
2012-01-30 16:07:36 +00:00
table.tablesorter thead tr th .ui-icon {
2012-01-22 15:02:02 +00:00
position: absolute;
right: 3px;
top: 50%;
margin-top: -8px; /* half the icon height; older IE doesn't like this */
2011-09-13 22:55:31 +00:00
}
2012-01-30 16:07:36 +00:00
table.tablesorter tbody td {
padding: 4px;
vertical-align: top;
}
2011-09-14 14:20:15 +00:00
/* This allows you to use ui-state-default as the zebra stripe color */
table.tablesorter tr.ui-state-default {
background-image: url();
}
2011-09-13 22:55:31 +00:00
/* filter widget */
2012-03-07 18:06:35 +00:00
table.tablesorter thead tr.tablesorter-filter input.tablesorter-filter {
width: 95%;
2012-04-23 19:24:45 +00:00
height: inherit;
2012-03-07 18:06:35 +00:00
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
2011-09-13 22:55:31 +00:00
}
2012-03-27 01:49:48 +00:00
table.tablesorter thead tr.tablesorter-filter,
table.tablesorter thead tr.tablesorter-filter td {
2011-09-13 22:55:31 +00:00
text-align: center;
2012-03-07 18:06:35 +00:00
}
/* optional disabled input styling */
table.tablesorter thead tr.tablesorter-filter input.tablesorter-filter.disabled {
opacity: 0.5;
filter: alpha(opacity=50);
2011-07-27 06:14:20 +00:00
}