datatable.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. /* Data Tables */
  2. div.dataTables_length label {
  3. font-weight: normal;
  4. line-height: 32px;
  5. text-align: left;
  6. display: block;
  7. }
  8. div.dataTables_length select {
  9. float: left;
  10. width: 75px;
  11. margin-right: 10px;
  12. }
  13. div.dataTables_filter label {
  14. font-weight: normal;
  15. float: right;
  16. }
  17. div.dataTables_filter input {
  18. display: inline-block;
  19. width: 200px;
  20. margin-left: 10px;
  21. padding: 0 10px;
  22. }
  23. div.dataTables_info {
  24. padding-top: 8px;
  25. }
  26. div.dataTables_paginate {
  27. float: right;
  28. margin: 0;
  29. }
  30. div.dataTables_paginate ul.pagination {
  31. margin: 0;
  32. white-space: nowrap;
  33. }
  34. table.dataTable {
  35. clear: both;
  36. max-width: none !important;
  37. margin-top: 10px !important;
  38. margin-bottom: 10px !important;
  39. }
  40. table.dataTable thead .sorting,
  41. table.dataTable thead .sorting_asc,
  42. table.dataTable thead .sorting_desc,
  43. table.dataTable thead .sorting_asc_disabled,
  44. table.dataTable thead .sorting_desc_disabled {
  45. cursor: pointer;
  46. }
  47. table.dataTable thead .sorting_asc_disabled .glyph-icon,
  48. table.dataTable thead .sorting_desc_disabled .glyph-icon {
  49. opacity: .7;
  50. }
  51. table.dataTable thead > tr > th {
  52. padding-right: 18px;
  53. padding-left: 18px;
  54. }
  55. table.dataTable th:active {
  56. outline: none;
  57. }
  58. /* Scrolling */
  59. div.dataTables_scrollHead table {
  60. margin-bottom: 0 !important;
  61. border-bottom-right-radius: 0;
  62. border-bottom-left-radius: 0;
  63. }
  64. div.dataTables_scrollHead table thead tr:last-child th:first-child,
  65. div.dataTables_scrollHead table thead tr:last-child td:first-child {
  66. border-bottom-right-radius: 0 !important;
  67. border-bottom-left-radius: 0 !important;
  68. }
  69. div.dataTables_scrollBody table {
  70. margin-top: 0 !important;
  71. margin-bottom: 0 !important;
  72. border-top: none;
  73. }
  74. div.dataTables_scrollBody tbody tr:first-child th,
  75. div.dataTables_scrollBody tbody tr:first-child td {
  76. border-top: none;
  77. }
  78. div.dataTables_scrollFoot table {
  79. margin-top: 0 !important;
  80. border-top: none;
  81. }
  82. /*
  83. * TableTools styles
  84. */
  85. .table tbody tr.active td,
  86. .table tbody tr.active th {
  87. color: white;
  88. background-color: #08c;
  89. }
  90. .table tbody tr.active:hover td,
  91. .table tbody tr.active:hover th {
  92. background-color: #0075b0 !important;
  93. }
  94. .table tbody tr.active a {
  95. color: white;
  96. }
  97. .table-striped tbody tr.active:nth-child(odd) td,
  98. .table-striped tbody tr.active:nth-child(odd) th {
  99. background-color: #017ebc;
  100. }
  101. table.DTTT_selectable tbody tr {
  102. cursor: pointer;
  103. }
  104. div.DTTT .btn {
  105. font-size: 12px;
  106. color: #333 !important;
  107. }
  108. div.DTTT .btn:hover {
  109. text-decoration: none !important;
  110. }
  111. ul.DTTT_dropdown.dropdown-menu {
  112. z-index: 2003;
  113. }
  114. ul.DTTT_dropdown.dropdown-menu a {
  115. color: #333 !important;
  116. /* needed only when demo_page.css is included */
  117. }
  118. ul.DTTT_dropdown.dropdown-menu li {
  119. position: relative;
  120. }
  121. ul.DTTT_dropdown.dropdown-menu li:hover a {
  122. color: white !important;
  123. background-color: #08c;
  124. }
  125. div.DTTT_collection_background {
  126. z-index: 2002;
  127. }
  128. .DTTT_Print #page-content {
  129. margin: 0;
  130. }
  131. /* TableTools information display */
  132. div.DTTT_print_info.modal {
  133. height: 150px;
  134. margin-top: -75px;
  135. text-align: center;
  136. }
  137. div.DTTT_print_info h6 {
  138. font-size: 28px;
  139. font-weight: normal;
  140. line-height: 28px;
  141. margin: 1em;
  142. }
  143. div.DTTT_print_info p {
  144. font-size: 14px;
  145. line-height: 20px;
  146. }
  147. div.DTFC_LeftHeadWrapper table,
  148. div.DTFC_LeftFootWrapper table,
  149. div.DTFC_RightHeadWrapper table,
  150. div.DTFC_RightFootWrapper table,
  151. table.DTFC_Cloned tr.even {
  152. margin-bottom: 0;
  153. background-color: white;
  154. }
  155. div.DTFC_RightHeadWrapper table,
  156. div.DTFC_LeftHeadWrapper table {
  157. margin-bottom: 0 !important;
  158. border-top-right-radius: 0 !important;
  159. border-bottom-right-radius: 0 !important;
  160. border-bottom-left-radius: 0 !important;
  161. }
  162. div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child,
  163. div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child,
  164. div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
  165. div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
  166. border-bottom-right-radius: 0 !important;
  167. border-bottom-left-radius: 0 !important;
  168. }
  169. div.DTFC_RightBodyWrapper table,
  170. div.DTFC_LeftBodyWrapper table {
  171. margin-bottom: 0 !important;
  172. border-top: none;
  173. }
  174. div.DTFC_RightBodyWrapper tbody tr:first-child th,
  175. div.DTFC_RightBodyWrapper tbody tr:first-child td,
  176. div.DTFC_LeftBodyWrapper tbody tr:first-child th,
  177. div.DTFC_LeftBodyWrapper tbody tr:first-child td {
  178. border-top: none;
  179. }
  180. div.DTFC_RightFootWrapper table,
  181. div.DTFC_LeftFootWrapper table {
  182. border-top: none;
  183. }
  184. /*!
  185. * DataTables + Font Awesome integration
  186. * License: MIT - http://datatables.net/license
  187. */
  188. /*
  189. * Sort styling
  190. */
  191. table.dataTable thead th {
  192. position: relative;
  193. background-image: none !important;
  194. /* Remove the DataTables bootstrap integration styling */
  195. }
  196. table.dataTable thead th.sorting:after,
  197. table.dataTable thead th.sorting_asc:after,
  198. table.dataTable thead th.sorting_desc:after {
  199. position: absolute;
  200. top: 12px;
  201. right: 8px;
  202. display: block;
  203. font-family: FontAwesome;
  204. }
  205. table.dataTable thead th.sorting:after {
  206. content: "\f0dc";
  207. font-size: 13px;
  208. }
  209. table.dataTable thead th.sorting_asc:after {
  210. content: "\f0de";
  211. }
  212. table.dataTable thead th.sorting_desc:after {
  213. content: "\f0dd";
  214. }
  215. /* In Bootstrap and Foundation the padding top is a little different from the DataTables stylesheet */
  216. table.table thead th.sorting:after,
  217. table.table thead th.sorting_asc:after,
  218. table.table thead th.sorting_desc:after {
  219. top: 12px;
  220. }
  221. /*
  222. * DataTables style pagination controls
  223. */
  224. div.dataTables_paginate a.paginate_button.first,
  225. div.dataTables_paginate a.paginate_button.previous {
  226. position: relative;
  227. padding-left: 24px;
  228. }
  229. div.dataTables_paginate a.paginate_button.next,
  230. div.dataTables_paginate a.paginate_button.last {
  231. position: relative;
  232. padding-right: 24px;
  233. }
  234. div.dataTables_paginate a.first:before,
  235. div.dataTables_paginate a.previous:before {
  236. position: absolute;
  237. top: 8px;
  238. left: 10px;
  239. display: block;
  240. font-family: FontAwesome;
  241. }
  242. div.dataTables_paginate a.next:after,
  243. div.dataTables_paginate a.last:after {
  244. position: absolute;
  245. top: 8px;
  246. right: 10px;
  247. display: block;
  248. font-family: FontAwesome;
  249. }
  250. div.dataTables_paginate a.first:before {
  251. content: "\f100";
  252. }
  253. div.dataTables_paginate a.previous:before {
  254. content: "\f104";
  255. }
  256. div.dataTables_paginate a.next:after {
  257. content: "\f105";
  258. }
  259. div.dataTables_paginate a.last:after {
  260. content: "\f101";
  261. }
  262. /*
  263. * Bootstrap and foundation style pagination controls
  264. */
  265. div.dataTables_paginate li.first > a,
  266. div.dataTables_paginate li.previous > a {
  267. position: relative;
  268. padding-left: 24px;
  269. }
  270. div.dataTables_paginate li.next > a,
  271. div.dataTables_paginate li.last > a {
  272. position: relative;
  273. padding-right: 24px;
  274. }
  275. div.dataTables_paginate li.first a:before,
  276. div.dataTables_paginate li.previous a:before {
  277. position: absolute;
  278. top: 6px;
  279. left: 10px;
  280. display: block;
  281. font-family: FontAwesome;
  282. }
  283. div.dataTables_paginate li.next a:after,
  284. div.dataTables_paginate li.last a:after {
  285. position: absolute;
  286. top: 6px;
  287. right: 10px;
  288. display: block;
  289. font-family: FontAwesome;
  290. }
  291. div.dataTables_paginate li.first a:before {
  292. content: "\f100";
  293. }
  294. div.dataTables_paginate li.previous a:before {
  295. content: "\f104";
  296. }
  297. div.dataTables_paginate li.next a:after {
  298. content: "\f105";
  299. }
  300. div.dataTables_paginate li.last a:after {
  301. content: "\f101";
  302. }
  303. /* In Foundation we don't want the padding like in bootstrap */
  304. div.columns div.dataTables_paginate li.first a:before,
  305. div.columns div.dataTables_paginate li.previous a:before,
  306. div.columns div.dataTables_paginate li.next a:after,
  307. div.columns div.dataTables_paginate li.last a:after {
  308. top: 0px;
  309. }
  310. .DTTT_container {
  311. float: right;
  312. margin-left: 10px;
  313. }
  314. .DTTT_container a div {
  315. cursor: pointer;
  316. }
  317. .dataTables_scrollBody table.dataTable thead th.sorting:after {
  318. display: none;
  319. }
  320. .tr-selected td,
  321. .tr-selected {
  322. background: #eefacd !important;
  323. color: #393c31 !important;
  324. }
  325. table.dataTable.dtr-inline.collapsed tbody td:first-child,
  326. table.dataTable.dtr-inline.collapsed tbody th:first-child {
  327. position: relative;
  328. padding-left: 30px;
  329. cursor: pointer;
  330. }
  331. table.dataTable.dtr-inline.collapsed tbody td:first-child:before,
  332. table.dataTable.dtr-inline.collapsed tbody th:first-child:before {
  333. top: 8px;
  334. left: 4px;
  335. height: 16px;
  336. width: 16px;
  337. display: block;
  338. position: absolute;
  339. color: white;
  340. border: 2px solid white;
  341. border-radius: 16px;
  342. text-align: center;
  343. line-height: 14px;
  344. box-shadow: 0 0 3px #444;
  345. box-sizing: content-box;
  346. content: '+';
  347. background-color: #31b131;
  348. }
  349. table.dataTable.dtr-inline.collapsed tbody td:first-child.dataTables_empty:before,
  350. table.dataTable.dtr-inline.collapsed tbody th:first-child.dataTables_empty:before {
  351. display: none;
  352. }
  353. table.dataTable.dtr-inline.collapsed tbody tr.parent td:first-child:before,
  354. table.dataTable.dtr-inline.collapsed tbody tr.parent th:first-child:before {
  355. content: '-';
  356. background-color: #d33333;
  357. }
  358. table.dataTable.dtr-inline.collapsed tbody tr.child td:before {
  359. display: none;
  360. }
  361. table.dataTable.dtr-column tbody td.control,
  362. table.dataTable.dtr-column tbody th.control {
  363. position: relative;
  364. cursor: pointer;
  365. }
  366. table.dataTable.dtr-column tbody td.control:before,
  367. table.dataTable.dtr-column tbody th.control:before {
  368. top: 50%;
  369. left: 50%;
  370. height: 16px;
  371. width: 16px;
  372. margin-top: -10px;
  373. margin-left: -10px;
  374. display: block;
  375. position: absolute;
  376. color: white;
  377. border: 2px solid white;
  378. border-radius: 16px;
  379. text-align: center;
  380. line-height: 14px;
  381. box-shadow: 0 0 3px #444;
  382. box-sizing: content-box;
  383. content: '+';
  384. background-color: #31b131;
  385. }
  386. table.dataTable.dtr-column tbody tr.parent td.control:before,
  387. table.dataTable.dtr-column tbody tr.parent th.control:before {
  388. content: '-';
  389. background-color: #d33333;
  390. }
  391. table.dataTable tr.child {
  392. padding: 0.5em 1em;
  393. }
  394. table.dataTable tr.child:hover {
  395. background: transparent !important;
  396. }
  397. table.dataTable tr.child ul {
  398. display: inline-block;
  399. list-style-type: none;
  400. margin: 0;
  401. padding: 0;
  402. }
  403. table.dataTable tr.child ul li {
  404. border-bottom: 1px solid #efefef;
  405. padding: 0.5em 0;
  406. }
  407. table.dataTable tr.child ul li:first-child {
  408. padding-top: 0;
  409. }
  410. table.dataTable tr.child ul li:last-child {
  411. border-bottom: none;
  412. }
  413. table.dataTable tr.child span.dtr-title {
  414. display: inline-block;
  415. min-width: 75px;
  416. font-weight: bold;
  417. }
  418. div.FixedHeader_Cloned th,
  419. div.FixedHeader_Cloned td {
  420. background-color: white !important;
  421. }
  422. .DTFC_LeftBodyLiner .table,
  423. .DTFC_LeftFootWrapper .table {
  424. margin: 0 !important;
  425. }
  426. /*
  427. * Namespace DTCR - "DataTables ColReorder" plug-in
  428. */
  429. table.DTCR_clonedTable {
  430. background-color: rgba(255, 255, 255, 0.7);
  431. z-index: 202;
  432. }
  433. div.DTCR_pointer {
  434. width: 1px;
  435. background-color: #0259C4;
  436. z-index: 201;
  437. }
  438. .DTFC_LeftBodyLiner .table thead th:after {
  439. display: none !important;
  440. }
  441. #datatable-example_length select { height:34px; }
  442. #datatable-row-highlight_length select { height:34px; }
  443. #datatable-responsive_length select { height:34px; }
  444. #datatable-tabletools_length select { height:34px; }
  445. #datatable-fixedcolumns { display:table !important; }
  446. #ToolTables_datatable-tabletools_4 { display:none; }
  447. .dfc-table .form-inline { display:block !important; }