jquery-datatables-rails 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/dataTables/extras/dataTables.autoFill.js +8 -4
- data/app/assets/javascripts/dataTables/extras/dataTables.colReorder.js +75 -21
- data/app/assets/javascripts/dataTables/extras/dataTables.colVis.js +22 -11
- data/app/assets/javascripts/dataTables/extras/dataTables.fixedColumns.js +32 -13
- data/app/assets/javascripts/dataTables/extras/dataTables.fixedHeader.js +8 -4
- data/app/assets/javascripts/dataTables/extras/dataTables.keyTable.js +8 -4
- data/app/assets/javascripts/dataTables/extras/dataTables.responsive.js +699 -613
- data/app/assets/javascripts/dataTables/extras/dataTables.scroller.js +119 -42
- data/app/assets/javascripts/dataTables/extras/dataTables.tableTools.js +114 -33
- data/app/assets/stylesheets/dataTables/extras/dataTables.autoFill.css.scss +6 -6
- data/app/assets/stylesheets/dataTables/extras/dataTables.colVis.css.scss +1 -0
- data/app/assets/stylesheets/dataTables/extras/dataTables.responsive.css.scss +88 -22
- data/app/assets/stylesheets/dataTables/jquery.dataTables.css.scss +91 -14
- data/lib/jquery/datatables/rails/version.rb +1 -1
- metadata +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
2
|
-
* AutoFill styles
|
3
|
-
*/
|
2
|
+
* AutoFill styles
|
3
|
+
*/
|
4
4
|
|
5
5
|
div.AutoFill_filler {
|
6
6
|
display: none;
|
@@ -16,9 +16,9 @@ div.AutoFill_border {
|
|
16
16
|
position: absolute;
|
17
17
|
background-color: #0063dc;
|
18
18
|
z-index: 1001;
|
19
|
-
|
20
|
-
box-shadow:
|
21
|
-
-moz-box-shadow:
|
22
|
-
-webkit-box-shadow:
|
19
|
+
|
20
|
+
box-shadow: 0px 0px 5px #76b4ff;
|
21
|
+
-moz-box-shadow: 0px 0px 5px #76b4ff;
|
22
|
+
-webkit-box-shadow: 0px 0px 5px #76b4ff;
|
23
23
|
}
|
24
24
|
|
@@ -1,23 +1,89 @@
|
|
1
|
-
table.
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
table.
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
1
|
+
table.dataTable.dtr-inline.collapsed tbody td:first-child,
|
2
|
+
table.dataTable.dtr-inline.collapsed tbody th:first-child {
|
3
|
+
position: relative;
|
4
|
+
padding-left: 30px;
|
5
|
+
cursor: pointer;
|
6
|
+
}
|
7
|
+
table.dataTable.dtr-inline.collapsed tbody td:first-child:before,
|
8
|
+
table.dataTable.dtr-inline.collapsed tbody th:first-child:before {
|
9
|
+
top: 8px;
|
10
|
+
left: 4px;
|
11
|
+
height: 16px;
|
12
|
+
width: 16px;
|
13
|
+
display: block;
|
14
|
+
position: absolute;
|
15
|
+
color: white;
|
16
|
+
border: 2px solid white;
|
17
|
+
border-radius: 16px;
|
18
|
+
text-align: center;
|
19
|
+
line-height: 14px;
|
20
|
+
box-shadow: 0 0 3px #444;
|
21
|
+
box-sizing: content-box;
|
22
|
+
content: '+';
|
23
|
+
background-color: #31b131;
|
24
|
+
}
|
25
|
+
table.dataTable.dtr-inline.collapsed tbody tr.parent td:first-child:before,
|
26
|
+
table.dataTable.dtr-inline.collapsed tbody tr.parent th:first-child:before {
|
27
|
+
content: '-';
|
28
|
+
background-color: #d33333;
|
29
|
+
}
|
30
|
+
table.dataTable.dtr-inline.collapsed tbody tr.child td:before {
|
31
|
+
display: none;
|
32
|
+
}
|
33
|
+
table.dataTable.dtr-column tbody td.control,
|
34
|
+
table.dataTable.dtr-column tbody th.control {
|
35
|
+
position: relative;
|
36
|
+
cursor: pointer;
|
37
|
+
}
|
38
|
+
table.dataTable.dtr-column tbody td.control:before,
|
39
|
+
table.dataTable.dtr-column tbody th.control:before {
|
40
|
+
top: 50%;
|
41
|
+
left: 50%;
|
42
|
+
height: 16px;
|
43
|
+
width: 16px;
|
44
|
+
margin-top: -10px;
|
45
|
+
margin-left: -10px;
|
46
|
+
display: block;
|
47
|
+
position: absolute;
|
48
|
+
color: white;
|
49
|
+
border: 2px solid white;
|
50
|
+
border-radius: 16px;
|
51
|
+
text-align: center;
|
52
|
+
line-height: 14px;
|
53
|
+
box-shadow: 0 0 3px #444;
|
54
|
+
box-sizing: content-box;
|
55
|
+
content: '+';
|
56
|
+
background-color: #31b131;
|
57
|
+
}
|
58
|
+
table.dataTable.dtr-column tbody tr.parent td.control:before,
|
59
|
+
table.dataTable.dtr-column tbody tr.parent th.control:before {
|
60
|
+
content: '-';
|
61
|
+
background-color: #d33333;
|
62
|
+
}
|
63
|
+
table.dataTable tr.child {
|
64
|
+
padding: 0.5em 1em;
|
65
|
+
}
|
66
|
+
table.dataTable tr.child:hover {
|
67
|
+
background: transparent !important;
|
68
|
+
}
|
69
|
+
table.dataTable tr.child ul {
|
70
|
+
display: inline-block;
|
71
|
+
list-style-type: none;
|
72
|
+
margin: 0;
|
73
|
+
padding: 0;
|
74
|
+
}
|
75
|
+
table.dataTable tr.child ul li {
|
76
|
+
border-bottom: 1px solid #efefef;
|
77
|
+
padding: 0.5em 0;
|
78
|
+
}
|
79
|
+
table.dataTable tr.child ul li:first-child {
|
80
|
+
padding-top: 0;
|
81
|
+
}
|
82
|
+
table.dataTable tr.child ul li:last-child {
|
83
|
+
border-bottom: none;
|
84
|
+
}
|
85
|
+
table.dataTable tr.child span.dtr-title {
|
86
|
+
display: inline-block;
|
87
|
+
min-width: 75px;
|
88
|
+
font-weight: bold;
|
23
89
|
}
|
@@ -39,19 +39,19 @@ table.dataTable thead .sorting {
|
|
39
39
|
*cursor: hand;
|
40
40
|
}
|
41
41
|
table.dataTable thead .sorting {
|
42
|
-
background: image-url(
|
42
|
+
background: image-url("dataTables/sort_both.png") no-repeat center right;
|
43
43
|
}
|
44
44
|
table.dataTable thead .sorting_asc {
|
45
|
-
background: image-url(
|
45
|
+
background: image-url("dataTables/sort_asc.png") no-repeat center right;
|
46
46
|
}
|
47
47
|
table.dataTable thead .sorting_desc {
|
48
|
-
background: image-url(
|
48
|
+
background: image-url("dataTables/sort_desc.png") no-repeat center right;
|
49
49
|
}
|
50
50
|
table.dataTable thead .sorting_asc_disabled {
|
51
|
-
background: image-url(
|
51
|
+
background: image-url("dataTables/sort_asc_disabled.png") no-repeat center right;
|
52
52
|
}
|
53
53
|
table.dataTable thead .sorting_desc_disabled {
|
54
|
-
background: image-url(
|
54
|
+
background: image-url("dataTables/sort_desc_disabled.png") no-repeat center right;
|
55
55
|
}
|
56
56
|
table.dataTable tbody tr {
|
57
57
|
background-color: white;
|
@@ -63,15 +63,6 @@ table.dataTable tbody th,
|
|
63
63
|
table.dataTable tbody td {
|
64
64
|
padding: 8px 10px;
|
65
65
|
}
|
66
|
-
table.dataTable th.center,
|
67
|
-
table.dataTable td.center,
|
68
|
-
table.dataTable td.dataTables_empty {
|
69
|
-
text-align: center;
|
70
|
-
}
|
71
|
-
table.dataTable th.right,
|
72
|
-
table.dataTable td.right {
|
73
|
-
text-align: right;
|
74
|
-
}
|
75
66
|
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
|
76
67
|
border-top: 1px solid #dddddd;
|
77
68
|
}
|
@@ -207,6 +198,92 @@ table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_3 {
|
|
207
198
|
table.dataTable.no-footer {
|
208
199
|
border-bottom: 1px solid #111111;
|
209
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
|
+
}
|
210
287
|
|
211
288
|
table.dataTable,
|
212
289
|
table.dataTable th,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-datatables-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robin Wenglewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|