Subversion Repositories ALCASAR

Rev

Go to most recent revision | Details | Last modification | View Log

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