mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
189 lines
6.3 KiB
CSS
189 lines
6.3 KiB
CSS
/**
|
|
* Bootstrap theme v2.x
|
|
*/
|
|
.tablesorter-bootstrap {
|
|
width: 100%;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-header,
|
|
.tablesorter-bootstrap tfoot th,
|
|
.tablesorter-bootstrap tfoot td {
|
|
font: 14px/20px Arial, Sans-serif;
|
|
font-weight: bold;
|
|
position: relative;
|
|
padding: 8px;
|
|
margin: 0 0 18px;
|
|
list-style: none;
|
|
background-color: #FBFBFB;
|
|
background-image: -moz-linear-gradient(top, white, #efefef);
|
|
background-image: -ms-linear-gradient(top, white, #efefef);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#efefef));
|
|
background-image: -webkit-linear-gradient(top, white, #efefef);
|
|
background-image: -o-linear-gradient(top, white, #efefef);
|
|
background-image: linear-gradient(to bottom, white, #efefef);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#efefef', GradientType=0);
|
|
background-repeat: repeat-x;
|
|
-webkit-box-shadow: inset 0 1px 0 white;
|
|
-moz-box-shadow: inset 0 1px 0 #ffffff;
|
|
box-shadow: inset 0 1px 0 white;
|
|
}
|
|
|
|
.tablesorter-bootstrap .tablesorter-header {
|
|
cursor: pointer;
|
|
}
|
|
.tablesorter-bootstrap .sorter-false {
|
|
cursor: default;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-header.sorter-false i.tablesorter-icon {
|
|
display: none;
|
|
}
|
|
|
|
.tablesorter-bootstrap .tablesorter-header-inner {
|
|
position: relative;
|
|
padding: 4px 18px 4px 4px;
|
|
}
|
|
.tablesorter-bootstrap .sorter-false .tablesorter-header-inner {
|
|
padding: 4px;
|
|
}
|
|
|
|
/* bootstrap uses <i> for icons */
|
|
.tablesorter-bootstrap .tablesorter-header i.tablesorter-icon {
|
|
position: absolute;
|
|
right: 2px;
|
|
top: 50%;
|
|
margin-top: -7px; /* half the icon height; older IE doesn't like this */
|
|
width: 14px;
|
|
height: 14px;
|
|
background-repeat: no-repeat;
|
|
line-height: 14px;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* black unsorted icon */
|
|
.tablesorter-bootstrap .bootstrap-icon-unsorted {
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAABGUlEQVR4AZWQAUfEYBzGC07fILfrbnfgqG1jmxliDitmYIaxb9Y3CEIEVHDaUGMfYF8gIyBqbd7eH7wWofB6/J7nN+x/IIRQbz6fH8p3slgsrkl4uv8QNU071XX9wTAMQcLTD6bi2WazubUsq3ddV5AwPftU1tbr9Z0UPhGDIHgjYXp2JS+Xy71t2wNCFEV113UxCdOzKznLshvf9z+SJHlp23ZHR8L07Er+6/u/LO96td1u3zmX/BmdjoTp2ZUchmHted4o/16sVqt7KR6TMD27kpumOc/z/EkOvWmaQp7rlYTp2ZU8juOsqqqLoij2UvhyHEeQMD27knl93x+VZXmZpukz9yVh+l+vMQzDrK7rXRzHjyQ83b8BlglBGLw1Kb4AAAAASUVORK5CYII=);
|
|
}
|
|
|
|
/* white unsorted icon */
|
|
.tablesorter-bootstrap .icon-white.bootstrap-icon-unsorted {
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAAAe0lEQVR4AbXQoRWDMBiF0Sh2QLAAQ8SxJGugWSA6A2STW1PxTsnB9cnkfuYvv8OGC1t5G3Y0QMP+Bm857keAdQIzWBP3+Bw4MADQE18B6/etRnCV/w9nnGuLezfAmXhABGtAGIkruvk6auIFRwQJDywllsEAjCecB20GP59BQQ+gtlRLAAAAAElFTkSuQmCC);
|
|
}
|
|
|
|
/* since bootstrap (table-striped) uses nth-child(), we just use this to add a zebra stripe color */
|
|
.tablesorter-bootstrap tr.odd > td {
|
|
background-color: #f9f9f9;
|
|
}
|
|
.tablesorter-bootstrap tbody > tr.hover > td,
|
|
.tablesorter-bootstrap tbody > .odd:hover > td,
|
|
.tablesorter-bootstrap tbody > .even:hover > td {
|
|
background-color: #f5f5f5;
|
|
}
|
|
.tablesorter-bootstrap tbody > tr.even > td {
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* processing icon */
|
|
.tablesorter-bootstrap .tablesorter-processing {
|
|
background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=');
|
|
position: absolute;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Column Widget - column sort colors */
|
|
.tablesorter-bootstrap > tbody > tr.odd td.primary {
|
|
background-color: #bfbfbf;
|
|
}
|
|
.tablesorter-bootstrap > tbody > tr td.primary,
|
|
.tablesorter-bootstrap > tbody > tr.even td.primary {
|
|
background-color: #d9d9d9;
|
|
}
|
|
.tablesorter-bootstrap > tbody > tr.odd td.secondary {
|
|
background-color: #d9d9d9;
|
|
}
|
|
.tablesorter-bootstrap > tbody > tr td.secondary,
|
|
.tablesorter-bootstrap > tbody > tr.even td.secondary {
|
|
background-color: #e6e6e6;
|
|
}
|
|
.tablesorter-bootstrap > tbody > tr.odd td.tertiary {
|
|
background-color: #e6e6e6;
|
|
}
|
|
.tablesorter-bootstrap > tbody > tr td.tertiary,
|
|
.tablesorter-bootstrap > tbody > tr.even td.tertiary {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
/* caption */
|
|
.tablesorter-bootstrap > caption {
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* filter widget */
|
|
.tablesorter-bootstrap .tablesorter-filter-row input.tablesorter-filter,
|
|
.tablesorter-bootstrap .tablesorter-filter-row select.tablesorter-filter {
|
|
height: 28px;
|
|
width: 98%;
|
|
margin: 0;
|
|
padding: 4px 6px;
|
|
background-color: #fff;
|
|
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;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-filter-row .tablesorter-filter.disabled {
|
|
background-color: #eee;
|
|
cursor: not-allowed;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-filter-row {
|
|
background-color: #ddd;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-filter-row td {
|
|
background-color: #eee;
|
|
line-height: normal;
|
|
text-align: center;
|
|
padding: 4px 6px;
|
|
vertical-align: middle;
|
|
-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;
|
|
}
|
|
/* hidden filter row */
|
|
.tablesorter-bootstrap tr.tablesorter-filter-row.hideme td {
|
|
padding: 2px; /* change this to modify the thickness of the closed border row */
|
|
margin: 0;
|
|
line-height: 0;
|
|
}
|
|
.tablesorter-bootstrap tr.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);
|
|
}
|
|
/* rows hidden by filtering */
|
|
.tablesorter .filtered {
|
|
display: none;
|
|
}
|
|
|
|
/* pager plugin */
|
|
.tablesorter-bootstrap .tablesorter-pager select {
|
|
padding: 4px 6px;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-pager .pagedisplay {
|
|
border: 0;
|
|
}
|
|
|
|
/* ajax error row */
|
|
.tablesorter .tablesorter-errorRow td {
|
|
text-align: center;
|
|
cursor: pointer;
|
|
background-color: #e6bf99;
|
|
}
|