dataTables.bootstrap4.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. }
  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. justify-content: flex-end;
  56. }
  57. div.dataTables_wrapper div.dataTables_processing {
  58. position: absolute;
  59. top: 50%;
  60. left: 50%;
  61. width: 200px;
  62. margin-left: -100px;
  63. margin-top: -26px;
  64. text-align: center;
  65. padding: 1em 0;
  66. }
  67. table.dataTable > thead > tr > th:active,
  68. table.dataTable > thead > tr > td:active {
  69. outline: none;
  70. }
  71. table.dataTable > thead > tr > th:not(.sorting_disabled),
  72. table.dataTable > thead > tr > td:not(.sorting_disabled) {
  73. padding-right: 30px;
  74. }
  75. table.dataTable > thead .sorting,
  76. table.dataTable > thead .sorting_asc,
  77. table.dataTable > thead .sorting_desc,
  78. table.dataTable > thead .sorting_asc_disabled,
  79. table.dataTable > thead .sorting_desc_disabled {
  80. cursor: pointer;
  81. position: relative;
  82. }
  83. table.dataTable > thead .sorting:before, table.dataTable > thead .sorting:after,
  84. table.dataTable > thead .sorting_asc:before,
  85. table.dataTable > thead .sorting_asc:after,
  86. table.dataTable > thead .sorting_desc:before,
  87. table.dataTable > thead .sorting_desc:after,
  88. table.dataTable > thead .sorting_asc_disabled:before,
  89. table.dataTable > thead .sorting_asc_disabled:after,
  90. table.dataTable > thead .sorting_desc_disabled:before,
  91. table.dataTable > thead .sorting_desc_disabled:after {
  92. position: absolute;
  93. bottom: 0.9em;
  94. display: block;
  95. opacity: 0.3;
  96. }
  97. table.dataTable > thead .sorting:before,
  98. table.dataTable > thead .sorting_asc:before,
  99. table.dataTable > thead .sorting_desc:before,
  100. table.dataTable > thead .sorting_asc_disabled:before,
  101. table.dataTable > thead .sorting_desc_disabled:before {
  102. right: 1em;
  103. content: "\2191";
  104. }
  105. table.dataTable > thead .sorting:after,
  106. table.dataTable > thead .sorting_asc:after,
  107. table.dataTable > thead .sorting_desc:after,
  108. table.dataTable > thead .sorting_asc_disabled:after,
  109. table.dataTable > thead .sorting_desc_disabled:after {
  110. right: 0.5em;
  111. content: "\2193";
  112. }
  113. table.dataTable > thead .sorting_asc:before,
  114. table.dataTable > thead .sorting_desc:after {
  115. opacity: 1;
  116. }
  117. table.dataTable > thead .sorting_asc_disabled:before,
  118. table.dataTable > thead .sorting_desc_disabled:after {
  119. opacity: 0;
  120. }
  121. div.dataTables_scrollHead table.dataTable {
  122. margin-bottom: 0 !important;
  123. }
  124. div.dataTables_scrollBody table {
  125. border-top: none;
  126. margin-top: 0 !important;
  127. margin-bottom: 0 !important;
  128. }
  129. div.dataTables_scrollBody table thead .sorting:before,
  130. div.dataTables_scrollBody table thead .sorting_asc:before,
  131. div.dataTables_scrollBody table thead .sorting_desc:before,
  132. div.dataTables_scrollBody table thead .sorting:after,
  133. div.dataTables_scrollBody table thead .sorting_asc:after,
  134. div.dataTables_scrollBody table thead .sorting_desc:after {
  135. display: none;
  136. }
  137. div.dataTables_scrollBody table tbody tr:first-child th,
  138. div.dataTables_scrollBody table tbody tr:first-child td {
  139. border-top: none;
  140. }
  141. div.dataTables_scrollFoot > .dataTables_scrollFootInner {
  142. box-sizing: content-box;
  143. }
  144. div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
  145. margin-top: 0 !important;
  146. border-top: none;
  147. }
  148. @media screen and (max-width: 767px) {
  149. div.dataTables_wrapper div.dataTables_length,
  150. div.dataTables_wrapper div.dataTables_filter,
  151. div.dataTables_wrapper div.dataTables_info,
  152. div.dataTables_wrapper div.dataTables_paginate {
  153. text-align: center;
  154. }
  155. div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  156. justify-content: center !important;
  157. }
  158. }
  159. table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
  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 {
  174. border-right-width: 0;
  175. }
  176. table.table-bordered.dataTable th,
  177. table.table-bordered.dataTable td {
  178. border-left-width: 0;
  179. }
  180. table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
  181. table.table-bordered.dataTable td:last-child,
  182. table.table-bordered.dataTable td:last-child {
  183. border-right-width: 1px;
  184. }
  185. table.table-bordered.dataTable tbody th,
  186. table.table-bordered.dataTable tbody td {
  187. border-bottom-width: 0;
  188. }
  189. div.dataTables_scrollHead table.table-bordered {
  190. border-bottom-width: 0;
  191. }
  192. div.table-responsive > div.dataTables_wrapper > div.row {
  193. margin: 0;
  194. }
  195. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
  196. padding-left: 0;
  197. }
  198. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
  199. padding-right: 0;
  200. }