dataTables.bootstrap.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. table.dataTable {
  2. clear: both;
  3. margin-top: 6px !important;
  4. margin-bottom: 6px !important;
  5. max-width: none !important;
  6. }
  7. table.dataTable td,
  8. table.dataTable th {
  9. -webkit-box-sizing: content-box;
  10. -moz-box-sizing: content-box;
  11. box-sizing: content-box;
  12. }
  13. table.dataTable.nowrap th,
  14. table.dataTable.nowrap td {
  15. white-space: nowrap;
  16. }
  17. div.dataTables_wrapper div.dataTables_length label {
  18. font-weight: normal;
  19. text-align: left;
  20. white-space: nowrap;
  21. }
  22. div.dataTables_wrapper div.dataTables_length select {
  23. width: 75px;
  24. display: inline-block;
  25. }
  26. div.dataTables_wrapper div.dataTables_filter {
  27. text-align: right;
  28. }
  29. div.dataTables_wrapper div.dataTables_filter label {
  30. font-weight: normal;
  31. white-space: nowrap;
  32. text-align: left;
  33. }
  34. div.dataTables_wrapper div.dataTables_filter input {
  35. margin-left: 0.5em;
  36. display: inline-block;
  37. width: auto;
  38. }
  39. div.dataTables_wrapper div.dataTables_info {
  40. padding-top: 8px;
  41. white-space: nowrap;
  42. }
  43. div.dataTables_wrapper div.dataTables_paginate {
  44. margin: 0;
  45. white-space: nowrap;
  46. text-align: right;
  47. }
  48. div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  49. margin: 2px 0;
  50. white-space: nowrap;
  51. }
  52. table.dataTable thead > tr > th,
  53. table.dataTable thead > tr > td {
  54. padding-right: 30px;
  55. }
  56. table.dataTable thead > tr > th:active,
  57. table.dataTable thead > tr > td:active {
  58. outline: none;
  59. }
  60. table.dataTable thead .sorting,
  61. table.dataTable thead .sorting_asc,
  62. table.dataTable thead .sorting_desc,
  63. table.dataTable thead .sorting_asc_disabled,
  64. table.dataTable thead .sorting_desc_disabled {
  65. cursor: pointer;
  66. position: relative;
  67. }
  68. table.dataTable thead .sorting:after,
  69. table.dataTable thead .sorting_asc:after,
  70. table.dataTable thead .sorting_desc:after,
  71. table.dataTable thead .sorting_asc_disabled:after,
  72. table.dataTable thead .sorting_desc_disabled:after {
  73. position: absolute;
  74. bottom: 8px;
  75. right: 8px;
  76. display: block;
  77. font-family: 'Glyphicons Halflings';
  78. opacity: 0.5;
  79. }
  80. table.dataTable thead .sorting:after {
  81. opacity: 0.2;
  82. content: "\e150";
  83. /* sort */
  84. }
  85. table.dataTable thead .sorting_asc:after {
  86. content: "\e155";
  87. /* sort-by-attributes */
  88. }
  89. table.dataTable thead .sorting_desc:after {
  90. content: "\e156";
  91. /* sort-by-attributes-alt */
  92. }
  93. table.dataTable thead .sorting_asc_disabled:after,
  94. table.dataTable thead .sorting_desc_disabled:after {
  95. color: #eee;
  96. }
  97. div.dataTables_scrollHead table.dataTable {
  98. margin-bottom: 0 !important;
  99. }
  100. div.dataTables_scrollBody table {
  101. border-top: none;
  102. margin-top: 0 !important;
  103. margin-bottom: 0 !important;
  104. }
  105. div.dataTables_scrollBody table thead .sorting:after,
  106. div.dataTables_scrollBody table thead .sorting_asc:after,
  107. div.dataTables_scrollBody table thead .sorting_desc:after {
  108. display: none;
  109. }
  110. div.dataTables_scrollBody table tbody tr:first-child th,
  111. div.dataTables_scrollBody table tbody tr:first-child td {
  112. border-top: none;
  113. }
  114. div.dataTables_scrollFoot table {
  115. margin-top: 0 !important;
  116. border-top: none;
  117. }
  118. @media screen and (max-width: 767px) {
  119. div.dataTables_wrapper div.dataTables_length,
  120. div.dataTables_wrapper div.dataTables_filter,
  121. div.dataTables_wrapper div.dataTables_info,
  122. div.dataTables_wrapper div.dataTables_paginate {
  123. text-align: center;
  124. }
  125. }
  126. table.dataTable.table-condensed > thead > tr > th {
  127. padding-right: 20px;
  128. }
  129. table.dataTable.table-condensed .sorting:after,
  130. table.dataTable.table-condensed .sorting_asc:after,
  131. table.dataTable.table-condensed .sorting_desc:after {
  132. top: 6px;
  133. right: 6px;
  134. }
  135. table.table-bordered.dataTable {
  136. border-collapse: separate !important;
  137. }
  138. table.table-bordered.dataTable th,
  139. table.table-bordered.dataTable td {
  140. border-left-width: 0;
  141. }
  142. table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
  143. table.table-bordered.dataTable td:last-child,
  144. table.table-bordered.dataTable td:last-child {
  145. border-right-width: 0;
  146. }
  147. table.table-bordered.dataTable tbody th,
  148. table.table-bordered.dataTable tbody td {
  149. border-bottom-width: 0;
  150. }
  151. div.dataTables_scrollHead table.table-bordered {
  152. border-bottom-width: 0;
  153. }