tables.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. /* DataTables Styling */
  2. table { font-size: 12px; }
  3. table.dataTable {
  4. margin: 0 auto;
  5. clear: both;
  6. width: 100%;
  7. }
  8. table.dataTable thead th {
  9. padding: 3px 18px 3px 10px;
  10. font-weight: bold;
  11. cursor: pointer;
  12. }
  13. table.dataTable tfoot th {
  14. padding: 3px 18px 3px 10px;
  15. border-top: 1px solid black;
  16. font-weight: bold;
  17. }
  18. table.dataTable td {
  19. padding: 3px 10px;
  20. }
  21. table.dataTable td.center,
  22. table.dataTable td.dataTables_empty {
  23. text-align: center;
  24. }
  25. table.dataTable tr.odd { background-color: #fff; }
  26. table.dataTable tr.even { background-color: #f6f6f6; }
  27. table.dataTable td { padding: 8px 10px; border-right: 1px solid #ccc; }
  28. table.dataTable tr.odd:hover, table.dataTable tr.even:hover { background-color: #ddd; }
  29. table.dataTable thead th { border-right: 1px solid #ccc; }
  30. table.dataTable thead th:last-of-type { border-right: none; }
  31. /* Commented out to simplify
  32. table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
  33. table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
  34. table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
  35. table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
  36. table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
  37. table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
  38. */
  39. /*
  40. * Table wrapper
  41. */
  42. .dataTables_wrapper {
  43. position: relative;
  44. clear: both;
  45. zoom: 1;
  46. }
  47. /*
  48. * Page length menu
  49. */
  50. .dataTables_length {
  51. float: left;
  52. }
  53. /*
  54. * Filter
  55. */
  56. .dataTables_filter {
  57. float: right;
  58. text-align: right;
  59. }
  60. /*
  61. * Table information
  62. */
  63. .dataTables_info {
  64. margin: 12px;
  65. clear: both;
  66. float: left;
  67. color: #292929 !important;
  68. text-shadow: 0 1px 0 #fff;
  69. font-size: 10px;
  70. font-weight: 400;
  71. }
  72. /*
  73. * Pagination
  74. */
  75. .dataTables_paginate {
  76. margin-top: 6px;
  77. float: right;
  78. text-align: right;
  79. }
  80. /* Two button pagination - previous / next */
  81. .paginate_disabled_previous,
  82. .paginate_enabled_previous,
  83. .paginate_disabled_next,
  84. .paginate_enabled_next {
  85. height: 19px;
  86. float: left;
  87. cursor: pointer;
  88. color: #292929 !important;
  89. text-shadow: 0 1px 0 #fff;
  90. }
  91. .paginate_disabled_previous:hover,
  92. .paginate_enabled_previous:hover,
  93. .paginate_disabled_next:hover,
  94. .paginate_enabled_next:hover {
  95. text-decoration: none !important;
  96. }
  97. .paginate_disabled_previous:active,
  98. .paginate_enabled_previous:active,
  99. .paginate_disabled_next:active,
  100. .paginate_enabled_next:active {
  101. outline: none;
  102. }
  103. .paginate_disabled_previous,
  104. .paginate_disabled_next {
  105. color: #666 !important;
  106. }
  107. .paginate_disabled_previous,
  108. .paginate_enabled_previous {
  109. padding-left: 23px;
  110. }
  111. .paginate_disabled_next,
  112. .paginate_enabled_next {
  113. padding-right: 23px;
  114. margin-left: 10px;
  115. }
  116. .paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
  117. .paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
  118. .paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
  119. .paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
  120. .paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
  121. .paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
  122. /* Full number pagination */
  123. .paging_full_numbers a:active {
  124. outline: none
  125. }
  126. .paging_full_numbers a:hover {
  127. text-decoration: none;
  128. }
  129. .paging_full_numbers a.paginate_button,
  130. .paging_full_numbers a.paginate_active {
  131. border: 1px solid #aaa;
  132. padding: 2px 20px;
  133. margin: 0 3px;
  134. cursor: pointer;
  135. color: #333 !important;
  136. }
  137. .paging_full_numbers a.paginate_button {
  138. background-color: #ddd;
  139. }
  140. .paging_full_numbers a.paginate_button:hover {
  141. background-color: #ccc;
  142. text-decoration: none !important;
  143. }
  144. .paging_full_numbers a.paginate_active {
  145. background-color: #99B3FF;
  146. }
  147. /*
  148. * Processing indicator
  149. */
  150. .dataTables_processing {
  151. position: absolute;
  152. top: 50%;
  153. left: 50%;
  154. width: 250px;
  155. height: 30px;
  156. margin-left: -125px;
  157. margin-top: -15px;
  158. padding: 14px 0 2px 0;
  159. border: 1px solid #ddd;
  160. text-align: center;
  161. color: #999;
  162. font-size: 14px;
  163. background-color: white;
  164. }
  165. table.dataTable th:active {
  166. outline: none;
  167. }
  168. /*
  169. * Scrolling
  170. */
  171. .dataTables_scroll {
  172. clear: both;
  173. }
  174. .dataTables_scrollBody {
  175. margin-top: -1px;
  176. }
  177. /*
  178. ==============================================
  179. = ADMINITY TABLE & DATA TABLE CUSTOM STYLING =
  180. ==============================================
  181. */
  182. /* GENERAL */
  183. table thead tr {
  184. background-image: url(../img/grad-overlay.png);
  185. height: 30px;
  186. }
  187. table thead th {
  188. border-right: 1px solid #ccc;
  189. color: #292929;
  190. text-shadow: 0 1px 0 #fff;
  191. font-size: 12px;
  192. }
  193. table thead th:last-of-type { border-right: none; }
  194. table tbody {
  195. border-top: 1px solid #bbb;
  196. border-bottom: 1px solid #bbb;
  197. }
  198. table tr.odd { background-color: #fff; }
  199. table tr.even { background-color: #f6f6f6; }
  200. table td { padding: 8px 10px; border-right: 1px solid #ccc; }
  201. table tbody tr:hover { background-color: #ddd; }
  202. .display { width: 100%; }
  203. /* TOOLBAR */
  204. .fg-toolbar {
  205. background: url(../img/grad-overlay.png) #eee;
  206. border: none;
  207. border-radius: 0 0 2px 2px;
  208. }
  209. .table-toolbar {
  210. height: 30px;
  211. border-bottom: 1px solid #ccc;
  212. background: url(../img/grad-overlay.png) #eee;
  213. }
  214. .table-toolbar li {
  215. height: 30px;
  216. border-right: 1px solid #ccc;
  217. float: left;
  218. }
  219. .table-toolbar li a {
  220. color: #292929;
  221. font-size: 12px;
  222. position: relative;
  223. top: 4px;
  224. padding: 7px 10px;
  225. text-shadow: 0 1px 0 #fff;
  226. }
  227. .table-toolbar img {
  228. position: relative;
  229. top: 3px;
  230. }
  231. /* WRAPPER AND CONTENT */
  232. .DataTables_sort_wrapper {
  233. padding: 4px 0;
  234. position: relative;
  235. }
  236. .DataTables_sort_wrapper span {
  237. position: absolute;
  238. top: 50%;
  239. margin-top: -8px;
  240. }
  241. .dataTables_wrapper {position: relative;}
  242. .dataTables_filter, .dataTables_length {
  243. position: absolute;
  244. top: -25px;
  245. right: 8px;
  246. display: inline-block;
  247. color: #ddd;
  248. height: 17px;
  249. }
  250. .dataTables_length {margin-right: 170px; }
  251. .table-toolbar + .dataTables_wrapper .dataTables_filter,
  252. .table-toolbar + .dataTables_wrapper .dataTables_length {
  253. color: #292929;
  254. text-shadow: 0 1px 0 #fff;
  255. font-size: 12px;
  256. }
  257. .dataTables_wrapper .dataTables_filter,
  258. .dataTables_wrapper .dataTables_length {
  259. color: #ddd;
  260. text-shadow: 0 1px 0 #222;
  261. font-size: 12px;
  262. }
  263. .dataTables_wrapper input {
  264. padding: 1px !important;
  265. box-shadow: none !important;
  266. }
  267. .dataTables_wrapper select {
  268. padding: 0;
  269. box-shadow: none !important;
  270. }
  271. .table-toolbar + .dataTables_wrapper.dataTables_filter input,
  272. .table-toolbar + .dataTables_wrapper.dataTables_length select {
  273. background-color: #eee;
  274. border: 1px solid #bbb;
  275. border-radius: 2px;
  276. }
  277. .dataTables_wrapper .dataTables_filter input,
  278. .dataTables_wrapper .dataTables_length select {
  279. background-color: #ddd;
  280. border: 1px solid #bbb;
  281. border-radius: 2px;
  282. }
  283. .dataTables_paginate .fg-button {
  284. background: url(../img/grad-overlay-s.png) #ddd;
  285. padding: 5px 7px;
  286. font-weight: 400;
  287. font-size: 10px;
  288. color: #292929;
  289. text-shadow: 0 1px 0 #eee;
  290. }
  291. .dataTables_paginate.paging_two_button { border: none !important; }
  292. .paging_two_button .fg-button {
  293. background: url(../img/grad-overlay-s.png) #ddd;
  294. padding: 2px 4px;
  295. border: 1px solid #bbb;
  296. }
  297. .dataTables_paginate .fg-button:hover { background-color: #ccc; }
  298. .dataTables_paginate {
  299. border: 1px solid #bbb;
  300. border-radius: 2px;
  301. }
  302. /* For preventing interference with the jQuery Flot chart legends */
  303. .legendColorBox, .legendLabel { padding: 1px 2px; border: none; }