You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

211 lines
5.3 KiB

4 years ago
  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. -moz-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: 75px;
  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: 8px;
  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. }
  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.sorting_asc,
  68. table.dataTable thead > tr > th.sorting_desc,
  69. table.dataTable thead > tr > th.sorting,
  70. table.dataTable thead > tr > td.sorting_asc,
  71. table.dataTable thead > tr > td.sorting_desc,
  72. table.dataTable thead > tr > td.sorting {
  73. padding-right: 30px
  74. }
  75. table.dataTable thead > tr > th:active,
  76. table.dataTable thead > tr > td:active {
  77. outline: none
  78. }
  79. table.dataTable thead .sorting,
  80. table.dataTable thead .sorting_asc,
  81. table.dataTable thead .sorting_desc,
  82. table.dataTable thead .sorting_asc_disabled,
  83. table.dataTable thead .sorting_desc_disabled {
  84. cursor: pointer;
  85. position: relative
  86. }
  87. table.dataTable thead .sorting:after,
  88. table.dataTable thead .sorting_asc:after,
  89. table.dataTable thead .sorting_desc:after,
  90. table.dataTable thead .sorting_asc_disabled:after,
  91. table.dataTable thead .sorting_desc_disabled:after {
  92. position: absolute;
  93. bottom: 8px;
  94. right: 8px;
  95. display: block;
  96. font-family: 'Glyphicons Halflings';
  97. opacity: 0.5
  98. }
  99. table.dataTable thead .sorting:after {
  100. opacity: 0.2;
  101. content: "\e150"
  102. }
  103. table.dataTable thead .sorting_asc:after {
  104. content: "\e155"
  105. }
  106. table.dataTable thead .sorting_desc:after {
  107. content: "\e156"
  108. }
  109. table.dataTable thead .sorting_asc_disabled:after,
  110. table.dataTable thead .sorting_desc_disabled:after {
  111. color: #eee
  112. }
  113. div.dataTables_scrollHead table.dataTable {
  114. margin-bottom: 0 !important
  115. }
  116. div.dataTables_scrollBody table {
  117. border-top: none;
  118. margin-top: 0 !important;
  119. margin-bottom: 0 !important
  120. }
  121. div.dataTables_scrollBody table thead .sorting:after,
  122. div.dataTables_scrollBody table thead .sorting_asc:after,
  123. div.dataTables_scrollBody table thead .sorting_desc:after {
  124. display: none
  125. }
  126. div.dataTables_scrollBody table tbody tr:first-child th,
  127. div.dataTables_scrollBody table tbody tr:first-child td {
  128. border-top: none
  129. }
  130. div.dataTables_scrollFoot table {
  131. margin-top: 0 !important;
  132. border-top: none
  133. }
  134. @media screen and (max-width: 767px) {
  135. div.dataTables_wrapper div.dataTables_length,
  136. div.dataTables_wrapper div.dataTables_filter,
  137. div.dataTables_wrapper div.dataTables_info,
  138. div.dataTables_wrapper div.dataTables_paginate {
  139. text-align: center
  140. }
  141. }
  142. table.dataTable.table-condensed > thead > tr > th {
  143. padding-right: 20px
  144. }
  145. table.dataTable.table-condensed .sorting:after,
  146. table.dataTable.table-condensed .sorting_asc:after,
  147. table.dataTable.table-condensed .sorting_desc:after {
  148. top: 6px;
  149. right: 6px
  150. }
  151. table.table-bordered.dataTable th,
  152. table.table-bordered.dataTable td {
  153. border-left-width: 0
  154. }
  155. table.table-bordered.dataTable th:last-child,
  156. table.table-bordered.dataTable th:last-child,
  157. table.table-bordered.dataTable td:last-child,
  158. table.table-bordered.dataTable td:last-child {
  159. border-right-width: 0
  160. }
  161. table.table-bordered.dataTable tbody th,
  162. table.table-bordered.dataTable tbody td {
  163. border-bottom-width: 0
  164. }
  165. div.dataTables_scrollHead table.table-bordered {
  166. border-bottom-width: 0
  167. }
  168. div.table-responsive > div.dataTables_wrapper > div.row {
  169. margin: 0
  170. }
  171. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
  172. padding-left: 0
  173. }
  174. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
  175. padding-right: 0
  176. }