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.

184 lines
4.7 KiB

  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: 8px;
  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:after,
  85. table.dataTable thead .sorting_asc:after,
  86. table.dataTable thead .sorting_desc:after,
  87. table.dataTable thead .sorting_asc_disabled:after,
  88. table.dataTable thead .sorting_desc_disabled:after {
  89. position: absolute;
  90. bottom: 8px;
  91. right: 8px;
  92. display: block;
  93. font-family: 'Glyphicons Halflings';
  94. opacity: 0.5;
  95. }
  96. table.dataTable thead .sorting:after {
  97. opacity: 0.2;
  98. content: "\e150";
  99. /* sort */
  100. }
  101. table.dataTable thead .sorting_asc:after {
  102. content: "\e155";
  103. /* sort-by-attributes */
  104. }
  105. table.dataTable thead .sorting_desc:after {
  106. content: "\e156";
  107. /* sort-by-attributes-alt */
  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, table.table-bordered.dataTable th:last-child,
  156. table.table-bordered.dataTable td:last-child,
  157. table.table-bordered.dataTable td:last-child {
  158. border-right-width: 0;
  159. }
  160. table.table-bordered.dataTable tbody th,
  161. table.table-bordered.dataTable tbody td {
  162. border-bottom-width: 0;
  163. }
  164. div.dataTables_scrollHead table.table-bordered {
  165. border-bottom-width: 0;
  166. }
  167. div.table-responsive > div.dataTables_wrapper > div.row {
  168. margin: 0;
  169. }
  170. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
  171. padding-left: 0;
  172. }
  173. div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
  174. padding-right: 0;
  175. }