jquery.dataTables.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /*
  2. * Table
  3. */
  4. table.dataTable {
  5. margin: 0 auto;
  6. clear: both;
  7. width: 100%;
  8. }
  9. table.dataTable thead th {
  10. padding: 3px 18px 3px 10px;
  11. border-bottom: 1px solid black;
  12. font-weight: bold;
  13. cursor: pointer;
  14. *cursor: hand;
  15. }
  16. table.dataTable tfoot th {
  17. padding: 3px 18px 3px 10px;
  18. border-top: 1px solid black;
  19. font-weight: bold;
  20. }
  21. table.dataTable td {
  22. padding: 3px 10px;
  23. }
  24. table.dataTable td.center,
  25. table.dataTable td.dataTables_empty {
  26. text-align: center;
  27. }
  28. table.dataTable tr.odd { background-color: #E2E4FF; }
  29. table.dataTable tr.even { background-color: white; }
  30. table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
  31. table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
  32. table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
  33. table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
  34. table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
  35. table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
  36. /*
  37. * Table wrapper
  38. */
  39. .dataTables_wrapper {
  40. position: relative;
  41. clear: both;
  42. *zoom: 1;
  43. }
  44. /*
  45. * Page length menu
  46. */
  47. .dataTables_length {
  48. float: left;
  49. }
  50. /*
  51. * Filter
  52. */
  53. .dataTables_filter {
  54. float: right;
  55. text-align: right;
  56. }
  57. /*
  58. * Table information
  59. */
  60. .dataTables_info {
  61. clear: both;
  62. float: left;
  63. }
  64. /*
  65. * Pagination
  66. */
  67. .dataTables_paginate {
  68. float: right;
  69. text-align: right;
  70. }
  71. /* Two button pagination - previous / next */
  72. .paginate_disabled_previous,
  73. .paginate_enabled_previous,
  74. .paginate_disabled_next,
  75. .paginate_enabled_next {
  76. height: 19px;
  77. float: left;
  78. cursor: pointer;
  79. *cursor: hand;
  80. color: #111 !important;
  81. }
  82. .paginate_disabled_previous:hover,
  83. .paginate_enabled_previous:hover,
  84. .paginate_disabled_next:hover,
  85. .paginate_enabled_next:hover {
  86. text-decoration: none !important;
  87. }
  88. .paginate_disabled_previous:active,
  89. .paginate_enabled_previous:active,
  90. .paginate_disabled_next:active,
  91. .paginate_enabled_next:active {
  92. outline: none;
  93. }
  94. .paginate_disabled_previous,
  95. .paginate_disabled_next {
  96. color: #666 !important;
  97. }
  98. .paginate_disabled_previous,
  99. .paginate_enabled_previous {
  100. padding-left: 23px;
  101. }
  102. .paginate_disabled_next,
  103. .paginate_enabled_next {
  104. padding-right: 23px;
  105. margin-left: 10px;
  106. }
  107. .paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
  108. .paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
  109. .paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
  110. .paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
  111. .paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
  112. .paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
  113. /* Full number pagination */
  114. .paging_full_numbers {
  115. height: 22px;
  116. line-height: 22px;
  117. }
  118. .paging_full_numbers a:active {
  119. outline: none
  120. }
  121. .paging_full_numbers a:hover {
  122. text-decoration: none;
  123. }
  124. .paging_full_numbers a.paginate_button,
  125. .paging_full_numbers a.paginate_active {
  126. border: 1px solid #aaa;
  127. -webkit-border-radius: 5px;
  128. -moz-border-radius: 5px;
  129. border-radius: 5px;
  130. padding: 2px 5px;
  131. margin: 0 3px;
  132. cursor: pointer;
  133. *cursor: hand;
  134. color: #333 !important;
  135. }
  136. .paging_full_numbers a.paginate_button {
  137. background-color: #ddd;
  138. }
  139. .paging_full_numbers a.paginate_button:hover {
  140. background-color: #ccc;
  141. text-decoration: none !important;
  142. }
  143. .paging_full_numbers a.paginate_active {
  144. background-color: #99B3FF;
  145. }
  146. /*
  147. * Processing indicator
  148. */
  149. .dataTables_processing {
  150. position: absolute;
  151. top: 50%;
  152. left: 50%;
  153. width: 250px;
  154. height: 30px;
  155. margin-left: -125px;
  156. margin-top: -15px;
  157. padding: 14px 0 2px 0;
  158. border: 1px solid #ddd;
  159. text-align: center;
  160. color: #999;
  161. font-size: 14px;
  162. background-color: white;
  163. }
  164. /*
  165. * Sorting
  166. */
  167. .sorting { background: url('../images/sort_both.png') no-repeat center right; }
  168. .sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; }
  169. .sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; }
  170. .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; }
  171. .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; }
  172. table.dataTable thead th:active,
  173. table.dataTable thead td:active {
  174. outline: none;
  175. }
  176. /*
  177. * Scrolling
  178. */
  179. .dataTables_scroll {
  180. clear: both;
  181. }
  182. .dataTables_scrollBody {
  183. *margin-top: -1px;
  184. -webkit-overflow-scrolling: touch;
  185. }