You are here

tablesortertheme.css in Tablesorter 8

Same filename and directory in other branches
  1. 3.0.x css/themes/tablesortertheme.css
/*************
Default Theme
*************/
/* overall */
.tablesorter-default {
  width: 100%;
  font: 12px/18px Arial, Sans-serif;
  color: #333;
  background-color: #fff;
  border-spacing: 0;
  margin: 10px 0 15px;
  text-align: left;
}

/* header */
.tablesorter-default th,
.tablesorter-default thead td {
  font-weight: bold;
  color: #000;
  background-color: #fff;
  border-collapse: collapse;
  border-bottom: #ccc 2px solid;
  padding: 0;
}
.tablesorter-default tfoot th,
.tablesorter-default tfoot td {
  border: 0;
}
.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
  background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP//yH5BAEAAAEALAAAAAAVAAkAAAIXjIAywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
  background-position: center right;
  background-repeat: no-repeat;
  cursor: pointer;
  white-space: normal;
  padding: 4px 20px 4px 4px;
}
.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP//yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
  border-bottom: #000 2px solid;
}
.tablesorter-default thead .headerSortDown,
.tablesorter-default thead .tablesorter-headerSortDown,
.tablesorter-default thead .tablesorter-headerDesc {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP//yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
  border-bottom: #000 2px solid;
}
.tablesorter-default thead .sorter-false {
  background-image: none;
  cursor: default;
  padding: 4px;
}

/* tfoot */
.tablesorter-default tfoot .tablesorter-headerSortUp,
.tablesorter-default tfoot .tablesorter-headerSortDown,
.tablesorter-default tfoot .tablesorter-headerAsc,
.tablesorter-default tfoot .tablesorter-headerDesc {
  border-top: #000 2px solid;
}

/* tbody */
.tablesorter-default td {
  background-color: #fff;
  border-bottom: #ccc 1px solid;
  padding: 4px;
  vertical-align: top;
}

/* hovered row colors */
.tablesorter-default tbody > tr.hover > td,
.tablesorter-default tbody > tr:hover > td,
.tablesorter-default tbody > tr.even:hover > td,
.tablesorter-default tbody > tr.odd:hover > td {
  background-color: #fff;
  color: #000;
}

/* table processing indicator */
.tablesorter-default .tablesorter-processing {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  /* background-image: url(images/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-default tr.odd > td {
  background-color: #dfdfdf;
}
.tablesorter-default tr.even > td {
  background-color: #efefef;
}

/* Column Widget - column sort colors */
.tablesorter-default tr.odd td.primary {
  background-color: #bfbfbf;
}
.tablesorter-default td.primary,
.tablesorter-default tr.even td.primary {
  background-color: #d9d9d9;
}
.tablesorter-default tr.odd td.secondary {
  background-color: #d9d9d9;
}
.tablesorter-default td.secondary,
.tablesorter-default tr.even td.secondary {
  background-color: #e6e6e6;
}
.tablesorter-default tr.odd td.tertiary {
  background-color: #e6e6e6;
}
.tablesorter-default td.tertiary,
.tablesorter-default tr.even td.tertiary {
  background-color: #f2f2f2;
}

/* caption */
.tablesorter-default > caption {
  background-color: #fff;
}

/* filter widget */
.tablesorter-default .tablesorter-filter-row {
  background-color: #eee;
}
.tablesorter-default .tablesorter-filter-row td {
  background-color: #eee;
  border-bottom: #ccc 1px solid;
  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-default .tablesorter-filter-row .disabled {
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: not-allowed;
}
/* hidden filter row */
.tablesorter-default .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-default .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-default input.tablesorter-filter,
.tablesorter-default select.tablesorter-filter {
  width: 95%;
  height: auto;
  margin: 4px auto;
  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;
}

File

css/themes/tablesortertheme.css
View source
  1. /*************
  2. Default Theme
  3. *************/
  4. /* overall */
  5. .tablesorter-default {
  6. width: 100%;
  7. font: 12px/18px Arial, Sans-serif;
  8. color: #333;
  9. background-color: #fff;
  10. border-spacing: 0;
  11. margin: 10px 0 15px;
  12. text-align: left;
  13. }
  14. /* header */
  15. .tablesorter-default th,
  16. .tablesorter-default thead td {
  17. font-weight: bold;
  18. color: #000;
  19. background-color: #fff;
  20. border-collapse: collapse;
  21. border-bottom: #ccc 2px solid;
  22. padding: 0;
  23. }
  24. .tablesorter-default tfoot th,
  25. .tablesorter-default tfoot td {
  26. border: 0;
  27. }
  28. .tablesorter-default .header,
  29. .tablesorter-default .tablesorter-header {
  30. background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP//yH5BAEAAAEALAAAAAAVAAkAAAIXjIAywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
  31. background-position: center right;
  32. background-repeat: no-repeat;
  33. cursor: pointer;
  34. white-space: normal;
  35. padding: 4px 20px 4px 4px;
  36. }
  37. .tablesorter-default thead .headerSortUp,
  38. .tablesorter-default thead .tablesorter-headerSortUp,
  39. .tablesorter-default thead .tablesorter-headerAsc {
  40. background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP//yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
  41. border-bottom: #000 2px solid;
  42. }
  43. .tablesorter-default thead .headerSortDown,
  44. .tablesorter-default thead .tablesorter-headerSortDown,
  45. .tablesorter-default thead .tablesorter-headerDesc {
  46. background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP//yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
  47. border-bottom: #000 2px solid;
  48. }
  49. .tablesorter-default thead .sorter-false {
  50. background-image: none;
  51. cursor: default;
  52. padding: 4px;
  53. }
  54. /* tfoot */
  55. .tablesorter-default tfoot .tablesorter-headerSortUp,
  56. .tablesorter-default tfoot .tablesorter-headerSortDown,
  57. .tablesorter-default tfoot .tablesorter-headerAsc,
  58. .tablesorter-default tfoot .tablesorter-headerDesc {
  59. border-top: #000 2px solid;
  60. }
  61. /* tbody */
  62. .tablesorter-default td {
  63. background-color: #fff;
  64. border-bottom: #ccc 1px solid;
  65. padding: 4px;
  66. vertical-align: top;
  67. }
  68. /* hovered row colors */
  69. .tablesorter-default tbody > tr.hover > td,
  70. .tablesorter-default tbody > tr:hover > td,
  71. .tablesorter-default tbody > tr.even:hover > td,
  72. .tablesorter-default tbody > tr.odd:hover > td {
  73. background-color: #fff;
  74. color: #000;
  75. }
  76. /* table processing indicator */
  77. .tablesorter-default .tablesorter-processing {
  78. background-position: center center !important;
  79. background-repeat: no-repeat !important;
  80. /* background-image: url(images/loading.gif) !important; */
  81. background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=') !important;
  82. }
  83. /* Zebra Widget - row alternating colors */
  84. .tablesorter-default tr.odd > td {
  85. background-color: #dfdfdf;
  86. }
  87. .tablesorter-default tr.even > td {
  88. background-color: #efefef;
  89. }
  90. /* Column Widget - column sort colors */
  91. .tablesorter-default tr.odd td.primary {
  92. background-color: #bfbfbf;
  93. }
  94. .tablesorter-default td.primary,
  95. .tablesorter-default tr.even td.primary {
  96. background-color: #d9d9d9;
  97. }
  98. .tablesorter-default tr.odd td.secondary {
  99. background-color: #d9d9d9;
  100. }
  101. .tablesorter-default td.secondary,
  102. .tablesorter-default tr.even td.secondary {
  103. background-color: #e6e6e6;
  104. }
  105. .tablesorter-default tr.odd td.tertiary {
  106. background-color: #e6e6e6;
  107. }
  108. .tablesorter-default td.tertiary,
  109. .tablesorter-default tr.even td.tertiary {
  110. background-color: #f2f2f2;
  111. }
  112. /* caption */
  113. .tablesorter-default > caption {
  114. background-color: #fff;
  115. }
  116. /* filter widget */
  117. .tablesorter-default .tablesorter-filter-row {
  118. background-color: #eee;
  119. }
  120. .tablesorter-default .tablesorter-filter-row td {
  121. background-color: #eee;
  122. border-bottom: #ccc 1px solid;
  123. line-height: normal;
  124. text-align: center; /* center the input */
  125. -webkit-transition: line-height 0.1s ease;
  126. -moz-transition: line-height 0.1s ease;
  127. -o-transition: line-height 0.1s ease;
  128. transition: line-height 0.1s ease;
  129. }
  130. /* optional disabled input styling */
  131. .tablesorter-default .tablesorter-filter-row .disabled {
  132. opacity: 0.5;
  133. filter: alpha(opacity=50);
  134. cursor: not-allowed;
  135. }
  136. /* hidden filter row */
  137. .tablesorter-default .tablesorter-filter-row.hideme td {
  138. /*** *********************************************** ***/
  139. /*** change this padding to modify the thickness ***/
  140. /*** of the closed filter row (height = padding x 2) ***/
  141. padding: 2px;
  142. /*** *********************************************** ***/
  143. margin: 0;
  144. line-height: 0;
  145. cursor: pointer;
  146. }
  147. .tablesorter-default .tablesorter-filter-row.hideme * {
  148. height: 1px;
  149. min-height: 0;
  150. border: 0;
  151. padding: 0;
  152. margin: 0;
  153. /* don't use visibility: hidden because it disables tabbing */
  154. opacity: 0;
  155. filter: alpha(opacity=0);
  156. }
  157. /* filters */
  158. .tablesorter-default input.tablesorter-filter,
  159. .tablesorter-default select.tablesorter-filter {
  160. width: 95%;
  161. height: auto;
  162. margin: 4px auto;
  163. padding: 4px;
  164. background-color: #fff;
  165. border: 1px solid #bbb;
  166. color: #333;
  167. -webkit-box-sizing: border-box;
  168. -moz-box-sizing: border-box;
  169. box-sizing: border-box;
  170. -webkit-transition: height 0.1s ease;
  171. -moz-transition: height 0.1s ease;
  172. -o-transition: height 0.1s ease;
  173. transition: height 0.1s ease;
  174. }
  175. /* rows hidden by filtering (needed for child rows) */
  176. .tablesorter .filtered {
  177. display: none;
  178. }
  179. /* ajax error row */
  180. .tablesorter .tablesorter-errorRow td {
  181. text-align: center;
  182. cursor: pointer;
  183. background-color: #e6bf99;
  184. }