dataTables.bootstrap4.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. table.dataTable {
  2. clear: both;
  3. margin-top: 6px !important;
  4. margin-bottom: 6px !important;
  5. max-width: none !important;
  6. border-collapse: separate !important;
  7. }
  8. table.dataTable td,
  9. table.dataTable th {
  10. -webkit-box-sizing: content-box;
  11. box-sizing: content-box;
  12. }
  13. table.dataTable td.dataTables_empty,
  14. table.dataTable th.dataTables_empty {
  15. text-align: center;
  16. }
  17. table.dataTable.nowrap th,
  18. table.dataTable.nowrap td {
  19. white-space: nowrap;
  20. }
  21. div.dataTables_wrapper div.dataTables_length label {
  22. font-weight: normal;
  23. text-align: left;
  24. white-space: nowrap;
  25. }
  26. div.dataTables_wrapper div.dataTables_length select {
  27. width: 75px;
  28. display: inline-block;
  29. }
  30. div.dataTables_wrapper div.dataTables_filter {
  31. text-align: right;
  32. }
  33. div.dataTables_wrapper div.dataTables_filter label {
  34. font-weight: normal;
  35. white-space: nowrap;
  36. text-align: left;
  37. }
  38. div.dataTables_wrapper div.dataTables_filter input {
  39. margin-left: 0.5em;
  40. display: inline-block;
  41. width: auto;
  42. }
  43. div.dataTables_wrapper div.dataTables_info {
  44. padding-top: 0.85em;
  45. white-space: nowrap;
  46. }
  47. div.dataTables_wrapper div.dataTables_paginate {
  48. margin: 0;
  49. white-space: nowrap;
  50. text-align: right;
  51. }
  52. div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  53. margin: 2px 0;
  54. white-space: nowrap;
  55. }
  56. div.dataTables_wrapper div.dataTables_processing {
  57. position: absolute;
  58. top: 50%;
  59. left: 50%;
  60. width: 200px;
  61. margin-left: -100px;
  62. margin-top: -26px;
  63. text-align: center;
  64. padding: 1em 0;
  65. }
  66. table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
  67. table.dataTable thead > tr > td.sorting_asc,
  68. table.dataTable thead > tr > td.sorting_desc,
  69. table.dataTable thead > tr > td.sorting {
  70. padding-right: 30px;
  71. }
  72. table.dataTable thead > tr > th:active,
  73. table.dataTable thead > tr > td:active {
  74. outline: none;
  75. }
  76. table.dataTable thead .sorting,
  77. table.dataTable thead .sorting_asc,
  78. table.dataTable thead .sorting_desc,
  79. table.dataTable thead .sorting_asc_disabled,
  80. table.dataTable thead .sorting_desc_disabled {
  81. cursor: pointer;
  82. position: relative;
  83. }
  84. table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
  85. table.dataTable thead .sorting_asc:before,
  86. table.dataTable thead .sorting_asc:after,
  87. table.dataTable thead .sorting_desc:before,
  88. table.dataTable thead .sorting_desc:after,
  89. table.dataTable thead .sorting_asc_disabled:before,
  90. table.dataTable thead .sorting_asc_disabled:after,
  91. table.dataTable thead .sorting_desc_disabled:before,
  92. table.dataTable thead .sorting_desc_disabled:after {
  93. position: absolute;
  94. bottom: 0.9em;
  95. display: block;
  96. opacity: 0.3;
  97. }
  98. table.dataTable thead .sorting:before,
  99. table.dataTable thead .sorting_asc:before,
  100. table.dataTable thead .sorting_desc:before,
  101. table.dataTable thead .sorting_asc_disabled:before,
  102. table.dataTable thead .sorting_desc_disabled:before {
  103. right: 1em;
  104. content: "\2191";
  105. }
  106. table.dataTable thead .sorting:after,
  107. table.dataTable thead .sorting_asc:after,
  108. table.dataTable thead .sorting_desc:after,
  109. table.dataTable thead .sorting_asc_disabled:after,
  110. table.dataTable thead .sorting_desc_disabled:after {
  111. right: 0.5em;
  112. content: "\2193";
  113. }
  114. table.dataTable thead .sorting_asc:before,
  115. table.dataTable thead .sorting_desc:after {
  116. opacity: 1;
  117. }
  118. table.dataTable thead .sorting_asc_disabled:before,
  119. table.dataTable thead .sorting_desc_disabled:after {
  120. opacity: 0;
  121. }
  122. div.dataTables_scrollHead table.dataTable {
  123. margin-bottom: 0 !important;
  124. }
  125. div.dataTables_scrollBody table {
  126. border-top: none;
  127. margin-top: 0 !important;
  128. margin-bottom: 0 !important;
  129. }
  130. div.dataTables_scrollBody table thead .sorting:after,
  131. div.dataTables_scrollBody table thead .sorting_asc:after,
  132. div.dataTables_scrollBody table thead .sorting_desc:after {
  133. display: none;
  134. }
  135. div.dataTables_scrollBody table tbody tr:first-child th,
  136. div.dataTables_scrollBody table tbody tr:first-child td {
  137. border-top: none;
  138. }
  139. div.dataTables_scrollFoot table {
  140. margin-top: 0 !important;
  141. border-top: none;
  142. }
  143. @media screen and (max-width: 767px) {
  144. div.dataTables_wrapper div.dataTables_length,
  145. div.dataTables_wrapper div.dataTables_filter,
  146. div.dataTables_wrapper div.dataTables_info,
  147. div.dataTables_wrapper div.dataTables_paginate {
  148. text-align: center;
  149. }
  150. }
  151. table.dataTable.table-condensed > thead > tr > th {
  152. padding-right: 20px;
  153. }
  154. table.dataTable.table-condensed .sorting:after,
  155. table.dataTable.table-condensed .sorting_asc:after,
  156. table.dataTable.table-condensed .sorting_desc:after {
  157. top: 6px;
  158. right: 6px;
  159. }
  160. table.table-bordered.dataTable th,
  161. table.table-bordered.dataTable td {
  162. border-left-width: 0;
  163. }
  164. table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
  165. table.table-bordered.dataTable td:last-child,
  166. table.table-bordered.dataTable td:last-child {
  167. border-right-width: 0;
  168. }
  169. table.table-bordered.dataTable tbody th,
  170. table.table-bordered.dataTable tbody td {
  171. border-bottom-width: 0;
  172. }
  173. div.dataTables_scrollHead table.table-bordered {
  174. border-bottom-width: 0;
  175. }
  176. div.table-responsive > div.dataTables_wrapper > div.row {
  177. margin: 0;
  178. }
  179. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
  180. padding-left: 0;
  181. }
  182. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
  183. padding-right: 0;
  184. }