| | 31 | |
| | 32 | * Note regarding css in datatables - there's a discrepency in the style sheet interactions between the datatables code and the drupal theme code. I have resolved this for our deployment by hard-coding font color and background color into the dataTables/media/css/demo_table.css as follows: |
| | 33 | |
| | 34 | |
| | 35 | {{{ |
| | 36 | |
| | 37 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| | 38 | * DataTables sorting |
| | 39 | */ |
| | 40 | |
| | 41 | .sorting_asc { |
| | 42 | background: url('../images/sort_asc.png') no-repeat center right; |
| | 43 | color: rgb(128,128,128); |
| | 44 | } |
| | 45 | |
| | 46 | .sorting_desc { |
| | 47 | background: url('../images/sort_desc.png') no-repeat center right; |
| | 48 | color: rgb(128,128,128); |
| | 49 | } |
| | 50 | |
| | 51 | .sorting { |
| | 52 | background: url('../images/sort_both.png') no-repeat center right rgb(255,255,255); |
| | 53 | color: rgb(128,128,128); |
| | 54 | } |
| | 55 | |
| | 56 | .sorting_disabled { |
| | 57 | background: rgb(255,255,255); |
| | 58 | color: rgb(128,128,128); |
| | 59 | } |
| | 60 | |
| | 61 | .sorting_asc_disabled { |
| | 62 | background: url('../images/sort_asc_disabled.png') no-repeat center right; |
| | 63 | color: rgb(128,128,128); |
| | 64 | } |
| | 65 | |
| | 66 | .sorting_desc_disabled { |
| | 67 | background: url('../images/sort_desc_disabled.png') no-repeat center right; |
| | 68 | color: rgb(128,128,128); |
| | 69 | } |
| | 70 | |
| | 71 | th:active { |
| | 72 | outline: none; |
| | 73 | } |
| | 74 | |
| | 75 | |
| | 76 | }}} |
| | 77 | |