Advertisement
Guest User

Untitled

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