dataTables.bootstrap.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. div.dataTables_length label {
  2. font-weight: normal;
  3. float: left;
  4. text-align: left;
  5. }
  6. div.dataTables_length select {
  7. width: 75px;
  8. }
  9. div.dataTables_filter label {
  10. font-weight: normal;
  11. float: right;
  12. }
  13. div.dataTables_filter input {
  14. width: 16em;
  15. }
  16. div.dataTables_info {
  17. padding-top: 8px;
  18. }
  19. div.dataTables_paginate {
  20. float: right;
  21. margin: 0;
  22. }
  23. div.dataTables_paginate ul.pagination {
  24. margin: 2px 0;
  25. white-space: nowrap;
  26. }
  27. table.dataTable td,
  28. table.dataTable th {
  29. -webkit-box-sizing: content-box;
  30. -moz-box-sizing: content-box;
  31. box-sizing: content-box;
  32. }
  33. table.dataTable {
  34. clear: both;
  35. margin-top: 6px !important;
  36. margin-bottom: 6px !important;
  37. max-width: none !important;
  38. }
  39. table.dataTable thead .sorting,
  40. table.dataTable thead .sorting_asc,
  41. table.dataTable thead .sorting_desc,
  42. table.dataTable thead .sorting_asc_disabled,
  43. table.dataTable thead .sorting_desc_disabled {
  44. cursor: pointer;
  45. }
  46. table.dataTable thead .sorting { background: url('../images/sort_both.png') no-repeat center right; }
  47. table.dataTable thead .sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; }
  48. table.dataTable thead .sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; }
  49. table.dataTable thead .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; }
  50. table.dataTable thead .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; }
  51. table.dataTable thead > tr > th {
  52. padding-left: 18px;
  53. padding-right: 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-left-radius: 0;
  62. border-bottom-right-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-left-radius: 0 !important;
  67. border-bottom-right-radius: 0 !important;
  68. }
  69. div.dataTables_scrollBody table {
  70. border-top: none;
  71. margin-top: 0 !important;
  72. margin-bottom: 0 !important;
  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. /* Frustratingly the border-collapse:collapse used by Bootstrap makes the column
  83. width calculations when using scrolling impossible to align columns. We have
  84. to use separate
  85. */
  86. table.table-bordered.dataTable {
  87. border-collapse: separate !important;
  88. }
  89. table.table-bordered thead th,
  90. table.table-bordered thead td {
  91. border-left-width: 0;
  92. border-top-width: 0;
  93. }
  94. table.table-bordered tbody th,
  95. table.table-bordered tbody td {
  96. border-left-width: 0;
  97. border-bottom-width: 0;
  98. }
  99. table.table-bordered th:last-child,
  100. table.table-bordered td:last-child {
  101. border-right-width: 0;
  102. }
  103. div.dataTables_scrollHead table.table-bordered {
  104. border-bottom-width: 0;
  105. }
  106. /*
  107. * TableTools styles
  108. */
  109. .table tbody tr.active td,
  110. .table tbody tr.active th {
  111. background-color: #08C;
  112. color: white;
  113. }
  114. .table tbody tr.active:hover td,
  115. .table tbody tr.active:hover th {
  116. background-color: #0075b0 !important;
  117. }
  118. .table tbody tr.active a {
  119. color: white;
  120. }
  121. .table-striped tbody tr.active:nth-child(odd) td,
  122. .table-striped tbody tr.active:nth-child(odd) th {
  123. background-color: #017ebc;
  124. }
  125. table.DTTT_selectable tbody tr {
  126. cursor: pointer;
  127. }
  128. div.DTTT .btn {
  129. color: #333 !important;
  130. font-size: 12px;
  131. }
  132. div.DTTT .btn:hover {
  133. text-decoration: none !important;
  134. }
  135. ul.DTTT_dropdown.dropdown-menu {
  136. z-index: 2003;
  137. }
  138. ul.DTTT_dropdown.dropdown-menu a {
  139. color: #333 !important; /* needed only when demo_page.css is included */
  140. }
  141. ul.DTTT_dropdown.dropdown-menu li {
  142. position: relative;
  143. }
  144. ul.DTTT_dropdown.dropdown-menu li:hover a {
  145. background-color: #0088cc;
  146. color: white !important;
  147. }
  148. div.DTTT_collection_background {
  149. z-index: 2002;
  150. }
  151. /* TableTools information display */
  152. div.DTTT_print_info.modal {
  153. height: 150px;
  154. margin-top: -75px;
  155. text-align: center;
  156. }
  157. div.DTTT_print_info h6 {
  158. font-weight: normal;
  159. font-size: 28px;
  160. line-height: 28px;
  161. margin: 1em;
  162. }
  163. div.DTTT_print_info p {
  164. font-size: 14px;
  165. line-height: 20px;
  166. }
  167. /*
  168. * FixedColumns styles
  169. */
  170. div.DTFC_LeftHeadWrapper table,
  171. div.DTFC_LeftFootWrapper table,
  172. div.DTFC_RightHeadWrapper table,
  173. div.DTFC_RightFootWrapper table,
  174. table.DTFC_Cloned tr.even {
  175. background-color: white;
  176. margin-bottom: 0;
  177. }
  178. div.DTFC_RightHeadWrapper table ,
  179. div.DTFC_LeftHeadWrapper table {
  180. margin-bottom: 0 !important;
  181. border-top-right-radius: 0 !important;
  182. border-bottom-left-radius: 0 !important;
  183. border-bottom-right-radius: 0 !important;
  184. }
  185. div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child,
  186. div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child,
  187. div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
  188. div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
  189. border-bottom-left-radius: 0 !important;
  190. border-bottom-right-radius: 0 !important;
  191. }
  192. div.DTFC_RightBodyWrapper table,
  193. div.DTFC_LeftBodyWrapper table {
  194. border-top: none;
  195. margin: 0 !important;
  196. }
  197. div.DTFC_RightBodyWrapper tbody tr:first-child th,
  198. div.DTFC_RightBodyWrapper tbody tr:first-child td,
  199. div.DTFC_LeftBodyWrapper tbody tr:first-child th,
  200. div.DTFC_LeftBodyWrapper tbody tr:first-child td {
  201. border-top: none;
  202. }
  203. div.DTFC_RightFootWrapper table,
  204. div.DTFC_LeftFootWrapper table {
  205. border-top: none;
  206. }
  207. /*
  208. * FixedHeader styles
  209. */
  210. div.FixedHeader_Cloned table {
  211. margin: 0 !important
  212. }