comparison examples/browser/web/css/data_table.css @ 640:901803e1305f

First instance of audioDB browser code.
author mas01mj
date Thu, 08 Oct 2009 11:19:11 +0000
parents
children
comparison
equal deleted inserted replaced
639:2eaea1afd6b3 640:901803e1305f
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 _height: 302px;
37 clear: both;
38 }
39
40 .dataTables_processing {
41 position: absolute;
42 top: 0px;
43 left: 50%;
44 width: 250px;
45 margin-left: -125px;
46 border: 1px solid #ddd;
47 text-align: center;
48 color: #999;
49 font-size: 11px;
50 padding: 2px 0;
51 }
52
53 .dataTables_length {
54 width: 40%;
55 float: left;
56 }
57
58 .dataTables_filter {
59 width: 50%;
60 float: right;
61 text-align: right;
62 }
63
64 .dataTables_info {
65 width: 60%;
66 float: left;
67 }
68
69 .dataTables_paginate {
70 width: 44px;
71 * width: 50px;
72 float: right;
73 text-align: right;
74 }
75
76 /* Pagination nested */
77 .paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
78 height: 19px;
79 width: 19px;
80 margin-left: 3px;
81 float: left;
82 }
83
84 .paginate_disabled_previous {
85 background-image: url('../img/back_disabled.jpg');
86 }
87
88 .paginate_enabled_previous {
89 background-image: url('../img/back_enabled.jpg');
90 }
91
92 .paginate_disabled_next {
93 background-image: url('../img/forward_disabled.jpg');
94 }
95
96 .paginate_enabled_next {
97 background-image: url('../img/forward_enabled.jpg');
98 }
99
100
101
102 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
103 * DataTables display
104 */
105 table.display {
106 margin: 0 auto;
107 width: 100%;
108 clear: both;
109 }
110
111 table.display thead th {
112 padding: 3px 18px 3px 10px;
113 border-bottom: 1px solid black;
114 font-weight: bold;
115 cursor: pointer;
116 * cursor: hand;
117 }
118
119 table.display tfoot th {
120 padding: 3px 10px;
121 border-top: 1px solid black;
122 font-weight: bold;
123 }
124
125 table.display tr.heading2 td {
126 border-bottom: 1px solid #aaa;
127 }
128
129 table.display td {
130 padding: 3px 10px;
131 }
132
133 table.display td.center {
134 text-align: center;
135 }
136
137
138
139 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
140 * DataTables sorting
141 */
142
143 .sorting_asc {
144 background: url('../img/sort_asc.jpg') no-repeat center right;
145 }
146
147 .sorting_desc {
148 background: url('../img/sort_desc.jpg') no-repeat center right;
149 }
150
151 .sorting {
152 background: url('../img/sort_both.jpg') no-repeat center right;
153 }
154
155
156
157
158 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
159 * DataTables row classes
160 */
161 table.display tr.odd.gradeA {
162 background-color: #ddffdd;
163 }
164
165 table.display tr.even.gradeA {
166 background-color: #eeffee;
167 }
168
169
170
171
172 table.display tr.odd.gradeA {
173 background-color: #ddffdd;
174 }
175
176 table.display tr.even.gradeA {
177 background-color: #eeffee;
178 }
179
180 table.display tr.odd.gradeC {
181 background-color: #ddddff;
182 }
183
184 table.display tr.even.gradeC {
185 background-color: #eeeeff;
186 }
187
188 table.display tr.odd.gradeX {
189 background-color: #ffdddd;
190 }
191
192 table.display tr.even.gradeX {
193 background-color: #ffeeee;
194 }
195
196 table.display tr.odd.gradeU {
197 background-color: #ddd;
198 }
199
200 table.display tr.even.gradeU {
201 background-color: #eee;
202 }
203
204
205 tr.odd {
206 background-color: #E2E4FF;
207 }
208
209 tr.even {
210 background-color: white;
211 }
212
213
214
215
216
217 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
218 * Misc
219 */
220 .top, .bottom {
221 padding: 15px;
222 background-color: #F5F5F5;
223 border: 1px solid #CCCCCC;
224 }
225
226 .top .dataTables_info {
227 float: none;
228 }
229
230 .clear {
231 clear: both;
232 }
233
234 .dataTables_empty {
235 text-align: center;
236 }
237
238 tfoot input {
239 margin: 0.5em 0;
240 width: 100%;
241 color: #444;
242 }
243
244 tfoot input.search_init {
245 color: #999;
246 }
247
248 td.group {
249 background-color: #d1cfd0;
250 border-bottom: 2px solid #A19B9E;
251 border-top: 2px solid #A19B9E;
252 }
253
254 td.details {
255 background-color: #d1cfd0;
256 border: 2px solid #A19B9E;
257 }
258
259
260 .example_alt_pagination div.dataTables_info {
261 width: 40%;
262 }
263
264 .paging_full_numbers {
265 width: 400px;
266 height: 22px;
267 line-height: 22px;
268 }
269
270 .paging_full_numbers span.paginate_button,
271 .paging_full_numbers span.paginate_active {
272 border: 1px solid #aaa;
273 -webkit-border-radius: 5px;
274 -moz-border-radius: 5px;
275 padding: 2px 5px;
276 margin: 0 3px;
277 cursor: pointer;
278 *cursor: hand;
279 }
280
281 .paging_full_numbers span.paginate_button {
282 background-color: #ddd;
283 }
284
285 .paging_full_numbers span.paginate_button:hover {
286 background-color: #ccc;
287 }
288
289 .paging_full_numbers span.paginate_active {
290 background-color: #99B3FF;
291 }
292
293 table.display tr.even.row_selected td {
294 background-color: #B0BED9;
295 }
296
297 table.display tr.odd.row_selected td {
298 background-color: #9FAFD1;
299 }
300
301
302 /*
303 * Sorting classes for columns
304 */
305 /* For the standard odd/even */
306 tr.odd td.sorting_1 {
307 background-color: #D3D6FF;
308 }
309
310 tr.odd td.sorting_2 {
311 background-color: #DADCFF;
312 }
313
314 tr.odd td.sorting_3 {
315 background-color: #E0E2FF;
316 }
317
318 tr.even td.sorting_1 {
319 background-color: #EAEBFF;
320 }
321
322 tr.even td.sorting_2 {
323 background-color: #F2F3FF;
324 }
325
326 tr.even td.sorting_3 {
327 background-color: #F9F9FF;
328 }
329
330
331 /* For the Conditional-CSS grading rows */
332 /*
333 Colour calculations (based off the main row colours)
334 Level 1:
335 dd > c4
336 ee > d5
337 Level 2:
338 dd > d1
339 ee > e2
340 */
341 tr.odd.gradeA td.sorting_1 {
342 background-color: #c4ffc4;
343 }
344
345 tr.odd.gradeA td.sorting_2 {
346 background-color: #d1ffd1;
347 }
348
349 tr.odd.gradeA td.sorting_3 {
350 background-color: #d1ffd1;
351 }
352
353 tr.even.gradeA td.sorting_1 {
354 background-color: #d5ffd5;
355 }
356
357 tr.even.gradeA td.sorting_2 {
358 background-color: #e2ffe2;
359 }
360
361 tr.even.gradeA td.sorting_3 {
362 background-color: #e2ffe2;
363 }
364
365 tr.odd.gradeC td.sorting_1 {
366 background-color: #c4c4ff;
367 }
368
369 tr.odd.gradeC td.sorting_2 {
370 background-color: #d1d1ff;
371 }
372
373 tr.odd.gradeC td.sorting_3 {
374 background-color: #d1d1ff;
375 }
376
377 tr.even.gradeC td.sorting_1 {
378 background-color: #d5d5ff;
379 }
380
381 tr.even.gradeC td.sorting_2 {
382 background-color: #e2e2ff;
383 }
384
385 tr.even.gradeC td.sorting_3 {
386 background-color: #e2e2ff;
387 }
388
389 tr.odd.gradeX td.sorting_1 {
390 background-color: #ffc4c4;
391 }
392
393 tr.odd.gradeX td.sorting_2 {
394 background-color: #ffd1d1;
395 }
396
397 tr.odd.gradeX td.sorting_3 {
398 background-color: #ffd1d1;
399 }
400
401 tr.even.gradeX td.sorting_1 {
402 background-color: #ffd5d5;
403 }
404
405 tr.even.gradeX td.sorting_2 {
406 background-color: #ffe2e2;
407 }
408
409 tr.even.gradeX td.sorting_3 {
410 background-color: #ffe2e2;
411 }
412
413 tr.odd.gradeU td.sorting_1 {
414 background-color: #c4c4c4;
415 }
416
417 tr.odd.gradeU td.sorting_2 {
418 background-color: #d1d1d1;
419 }
420
421 tr.odd.gradeU td.sorting_3 {
422 background-color: #d1d1d1;
423 }
424
425 tr.even.gradeU td.sorting_1 {
426 background-color: #d5d5d5;
427 }
428
429 tr.even.gradeU td.sorting_2 {
430 background-color: #e2e2e2;
431 }
432
433 tr.even.gradeU td.sorting_3 {
434 background-color: #e2e2e2;
435 }
436
437
438 /*
439 * Row highlighting example
440 */
441 .ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
442 background-color: #ECFFB3;
443 }
444
445 .ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
446 background-color: #E6FF99;
447 }