jquery.dataTables.css 14 KB

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