jquery-datatables 1.10.15 → 1.10.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -16
- data/Rakefile +46 -27
- data/app/assets/javascripts/datatables/dataTables.bootstrap4.js +3 -3
- data/app/assets/javascripts/datatables/dataTables.jqueryui.js +6 -6
- data/app/assets/javascripts/datatables/extensions/AutoFill/dataTables.autoFill.js +5 -5
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap.js +3 -1
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap4.js +3 -1
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.colVis.js +2 -1
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.flash.js +74 -69
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.foundation.js +3 -1
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.html5.js +86 -63
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.print.js +16 -22
- data/app/assets/javascripts/datatables/extensions/Buttons/dataTables.buttons.js +131 -3
- data/app/assets/javascripts/datatables/extensions/ColReorder/dataTables.colReorder.js +12 -6
- data/app/assets/javascripts/datatables/extensions/FixedColumns/dataTables.fixedColumns.js +8 -5
- data/app/assets/javascripts/datatables/extensions/FixedHeader/dataTables.fixedHeader.js +14 -9
- data/app/assets/javascripts/datatables/extensions/KeyTable/dataTables.keyTable.js +103 -8
- data/app/assets/javascripts/datatables/extensions/Responsive/dataTables.responsive.js +106 -6
- data/app/assets/javascripts/datatables/extensions/Responsive/responsive.bootstrap4.js +1 -1
- data/app/assets/javascripts/datatables/extensions/RowGroup/dataTables.rowGroup.js +8 -6
- data/app/assets/javascripts/datatables/extensions/RowReorder/dataTables.rowReorder.js +68 -35
- data/app/assets/javascripts/datatables/extensions/Scroller/dataTables.scroller.js +71 -10
- data/app/assets/javascripts/datatables/extensions/Select/dataTables.select.js +11 -7
- data/app/assets/javascripts/datatables/jquery.dataTables.js +19 -121
- data/app/assets/stylesheets/datatables/dataTables.bootstrap.scss +252 -0
- data/app/assets/stylesheets/datatables/{dataTables.bootstrap2.css → dataTables.bootstrap2.scss} +6 -6
- data/app/assets/stylesheets/datatables/dataTables.bootstrap4.scss +262 -0
- data/app/assets/stylesheets/datatables/dataTables.foundation.scss +154 -0
- data/app/assets/stylesheets/datatables/dataTables.jqueryui.scss +93 -0
- data/app/assets/stylesheets/datatables/dataTables.material.scss +101 -0
- data/app/assets/stylesheets/datatables/dataTables.semanticui.scss +138 -0
- data/app/assets/stylesheets/datatables/dataTables.uikit.scss +195 -0
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap.scss +8 -0
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap4.scss +8 -0
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.dataTables.scss +125 -0
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.foundation.scss +13 -0
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.jqueryui.scss +10 -0
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.semanticui.scss +8 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap.scss +40 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap4.scss +53 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.dataTables.scss +141 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.foundation.scss +82 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.jqueryui.scss +98 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.semanticui.scss +53 -0
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap4.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.dataTables.scss +17 -0
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.foundation.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.jqueryui.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.semanticui.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap.scss +50 -0
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap4.scss +11 -0
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.dataTables.scss +22 -0
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/{fixedColumns.foundation.css → fixedColumns.foundation.scss} +15 -6
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.jqueryui.scss +16 -0
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.semanticui.scss +41 -0
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.bootstrap4.css → fixedHeader.bootstrap.scss} +6 -5
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.foundation.css → fixedHeader.bootstrap4.scss} +6 -5
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.dataTables.scss +21 -0
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.bootstrap.css → fixedHeader.foundation.scss} +6 -5
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.semanticui.css → fixedHeader.jqueryui.scss} +7 -3
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.semanticui.scss +16 -0
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap4.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.dataTables.scss +10 -0
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.foundation.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.jqueryui.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.semanticui.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap.scss +8 -0
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap4.scss +9 -0
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.dataTables.scss +240 -0
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.foundation.scss +10 -0
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.jqueryui.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.semanticui.scss +9 -0
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap4.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.dataTables.scss +9 -0
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.foundation.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.jqueryui.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.semanticui.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.bootstrap.scss +5 -0
- data/app/assets/stylesheets/datatables/extensions/RowReorder/{semanticui.scss → rowReorder.bootstrap4.scss} +0 -0
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.dataTables.scss +26 -0
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.foundation.scss +5 -0
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.jqueryui.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.semanticui.scss +5 -0
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap.scss +9 -0
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap4.scss +9 -0
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.dataTables.scss +36 -0
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.foundation.scss +31 -0
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.jqueryui.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.semanticui.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap.scss +17 -0
- data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap4.scss +17 -0
- data/app/assets/stylesheets/datatables/extensions/Select/select.dataTables.scss +143 -0
- data/app/assets/stylesheets/datatables/extensions/Select/select.foundation.scss +18 -0
- data/app/assets/stylesheets/datatables/extensions/Select/select.jqueryui.scss +4 -0
- data/app/assets/stylesheets/datatables/extensions/Select/select.semanticui.scss +14 -0
- data/app/assets/stylesheets/datatables/jquery.dataTables.scss +599 -0
- data/lib/generators/jquery/datatables/install_generator.rb +1 -1
- data/lib/generators/jquery/datatables/templates/bootstrap.js.tt +3 -1
- data/lib/generators/jquery/datatables/templates/bootstrap.scss.tt +15 -0
- data/lib/generators/jquery/datatables/templates/bootstrap4.js.tt +3 -1
- data/lib/generators/jquery/datatables/templates/bootstrap4.scss.tt +15 -0
- data/lib/generators/jquery/datatables/templates/foundation.js.tt +4 -4
- data/lib/generators/jquery/datatables/templates/foundation.scss.tt +33 -0
- data/lib/generators/jquery/datatables/templates/jqueryui.js.tt +7 -1
- data/lib/generators/jquery/datatables/templates/jqueryui.scss.tt +15 -0
- data/lib/generators/jquery/datatables/templates/material.js.tt +3 -1
- data/lib/generators/jquery/datatables/templates/material.scss.tt +1 -0
- data/lib/generators/jquery/datatables/templates/regular.js.tt +4 -3
- data/lib/generators/jquery/datatables/templates/regular.scss.tt +33 -0
- data/lib/generators/jquery/datatables/templates/semanticui.js.tt +4 -2
- data/lib/generators/jquery/datatables/templates/semanticui.scss.tt +15 -0
- data/lib/generators/jquery/datatables/templates/uikit.js.tt +4 -2
- data/lib/generators/jquery/datatables/templates/uikit.scss.tt +1 -0
- data/lib/jquery-datatables/version.rb +1 -1
- metadata +86 -90
- data/app/assets/stylesheets/datatables/dataTables.bootstrap.css +0 -184
- data/app/assets/stylesheets/datatables/dataTables.bootstrap4.css +0 -194
- data/app/assets/stylesheets/datatables/dataTables.foundation.css +0 -118
- data/app/assets/stylesheets/datatables/dataTables.jqueryui.css +0 -482
- data/app/assets/stylesheets/datatables/dataTables.material.css +0 -87
- data/app/assets/stylesheets/datatables/dataTables.semanticui.css +0 -102
- data/app/assets/stylesheets/datatables/dataTables.uikit.css +0 -146
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap.css +0 -81
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap4.css +0 -81
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.dataTables.css +0 -92
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.foundation.css +0 -85
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.jqueryui.css +0 -85
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.semanticui.css +0 -81
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap.css +0 -158
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap4.css +0 -219
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.dataTables.css +0 -354
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.foundation.css +0 -189
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.jqueryui.css +0 -218
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.semanticui.css +0 -171
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap.css +0 -11
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap4.css +0 -11
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.dataTables.css +0 -11
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.foundation.css +0 -11
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.jqueryui.css +0 -11
- data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.semanticui.css +0 -11
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap.css +0 -44
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap4.css +0 -44
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.dataTables.css +0 -18
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.jqueryui.css +0 -8
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.semanticui.css +0 -16
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.dataTables.css +0 -19
- data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.jqueryui.css +0 -15
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap.css +0 -5
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap4.css +0 -5
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.dataTables.css +0 -5
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.foundation.css +0 -5
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.jqueryui.css +0 -5
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.semanticui.css +0 -5
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap.css +0 -181
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap4.css +0 -181
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.dataTables.css +0 -178
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.foundation.css +0 -181
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.jqueryui.css +0 -178
- data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.semanticui.css +0 -181
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap.css +0 -4
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap4.css +0 -4
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.dataTables.css +0 -4
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.foundation.css +0 -4
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.jqueryui.css +0 -4
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.semanticui.css +0 -4
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.bootstrap.css +0 -22
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.bootstrap4.css +0 -22
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.dataTables.css +0 -22
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.foundation.css +0 -22
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.jqueryui.css +0 -22
- data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.semanticui.css +0 -22
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap.css +0 -24
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap4.css +0 -24
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.dataTables.css +0 -20
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.foundation.css +0 -17
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.jqueryui.css +0 -20
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.semanticui.css +0 -20
- data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap.css +0 -115
- data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap4.css +0 -115
- data/app/assets/stylesheets/datatables/extensions/Select/select.dataTables.css +0 -105
- data/app/assets/stylesheets/datatables/extensions/Select/select.foundation.css +0 -117
- data/app/assets/stylesheets/datatables/extensions/Select/select.jqueryui.css +0 -105
- data/app/assets/stylesheets/datatables/extensions/Select/select.semanticui.css +0 -110
- data/app/assets/stylesheets/datatables/jquery.dataTables.css +0 -455
- data/app/assets/stylesheets/datatables/jquery.dataTables_themeroller.css +0 -416
- data/lib/generators/jquery/datatables/templates/bootstrap.css.tt +0 -15
- data/lib/generators/jquery/datatables/templates/bootstrap2.css.tt +0 -15
- data/lib/generators/jquery/datatables/templates/bootstrap2.js.tt +0 -22
- data/lib/generators/jquery/datatables/templates/bootstrap4.css.tt +0 -15
- data/lib/generators/jquery/datatables/templates/foundation.css.tt +0 -15
- data/lib/generators/jquery/datatables/templates/jqueryui.css.tt +0 -15
- data/lib/generators/jquery/datatables/templates/material.css.tt +0 -15
- data/lib/generators/jquery/datatables/templates/regular.css.tt +0 -15
- data/lib/generators/jquery/datatables/templates/semanticui.css.tt +0 -16
- data/lib/generators/jquery/datatables/templates/uikit.css.tt +0 -15
@@ -1,16 +1,17 @@
|
|
1
|
+
|
1
2
|
table.dataTable.fixedHeader-floating,
|
2
3
|
table.dataTable.fixedHeader-locked {
|
3
|
-
|
4
|
-
|
5
|
-
|
4
|
+
background-color: white;
|
5
|
+
margin-top: 0 !important;
|
6
|
+
margin-bottom: 0 !important;
|
6
7
|
}
|
7
8
|
|
8
9
|
table.dataTable.fixedHeader-floating {
|
9
|
-
|
10
|
+
position: fixed !important;
|
10
11
|
}
|
11
12
|
|
12
13
|
table.dataTable.fixedHeader-locked {
|
13
|
-
|
14
|
+
position: absolute !important;
|
14
15
|
}
|
15
16
|
|
16
17
|
@media print {
|
@@ -1,10 +1,14 @@
|
|
1
|
+
|
2
|
+
|
1
3
|
table.fixedHeader-floating {
|
2
|
-
|
3
|
-
|
4
|
+
position: fixed !important;
|
5
|
+
background-color: white;
|
4
6
|
}
|
5
7
|
|
8
|
+
|
6
9
|
table.fixedHeader-locked {
|
7
|
-
|
10
|
+
position: absolute !important;
|
11
|
+
background-color: white;
|
8
12
|
}
|
9
13
|
|
10
14
|
@media print {
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
table.fixedHeader-floating {
|
4
|
+
position: fixed !important;
|
5
|
+
border-bottom-width: 0 !important;
|
6
|
+
}
|
7
|
+
|
8
|
+
table.fixedHeader-locked {
|
9
|
+
position: absolute !important;
|
10
|
+
}
|
11
|
+
|
12
|
+
@media print {
|
13
|
+
table.fixedHeader-floating {
|
14
|
+
display: none;
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,240 @@
|
|
1
|
+
|
2
|
+
//
|
3
|
+
// Variables
|
4
|
+
//
|
5
|
+
|
6
|
+
$control-button-top: 9px !default;
|
7
|
+
$control-button-size: 14px !default;
|
8
|
+
$control-button-color: white !default;
|
9
|
+
$open-button-background: #31b131 !default;
|
10
|
+
$close-button-background: #d33333 !default;
|
11
|
+
|
12
|
+
|
13
|
+
//
|
14
|
+
// Mixins
|
15
|
+
//
|
16
|
+
@mixin control() {
|
17
|
+
display: block;
|
18
|
+
position: absolute;
|
19
|
+
color: $control-button-color;
|
20
|
+
border: 2px solid white;
|
21
|
+
border-radius: 14px;
|
22
|
+
box-shadow: 0 0 3px #444;
|
23
|
+
box-sizing: content-box;
|
24
|
+
text-align: center;
|
25
|
+
text-indent: 0 !important;
|
26
|
+
|
27
|
+
// Use Courier New because it is common and consistent
|
28
|
+
font-family: 'Courier New', Courier, monospace;
|
29
|
+
line-height: 14px;
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin control-open() {
|
33
|
+
content: '+';
|
34
|
+
background-color: $open-button-background;
|
35
|
+
}
|
36
|
+
|
37
|
+
@mixin control-close() {
|
38
|
+
content: '-';
|
39
|
+
background-color: $close-button-background;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
//
|
44
|
+
// Table styles
|
45
|
+
//
|
46
|
+
table.dataTable {
|
47
|
+
// Styling for the `inline` type
|
48
|
+
&.dtr-inline.collapsed > tbody {
|
49
|
+
> tr {
|
50
|
+
> td.child,
|
51
|
+
> th.child,
|
52
|
+
> td.dataTables_empty {
|
53
|
+
cursor: default !important;
|
54
|
+
|
55
|
+
&:before {
|
56
|
+
display: none !important;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
> tr[role="row"] > td:first-child,
|
62
|
+
> tr[role="row"] > th:first-child {
|
63
|
+
position: relative;
|
64
|
+
padding-left: 30px;
|
65
|
+
cursor: pointer;
|
66
|
+
|
67
|
+
&:before {
|
68
|
+
top: $control-button-top;
|
69
|
+
left: 4px;
|
70
|
+
height: $control-button-size;
|
71
|
+
width: $control-button-size;
|
72
|
+
@include control;
|
73
|
+
@include control-open;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
> tr.parent {
|
78
|
+
> td:first-child:before,
|
79
|
+
> th:first-child:before {
|
80
|
+
@include control-close;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
// DataTables' `compact` styling
|
86
|
+
&.dtr-inline.collapsed.compact > tbody {
|
87
|
+
> tr > td:first-child,
|
88
|
+
> tr > th:first-child {
|
89
|
+
padding-left: 27px;
|
90
|
+
|
91
|
+
&:before {
|
92
|
+
top: 5px;
|
93
|
+
left: 4px;
|
94
|
+
height: 14px;
|
95
|
+
width: 14px;
|
96
|
+
border-radius: 14px;
|
97
|
+
line-height: 14px;
|
98
|
+
text-indent: 3px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
// Styling for the `column` type
|
105
|
+
&.dtr-column > tbody {
|
106
|
+
> tr > td.control,
|
107
|
+
> tr > th.control {
|
108
|
+
position: relative;
|
109
|
+
cursor: pointer;
|
110
|
+
|
111
|
+
&:before {
|
112
|
+
top: 50%;
|
113
|
+
left: 50%;
|
114
|
+
height: 16px;
|
115
|
+
width: 16px;
|
116
|
+
margin-top: -10px;
|
117
|
+
margin-left: -10px;
|
118
|
+
@include control;
|
119
|
+
@include control-open;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
> tr.parent {
|
124
|
+
td.control:before,
|
125
|
+
th.control:before {
|
126
|
+
@include control-close;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
|
132
|
+
// Child row styling
|
133
|
+
> tbody > tr.child {
|
134
|
+
padding: 0.5em 1em;
|
135
|
+
|
136
|
+
&:hover {
|
137
|
+
background: transparent !important;
|
138
|
+
}
|
139
|
+
|
140
|
+
ul.dtr-details {
|
141
|
+
display: inline-block;
|
142
|
+
list-style-type: none;
|
143
|
+
margin: 0;
|
144
|
+
padding: 0;
|
145
|
+
|
146
|
+
> li {
|
147
|
+
border-bottom: 1px solid #efefef;
|
148
|
+
padding: 0.5em 0;
|
149
|
+
|
150
|
+
&:first-child {
|
151
|
+
padding-top: 0;
|
152
|
+
}
|
153
|
+
|
154
|
+
&:last-child {
|
155
|
+
border-bottom: none;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
span.dtr-title {
|
161
|
+
display: inline-block;
|
162
|
+
min-width: 75px;
|
163
|
+
font-weight: bold;
|
164
|
+
}
|
165
|
+
|
166
|
+
span.dtr-data {}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
|
171
|
+
div.dtr-modal {
|
172
|
+
position: fixed;
|
173
|
+
box-sizing: border-box;
|
174
|
+
top: 0;
|
175
|
+
left: 0;
|
176
|
+
height: 100%;
|
177
|
+
width: 100%;
|
178
|
+
|
179
|
+
z-index: 100;
|
180
|
+
padding: 10em 1em;
|
181
|
+
|
182
|
+
div.dtr-modal-display {
|
183
|
+
position: absolute;
|
184
|
+
top: 0;
|
185
|
+
left: 0;
|
186
|
+
bottom: 0;
|
187
|
+
right: 0;
|
188
|
+
width: 50%;
|
189
|
+
height: 50%;
|
190
|
+
overflow: auto;
|
191
|
+
margin: auto;
|
192
|
+
z-index: 102;
|
193
|
+
overflow: auto;
|
194
|
+
background-color: #f5f5f7;
|
195
|
+
border: 1px solid black;
|
196
|
+
border-radius: 0.5em;
|
197
|
+
box-shadow: 0 12px 30px rgba(0,0,0,0.6);
|
198
|
+
}
|
199
|
+
|
200
|
+
div.dtr-modal-content {
|
201
|
+
position: relative;
|
202
|
+
padding: 1em;
|
203
|
+
}
|
204
|
+
|
205
|
+
div.dtr-modal-close {
|
206
|
+
position: absolute;
|
207
|
+
top: 6px;
|
208
|
+
right: 6px;
|
209
|
+
width: 22px;
|
210
|
+
height: 22px;
|
211
|
+
border: 1px solid #eaeaea;
|
212
|
+
background-color: #f9f9f9;
|
213
|
+
text-align: center;
|
214
|
+
border-radius: 3px;
|
215
|
+
cursor: pointer;
|
216
|
+
z-index: 12;
|
217
|
+
|
218
|
+
&:hover {
|
219
|
+
background-color: #eaeaea;
|
220
|
+
}
|
221
|
+
}
|
222
|
+
|
223
|
+
div.dtr-modal-background {
|
224
|
+
position: fixed;
|
225
|
+
top: 0;
|
226
|
+
left: 0;
|
227
|
+
right: 0;
|
228
|
+
bottom: 0;
|
229
|
+
z-index: 101;
|
230
|
+
|
231
|
+
background: rgba(0,0,0,0.6);
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
@media screen and (max-width: 767px) {
|
237
|
+
div.dtr-modal div.dtr-modal-display {
|
238
|
+
width: 95%;
|
239
|
+
}
|
240
|
+
}
|
File without changes
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
$move-outline: 2px solid #888 !default;
|
3
|
+
$moved-outline: 2px solid #555 !default;
|
4
|
+
|
5
|
+
table.dt-rowReorder-float {
|
6
|
+
position: absolute !important;
|
7
|
+
opacity: 0.8;
|
8
|
+
table-layout: fixed;
|
9
|
+
outline: $move-outline;
|
10
|
+
outline-offset: -2px;
|
11
|
+
z-index: 2001;
|
12
|
+
}
|
13
|
+
|
14
|
+
tr.dt-rowReorder-moving {
|
15
|
+
outline: $moved-outline;
|
16
|
+
outline-offset: -2px;
|
17
|
+
}
|
18
|
+
|
19
|
+
body.dt-rowReorder-noOverflow {
|
20
|
+
overflow-x: hidden;
|
21
|
+
}
|
22
|
+
|
23
|
+
table.dataTable td.reorder {
|
24
|
+
text-align: center;
|
25
|
+
cursor: move;
|
26
|
+
}
|