dataTables.bootstrap.css 4.7 KB

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