dataTables.bootstrap4.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. @charset "UTF-8";
  2. table.dataTable {
  3. clear: both;
  4. margin-top: 6px !important;
  5. margin-bottom: 6px !important;
  6. max-width: none !important;
  7. border-collapse: separate !important;
  8. border-spacing: 0;
  9. }
  10. table.dataTable td,
  11. table.dataTable th {
  12. -webkit-box-sizing: content-box;
  13. box-sizing: content-box;
  14. }
  15. table.dataTable td.dataTables_empty,
  16. table.dataTable th.dataTables_empty {
  17. text-align: center;
  18. }
  19. table.dataTable.nowrap th,
  20. table.dataTable.nowrap td {
  21. white-space: nowrap;
  22. }
  23. div.dataTables_wrapper div.dataTables_length label {
  24. font-weight: normal;
  25. text-align: left;
  26. white-space: nowrap;
  27. }
  28. div.dataTables_wrapper div.dataTables_length select {
  29. width: auto;
  30. display: inline-block;
  31. }
  32. div.dataTables_wrapper div.dataTables_filter {
  33. text-align: right;
  34. }
  35. div.dataTables_wrapper div.dataTables_filter label {
  36. font-weight: normal;
  37. white-space: nowrap;
  38. text-align: left;
  39. }
  40. div.dataTables_wrapper div.dataTables_filter input {
  41. margin-left: 0.5em;
  42. display: inline-block;
  43. width: auto;
  44. }
  45. div.dataTables_wrapper div.dataTables_info {
  46. padding-top: 0.85em;
  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:active,
  69. table.dataTable > thead > tr > td:active {
  70. outline: none;
  71. }
  72. table.dataTable > thead > tr > th:not(.sorting_disabled),
  73. table.dataTable > thead > tr > td:not(.sorting_disabled) {
  74. padding-right: 30px;
  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: "↑";
  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: "↓";
  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:before,
  131. div.dataTables_scrollBody table thead .sorting_asc:before,
  132. div.dataTables_scrollBody table thead .sorting_desc:before,
  133. div.dataTables_scrollBody table thead .sorting:after,
  134. div.dataTables_scrollBody table thead .sorting_asc:after,
  135. div.dataTables_scrollBody table thead .sorting_desc:after {
  136. display: none;
  137. }
  138. div.dataTables_scrollBody table tbody tr:first-child th,
  139. div.dataTables_scrollBody table tbody tr:first-child td {
  140. border-top: none;
  141. }
  142. div.dataTables_scrollFoot > .dataTables_scrollFootInner {
  143. box-sizing: content-box;
  144. }
  145. div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
  146. margin-top: 0 !important;
  147. border-top: none;
  148. }
  149. @media screen and (max-width: 767px) {
  150. div.dataTables_wrapper div.dataTables_length,
  151. div.dataTables_wrapper div.dataTables_filter,
  152. div.dataTables_wrapper div.dataTables_info,
  153. div.dataTables_wrapper div.dataTables_paginate {
  154. text-align: center;
  155. }
  156. div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  157. justify-content: center !important;
  158. }
  159. }
  160. table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
  161. padding-right: 20px;
  162. }
  163. table.dataTable.table-sm .sorting:before,
  164. table.dataTable.table-sm .sorting_asc:before,
  165. table.dataTable.table-sm .sorting_desc:before {
  166. top: 5px;
  167. right: 0.85em;
  168. }
  169. table.dataTable.table-sm .sorting:after,
  170. table.dataTable.table-sm .sorting_asc:after,
  171. table.dataTable.table-sm .sorting_desc:after {
  172. top: 5px;
  173. }
  174. table.table-bordered.dataTable {
  175. border-right-width: 0;
  176. }
  177. table.table-bordered.dataTable th,
  178. table.table-bordered.dataTable td {
  179. border-left-width: 0;
  180. }
  181. table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
  182. table.table-bordered.dataTable td:last-child,
  183. table.table-bordered.dataTable td:last-child {
  184. border-right-width: 1px;
  185. }
  186. table.table-bordered.dataTable tbody th,
  187. table.table-bordered.dataTable tbody td {
  188. border-bottom-width: 0;
  189. }
  190. div.dataTables_scrollHead table.table-bordered {
  191. border-bottom-width: 0;
  192. }
  193. div.table-responsive > div.dataTables_wrapper > div.row {
  194. margin: 0;
  195. }
  196. div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:first-child {
  197. padding-left: 0;
  198. }
  199. div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:last-child {
  200. padding-right: 0;
  201. }