datatables-rails 1.10.3.0

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