mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
117 lines
2.7 KiB
CSS
117 lines
2.7 KiB
CSS
/* green theme */
|
|
table.tablesorter {
|
|
font-family: arial;
|
|
background-color: #cdcdcd;
|
|
margin: 10px 0pt 15px;
|
|
font-size: 12px;
|
|
width: 100%;
|
|
text-align: left;
|
|
border-spacing: 0;
|
|
}
|
|
table.tablesorter,
|
|
table.tablesorter th,
|
|
table.tablesorter td {
|
|
border: #cdcdcd 1px solid;
|
|
}
|
|
|
|
table.tablesorter th {
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
padding: 5px;
|
|
}
|
|
table.tablesorter td {
|
|
color: #3d3d3d;
|
|
padding: 5px;
|
|
}
|
|
table.tablesorter thead tr,
|
|
table.tablesorter tfoot tr {
|
|
background: url(bkgd.png) center center repeat-x;
|
|
}
|
|
table.tablesorter th.header,
|
|
table.tablesorter th.tablesorter-header {
|
|
background: transparent;
|
|
border-right: #cdcdcd 1px solid;
|
|
padding: 9px;
|
|
height: auto;
|
|
cursor: pointer;
|
|
}
|
|
table.tablesorter th.header span:first-child,
|
|
table.tablesorter th.tablesorter-header .tablesorter-header-inner {
|
|
background: url(none.png) no-repeat;
|
|
padding: 2px 0 2px 25px;
|
|
}
|
|
table.tablesorter th.headerSortUp span:first-child,
|
|
table.tablesorter th.tablesorter-headerSortUp .tablesorter-header-inner {
|
|
background: url(asc.png) no-repeat;
|
|
}
|
|
table.tablesorter th.headerSortDown span:first-child,
|
|
table.tablesorter th.tablesorter-headerSortDown .tablesorter-header-inner {
|
|
background: url(desc.png) no-repeat;
|
|
}
|
|
/* used to hide a tbody while rebuilding to speed it up */
|
|
table.tablesorter .tablesorter-hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Zebra Widget - row alternating colors */
|
|
table.tablesorter tr.odd td {
|
|
background-color: #ebfaeb;
|
|
}
|
|
table.tablesorter tr.even td {
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* Column Widget - column sort colors */
|
|
.tablesorter td.primary,
|
|
.tablesorter tr.odd td.primary {
|
|
background-color: #99e6a6;
|
|
}
|
|
.tablesorter tr.even td.primary {
|
|
background-color: #c2f0c9;
|
|
}
|
|
|
|
.tablesorter td.secondary,
|
|
.tablesorter tr.odd td.secondary {
|
|
background-color: #c2f0c9;
|
|
}
|
|
.tablesorter tr.even td.secondary {
|
|
background-color: #d6f5db;
|
|
}
|
|
|
|
.tablesorter td.tertiary,
|
|
.tablesorter tr.odd td.tertiary {
|
|
background-color: #d6f5db;
|
|
}
|
|
.tablesorter tr.even td.tertiary {
|
|
background-color: #ebfaed;
|
|
}
|
|
|
|
/* hovered row colors */
|
|
table.tablesorter tbody tr:hover td,
|
|
table.tablesorter tbody tr.even:hover td {
|
|
background: #d9d9d9;
|
|
}
|
|
table.tablesorter tbody tr.odd:hover td {
|
|
background: #bfbfbf;
|
|
}
|
|
|
|
/* filter widget */
|
|
table.tablesorter input.tablesorter-filter,
|
|
table.tablesorter select.tablesorter-filter {
|
|
width: 95%;
|
|
height: inherit;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
table.tablesorter tr.tablesorter-filter,
|
|
table.tablesorter tr.tablesorter-filter td {
|
|
text-align: center;
|
|
background: #fff;
|
|
}
|
|
/* optional disabled input styling */
|
|
table.tablesorter input.tablesorter-filter.disabled,
|
|
table.tablesorter select.tablesorter-filter.disabled {
|
|
opacity: 0.5;
|
|
filter: alpha(opacity=50);
|
|
} |