source: main/trunk/model-sites-dev/cambridge-museum/collect/waikato-independent/pre-import/EditableDatabaseTable/WebContent/header-media/DataTables-1.10.22/css/jquery.dataTables.css@ 34511

Last change on this file since 34511 was 34511, checked in by davidb, 4 years ago

Evolution of code away from Company model to one that uses RecordHashmap to represent the rows coming out of the JDBC database

File size: 15.7 KB
Line 
1/*
2 * Table styles
3 */
4table.dataTable {
5 width: 100%;
6 margin: 0 auto;
7 clear: both;
8 border-collapse: separate;
9 border-spacing: 0;
10 /*
11 * Header and footer styles
12 */
13 /*
14 * Body styles
15 */
16}
17table.dataTable thead th,
18table.dataTable tfoot th {
19 font-weight: bold;
20}
21table.dataTable thead th,
22table.dataTable thead td {
23 padding: 10px 18px;
24 border-bottom: 1px solid #111;
25}
26table.dataTable thead th:active,
27table.dataTable thead td:active {
28 outline: none;
29}
30table.dataTable tfoot th,
31table.dataTable tfoot td {
32 padding: 10px 18px 6px 18px;
33 border-top: 1px solid #111;
34}
35table.dataTable thead .sorting,
36table.dataTable thead .sorting_asc,
37table.dataTable thead .sorting_desc,
38table.dataTable thead .sorting_asc_disabled,
39table.dataTable thead .sorting_desc_disabled {
40 cursor: pointer;
41 *cursor: hand;
42 background-repeat: no-repeat;
43 background-position: center right;
44}
45table.dataTable thead .sorting {
46 background-image: url("../images/sort_both.png");
47}
48table.dataTable thead .sorting_asc {
49 background-image: url("../images/sort_asc.png");
50}
51table.dataTable thead .sorting_desc {
52 background-image: url("../images/sort_desc.png");
53}
54table.dataTable thead .sorting_asc_disabled {
55 background-image: url("../images/sort_asc_disabled.png");
56}
57table.dataTable thead .sorting_desc_disabled {
58 background-image: url("../images/sort_desc_disabled.png");
59}
60table.dataTable tbody tr {
61 background-color: #ffffff;
62}
63table.dataTable tbody tr.selected {
64 background-color: #B0BED9;
65}
66table.dataTable tbody th,
67table.dataTable tbody td {
68 padding: 8px 10px;
69}
70table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
71 border-top: 1px solid #ddd;
72}
73table.dataTable.row-border tbody tr:first-child th,
74table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
75table.dataTable.display tbody tr:first-child td {
76 border-top: none;
77}
78table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
79 border-top: 1px solid #ddd;
80 border-right: 1px solid #ddd;
81}
82table.dataTable.cell-border tbody tr th:first-child,
83table.dataTable.cell-border tbody tr td:first-child {
84 border-left: 1px solid #ddd;
85}
86table.dataTable.cell-border tbody tr:first-child th,
87table.dataTable.cell-border tbody tr:first-child td {
88 border-top: none;
89}
90table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
91 background-color: #f9f9f9;
92}
93table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
94 background-color: #acbad4;
95}
96table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
97 background-color: #f6f6f6;
98}
99table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr:hover.selected {
100 background-color: #aab7d1;
101}
102table.dataTable.order-column tbody tr > .sorting_1,
103table.dataTable.order-column tbody tr > .sorting_2,
104table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
105table.dataTable.display tbody tr > .sorting_2,
106table.dataTable.display tbody tr > .sorting_3 {
107 background-color: #fafafa;
108}
109table.dataTable.order-column tbody tr.selected > .sorting_1,
110table.dataTable.order-column tbody tr.selected > .sorting_2,
111table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
112table.dataTable.display tbody tr.selected > .sorting_2,
113table.dataTable.display tbody tr.selected > .sorting_3 {
114 background-color: #acbad5;
115}
116table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
117 background-color: #f1f1f1;
118}
119table.dataTable.display tbody tr.odd > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 {
120 background-color: #f3f3f3;
121}
122table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 {
123 background-color: whitesmoke;
124}
125table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
126 background-color: #a6b4cd;
127}
128table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
129 background-color: #a8b5cf;
130}
131table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
132 background-color: #a9b7d1;
133}
134table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
135 background-color: #fafafa;
136}
137table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
138 background-color: #fcfcfc;
139}
140table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
141 background-color: #fefefe;
142}
143table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
144 background-color: #acbad5;
145}
146table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
147 background-color: #aebcd6;
148}
149table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
150 background-color: #afbdd8;
151}
152table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
153 background-color: #eaeaea;
154}
155table.dataTable.display tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 {
156 background-color: #ececec;
157}
158table.dataTable.display tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
159 background-color: #efefef;
160}
161table.dataTable.display tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 {
162 background-color: #a2aec7;
163}
164table.dataTable.display tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 {
165 background-color: #a3b0c9;
166}
167table.dataTable.display tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 {
168 background-color: #a5b2cb;
169}
170table.dataTable.no-footer {
171 border-bottom: 1px solid #111;
172}
173table.dataTable.nowrap th, table.dataTable.nowrap td {
174 white-space: nowrap;
175}
176table.dataTable.compact thead th,
177table.dataTable.compact thead td {
178 padding: 4px 17px;
179}
180table.dataTable.compact tfoot th,
181table.dataTable.compact tfoot td {
182 padding: 4px;
183}
184table.dataTable.compact tbody th,
185table.dataTable.compact tbody td {
186 padding: 4px;
187}
188table.dataTable th.dt-left,
189table.dataTable td.dt-left {
190 text-align: left;
191}
192table.dataTable th.dt-center,
193table.dataTable td.dt-center,
194table.dataTable td.dataTables_empty {
195 text-align: center;
196}
197table.dataTable th.dt-right,
198table.dataTable td.dt-right {
199 text-align: right;
200}
201table.dataTable th.dt-justify,
202table.dataTable td.dt-justify {
203 text-align: justify;
204}
205table.dataTable th.dt-nowrap,
206table.dataTable td.dt-nowrap {
207 white-space: nowrap;
208}
209table.dataTable thead th.dt-head-left,
210table.dataTable thead td.dt-head-left,
211table.dataTable tfoot th.dt-head-left,
212table.dataTable tfoot td.dt-head-left {
213 text-align: left;
214}
215table.dataTable thead th.dt-head-center,
216table.dataTable thead td.dt-head-center,
217table.dataTable tfoot th.dt-head-center,
218table.dataTable tfoot td.dt-head-center {
219 text-align: center;
220}
221table.dataTable thead th.dt-head-right,
222table.dataTable thead td.dt-head-right,
223table.dataTable tfoot th.dt-head-right,
224table.dataTable tfoot td.dt-head-right {
225 text-align: right;
226}
227table.dataTable thead th.dt-head-justify,
228table.dataTable thead td.dt-head-justify,
229table.dataTable tfoot th.dt-head-justify,
230table.dataTable tfoot td.dt-head-justify {
231 text-align: justify;
232}
233table.dataTable thead th.dt-head-nowrap,
234table.dataTable thead td.dt-head-nowrap,
235table.dataTable tfoot th.dt-head-nowrap,
236table.dataTable tfoot td.dt-head-nowrap {
237 white-space: nowrap;
238}
239table.dataTable tbody th.dt-body-left,
240table.dataTable tbody td.dt-body-left {
241 text-align: left;
242}
243table.dataTable tbody th.dt-body-center,
244table.dataTable tbody td.dt-body-center {
245 text-align: center;
246}
247table.dataTable tbody th.dt-body-right,
248table.dataTable tbody td.dt-body-right {
249 text-align: right;
250}
251table.dataTable tbody th.dt-body-justify,
252table.dataTable tbody td.dt-body-justify {
253 text-align: justify;
254}
255table.dataTable tbody th.dt-body-nowrap,
256table.dataTable tbody td.dt-body-nowrap {
257 white-space: nowrap;
258}
259
260table.dataTable,
261table.dataTable th,
262table.dataTable td {
263 box-sizing: content-box;
264}
265
266/*
267 * Control feature layout
268 */
269.dataTables_wrapper {
270 position: relative;
271 clear: both;
272 *zoom: 1;
273 zoom: 1;
274}
275.dataTables_wrapper .dataTables_length {
276 float: left;
277}
278.dataTables_wrapper .dataTables_length select {
279 border: 1px solid #aaa;
280 border-radius: 3px;
281 padding: 5px;
282 background-color: transparent;
283 padding: 4px;
284}
285.dataTables_wrapper .dataTables_filter {
286 float: right;
287 text-align: right;
288}
289.dataTables_wrapper .dataTables_filter input {
290 border: 1px solid #aaa;
291 border-radius: 3px;
292 padding: 5px;
293 background-color: transparent;
294 margin-left: 3px;
295}
296.dataTables_wrapper .dataTables_info {
297 clear: both;
298 float: left;
299 padding-top: 0.755em;
300}
301.dataTables_wrapper .dataTables_paginate {
302 float: right;
303 text-align: right;
304 padding-top: 0.25em;
305}
306.dataTables_wrapper .dataTables_paginate .paginate_button {
307 box-sizing: border-box;
308 display: inline-block;
309 min-width: 1.5em;
310 padding: 0.5em 1em;
311 margin-left: 2px;
312 text-align: center;
313 text-decoration: none !important;
314 cursor: pointer;
315 *cursor: hand;
316 color: #333 !important;
317 border: 1px solid transparent;
318 border-radius: 2px;
319}
320.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
321 color: #333 !important;
322 border: 1px solid #979797;
323 background-color: white;
324 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));
325 /* Chrome,Safari4+ */
326 background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%);
327 /* Chrome10+,Safari5.1+ */
328 background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%);
329 /* FF3.6+ */
330 background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%);
331 /* IE10+ */
332 background: -o-linear-gradient(top, white 0%, #dcdcdc 100%);
333 /* Opera 11.10+ */
334 background: linear-gradient(to bottom, white 0%, #dcdcdc 100%);
335 /* W3C */
336}
337.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
338 cursor: default;
339 color: #666 !important;
340 border: 1px solid transparent;
341 background: transparent;
342 box-shadow: none;
343}
344.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
345 color: white !important;
346 border: 1px solid #111;
347 background-color: #585858;
348 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
349 /* Chrome,Safari4+ */
350 background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
351 /* Chrome10+,Safari5.1+ */
352 background: -moz-linear-gradient(top, #585858 0%, #111 100%);
353 /* FF3.6+ */
354 background: -ms-linear-gradient(top, #585858 0%, #111 100%);
355 /* IE10+ */
356 background: -o-linear-gradient(top, #585858 0%, #111 100%);
357 /* Opera 11.10+ */
358 background: linear-gradient(to bottom, #585858 0%, #111 100%);
359 /* W3C */
360}
361.dataTables_wrapper .dataTables_paginate .paginate_button:active {
362 outline: none;
363 background-color: #2b2b2b;
364 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
365 /* Chrome,Safari4+ */
366 background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
367 /* Chrome10+,Safari5.1+ */
368 background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
369 /* FF3.6+ */
370 background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
371 /* IE10+ */
372 background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
373 /* Opera 11.10+ */
374 background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
375 /* W3C */
376 box-shadow: inset 0 0 3px #111;
377}
378.dataTables_wrapper .dataTables_paginate .ellipsis {
379 padding: 0 1em;
380}
381.dataTables_wrapper .dataTables_processing {
382 position: absolute;
383 top: 50%;
384 left: 50%;
385 width: 100%;
386 height: 40px;
387 margin-left: -50%;
388 margin-top: -25px;
389 padding-top: 20px;
390 text-align: center;
391 font-size: 1.2em;
392 background-color: white;
393 background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
394 background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
395 background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
396 background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
397 background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
398 background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
399}
400.dataTables_wrapper .dataTables_length,
401.dataTables_wrapper .dataTables_filter,
402.dataTables_wrapper .dataTables_info,
403.dataTables_wrapper .dataTables_processing,
404.dataTables_wrapper .dataTables_paginate {
405 color: #333;
406}
407.dataTables_wrapper .dataTables_scroll {
408 clear: both;
409}
410.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
411 *margin-top: -1px;
412 -webkit-overflow-scrolling: touch;
413}
414.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
415 vertical-align: middle;
416}
417.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
418.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
419.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
420 height: 0;
421 overflow: hidden;
422 margin: 0 !important;
423 padding: 0 !important;
424}
425.dataTables_wrapper.no-footer .dataTables_scrollBody {
426 border-bottom: 1px solid #111;
427}
428.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
429.dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
430 border-bottom: none;
431}
432.dataTables_wrapper:after {
433 visibility: hidden;
434 display: block;
435 content: "";
436 clear: both;
437 height: 0;
438}
439
440@media screen and (max-width: 767px) {
441 .dataTables_wrapper .dataTables_info,
442 .dataTables_wrapper .dataTables_paginate {
443 float: none;
444 text-align: center;
445 }
446 .dataTables_wrapper .dataTables_paginate {
447 margin-top: 0.5em;
448 }
449}
450@media screen and (max-width: 640px) {
451 .dataTables_wrapper .dataTables_length,
452 .dataTables_wrapper .dataTables_filter {
453 float: none;
454 text-align: center;
455 }
456 .dataTables_wrapper .dataTables_filter {
457 margin-top: 0.5em;
458 }
459}
Note: See TracBrowser for help on using the repository browser.