mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
113 lines
4.1 KiB
CSS
113 lines
4.1 KiB
CSS
/*************
|
|
sorta global
|
|
*************/
|
|
.tablesorter-bootstrap {
|
|
width: 100%;
|
|
}
|
|
|
|
.tablesorter-bootstrap .tablesorter-filter-row.hideme td {
|
|
margin: 0;
|
|
height: 0;
|
|
line-height: 0;
|
|
overflow: hidden;
|
|
-webkit-transition: height 0.2s ease;
|
|
-moz-transition: height 0.2s ease;
|
|
-o-transition: height 0.2s ease;
|
|
transition: height 0.2s ease;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-filter-row.hideme .tablesorter-filter {
|
|
height: 1px;
|
|
min-height: 0;
|
|
border: 0;
|
|
padding: 0;
|
|
-webkit-transition: height 0.2s ease;
|
|
-moz-transition: height 0.2s ease;
|
|
-o-transition: height 0.2s ease;
|
|
transition: height 0.2s ease;
|
|
}
|
|
|
|
.tablesorter-bootstrap .tablesorter-processing {
|
|
background: #ddd; /* older browsers that don't support rgba */
|
|
background: rgba(255,255,255,0.8) center center no-repeat; /* icons/loading.gif */
|
|
background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=');
|
|
position: absolute;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* fitler widget */
|
|
.tablesorter-filter-row .tablesorter-filter {
|
|
width: 95%;
|
|
height: inherit;
|
|
margin: 0;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.tablesorter-filter-row td {
|
|
text-align: center;
|
|
background: #eee;
|
|
padding: 4px;
|
|
}
|
|
|
|
/* jQuery Bootstrap Theme */
|
|
.tablesorter-bootstrap .tablesorter-header {
|
|
position: relative;
|
|
padding: 8px;
|
|
margin: 0 0 18px;
|
|
list-style: none;
|
|
background-color: #FBFBFB;
|
|
background-image: -moz-linear-gradient(top, white, whiteSmoke);
|
|
background-image: -ms-linear-gradient(top, white, whiteSmoke);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(whiteSmoke));
|
|
background-image: -webkit-linear-gradient(top, white, whiteSmoke);
|
|
background-image: -o-linear-gradient(top, white, whiteSmoke);
|
|
background-image: linear-gradient(top, white, whiteSmoke);
|
|
background-repeat: repeat-x;
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
|
|
-webkit-box-shadow: inset 0 1px 0 white;
|
|
-moz-box-shadow: inset 0 1px 0 #ffffff;
|
|
box-shadow: inset 0 1px 0 white;
|
|
}
|
|
|
|
/* needed for Firefox */
|
|
.tablesorter-bootstrap .tablesorter-header-inner {
|
|
position: relative;
|
|
}
|
|
|
|
/* bootstrap uses <i> for icons */
|
|
.tablesorter-bootstrap .tablesorter-header i {
|
|
position: absolute;
|
|
right: 5px;
|
|
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;
|
|
}
|
|
.bootstrap-icon-unsorted {
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWVJREFUeNqUUL9Lw2AUTGP8mqGlpBQkNeCSRcckEBcHq1jImMElToKuDvpHFMGhU0BQcHBwLji6CE1B4uB/INQsDi4d2jQ/fPeZxo764OV6915f7lLJ81xot9tCURXqdVEUr7IsO6ffH9Q5BlEUCaLwWxWqTcbYnaIoh0Dw4gAvcWlxq1qt9hqNxg6hUGAP+uIPUrGs0qXLer2+v/pTX6QpxLtkc2U2m53ACb8sSdIDXerSEms2m6+DweAICA4d89KGbduf9MpEVdXQ9/2LVqv1CASHjjn3iq/x1xKFfxQPqGnada1W86bT6SiO42OS3qk3KPStLMvbk8nkfjwen/LLuq6blFymMB0KdUPSGhAcOualjX6/f0bCiC7NaWGPQr0BwaFjzn0gYJqmLAiCA8/zni3LmhuGkQPBoWPOPwQeaPIqD4fDruu6L6Zp5kBw6IudchmdJAkLw3DXcZwnIPjy/FuAAQCiqqWWCAFKcwAAAABJRU5ErkJggg==);
|
|
}
|
|
|
|
/* 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 .odd:hover td,
|
|
.tablesorter-bootstrap .even:hover td {
|
|
background-color: #f5f5f5;
|
|
}
|
|
.tablesorter-bootstrap tr.even td {
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* pager plugin */
|
|
.tablesorter-bootstrap .tablesorter-pager {
|
|
margin-bottom: 0;
|
|
}
|
|
.tablesorter-bootstrap .tablesorter-pager select {
|
|
width: 70px;
|
|
margin-bottom: 0;
|
|
}
|