mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
67 lines
1.8 KiB
CSS
67 lines
1.8 KiB
CSS
/* jQuery UI Theme */
|
|
table.tablesorter {
|
|
font-family: arial;
|
|
margin: 10px 0pt 15px;
|
|
font-size: 8pt;
|
|
width: 100%;
|
|
text-align: left;
|
|
padding: 5px;
|
|
}
|
|
table.tablesorter thead tr th,
|
|
table.tablesorter tfoot tr th {
|
|
border-collapse: collapse;
|
|
font-size: 8pt;
|
|
padding: 4px;
|
|
}
|
|
table.tablesorter thead tr th {
|
|
background-repeat: no-repeat;
|
|
background-position: center right;
|
|
cursor: pointer;
|
|
white-space: normal;
|
|
/* UI hover and active states make the font normal and the table resizes, this fixes it */
|
|
font-weight: bold !important;
|
|
}
|
|
table.tablesorter thead tr th .tablesorter-inner {
|
|
position: relative;
|
|
padding-right: 20px; /* wider than the icon */
|
|
}
|
|
table.tablesorter thead tr th .ui-icon {
|
|
position: absolute;
|
|
right: 3px;
|
|
top: 50%;
|
|
margin-top: -8px; /* half the icon height; older IE doesn't like this */
|
|
}
|
|
|
|
table.tablesorter tbody td {
|
|
padding: 4px;
|
|
vertical-align: top;
|
|
}
|
|
/* This allows you to use ui-state-default as the zebra stripe color */
|
|
table.tablesorter tr.ui-state-default {
|
|
background-image: url();
|
|
font-weight: normal;
|
|
}
|
|
/* used to hide a tbody while rebuilding to speed it up */
|
|
table.tablesorter .tablesorter-hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* filter widget */
|
|
table.tablesorter thead tr.tablesorter-filter input.tablesorter-filter,
|
|
table.tablesorter thead tr.tablesorter-filter select.tablesorter-filter {
|
|
width: 95%;
|
|
height: inherit;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
table.tablesorter thead tr.tablesorter-filter,
|
|
table.tablesorter thead tr.tablesorter-filter td {
|
|
text-align: center;
|
|
}
|
|
/* optional disabled input styling */
|
|
table.tablesorter thead tr.tablesorter-filter input.tablesorter-filter.disabled,
|
|
table.tablesorter thead tr.tablesorter-filter select.tablesorter-filter.disabled {
|
|
opacity: 0.5;
|
|
filter: alpha(opacity=50);
|
|
} |