|
| 1 | + |
| 2 | +/* |
| 3 | + * Table |
| 4 | + */ |
| 5 | +table.dataTable { |
| 6 | + margin: 0 auto; |
| 7 | + clear: both; |
| 8 | + width: 100%; |
| 9 | +} |
| 10 | + |
| 11 | +table.dataTable thead th { |
| 12 | + padding: 3px 18px 3px 10px; |
| 13 | + border-bottom: 1px solid black; |
| 14 | + font-weight: bold; |
| 15 | + cursor: pointer; |
| 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 | + color: #111 !important; |
| 97 | +} |
| 98 | +.paginate_disabled_previous:hover, |
| 99 | +.paginate_enabled_previous:hover, |
| 100 | +.paginate_disabled_next:hover, |
| 101 | +.paginate_enabled_next:hover { |
| 102 | + text-decoration: none !important; |
| 103 | +} |
| 104 | +.paginate_disabled_previous:active, |
| 105 | +.paginate_enabled_previous:active, |
| 106 | +.paginate_disabled_next:active, |
| 107 | +.paginate_enabled_next:active { |
| 108 | + outline: none; |
| 109 | +} |
| 110 | + |
| 111 | +.paginate_disabled_previous, |
| 112 | +.paginate_disabled_next { |
| 113 | + color: #666 !important; |
| 114 | +} |
| 115 | +.paginate_disabled_previous, |
| 116 | +.paginate_enabled_previous { |
| 117 | + padding-left: 23px; |
| 118 | +} |
| 119 | +.paginate_disabled_next, |
| 120 | +.paginate_enabled_next { |
| 121 | + padding-right: 23px; |
| 122 | + margin-left: 10px; |
| 123 | +} |
| 124 | + |
| 125 | +.paginate_enabled_previous { background: url('images/back_enabled.png') no-repeat top left; } |
| 126 | +.paginate_enabled_previous:hover { background: url('images/back_enabled_hover.png') no-repeat top left; } |
| 127 | +.paginate_disabled_previous { background: url('images/back_disabled.png') no-repeat top left; } |
| 128 | + |
| 129 | +.paginate_enabled_next { background: url('images/forward_enabled.png') no-repeat top right; } |
| 130 | +.paginate_enabled_next:hover { background: url('images/forward_enabled_hover.png') no-repeat top right; } |
| 131 | +.paginate_disabled_next { background: url('images/forward_disabled.png') no-repeat top right; } |
| 132 | + |
| 133 | +/* Full number pagination */ |
| 134 | +.paging_full_numbers { |
| 135 | + margin-top: 10px; |
| 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 rgba(66,118,150,1); |
| 149 | + padding: 2px 5px; |
| 150 | + margin: 0 3px; |
| 151 | + cursor: pointer; |
| 152 | + color: #333 !important; |
| 153 | +} |
| 154 | + |
| 155 | +.paging_full_numbers a.paginate_button { |
| 156 | + background-color: #ddd; |
| 157 | +} |
| 158 | + |
| 159 | +.paging_full_numbers a.paginate_button:hover { |
| 160 | + background-color: #ccc; |
| 161 | + text-decoration: none !important; |
| 162 | +} |
| 163 | + |
| 164 | +.paging_full_numbers a.paginate_active { |
| 165 | + background-color: #99B3FF; |
| 166 | +} |
| 167 | + |
| 168 | + |
| 169 | +/* |
| 170 | + * Processing indicator |
| 171 | + */ |
| 172 | +.dataTables_processing { |
| 173 | + position: absolute; |
| 174 | + top: 50%; |
| 175 | + left: 50%; |
| 176 | + width: 250px; |
| 177 | + height: 30px; |
| 178 | + margin-left: -125px; |
| 179 | + margin-top: -15px; |
| 180 | + padding: 14px 0 2px 0; |
| 181 | + border: 1px solid #ddd; |
| 182 | + text-align: center; |
| 183 | + color: #999; |
| 184 | + font-size: 14px; |
| 185 | + background-color: white; |
| 186 | +} |
| 187 | + |
| 188 | + |
| 189 | +/* |
| 190 | + * Sorting |
| 191 | + */ |
| 192 | +.sorting { background: url('images/sort_both.png') no-repeat center right; } |
| 193 | +.sorting_asc { background: url('images/sort_asc.png') no-repeat center right; } |
| 194 | +.sorting_desc { background: url('images/sort_desc.png') no-repeat center right; } |
| 195 | + |
| 196 | +.sorting_asc_disabled { background: url('images/sort_asc_disabled.png') no-repeat center right; } |
| 197 | +.sorting_desc_disabled { background: url('images/sort_desc_disabled.png') no-repeat center right; } |
| 198 | + |
| 199 | +table.dataTable thead th:active, |
| 200 | +table.dataTable thead td:active { |
| 201 | + outline: none; |
| 202 | +} |
| 203 | + |
| 204 | + |
| 205 | +/* |
| 206 | + * Scrolling |
| 207 | + */ |
| 208 | +.dataTables_scroll { |
| 209 | + clear: both; |
| 210 | +} |
| 211 | + |
| 212 | +.dataTables_scrollBody { |
| 213 | + *margin-top: -1px; |
| 214 | + -webkit-overflow-scrolling: touch; |
| 215 | +} |
| 216 | + |
0 commit comments