jquery.dataTables.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. div.dataTables_length label {
  2. font-weight: normal;
  3. text-align: left;
  4. white-space: nowrap;
  5. }
  6. div.dataTables_length select {
  7. width: 75px;
  8. display: inline-block;
  9. }
  10. div.dataTables_filter {
  11. text-align: right;
  12. }
  13. div.dataTables_filter label {
  14. font-weight: normal;
  15. white-space: nowrap;
  16. text-align: left;
  17. }
  18. div.dataTables_filter input {
  19. margin-left: 0.5em;
  20. display: inline-block;
  21. }
  22. div.dataTables_info {
  23. padding-top: 8px;
  24. white-space: nowrap;
  25. }
  26. div.dataTables_paginate {
  27. margin: 0;
  28. white-space: nowrap;
  29. text-align: right;
  30. }
  31. div.dataTables_paginate ul.pagination {
  32. margin: 2px 0;
  33. white-space: nowrap;
  34. }
  35. @media screen and (max-width: 767px) {
  36. div.dataTables_length,
  37. div.dataTables_filter,
  38. div.dataTables_info,
  39. div.dataTables_paginate {
  40. text-align: center;
  41. }
  42. }
  43. table.dataTable td,
  44. table.dataTable th {
  45. -webkit-box-sizing: content-box;
  46. -moz-box-sizing: content-box;
  47. box-sizing: content-box;
  48. }
  49. table.dataTable {
  50. clear: both;
  51. margin-top: 6px !important;
  52. margin-bottom: 6px !important;
  53. max-width: none !important;
  54. }
  55. table.dataTable thead .sorting,
  56. table.dataTable thead .sorting_asc,
  57. table.dataTable thead .sorting_desc,
  58. table.dataTable thead .sorting_asc_disabled,
  59. table.dataTable thead .sorting_desc_disabled {
  60. cursor: pointer;
  61. }
  62. table.dataTable thead .sorting {}
  63. table.dataTable thead .sorting_asc {}
  64. table.dataTable thead .sorting_desc {}
  65. table.dataTable thead .sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
  66. table.dataTable thead .sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
  67. table.dataTable thead > tr > th {
  68. padding-left: 18px;
  69. padding-right: 18px;
  70. }
  71. table.dataTable th:active {
  72. outline: none;
  73. }
  74. /* Scrolling */
  75. div.dataTables_scrollHead table {
  76. margin-bottom: 0 !important;
  77. border-bottom-left-radius: 0;
  78. border-bottom-right-radius: 0;
  79. }
  80. div.dataTables_scrollHead table thead tr:last-child th:first-child,
  81. div.dataTables_scrollHead table thead tr:last-child td:first-child {
  82. border-bottom-left-radius: 0 !important;
  83. border-bottom-right-radius: 0 !important;
  84. }
  85. div.dataTables_scrollBody table {
  86. border-top: none;
  87. margin-top: 0 !important;
  88. margin-bottom: 0 !important;
  89. }
  90. div.dataTables_scrollBody tbody tr:first-child th,
  91. div.dataTables_scrollBody tbody tr:first-child td {
  92. border-top: none;
  93. }
  94. div.dataTables_scrollFoot table {
  95. margin-top: 0 !important;
  96. border-top: none;
  97. }
  98. /* Frustratingly the border-collapse:collapse used by Bootstrap makes the column
  99. width calculations when using scrolling impossible to align columns. We have
  100. to use separate
  101. */
  102. table.table-bordered.dataTable {
  103. border-collapse: separate !important;
  104. }
  105. table.table-bordered thead th,
  106. table.table-bordered thead td {
  107. border-left-width: 0;
  108. border-top-width: 0;
  109. }
  110. table.table-bordered tbody th,
  111. table.table-bordered tbody td {
  112. border-left-width: 0;
  113. border-bottom-width: 0;
  114. }
  115. table.table-bordered th:last-child,
  116. table.table-bordered td:last-child {
  117. border-right-width: 0;
  118. }
  119. div.dataTables_scrollHead table.table-bordered {
  120. border-bottom-width: 0;
  121. }
  122. /*
  123. * TableTools styles
  124. */
  125. .table.dataTable tbody tr.active td,
  126. .table.dataTable tbody tr.active th {
  127. background-color: #08C;
  128. color: white;
  129. }
  130. .table.dataTable tbody tr.active:hover td,
  131. .table.dataTable tbody tr.active:hover th {
  132. background-color: #0075b0 !important;
  133. }
  134. .table.dataTable tbody tr.active th > a,
  135. .table.dataTable tbody tr.active td > a {
  136. color: white;
  137. }
  138. .table-striped.dataTable tbody tr.active:nth-child(odd) td,
  139. .table-striped.dataTable tbody tr.active:nth-child(odd) th {
  140. background-color: #017ebc;
  141. }
  142. table.DTTT_selectable tbody tr {
  143. cursor: pointer;
  144. }
  145. div.DTTT .btn {
  146. color: #333 !important;
  147. font-size: 12px;
  148. }
  149. div.DTTT .btn:hover {
  150. text-decoration: none !important;
  151. }
  152. ul.DTTT_dropdown.dropdown-menu {
  153. z-index: 2003;
  154. }
  155. ul.DTTT_dropdown.dropdown-menu a {
  156. color: #333 !important; /* needed only when demo_page.css is included */
  157. }
  158. ul.DTTT_dropdown.dropdown-menu li {
  159. position: relative;
  160. }
  161. ul.DTTT_dropdown.dropdown-menu li:hover a {
  162. background-color: #0088cc;
  163. color: white !important;
  164. }
  165. div.DTTT_collection_background {
  166. z-index: 2002;
  167. }
  168. /* TableTools information display */
  169. div.DTTT_print_info {
  170. position: fixed;
  171. top: 50%;
  172. left: 50%;
  173. width: 400px;
  174. height: 150px;
  175. margin-left: -200px;
  176. margin-top: -75px;
  177. text-align: center;
  178. color: #333;
  179. padding: 10px 30px;
  180. opacity: 0.95;
  181. background-color: white;
  182. border: 1px solid rgba(0, 0, 0, 0.2);
  183. border-radius: 6px;
  184. -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
  185. box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
  186. }
  187. div.DTTT_print_info h6 {
  188. font-weight: normal;
  189. font-size: 28px;
  190. line-height: 28px;
  191. margin: 1em;
  192. }
  193. div.DTTT_print_info p {
  194. font-size: 14px;
  195. line-height: 20px;
  196. }
  197. div.dataTables_processing {
  198. position: absolute;
  199. top: 50%;
  200. left: 50%;
  201. width: 100%;
  202. height: 60px;
  203. margin-left: -50%;
  204. margin-top: -25px;
  205. padding-top: 20px;
  206. padding-bottom: 20px;
  207. text-align: center;
  208. font-size: 1.2em;
  209. background-color: white;
  210. background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));
  211. background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  212. background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  213. background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  214. background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  215. background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  216. }
  217. /*
  218. * FixedColumns styles
  219. */
  220. div.DTFC_LeftHeadWrapper table,
  221. div.DTFC_LeftFootWrapper table,
  222. div.DTFC_RightHeadWrapper table,
  223. div.DTFC_RightFootWrapper table,
  224. table.DTFC_Cloned tr.even {
  225. background-color: white;
  226. margin-bottom: 0;
  227. }
  228. div.DTFC_RightHeadWrapper table ,
  229. div.DTFC_LeftHeadWrapper table {
  230. border-bottom: none !important;
  231. margin-bottom: 0 !important;
  232. border-top-right-radius: 0 !important;
  233. border-bottom-left-radius: 0 !important;
  234. border-bottom-right-radius: 0 !important;
  235. }
  236. div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child,
  237. div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child,
  238. div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
  239. div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
  240. border-bottom-left-radius: 0 !important;
  241. border-bottom-right-radius: 0 !important;
  242. }
  243. div.DTFC_RightBodyWrapper table,
  244. div.DTFC_LeftBodyWrapper table {
  245. border-top: none;
  246. margin: 0 !important;
  247. }
  248. div.DTFC_RightBodyWrapper tbody tr:first-child th,
  249. div.DTFC_RightBodyWrapper tbody tr:first-child td,
  250. div.DTFC_LeftBodyWrapper tbody tr:first-child th,
  251. div.DTFC_LeftBodyWrapper tbody tr:first-child td {
  252. border-top: none;
  253. }
  254. div.DTFC_RightFootWrapper table,
  255. div.DTFC_LeftFootWrapper table {
  256. border-top: none;
  257. margin-top: 0 !important;
  258. }
  259. /*
  260. * FixedHeader styles
  261. */
  262. div.FixedHeader_Cloned table {
  263. margin: 0 !important
  264. }