2 * File: demo_table_jui.css
4 * Description: CSS descriptions for DataTables demo pages
5 * Author: Allan Jardine
6 * Created: Tue May 12 06:47:22 BST 2009
7 * Modified: $Date$ by $Author$
11 * Copyright 2009 Allan Jardine. All Rights Reserved.
13 * ***************************************************************************
16 * The styles given here are suitable for the demos that are used with the standard DataTables
17 * distribution (see www.datatables.net). You will most likely wish to modify these styles to
18 * meet the layout requirements of your site.
21 * 'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is
22 * no conflict between the two pagination types. If you want to use full_numbers pagination
23 * ensure that you either have "example_alt_pagination" as a body class name, or better yet,
24 * modify that selector.
25 * Note that the path used for Images is relative. All images are by default located in
26 * ../images/ - relative to this CSS file.
31 * jQuery UI specific styling
34 .paging_two_button .ui-button {
40 .paging_full_numbers .ui-button {
45 color: #333 !important;
48 .dataTables_paginate .ui-button {
49 margin-right: -0.1em !important;
52 .paging_full_numbers {
53 width: 350px !important;
56 .dataTables_wrapper .ui-toolbar {
60 .dataTables_paginate {
68 table.display thead th {
69 padding: 3px 0px 3px 10px;
74 div.dataTables_wrapper .ui-widget-header {
80 * Sort arrow icon positioning
82 table.display thead th div.DataTables_sort_wrapper {
87 table.display thead th div.DataTables_sort_wrapper span {
97 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
99 * Everything below this line is the same as demo_table.css. This file is
100 * required for 'cleanliness' of the markup
102 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
106 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
107 * DataTables features
110 .dataTables_wrapper {
115 .dataTables_processing {
121 border: 1px solid #ddd;
144 .dataTables_paginate {
151 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
158 border-collapse: collapse;
161 table.display tfoot th {
162 padding: 3px 0px 3px 10px;
167 table.display tr.heading2 td {
168 border-bottom: 1px solid #aaa;
175 table.display td.center {
181 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
186 background: url('../images/sort_asc.png') no-repeat center right;
190 background: url('../images/sort_desc.png') no-repeat center right;
194 background: url('../images/sort_both.png') no-repeat center right;
197 .sorting_asc_disabled {
198 background: url('../images/sort_asc_disabled.png') no-repeat center right;
201 .sorting_desc_disabled {
202 background: url('../images/sort_desc_disabled.png') no-repeat center right;
208 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
209 * DataTables row classes
211 table.display tr.odd.gradeA {
212 background-color: #ddffdd;
215 table.display tr.even.gradeA {
216 background-color: #eeffee;
222 table.display tr.odd.gradeA {
223 background-color: #ddffdd;
226 table.display tr.even.gradeA {
227 background-color: #eeffee;
230 table.display tr.odd.gradeC {
231 background-color: #ddddff;
234 table.display tr.even.gradeC {
235 background-color: #eeeeff;
238 table.display tr.odd.gradeX {
239 background-color: #ffdddd;
242 table.display tr.even.gradeX {
243 background-color: #ffeeee;
246 table.display tr.odd.gradeU {
247 background-color: #ddd;
250 table.display tr.even.gradeU {
251 background-color: #eee;
256 background-color: #E2E4FF;
260 background-color: white;
267 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
274 .dataTables_scrollBody {
275 -webkit-overflow-scrolling: touch;
280 background-color: #F5F5F5;
281 border: 1px solid #CCCCCC;
284 .top .dataTables_info {
302 tfoot input.search_init {
307 background-color: #d1cfd0;
308 border-bottom: 2px solid #A19B9E;
309 border-top: 2px solid #A19B9E;
313 background-color: #d1cfd0;
314 border: 2px solid #A19B9E;
318 .example_alt_pagination div.dataTables_info {
322 .paging_full_numbers a.paginate_button,
323 .paging_full_numbers a.paginate_active {
324 border: 1px solid #aaa;
325 -webkit-border-radius: 5px;
326 -moz-border-radius: 5px;
331 color: #333 !important;
334 .paging_full_numbers a.paginate_button {
335 background-color: #ddd;
338 .paging_full_numbers a.paginate_button:hover {
339 background-color: #ccc;
340 text-decoration: none !important;
343 .paging_full_numbers a.paginate_active {
344 background-color: #99B3FF;
347 table.display tr.even.row_selected td {
348 background-color: #B0BED9;
351 table.display tr.odd.row_selected td {
352 background-color: #9FAFD1;
357 * Sorting classes for columns
359 /* For the standard odd/even */
360 tr.odd td.sorting_1 {
361 background-color: #D3D6FF;
364 tr.odd td.sorting_2 {
365 background-color: #DADCFF;
368 tr.odd td.sorting_3 {
369 background-color: #E0E2FF;
372 tr.even td.sorting_1 {
373 background-color: #EAEBFF;
376 tr.even td.sorting_2 {
377 background-color: #F2F3FF;
380 tr.even td.sorting_3 {
381 background-color: #F9F9FF;
385 /* For the Conditional-CSS grading rows */
387 Colour calculations (based off the main row colours)
395 tr.odd.gradeA td.sorting_1 {
396 background-color: #c4ffc4;
399 tr.odd.gradeA td.sorting_2 {
400 background-color: #d1ffd1;
403 tr.odd.gradeA td.sorting_3 {
404 background-color: #d1ffd1;
407 tr.even.gradeA td.sorting_1 {
408 background-color: #d5ffd5;
411 tr.even.gradeA td.sorting_2 {
412 background-color: #e2ffe2;
415 tr.even.gradeA td.sorting_3 {
416 background-color: #e2ffe2;
419 tr.odd.gradeC td.sorting_1 {
420 background-color: #c4c4ff;
423 tr.odd.gradeC td.sorting_2 {
424 background-color: #d1d1ff;
427 tr.odd.gradeC td.sorting_3 {
428 background-color: #d1d1ff;
431 tr.even.gradeC td.sorting_1 {
432 background-color: #d5d5ff;
435 tr.even.gradeC td.sorting_2 {
436 background-color: #e2e2ff;
439 tr.even.gradeC td.sorting_3 {
440 background-color: #e2e2ff;
443 tr.odd.gradeX td.sorting_1 {
444 background-color: #ffc4c4;
447 tr.odd.gradeX td.sorting_2 {
448 background-color: #ffd1d1;
451 tr.odd.gradeX td.sorting_3 {
452 background-color: #ffd1d1;
455 tr.even.gradeX td.sorting_1 {
456 background-color: #ffd5d5;
459 tr.even.gradeX td.sorting_2 {
460 background-color: #ffe2e2;
463 tr.even.gradeX td.sorting_3 {
464 background-color: #ffe2e2;
467 tr.odd.gradeU td.sorting_1 {
468 background-color: #c4c4c4;
471 tr.odd.gradeU td.sorting_2 {
472 background-color: #d1d1d1;
475 tr.odd.gradeU td.sorting_3 {
476 background-color: #d1d1d1;
479 tr.even.gradeU td.sorting_1 {
480 background-color: #d5d5d5;
483 tr.even.gradeU td.sorting_2 {
484 background-color: #e2e2e2;
487 tr.even.gradeU td.sorting_3 {
488 background-color: #e2e2e2;
493 * Row highlighting example
495 .ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
496 background-color: #ECFFB3;
499 .ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
500 background-color: #E6FF99;