1
0

dataTables.bootstrap4.css 5.7 KB

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