initial commit
[CPE_learningsite] / CPE / CPE.App / CPE.App.Web / static / css / jquery.datatables.css
1 /*
2  *  File:         demo_table.css
3  *  CVS:          $Id$
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$
8  *  Language:     CSS
9  *  Project:      DataTables
10  *
11  *  Copyright 2009 Allan Jardine. All Rights Reserved.
12  *
13  * ***************************************************************************
14  * DESCRIPTION
15  *
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.
19  *
20  * Common issues:
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  *     /static/img/datatables/ - relative to this CSS file.
27  */
28
29 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
30  * DataTables features
31  */
32
33 .dataTables_wrapper {
34         position: relative;
35         clear: both;
36         zoom: 1; /* Feeling sorry for IE */
37 }
38
39 .dataTables_processing {
40         position: absolute;
41         top: 50%;
42         left: 50%;
43         width: 250px;
44         height: 30px;
45         margin-left: -125px;
46         margin-top: -15px;
47         padding: 14px 0 2px 0;
48         border: 1px solid #ddd;
49         text-align: center;
50         color: #999;
51         font-size: 14px;
52         background-color: white;
53 }
54
55 .dataTables_length {
56         width: 40%;
57         float: left;
58 }
59
60 .dataTables_filter {
61         width: 50%;
62         float: right;
63         text-align: right;
64 }
65
66 .dataTables_info {
67         width: 60%;
68         float: left;
69 }
70
71 .dataTables_paginate {
72         float: right;
73         text-align: right;
74 }
75
76 /* Pagination nested */
77 .paginate_disabled_previous, .paginate_enabled_previous,
78 .paginate_disabled_next, .paginate_enabled_next {
79         height: 19px;
80         float: left;
81         cursor: pointer;
82         *cursor: hand;
83         color: #111 !important;
84 }
85 .paginate_disabled_previous:hover, .paginate_enabled_previous:hover,
86 .paginate_disabled_next:hover, .paginate_enabled_next:hover {
87         text-decoration: none !important;
88 }
89 .paginate_disabled_previous:active, .paginate_enabled_previous:active,
90 .paginate_disabled_next:active, .paginate_enabled_next:active {
91         outline: none;
92 }
93
94 .paginate_disabled_previous,
95 .paginate_disabled_next {
96         color: #666 !important;
97 }
98 .paginate_disabled_previous, .paginate_enabled_previous {
99         padding-left: 23px;
100 }
101 .paginate_disabled_next, .paginate_enabled_next {
102         padding-right: 23px;
103         margin-left: 10px;C:\Dropbox\Development\CPE\trunk\CPEEngagement\CPEEngagement\static\css\
104 }
105
106 .paginate_disabled_previous {
107         background: url('/static/img/datatables/back_disabled.png') no-repeat top left;
108 }
109
110 .paginate_enabled_previous {
111         background: url('/static/img/datatables/back_enabled.png') no-repeat top left;
112 }
113 .paginate_enabled_previous:hover {
114         background: url('/static/img/datatables/back_enabled_hover.png') no-repeat top left;
115 }
116
117 .paginate_disabled_next {
118         background: url('/static/img/datatables/forward_disabled.png') no-repeat top right;
119 }
120
121 .paginate_enabled_next {
122         background: url('/static/img/datatables/forward_enabled.png') no-repeat top right;
123 }
124 .paginate_enabled_next:hover {
125         background: url('/static/img/datatables/forward_enabled_hover.png') no-repeat top right;
126 }
127
128
129
130 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
131  * DataTables display
132  */
133 table.display {
134         margin: 0 auto;
135         clear: both;
136         width: 100%;
137         
138         /* Note Firefox 3.5 and before have a bug with border-collapse
139          * ( https://bugzilla.mozilla.org/show%5Fbug.cgi?id=155955 ) 
140          * border-spacing: 0; is one possible option. Conditional-css.com is
141          * useful for this kind of thing
142          *
143          * Further note IE 6/7 has problems when calculating widths with border width.
144          * It subtracts one px relative to the other browsers from the first column, and
145          * adds one to the end...
146          *
147          * If you want that effect I'd suggest setting a border-top/left on th/td's and 
148          * then filling in the gaps with other borders.
149          */
150 }
151
152 table.display thead th {
153         padding: 3px 18px 3px 10px;
154         border-bottom: 1px solid black;
155         font-weight: bold;
156         cursor: pointer;
157         * cursor: hand;
158 }
159
160 table.display tfoot th {
161         padding: 3px 18px 3px 10px;
162         border-top: 1px solid black;
163         font-weight: bold;
164 }
165
166 table.display tr.heading2 td {
167         border-bottom: 1px solid #aaa;
168 }
169
170 table.display td {
171         padding: 3px 10px;
172 }
173
174 table.display td.center {
175         text-align: center;
176 }
177
178
179
180 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
181  * DataTables sorting
182  */
183
184 .sorting_asc {
185         background: url('/static/img/datatables/sort_asc.png') no-repeat center right;
186 }
187
188 .sorting_desc {
189         background: url('/static/img/datatables/sort_desc.png') no-repeat center right;
190 }
191
192 .sorting {
193         background: url('/static/img/datatables/sort_both.png') no-repeat center right;
194 }
195
196 .sorting_asc_disabled {
197         background: url('/static/img/datatables/sort_asc_disabled.png') no-repeat center right;
198 }
199
200 .sorting_desc_disabled {
201         background: url('/static/img/datatables/sort_desc_disabled.png') no-repeat center right;
202 }
203  
204 th:active {
205         outline: none;
206 }
207
208
209
210
211 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
212  * DataTables row classes
213  */
214 table.display tr.odd.gradeA {
215         background-color: #ddffdd;
216 }
217
218 table.display tr.even.gradeA {
219         background-color: #eeffee;
220 }
221
222 table.display tr.odd.gradeC {
223         background-color: #ddddff;
224 }
225
226 table.display tr.even.gradeC {
227         background-color: #eeeeff;
228 }
229
230 table.display tr.odd.gradeX {
231         background-color: #ffdddd;
232 }
233
234 table.display tr.even.gradeX {
235         background-color: #ffeeee;
236 }
237
238 table.display tr.odd.gradeU {
239         background-color: #ddd;
240 }
241
242 table.display tr.even.gradeU {
243         background-color: #eee;
244 }
245
246
247 tr.odd {
248         background-color: #E2E4FF;
249 }
250
251 tr.even {
252         background-color: white;
253 }
254
255
256
257
258
259 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
260  * Misc
261  */
262 .dataTables_scroll {
263         clear: both;
264 }
265
266 .dataTables_scrollBody {
267         *margin-top: -1px;
268         -webkit-overflow-scrolling: touch;
269 }
270
271 .top, .bottom {
272         padding: 15px;
273         background-color: #F5F5F5;
274         border: 1px solid #CCCCCC;
275 }
276
277 .top .dataTables_info {
278         float: none;
279 }
280
281 .clear {
282         clear: both;
283 }
284
285 .dataTables_empty {
286         text-align: center;
287 }
288
289 tfoot input {
290         margin: 0.5em 0;
291         width: 100%;
292         color: #444;
293 }
294
295 tfoot input.search_init {
296         color: #999;
297 }
298
299 td.group {
300         background-color: #d1cfd0;
301         border-bottom: 2px solid #A19B9E;
302         border-top: 2px solid #A19B9E;
303 }
304
305 td.details {
306         background-color: #d1cfd0;
307         border: 2px solid #A19B9E;
308 }
309
310
311 .example_alt_pagination div.dataTables_info {
312         width: 40%;
313 }
314
315 .paging_full_numbers {
316         width: 400px;
317         height: 22px;
318         line-height: 22px;
319 }
320
321 .paging_full_numbers a:active {
322         outline: none
323 }
324
325 .paging_full_numbers a:hover {
326         text-decoration: none;
327 }
328
329 .paging_full_numbers a.paginate_button,
330         .paging_full_numbers a.paginate_active {
331         border: 1px solid #aaa;
332         -webkit-border-radius: 5px;
333         -moz-border-radius: 5px;
334         padding: 2px 5px;
335         margin: 0 3px;
336         cursor: pointer;
337         *cursor: hand;
338         color: #333 !important;
339 }
340
341 .paging_full_numbers a.paginate_button {
342         background-color: #ddd;
343 }
344
345 .paging_full_numbers a.paginate_button:hover {
346         background-color: #ccc;
347         text-decoration: none !important;
348 }
349
350 .paging_full_numbers a.paginate_active {
351         background-color: #99B3FF;
352 }
353
354 table.display tr.even.row_selected td {
355         background-color: #B0BED9;
356 }
357
358 table.display tr.odd.row_selected td {
359         background-color: #9FAFD1;
360 }
361
362
363 /*
364  * Sorting classes for columns
365  */
366 /* For the standard odd/even */
367 tr.odd td.sorting_1 {
368         background-color: #D3D6FF;
369 }
370
371 tr.odd td.sorting_2 {
372         background-color: #DADCFF;
373 }
374
375 tr.odd td.sorting_3 {
376         background-color: #E0E2FF;
377 }
378
379 tr.even td.sorting_1 {
380         background-color: #EAEBFF;
381 }
382
383 tr.even td.sorting_2 {
384         background-color: #F2F3FF;
385 }
386
387 tr.even td.sorting_3 {
388         background-color: #F9F9FF;
389 }
390
391
392 /* For the Conditional-CSS grading rows */
393 /*
394         Colour calculations (based off the main row colours)
395   Level 1:
396                 dd > c4
397                 ee > d5
398         Level 2:
399           dd > d1
400           ee > e2
401  */
402 tr.odd.gradeA td.sorting_1 {
403         background-color: #c4ffc4;
404 }
405
406 tr.odd.gradeA td.sorting_2 {
407         background-color: #d1ffd1;
408 }
409
410 tr.odd.gradeA td.sorting_3 {
411         background-color: #d1ffd1;
412 }
413
414 tr.even.gradeA td.sorting_1 {
415         background-color: #d5ffd5;
416 }
417
418 tr.even.gradeA td.sorting_2 {
419         background-color: #e2ffe2;
420 }
421
422 tr.even.gradeA td.sorting_3 {
423         background-color: #e2ffe2;
424 }
425
426 tr.odd.gradeC td.sorting_1 {
427         background-color: #c4c4ff;
428 }
429
430 tr.odd.gradeC td.sorting_2 {
431         background-color: #d1d1ff;
432 }
433
434 tr.odd.gradeC td.sorting_3 {
435         background-color: #d1d1ff;
436 }
437
438 tr.even.gradeC td.sorting_1 {
439         background-color: #d5d5ff;
440 }
441
442 tr.even.gradeC td.sorting_2 {
443         background-color: #e2e2ff;
444 }
445
446 tr.even.gradeC td.sorting_3 {
447         background-color: #e2e2ff;
448 }
449
450 tr.odd.gradeX td.sorting_1 {
451         background-color: #ffc4c4;
452 }
453
454 tr.odd.gradeX td.sorting_2 {
455         background-color: #ffd1d1;
456 }
457
458 tr.odd.gradeX td.sorting_3 {
459         background-color: #ffd1d1;
460 }
461
462 tr.even.gradeX td.sorting_1 {
463         background-color: #ffd5d5;
464 }
465
466 tr.even.gradeX td.sorting_2 {
467         background-color: #ffe2e2;
468 }
469
470 tr.even.gradeX td.sorting_3 {
471         background-color: #ffe2e2;
472 }
473
474 tr.odd.gradeU td.sorting_1 {
475         background-color: #c4c4c4;
476 }
477
478 tr.odd.gradeU td.sorting_2 {
479         background-color: #d1d1d1;
480 }
481
482 tr.odd.gradeU td.sorting_3 {
483         background-color: #d1d1d1;
484 }
485
486 tr.even.gradeU td.sorting_1 {
487         background-color: #d5d5d5;
488 }
489
490 tr.even.gradeU td.sorting_2 {
491         background-color: #e2e2e2;
492 }
493
494 tr.even.gradeU td.sorting_3 {
495         background-color: #e2e2e2;
496 }
497
498
499 /*
500  * Row highlighting example
501  */
502 .ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
503         background-color: #ECFFB3;
504 }
505
506 .ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
507         background-color: #E6FF99;
508 }
509
510 .ex_highlight_row #example tr.even:hover {
511         background-color: #ECFFB3;
512 }
513
514 .ex_highlight_row #example tr.even:hover td.sorting_1 {
515         background-color: #DDFF75;
516 }
517
518 .ex_highlight_row #example tr.even:hover td.sorting_2 {
519         background-color: #E7FF9E;
520 }
521
522 .ex_highlight_row #example tr.even:hover td.sorting_3 {
523         background-color: #E2FF89;
524 }
525
526 .ex_highlight_row #example tr.odd:hover {
527         background-color: #E6FF99;
528 }
529
530 .ex_highlight_row #example tr.odd:hover td.sorting_1 {
531         background-color: #D6FF5C;
532 }
533
534 .ex_highlight_row #example tr.odd:hover td.sorting_2 {
535         background-color: #E0FF84;
536 }
537
538 .ex_highlight_row #example tr.odd:hover td.sorting_3 {
539         background-color: #DBFF70;
540 }
541
542
543 /*
544  * KeyTable
545  */
546 table.KeyTable td {
547         border: 3px solid transparent;
548 }
549
550 table.KeyTable td.focus {
551         border: 3px solid #3366FF;
552 }
553
554 table.display tr.gradeA {
555         background-color: #eeffee;
556 }
557
558 table.display tr.gradeC {
559         background-color: #ddddff;
560 }
561
562 table.display tr.gradeX {
563         background-color: #ffdddd;
564 }
565
566 table.display tr.gradeU {
567         background-color: #ddd;
568 }
569
570 div.box {
571         height: 100px;
572         padding: 10px;
573         overflow: auto;
574         border: 1px solid #8080FF;
575         background-color: #E5E5FF;
576 }