jquery.dataTables.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. /*
  2. * Table styles
  3. */
  4. table.dataTable {
  5. width: 100%;
  6. margin: 0 auto;
  7. clear: both;
  8. border-collapse: separate;
  9. border-spacing: 0;
  10. /*
  11. * Header and footer styles
  12. */
  13. /*
  14. * Body styles
  15. */
  16. }
  17. table.dataTable thead th,
  18. table.dataTable tfoot th {
  19. font-weight: bold;
  20. }
  21. table.dataTable thead th,
  22. table.dataTable thead td {
  23. padding: 10px 18px;
  24. border-bottom: 1px solid #111;
  25. }
  26. table.dataTable thead th:active,
  27. table.dataTable thead td:active {
  28. outline: none;
  29. }
  30. table.dataTable tfoot th,
  31. table.dataTable tfoot td {
  32. padding: 10px 18px 6px 18px;
  33. border-top: 1px solid #111;
  34. }
  35. table.dataTable thead .sorting,
  36. table.dataTable thead .sorting_asc,
  37. table.dataTable thead .sorting_desc,
  38. table.dataTable thead .sorting_asc_disabled,
  39. table.dataTable thead .sorting_desc_disabled {
  40. cursor: pointer;
  41. *cursor: hand;
  42. }
  43. table.dataTable thead .sorting,
  44. table.dataTable thead .sorting_asc,
  45. table.dataTable thead .sorting_desc,
  46. table.dataTable thead .sorting_asc_disabled,
  47. table.dataTable thead .sorting_desc_disabled {
  48. background-repeat: no-repeat;
  49. background-position: center right;
  50. }
  51. table.dataTable thead .sorting {
  52. background-image: url("../images/sort_both.png");
  53. }
  54. table.dataTable thead .sorting_asc {
  55. background-image: url("../images/sort_asc.png");
  56. }
  57. table.dataTable thead .sorting_desc {
  58. background-image: url("../images/sort_desc.png");
  59. }
  60. table.dataTable thead .sorting_asc_disabled {
  61. background-image: url("../images/sort_asc_disabled.png");
  62. }
  63. table.dataTable thead .sorting_desc_disabled {
  64. background-image: url("../images/sort_desc_disabled.png");
  65. }
  66. table.dataTable tbody tr {
  67. background-color: #ffffff;
  68. }
  69. table.dataTable tbody tr.selected {
  70. background-color: #B0BED9;
  71. }
  72. table.dataTable tbody th,
  73. table.dataTable tbody td {
  74. padding: 8px 10px;
  75. }
  76. table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
  77. border-top: 1px solid #ddd;
  78. }
  79. table.dataTable.row-border tbody tr:first-child th,
  80. table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
  81. table.dataTable.display tbody tr:first-child td {
  82. border-top: none;
  83. }
  84. table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
  85. border-top: 1px solid #ddd;
  86. border-right: 1px solid #ddd;
  87. }
  88. table.dataTable.cell-border tbody tr th:first-child,
  89. table.dataTable.cell-border tbody tr td:first-child {
  90. border-left: 1px solid #ddd;
  91. }
  92. table.dataTable.cell-border tbody tr:first-child th,
  93. table.dataTable.cell-border tbody tr:first-child td {
  94. border-top: none;
  95. }
  96. table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
  97. background-color: #f9f9f9;
  98. }
  99. table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
  100. background-color: #acbad4;
  101. }
  102. table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
  103. background-color: #f6f6f6;
  104. }
  105. table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr:hover.selected {
  106. background-color: #aab7d1;
  107. }
  108. table.dataTable.order-column tbody tr > .sorting_1,
  109. table.dataTable.order-column tbody tr > .sorting_2,
  110. table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
  111. table.dataTable.display tbody tr > .sorting_2,
  112. table.dataTable.display tbody tr > .sorting_3 {
  113. background-color: #fafafa;
  114. }
  115. table.dataTable.order-column tbody tr.selected > .sorting_1,
  116. table.dataTable.order-column tbody tr.selected > .sorting_2,
  117. table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
  118. table.dataTable.display tbody tr.selected > .sorting_2,
  119. table.dataTable.display tbody tr.selected > .sorting_3 {
  120. background-color: #acbad5;
  121. }
  122. table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  123. background-color: #f1f1f1;
  124. }
  125. table.dataTable.display tbody tr.odd > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 {
  126. background-color: #f3f3f3;
  127. }
  128. table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 {
  129. background-color: whitesmoke;
  130. }
  131. table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
  132. background-color: #a6b4cd;
  133. }
  134. table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
  135. background-color: #a8b5cf;
  136. }
  137. table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
  138. background-color: #a9b7d1;
  139. }
  140. table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  141. background-color: #fafafa;
  142. }
  143. table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
  144. background-color: #fcfcfc;
  145. }
  146. table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
  147. background-color: #fefefe;
  148. }
  149. table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
  150. background-color: #acbad5;
  151. }
  152. table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
  153. background-color: #aebcd6;
  154. }
  155. table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
  156. background-color: #afbdd8;
  157. }
  158. table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
  159. background-color: #eaeaea;
  160. }
  161. table.dataTable.display tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 {
  162. background-color: #ececec;
  163. }
  164. table.dataTable.display tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
  165. background-color: #efefef;
  166. }
  167. table.dataTable.display tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 {
  168. background-color: #a2aec7;
  169. }
  170. table.dataTable.display tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 {
  171. background-color: #a3b0c9;
  172. }
  173. table.dataTable.display tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 {
  174. background-color: #a5b2cb;
  175. }
  176. table.dataTable.no-footer {
  177. border-bottom: 1px solid #111;
  178. }
  179. table.dataTable.nowrap th, table.dataTable.nowrap td {
  180. white-space: nowrap;
  181. }
  182. table.dataTable.compact thead th,
  183. table.dataTable.compact thead td {
  184. padding: 4px 17px 4px 4px;
  185. }
  186. table.dataTable.compact tfoot th,
  187. table.dataTable.compact tfoot td {
  188. padding: 4px;
  189. }
  190. table.dataTable.compact tbody th,
  191. table.dataTable.compact tbody td {
  192. padding: 4px;
  193. }
  194. table.dataTable th.dt-left,
  195. table.dataTable td.dt-left {
  196. text-align: left;
  197. }
  198. table.dataTable th.dt-center,
  199. table.dataTable td.dt-center,
  200. table.dataTable td.dataTables_empty {
  201. text-align: center;
  202. }
  203. table.dataTable th.dt-right,
  204. table.dataTable td.dt-right {
  205. text-align: right;
  206. }
  207. table.dataTable th.dt-justify,
  208. table.dataTable td.dt-justify {
  209. text-align: justify;
  210. }
  211. table.dataTable th.dt-nowrap,
  212. table.dataTable td.dt-nowrap {
  213. white-space: nowrap;
  214. }
  215. table.dataTable thead th.dt-head-left,
  216. table.dataTable thead td.dt-head-left,
  217. table.dataTable tfoot th.dt-head-left,
  218. table.dataTable tfoot td.dt-head-left {
  219. text-align: left;
  220. }
  221. table.dataTable thead th.dt-head-center,
  222. table.dataTable thead td.dt-head-center,
  223. table.dataTable tfoot th.dt-head-center,
  224. table.dataTable tfoot td.dt-head-center {
  225. text-align: center;
  226. }
  227. table.dataTable thead th.dt-head-right,
  228. table.dataTable thead td.dt-head-right,
  229. table.dataTable tfoot th.dt-head-right,
  230. table.dataTable tfoot td.dt-head-right {
  231. text-align: right;
  232. }
  233. table.dataTable thead th.dt-head-justify,
  234. table.dataTable thead td.dt-head-justify,
  235. table.dataTable tfoot th.dt-head-justify,
  236. table.dataTable tfoot td.dt-head-justify {
  237. text-align: justify;
  238. }
  239. table.dataTable thead th.dt-head-nowrap,
  240. table.dataTable thead td.dt-head-nowrap,
  241. table.dataTable tfoot th.dt-head-nowrap,
  242. table.dataTable tfoot td.dt-head-nowrap {
  243. white-space: nowrap;
  244. }
  245. table.dataTable tbody th.dt-body-left,
  246. table.dataTable tbody td.dt-body-left {
  247. text-align: left;
  248. }
  249. table.dataTable tbody th.dt-body-center,
  250. table.dataTable tbody td.dt-body-center {
  251. text-align: center;
  252. }
  253. table.dataTable tbody th.dt-body-right,
  254. table.dataTable tbody td.dt-body-right {
  255. text-align: right;
  256. }
  257. table.dataTable tbody th.dt-body-justify,
  258. table.dataTable tbody td.dt-body-justify {
  259. text-align: justify;
  260. }
  261. table.dataTable tbody th.dt-body-nowrap,
  262. table.dataTable tbody td.dt-body-nowrap {
  263. white-space: nowrap;
  264. }
  265. table.dataTable,
  266. table.dataTable th,
  267. table.dataTable td {
  268. -webkit-box-sizing: content-box;
  269. box-sizing: content-box;
  270. }
  271. /*
  272. * Control feature layout
  273. */
  274. .dataTables_wrapper {
  275. position: relative;
  276. clear: both;
  277. *zoom: 1;
  278. zoom: 1;
  279. }
  280. .dataTables_wrapper .dataTables_length {
  281. float: left;
  282. }
  283. .dataTables_wrapper .dataTables_filter {
  284. float: right;
  285. text-align: right;
  286. }
  287. .dataTables_wrapper .dataTables_filter input {
  288. margin-left: 0.5em;
  289. }
  290. .dataTables_wrapper .dataTables_info {
  291. clear: both;
  292. float: left;
  293. padding-top: 0.755em;
  294. }
  295. .dataTables_wrapper .dataTables_paginate {
  296. float: right;
  297. text-align: right;
  298. padding-top: 0.25em;
  299. }
  300. .dataTables_wrapper .dataTables_paginate .paginate_button {
  301. box-sizing: border-box;
  302. display: inline-block;
  303. min-width: 1.5em;
  304. padding: 0.5em 1em;
  305. margin-left: 2px;
  306. text-align: center;
  307. text-decoration: none !important;
  308. cursor: pointer;
  309. *cursor: hand;
  310. color: #333 !important;
  311. border: 1px solid transparent;
  312. border-radius: 2px;
  313. }
  314. .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  315. color: #333 !important;
  316. border: 1px solid #979797;
  317. background-color: white;
  318. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));
  319. /* Chrome,Safari4+ */
  320. background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%);
  321. /* Chrome10+,Safari5.1+ */
  322. background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%);
  323. /* FF3.6+ */
  324. background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%);
  325. /* IE10+ */
  326. background: -o-linear-gradient(top, white 0%, #dcdcdc 100%);
  327. /* Opera 11.10+ */
  328. background: linear-gradient(to bottom, white 0%, #dcdcdc 100%);
  329. /* W3C */
  330. }
  331. .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  332. cursor: default;
  333. color: #666 !important;
  334. border: 1px solid transparent;
  335. background: transparent;
  336. box-shadow: none;
  337. }
  338. .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  339. color: white !important;
  340. border: 1px solid #111;
  341. background-color: #585858;
  342. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
  343. /* Chrome,Safari4+ */
  344. background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
  345. /* Chrome10+,Safari5.1+ */
  346. background: -moz-linear-gradient(top, #585858 0%, #111 100%);
  347. /* FF3.6+ */
  348. background: -ms-linear-gradient(top, #585858 0%, #111 100%);
  349. /* IE10+ */
  350. background: -o-linear-gradient(top, #585858 0%, #111 100%);
  351. /* Opera 11.10+ */
  352. background: linear-gradient(to bottom, #585858 0%, #111 100%);
  353. /* W3C */
  354. }
  355. .dataTables_wrapper .dataTables_paginate .paginate_button:active {
  356. outline: none;
  357. background-color: #2b2b2b;
  358. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
  359. /* Chrome,Safari4+ */
  360. background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  361. /* Chrome10+,Safari5.1+ */
  362. background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  363. /* FF3.6+ */
  364. background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  365. /* IE10+ */
  366. background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  367. /* Opera 11.10+ */
  368. background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
  369. /* W3C */
  370. box-shadow: inset 0 0 3px #111;
  371. }
  372. .dataTables_wrapper .dataTables_paginate .ellipsis {
  373. padding: 0 1em;
  374. }
  375. .dataTables_wrapper .dataTables_processing {
  376. position: absolute;
  377. top: 50%;
  378. left: 50%;
  379. width: 100%;
  380. height: 40px;
  381. margin-left: -50%;
  382. margin-top: -25px;
  383. padding-top: 20px;
  384. text-align: center;
  385. font-size: 1.2em;
  386. background-color: white;
  387. 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)));
  388. 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%);
  389. 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%);
  390. 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%);
  391. 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%);
  392. 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%);
  393. }
  394. .dataTables_wrapper .dataTables_length,
  395. .dataTables_wrapper .dataTables_filter,
  396. .dataTables_wrapper .dataTables_info,
  397. .dataTables_wrapper .dataTables_processing,
  398. .dataTables_wrapper .dataTables_paginate {
  399. color: #333;
  400. }
  401. .dataTables_wrapper .dataTables_scroll {
  402. clear: both;
  403. }
  404. .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
  405. *margin-top: -1px;
  406. -webkit-overflow-scrolling: touch;
  407. }
  408. .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
  409. vertical-align: middle;
  410. }
  411. .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
  412. .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
  413. .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
  414. height: 0;
  415. overflow: hidden;
  416. margin: 0 !important;
  417. padding: 0 !important;
  418. }
  419. .dataTables_wrapper.no-footer .dataTables_scrollBody {
  420. border-bottom: 1px solid #111;
  421. }
  422. .dataTables_wrapper.no-footer div.dataTables_scrollHead > table,
  423. .dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
  424. border-bottom: none;
  425. }
  426. .dataTables_wrapper:after {
  427. visibility: hidden;
  428. display: block;
  429. content: "";
  430. clear: both;
  431. height: 0;
  432. }
  433. @media screen and (max-width: 767px) {
  434. .dataTables_wrapper .dataTables_info,
  435. .dataTables_wrapper .dataTables_paginate {
  436. float: none;
  437. text-align: center;
  438. }
  439. .dataTables_wrapper .dataTables_paginate {
  440. margin-top: 0.5em;
  441. }
  442. }
  443. @media screen and (max-width: 640px) {
  444. .dataTables_wrapper .dataTables_length,
  445. .dataTables_wrapper .dataTables_filter {
  446. float: none;
  447. text-align: center;
  448. }
  449. .dataTables_wrapper .dataTables_filter {
  450. margin-top: 0.5em;
  451. }
  452. }