mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
cb63aade3f
when "hideme" class is applied, the filter row now takes on the background color from the row, at least in Chrome
191 lines
5.6 KiB
CSS
191 lines
5.6 KiB
CSS
/*************
|
|
Black Ice Theme (by thezoggy)
|
|
*************/
|
|
/* overall */
|
|
.tablesorter-blackice {
|
|
width: 100%;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
font: 11px/18px Arial, Sans-serif;
|
|
text-align: left;
|
|
background-color: #000;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
/* header */
|
|
.tablesorter-blackice th,
|
|
.tablesorter-blackice thead td {
|
|
padding: 4px;
|
|
font: bold 13px/20px Arial, Sans-serif;
|
|
color: #e5e5e5;
|
|
text-align: left;
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
|
|
background-color: #111;
|
|
border: 1px solid #232323;
|
|
}
|
|
.tablesorter-blackice .header,
|
|
.tablesorter-blackice .tablesorter-header {
|
|
padding: 4px 20px 4px 4px;
|
|
cursor: pointer;
|
|
background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
|
|
background-position: center right;
|
|
background-repeat: no-repeat;
|
|
}
|
|
.tablesorter-blackice .headerSortUp,
|
|
.tablesorter-blackice .tablesorter-headerSortUp,
|
|
.tablesorter-blackice .tablesorter-headerAsc {
|
|
background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
|
|
color: #fff;
|
|
}
|
|
.tablesorter-blackice .headerSortDown,
|
|
.tablesorter-blackice .tablesorter-headerSortDown,
|
|
.tablesorter-blackice .tablesorter-headerDesc {
|
|
color: #fff;
|
|
background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
|
|
}
|
|
.tablesorter-blackice thead .sorter-false {
|
|
background-image: none;
|
|
cursor: default;
|
|
padding: 4px;
|
|
}
|
|
|
|
/* tfoot */
|
|
.tablesorter-blackice tfoot .tablesorter-headerSortUp,
|
|
.tablesorter-blackice tfoot .tablesorter-headerSortDown,
|
|
.tablesorter-blackice tfoot .tablesorter-headerAsc,
|
|
.tablesorter-blackice tfoot .tablesorter-headerDesc {
|
|
/* remove sort arrows from footer */
|
|
background-image: none;
|
|
}
|
|
|
|
/* tbody */
|
|
.tablesorter-blackice td {
|
|
padding: 4px;
|
|
color: #ccc;
|
|
vertical-align: top;
|
|
background-color: #333;
|
|
border: 1px solid #232323;
|
|
}
|
|
|
|
/* hovered row colors */
|
|
.tablesorter-blackice tbody > tr:hover > td,
|
|
.tablesorter-blackice tbody > tr.even:hover > td,
|
|
.tablesorter-blackice tbody > tr.odd:hover > td {
|
|
background: #000;
|
|
}
|
|
|
|
/* table processing indicator */
|
|
.tablesorter-blackice .tablesorter-processing {
|
|
background-position: center center !important;
|
|
background-repeat: no-repeat !important;
|
|
/* background-image: url(../addons/pager/icons/loading.gif) !important; */
|
|
background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=') !important;
|
|
}
|
|
|
|
/* Zebra Widget - row alternating colors */
|
|
.tablesorter-blackice tr.odd > td {
|
|
background-color: #333;
|
|
}
|
|
.tablesorter-blackice tr.even > td {
|
|
background-color: #393939;
|
|
}
|
|
|
|
/* Column Widget - column sort colors */
|
|
.tablesorter-blackice td.primary,
|
|
.tablesorter-blackice tr.odd td.primary {
|
|
background-color: #2f3a40;
|
|
}
|
|
.tablesorter-blackice tr.even td.primary {
|
|
background-color: #3f4a50;
|
|
}
|
|
.tablesorter-blackice td.secondary,
|
|
.tablesorter-blackice tr.odd td.secondary {
|
|
background-color: #3f4a50;
|
|
}
|
|
.tablesorter-blackice tr.even td.secondary {
|
|
background-color: #4f5a60;
|
|
}
|
|
.tablesorter-blackice td.tertiary,
|
|
.tablesorter-blackice tr.odd td.tertiary {
|
|
background-color: #4f5a60;
|
|
}
|
|
.tablesorter-blackice tr.even td.tertiary {
|
|
background-color: #5a646b;
|
|
}
|
|
|
|
/* caption */
|
|
caption {
|
|
background: #fff;
|
|
}
|
|
|
|
/* filter widget */
|
|
.tablesorter-blackice .tablesorter-filter-row {
|
|
background: #222;
|
|
}
|
|
.tablesorter-blackice .tablesorter-filter-row td {
|
|
background: #222;
|
|
line-height: normal;
|
|
text-align: center; /* center the input */
|
|
-webkit-transition: line-height 0.1s ease;
|
|
-moz-transition: line-height 0.1s ease;
|
|
-o-transition: line-height 0.1s ease;
|
|
transition: line-height 0.1s ease;
|
|
}
|
|
/* optional disabled input styling */
|
|
.tablesorter-blackice .tablesorter-filter-row .disabled {
|
|
opacity: 0.5;
|
|
filter: alpha(opacity=50);
|
|
cursor: not-allowed;
|
|
}
|
|
/* hidden filter row */
|
|
.tablesorter-blackice .tablesorter-filter-row.hideme td {
|
|
/*** *********************************************** ***/
|
|
/*** change this padding to modify the thickness ***/
|
|
/*** of the closed filter row (height = padding x 2) ***/
|
|
padding: 2px;
|
|
/*** *********************************************** ***/
|
|
margin: 0;
|
|
line-height: 0;
|
|
cursor: pointer;
|
|
}
|
|
.tablesorter-blackice .tablesorter-filter-row.hideme * {
|
|
height: 1px;
|
|
min-height: 0;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
/* don't use visibility: hidden because it disables tabbing */
|
|
opacity: 0;
|
|
filter: alpha(opacity=0);
|
|
}
|
|
/* filters */
|
|
.tablesorter-blackice input.tablesorter-filter,
|
|
.tablesorter-blackice select.tablesorter-filter {
|
|
width: 98%;
|
|
height: auto;
|
|
margin: 0;
|
|
padding: 4px;
|
|
background-color: #fff;
|
|
border: 1px solid #bbb;
|
|
color: #333;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-webkit-transition: height 0.1s ease;
|
|
-moz-transition: height 0.1s ease;
|
|
-o-transition: height 0.1s ease;
|
|
transition: height 0.1s ease;
|
|
}
|
|
/* rows hidden by filtering (needed for child rows) */
|
|
.tablesorter .filtered {
|
|
display: none;
|
|
}
|
|
|
|
/* ajax error row */
|
|
.tablesorter .tablesorter-errorRow td {
|
|
text-align: center;
|
|
cursor: pointer;
|
|
background-color: #e6bf99;
|
|
}
|