mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
175 lines
5.2 KiB
CSS
175 lines
5.2 KiB
CSS
/*************
|
|
Green Theme
|
|
*************/
|
|
/* overall */
|
|
.tablesorter-green {
|
|
width: 100%;
|
|
text-align: left;
|
|
border-spacing: 0;
|
|
}
|
|
.tablesorter-green,
|
|
.tablesorter-green th,
|
|
.tablesorter-green td {
|
|
font: 12px/18px Arial, Sans-serif;
|
|
border: #cdcdcd 1px solid;
|
|
border-spacing: 0;
|
|
padding: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
/* header */
|
|
.tablesorter-green thead tr,
|
|
.tablesorter-green tfoot tr {
|
|
background: url(images/green-header.png) center center repeat-x;
|
|
}
|
|
.tablesorter-green th,
|
|
.tablesorter-green thead td {
|
|
border-right: #cdcdcd 1px solid;
|
|
border-collapse: collapse;
|
|
padding: 6px;
|
|
}
|
|
.tablesorter-green .header,
|
|
.tablesorter-green .tablesorter-header {
|
|
background: url(images/green-unsorted.png) no-repeat 5px center;
|
|
border-collapse: collapse;
|
|
white-space: normal;
|
|
cursor: pointer;
|
|
}
|
|
.tablesorter-green thead .headerSortUp,
|
|
.tablesorter-green thead .tablesorter-headerSortUp {
|
|
background-image: url(images/green-asc.png);
|
|
}
|
|
.tablesorter-green thead .headerSortDown,
|
|
.tablesorter-green thead .tablesorter-headerSortDown {
|
|
background-image: url(images/green-desc.png);
|
|
}
|
|
.tablesorter-green th.tablesorter-header .tablesorter-header-inner,
|
|
.tablesorter-green td.tablesorter-header .tablesorter-header-inner {
|
|
padding-left: 23px;
|
|
}
|
|
|
|
/* tfoot */
|
|
.tablesorter-green tbody td,
|
|
.tablesorter-green tfoot th {
|
|
padding: 6px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/* tbody */
|
|
.tablesorter-green td {
|
|
color: #3d3d3d;
|
|
padding: 6px;
|
|
}
|
|
|
|
/* hovered row colors
|
|
you'll need to add additional lines for
|
|
rows with more than 2 child rows
|
|
*/
|
|
.tablesorter-green tbody > tr:hover > td,
|
|
.tablesorter-green tbody > tr:hover + tr.tablesorter-childRow > td,
|
|
.tablesorter-green tbody > tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td,
|
|
.tablesorter-green tbody > tr.even:hover > td,
|
|
.tablesorter-green tbody > tr.even:hover + tr.tablesorter-childRow > td,
|
|
.tablesorter-green tbody > tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
|
|
background: #d9d9d9;
|
|
}
|
|
.tablesorter-green tbody > tr.odd:hover > td,
|
|
.tablesorter-green tbody > tr.odd:hover + tr.tablesorter-childRow > td,
|
|
.tablesorter-green tbody > tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
|
|
background: #bfbfbf;
|
|
}
|
|
|
|
/* table processing indicator */
|
|
.tablesorter-green .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-green tr.odd td {
|
|
background-color: #ebfaeb;
|
|
}
|
|
.tablesorter-green tr.even td {
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* Column Widget - column sort colors */
|
|
.tablesorter-green td.primary,
|
|
.tablesorter-green tr.odd td.primary {
|
|
background-color: #99e6a6;
|
|
}
|
|
.tablesorter-green tr.even td.primary {
|
|
background-color: #c2f0c9;
|
|
}
|
|
.tablesorter-green td.secondary,
|
|
.tablesorter-green tr.odd td.secondary {
|
|
background-color: #c2f0c9;
|
|
}
|
|
.tablesorter-green tr.even td.secondary {
|
|
background-color: #d6f5db;
|
|
}
|
|
.tablesorter-green td.tertiary,
|
|
.tablesorter-green tr.odd td.tertiary {
|
|
background-color: #d6f5db;
|
|
}
|
|
.tablesorter-green tr.even td.tertiary {
|
|
background-color: #ebfaed;
|
|
}
|
|
|
|
/* filter widget */
|
|
.tablesorter-green .tablesorter-filter-row td {
|
|
background: #eee;
|
|
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-green .tablesorter-filter-row .disabled {
|
|
opacity: 0.5;
|
|
filter: alpha(opacity=50);
|
|
cursor: not-allowed;
|
|
}
|
|
/* hidden filter row */
|
|
.tablesorter-green .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-green .tablesorter-filter-row.hideme .tablesorter-filter {
|
|
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-green .tablesorter-filter {
|
|
width: 98%;
|
|
height: inherit;
|
|
margin: 4px;
|
|
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;
|
|
}
|