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
@@ -0,0 +1,36 @@
|
|
1
|
+
|
2
|
+
// Scroller adds the class `DTS` to the DataTabes wrapper div
|
3
|
+
div.DTS {
|
4
|
+
display: block !important;
|
5
|
+
|
6
|
+
tbody th,
|
7
|
+
tbody td {
|
8
|
+
white-space: nowrap;
|
9
|
+
}
|
10
|
+
|
11
|
+
// Show the loading message behind the table
|
12
|
+
div.DTS_Loading {
|
13
|
+
z-index: 1;
|
14
|
+
}
|
15
|
+
|
16
|
+
div.dataTables_scrollBody {
|
17
|
+
background: repeating-linear-gradient(
|
18
|
+
45deg,
|
19
|
+
#edeeff,
|
20
|
+
#edeeff 10px,
|
21
|
+
white 10px,
|
22
|
+
white 20px
|
23
|
+
);
|
24
|
+
|
25
|
+
table {
|
26
|
+
z-index: 2;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
// Hide the paging control as it shouldn't be used with Scroller, but
|
31
|
+
// paging must be enabled
|
32
|
+
div.dataTables_paginate,
|
33
|
+
div.dataTables_length {
|
34
|
+
display: none;
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
// FOundation styling is the same as the DataTables, but without the even row style
|
3
|
+
div.DTS {
|
4
|
+
tbody th,
|
5
|
+
tbody td {
|
6
|
+
white-space: nowrap;
|
7
|
+
}
|
8
|
+
|
9
|
+
div.DTS_Loading {
|
10
|
+
z-index: 1;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dataTables_scrollBody {
|
14
|
+
background: repeating-linear-gradient(
|
15
|
+
45deg,
|
16
|
+
#edeeff,
|
17
|
+
#edeeff 10px,
|
18
|
+
white 10px,
|
19
|
+
white 20px
|
20
|
+
);
|
21
|
+
|
22
|
+
table {
|
23
|
+
z-index: 2;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
div.dataTables_paginate,
|
28
|
+
div.dataTables_length {
|
29
|
+
display: none;
|
30
|
+
}
|
31
|
+
}
|
@@ -0,0 +1,143 @@
|
|
1
|
+
|
2
|
+
// Row colour, when selected
|
3
|
+
$table-selected: #B0BED9 !default;
|
4
|
+
|
5
|
+
// Colour to use when shading
|
6
|
+
$table-shade: black !default;
|
7
|
+
|
8
|
+
@function shade( $color, $percent ) {
|
9
|
+
@return mix($table-shade, $color, $percent);
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
table.dataTable {
|
14
|
+
// Body styles
|
15
|
+
tbody > tr.selected,
|
16
|
+
tbody > tr > .selected {
|
17
|
+
background-color: $table-selected;
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
// Stripe classes - add "stripe" class to the table to activate
|
22
|
+
&.stripe tbody,
|
23
|
+
&.display tbody {
|
24
|
+
> tr.odd.selected,
|
25
|
+
> tr.odd > .selected {
|
26
|
+
background-color: shade($table-selected, 2.35%);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
// Hover classes - add "hover" class to the table to activate
|
32
|
+
&.hover tbody,
|
33
|
+
&.display tbody {
|
34
|
+
> tr.selected:hover,
|
35
|
+
> tr > .selected:hover {
|
36
|
+
background-color: shade($table-selected, 3.6%);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Sort column highlighting - add "order-column" class to the table to activate
|
42
|
+
&.order-column tbody,
|
43
|
+
&.display tbody {
|
44
|
+
> tr.selected > .sorting_1,
|
45
|
+
> tr.selected > .sorting_2,
|
46
|
+
> tr.selected > .sorting_3,
|
47
|
+
> tr > .selected {
|
48
|
+
background-color: shade($table-selected, 2%);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
&.display tbody,
|
53
|
+
&.order-column.stripe tbody {
|
54
|
+
> tr.odd.selected {
|
55
|
+
>.sorting_1 { background-color: shade($table-selected, 5.4%); }
|
56
|
+
>.sorting_2 { background-color: shade($table-selected, 4.7%); }
|
57
|
+
>.sorting_3 { background-color: shade($table-selected, 3.9%); }
|
58
|
+
}
|
59
|
+
|
60
|
+
> tr.even.selected {
|
61
|
+
>.sorting_1 { background-color: shade($table-selected, 2%); }
|
62
|
+
>.sorting_2 { background-color: shade($table-selected, 1.2%); }
|
63
|
+
>.sorting_3 { background-color: shade($table-selected, 0.4%); }
|
64
|
+
}
|
65
|
+
|
66
|
+
> tr.odd > .selected { background-color: shade($table-selected, 5.4%); }
|
67
|
+
> tr.even > .selected { background-color: shade($table-selected, 2%); }
|
68
|
+
}
|
69
|
+
|
70
|
+
&.display tbody,
|
71
|
+
&.order-column.hover tbody {
|
72
|
+
> tr.selected:hover {
|
73
|
+
>.sorting_1 { background-color: shade($table-selected, 8.2%); }
|
74
|
+
>.sorting_2 { background-color: shade($table-selected, 7.5%); }
|
75
|
+
>.sorting_3 { background-color: shade($table-selected, 6.3%); }
|
76
|
+
}
|
77
|
+
|
78
|
+
> tr:hover > .selected,
|
79
|
+
> tr > .selected:hover {
|
80
|
+
background-color: shade($table-selected, 8.2%);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
tbody td.select-checkbox,
|
85
|
+
tbody th.select-checkbox {
|
86
|
+
position: relative;
|
87
|
+
|
88
|
+
&:before,
|
89
|
+
&:after {
|
90
|
+
display: block;
|
91
|
+
position: absolute;
|
92
|
+
top: 1.2em; // Should be 50% but IE doesn't like it
|
93
|
+
left: 50%;
|
94
|
+
width: 12px;
|
95
|
+
height: 12px;
|
96
|
+
box-sizing: border-box;
|
97
|
+
}
|
98
|
+
|
99
|
+
&:before {
|
100
|
+
content: ' ';
|
101
|
+
margin-top: -6px;
|
102
|
+
margin-left: -6px;
|
103
|
+
border: 1px solid black;
|
104
|
+
border-radius: 3px;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
tr.selected {
|
109
|
+
td.select-checkbox,
|
110
|
+
th.select-checkbox {
|
111
|
+
&:after {
|
112
|
+
content: '\2714';
|
113
|
+
|
114
|
+
margin-top: -11px;
|
115
|
+
margin-left: -4px;
|
116
|
+
|
117
|
+
text-align: center;
|
118
|
+
text-shadow:
|
119
|
+
1px 1px #B0BED9,
|
120
|
+
-1px -1px #B0BED9,
|
121
|
+
1px -1px #B0BED9,
|
122
|
+
-1px 1px #B0BED9;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
div.dataTables_wrapper {
|
129
|
+
span.select-info,
|
130
|
+
span.select-item {
|
131
|
+
margin-left: 0.5em;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
@media screen and (max-width: 640px) {
|
136
|
+
div.dataTables_wrapper {
|
137
|
+
span.select-info,
|
138
|
+
span.select-item {
|
139
|
+
margin-left: 0;
|
140
|
+
display: block;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
$table-selected: rgba(0, 0, 0, 0.05) !default;
|
4
|
+
$table-text-selected: rgba(0, 0, 0, 0.95) !default;
|
5
|
+
|
6
|
+
@import 'select.dataTables.scss';
|
7
|
+
|
8
|
+
table.dataTable tbody {
|
9
|
+
tr.selected,
|
10
|
+
th.selected,
|
11
|
+
td.selected {
|
12
|
+
color: $table-text-selected;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,599 @@
|
|
1
|
+
|
2
|
+
//
|
3
|
+
// Colour customisation
|
4
|
+
//
|
5
|
+
// `!default` allows overriding variables that are defined before @import
|
6
|
+
//
|
7
|
+
|
8
|
+
// Border between the header (and footer) and the table body
|
9
|
+
$table-header-border: 1px solid #111 !default;
|
10
|
+
|
11
|
+
// Border of rows / cells
|
12
|
+
$table-body-border: 1px solid #ddd !default;
|
13
|
+
|
14
|
+
// Row background colour (hover, striping etc are all based on this colour and
|
15
|
+
// calculated automatically)
|
16
|
+
$table-row-background: #ffffff !default;
|
17
|
+
|
18
|
+
// Row colour, when selected (tr.selected)
|
19
|
+
$table-row-selected: #B0BED9 !default;
|
20
|
+
|
21
|
+
// Text colour of the interaction control elements (info, filter, paging etc)
|
22
|
+
$table-control-color: #333 !default;
|
23
|
+
|
24
|
+
// Highlight colour of the paging button for the current page
|
25
|
+
$table-paging-button-active: #dcdcdc !default;
|
26
|
+
|
27
|
+
// Hover colour of paging buttons on mouse over
|
28
|
+
$table-paging-button-hover: #111 !default;
|
29
|
+
|
30
|
+
// Colour to use when shading
|
31
|
+
$table-shade: black !default;
|
32
|
+
|
33
|
+
// jQuery UI stylesheet imports this one - there are just two places where we
|
34
|
+
// don't want DataTabels default styles assigned for jQuery UI, so rather than
|
35
|
+
// duplicating the whole file, this is the best option
|
36
|
+
$jqueryui: false !default;
|
37
|
+
|
38
|
+
|
39
|
+
//
|
40
|
+
// Functions / mixins
|
41
|
+
//
|
42
|
+
@function tint( $color, $percent ) {
|
43
|
+
@return mix(white, $color, $percent);
|
44
|
+
}
|
45
|
+
|
46
|
+
@function shade( $color, $percent ) {
|
47
|
+
@return mix($table-shade, $color, $percent);
|
48
|
+
}
|
49
|
+
|
50
|
+
@mixin gradient( $from, $to ) {
|
51
|
+
background-color: $from;
|
52
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$from), color-stop(100%,$to)); /* Chrome,Safari4+ */
|
53
|
+
background: -webkit-linear-gradient(top, $from 0%, $to 100%); /* Chrome10+,Safari5.1+ */
|
54
|
+
background: -moz-linear-gradient(top, $from 0%, $to 100%); /* FF3.6+ */
|
55
|
+
background: -ms-linear-gradient(top, $from 0%, $to 100%); /* IE10+ */
|
56
|
+
background: -o-linear-gradient(top, $from 0%, $to 100%); /* Opera 11.10+ */
|
57
|
+
background: linear-gradient(to bottom, $from 0%, $to 100%); /* W3C */
|
58
|
+
}
|
59
|
+
|
60
|
+
/*
|
61
|
+
* Table styles
|
62
|
+
*/
|
63
|
+
table.dataTable {
|
64
|
+
width: 100%;
|
65
|
+
margin: 0 auto;
|
66
|
+
clear: both;
|
67
|
+
border-collapse: separate;
|
68
|
+
border-spacing: 0;
|
69
|
+
|
70
|
+
/*
|
71
|
+
* Header and footer styles
|
72
|
+
*/
|
73
|
+
thead,
|
74
|
+
tfoot {
|
75
|
+
th {
|
76
|
+
font-weight: bold;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
thead th,
|
81
|
+
thead td {
|
82
|
+
padding: 10px 18px;
|
83
|
+
|
84
|
+
@if not $jqueryui { // jQuery UI defines its own border
|
85
|
+
border-bottom: $table-header-border;
|
86
|
+
}
|
87
|
+
|
88
|
+
&:active {
|
89
|
+
outline: none;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
tfoot th,
|
94
|
+
tfoot td {
|
95
|
+
padding: 10px 18px 6px 18px;
|
96
|
+
|
97
|
+
@if not $jqueryui { // jQuery UI defines its own border
|
98
|
+
border-top: $table-header-border;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
// Sorting
|
103
|
+
@if not $jqueryui { // jQuery UI defines its own sort icons
|
104
|
+
thead {
|
105
|
+
.sorting,
|
106
|
+
.sorting_asc,
|
107
|
+
.sorting_desc,
|
108
|
+
.sorting_asc_disabled,
|
109
|
+
.sorting_desc_disabled {
|
110
|
+
cursor: pointer;
|
111
|
+
*cursor: hand;
|
112
|
+
background-repeat: no-repeat;
|
113
|
+
background-position: center right;
|
114
|
+
}
|
115
|
+
|
116
|
+
.sorting {
|
117
|
+
background-image: image-url("datatables/sort_both.png");
|
118
|
+
}
|
119
|
+
.sorting_asc {
|
120
|
+
background-image: image-url("datatables/sort_asc.png");
|
121
|
+
}
|
122
|
+
.sorting_desc {
|
123
|
+
background-image: image-url("datatables/sort_desc.png");
|
124
|
+
}
|
125
|
+
.sorting_asc_disabled {
|
126
|
+
background-image: image-url("datatables/sort_asc_disabled.png");
|
127
|
+
}
|
128
|
+
.sorting_desc_disabled {
|
129
|
+
background-image: image-url("datatables/sort_desc_disabled.png");
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
/*
|
136
|
+
* Body styles
|
137
|
+
*/
|
138
|
+
tbody {
|
139
|
+
tr {
|
140
|
+
background-color: $table-row-background;
|
141
|
+
|
142
|
+
&.selected {
|
143
|
+
background-color: $table-row-selected;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
th,
|
148
|
+
td {
|
149
|
+
padding: 8px 10px;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
// Stripe classes - add "row-border" class to the table to activate
|
155
|
+
&.row-border tbody,
|
156
|
+
&.display tbody {
|
157
|
+
th, td {
|
158
|
+
border-top: $table-body-border;
|
159
|
+
}
|
160
|
+
|
161
|
+
tr:first-child th,
|
162
|
+
tr:first-child td {
|
163
|
+
border-top: none;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
// Stripe classes - add "cell-border" class to the table to activate
|
169
|
+
&.cell-border tbody {
|
170
|
+
th, td {
|
171
|
+
border-top: $table-body-border;
|
172
|
+
border-right: $table-body-border;
|
173
|
+
}
|
174
|
+
|
175
|
+
tr th:first-child,
|
176
|
+
tr td:first-child {
|
177
|
+
border-left: $table-body-border;
|
178
|
+
}
|
179
|
+
|
180
|
+
tr:first-child th,
|
181
|
+
tr:first-child td {
|
182
|
+
border-top: none;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
|
187
|
+
// Stripe classes - add "stripe" class to the table to activate
|
188
|
+
&.stripe tbody,
|
189
|
+
&.display tbody {
|
190
|
+
tr.odd {
|
191
|
+
background-color: shade($table-row-background, 2.35%); // shade by f9
|
192
|
+
|
193
|
+
&.selected {
|
194
|
+
background-color: shade($table-row-selected, 2.35%);
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
|
200
|
+
// Hover classes - add "hover" class to the table to activate
|
201
|
+
&.hover tbody,
|
202
|
+
&.display tbody {
|
203
|
+
tr:hover {
|
204
|
+
background-color: shade($table-row-background, 3.6%); // shade by f5
|
205
|
+
|
206
|
+
&.selected {
|
207
|
+
background-color: shade($table-row-selected, 3.6%);
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
|
212
|
+
|
213
|
+
// Sort column highlighting - add "order-column" class to the table to activate
|
214
|
+
&.order-column,
|
215
|
+
&.display {
|
216
|
+
tbody {
|
217
|
+
tr>.sorting_1,
|
218
|
+
tr>.sorting_2,
|
219
|
+
tr>.sorting_3 {
|
220
|
+
background-color: shade($table-row-background, 2%); // shade by fa
|
221
|
+
}
|
222
|
+
|
223
|
+
tr.selected>.sorting_1,
|
224
|
+
tr.selected>.sorting_2,
|
225
|
+
tr.selected>.sorting_3 {
|
226
|
+
background-color: shade($table-row-selected, 2%);
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
230
|
+
|
231
|
+
&.display tbody,
|
232
|
+
&.order-column.stripe tbody {
|
233
|
+
tr.odd {
|
234
|
+
>.sorting_1 { background-color: shade($table-row-background, 5.4%); } // shade by f1
|
235
|
+
>.sorting_2 { background-color: shade($table-row-background, 4.7%); } // shade by f3
|
236
|
+
>.sorting_3 { background-color: shade($table-row-background, 3.9%); } // shade by f5
|
237
|
+
|
238
|
+
&.selected {
|
239
|
+
>.sorting_1 { background-color: shade($table-row-selected, 5.4%); }
|
240
|
+
>.sorting_2 { background-color: shade($table-row-selected, 4.7%); }
|
241
|
+
>.sorting_3 { background-color: shade($table-row-selected, 3.9%); }
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
tr.even {
|
246
|
+
>.sorting_1 { background-color: shade($table-row-background, 2%); } // shade by fa
|
247
|
+
>.sorting_2 { background-color: shade($table-row-background, 1.2%); } // shade by fc
|
248
|
+
>.sorting_3 { background-color: shade($table-row-background, 0.4%); } // shade by fe
|
249
|
+
|
250
|
+
&.selected {
|
251
|
+
>.sorting_1 { background-color: shade($table-row-selected, 2%); }
|
252
|
+
>.sorting_2 { background-color: shade($table-row-selected, 1.2%); }
|
253
|
+
>.sorting_3 { background-color: shade($table-row-selected, 0.4%); }
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
&.display tbody,
|
259
|
+
&.order-column.hover tbody {
|
260
|
+
tr:hover {
|
261
|
+
>.sorting_1 { background-color: shade($table-row-background, 8.2%); } // shade by ea
|
262
|
+
>.sorting_2 { background-color: shade($table-row-background, 7.5%); } // shade by ec
|
263
|
+
>.sorting_3 { background-color: shade($table-row-background, 6.3%); } // shade by ef
|
264
|
+
|
265
|
+
&.selected {
|
266
|
+
>.sorting_1 { background-color: shade($table-row-selected, 8.2%); }
|
267
|
+
>.sorting_2 { background-color: shade($table-row-selected, 7.5%); }
|
268
|
+
>.sorting_3 { background-color: shade($table-row-selected, 6.3%); }
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
&.no-footer {
|
274
|
+
border-bottom: $table-header-border;
|
275
|
+
}
|
276
|
+
|
277
|
+
&.nowrap {
|
278
|
+
th, td {
|
279
|
+
white-space: nowrap;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
&.compact {
|
284
|
+
thead th,
|
285
|
+
thead td {
|
286
|
+
padding: 4px 17px 4px 4px;
|
287
|
+
}
|
288
|
+
|
289
|
+
tfoot th,
|
290
|
+
tfoot td {
|
291
|
+
padding: 4px;
|
292
|
+
}
|
293
|
+
|
294
|
+
tbody th,
|
295
|
+
tbody td {
|
296
|
+
padding: 4px;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
|
301
|
+
// Typography
|
302
|
+
th.dt-left,
|
303
|
+
td.dt-left {
|
304
|
+
text-align: left;
|
305
|
+
}
|
306
|
+
|
307
|
+
th.dt-center,
|
308
|
+
td.dt-center,
|
309
|
+
td.dataTables_empty {
|
310
|
+
text-align: center;
|
311
|
+
}
|
312
|
+
|
313
|
+
th.dt-right,
|
314
|
+
td.dt-right {
|
315
|
+
text-align: right;
|
316
|
+
}
|
317
|
+
|
318
|
+
th.dt-justify,
|
319
|
+
td.dt-justify {
|
320
|
+
text-align: justify;
|
321
|
+
}
|
322
|
+
|
323
|
+
th.dt-nowrap,
|
324
|
+
td.dt-nowrap {
|
325
|
+
white-space: nowrap;
|
326
|
+
}
|
327
|
+
|
328
|
+
thead,
|
329
|
+
tfoot {
|
330
|
+
th.dt-head-left,
|
331
|
+
td.dt-head-left {
|
332
|
+
text-align: left;
|
333
|
+
}
|
334
|
+
|
335
|
+
th.dt-head-center,
|
336
|
+
td.dt-head-center{
|
337
|
+
text-align: center;
|
338
|
+
}
|
339
|
+
|
340
|
+
th.dt-head-right,
|
341
|
+
td.dt-head-right {
|
342
|
+
text-align: right;
|
343
|
+
}
|
344
|
+
|
345
|
+
th.dt-head-justify,
|
346
|
+
td.dt-head-justify {
|
347
|
+
text-align: justify;
|
348
|
+
}
|
349
|
+
|
350
|
+
th.dt-head-nowrap,
|
351
|
+
td.dt-head-nowrap {
|
352
|
+
white-space: nowrap;
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
tbody {
|
357
|
+
th.dt-body-left,
|
358
|
+
td.dt-body-left {
|
359
|
+
text-align: left;
|
360
|
+
}
|
361
|
+
|
362
|
+
th.dt-body-center,
|
363
|
+
td.dt-body-center {
|
364
|
+
text-align: center;
|
365
|
+
}
|
366
|
+
|
367
|
+
th.dt-body-right,
|
368
|
+
td.dt-body-right {
|
369
|
+
text-align: right;
|
370
|
+
}
|
371
|
+
|
372
|
+
th.dt-body-justify,
|
373
|
+
td.dt-body-justify {
|
374
|
+
text-align: justify;
|
375
|
+
}
|
376
|
+
|
377
|
+
th.dt-body-nowrap,
|
378
|
+
td.dt-body-nowrap {
|
379
|
+
white-space: nowrap;
|
380
|
+
}
|
381
|
+
}
|
382
|
+
}
|
383
|
+
|
384
|
+
// Its not uncommon to use * {border-box} now, but it messes up the column width
|
385
|
+
// calculations, so use content-box for the table and cells
|
386
|
+
table.dataTable,
|
387
|
+
table.dataTable th,
|
388
|
+
table.dataTable td {
|
389
|
+
box-sizing: content-box;
|
390
|
+
}
|
391
|
+
|
392
|
+
|
393
|
+
/*
|
394
|
+
* Control feature layout
|
395
|
+
*/
|
396
|
+
.dataTables_wrapper {
|
397
|
+
position: relative;
|
398
|
+
clear: both;
|
399
|
+
*zoom: 1;
|
400
|
+
|
401
|
+
// Page length options
|
402
|
+
.dataTables_length {
|
403
|
+
float: left;
|
404
|
+
}
|
405
|
+
|
406
|
+
// Filtering input
|
407
|
+
.dataTables_filter {
|
408
|
+
float: right;
|
409
|
+
text-align: right;
|
410
|
+
|
411
|
+
input {
|
412
|
+
margin-left: 0.5em;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
|
416
|
+
// Table info
|
417
|
+
.dataTables_info {
|
418
|
+
clear: both;
|
419
|
+
float: left;
|
420
|
+
padding-top: 0.755em;
|
421
|
+
}
|
422
|
+
|
423
|
+
// Paging
|
424
|
+
.dataTables_paginate {
|
425
|
+
float: right;
|
426
|
+
text-align: right;
|
427
|
+
padding-top: 0.25em;
|
428
|
+
|
429
|
+
.paginate_button {
|
430
|
+
box-sizing: border-box;
|
431
|
+
display: inline-block;
|
432
|
+
min-width: 1.5em;
|
433
|
+
padding: 0.5em 1em;
|
434
|
+
margin-left: 2px;
|
435
|
+
text-align: center;
|
436
|
+
text-decoration: none !important;
|
437
|
+
cursor: pointer;
|
438
|
+
*cursor: hand;
|
439
|
+
|
440
|
+
color: $table-control-color !important;
|
441
|
+
border: 1px solid transparent;
|
442
|
+
border-radius: 2px;
|
443
|
+
|
444
|
+
&.current,
|
445
|
+
&.current:hover {
|
446
|
+
color: $table-control-color !important;
|
447
|
+
border: 1px solid darken( $table-paging-button-active, 27% );
|
448
|
+
@include gradient(
|
449
|
+
lighten($table-paging-button-active, 28%),
|
450
|
+
$table-paging-button-active
|
451
|
+
);
|
452
|
+
}
|
453
|
+
|
454
|
+
&.disabled,
|
455
|
+
&.disabled:hover,
|
456
|
+
&.disabled:active {
|
457
|
+
cursor: default;
|
458
|
+
color: #666 !important;
|
459
|
+
border: 1px solid transparent;
|
460
|
+
background: transparent;
|
461
|
+
box-shadow: none;
|
462
|
+
}
|
463
|
+
|
464
|
+
&:hover {
|
465
|
+
color: white !important;
|
466
|
+
border: 1px solid $table-paging-button-hover;
|
467
|
+
@include gradient(
|
468
|
+
lighten($table-paging-button-hover, 28%),
|
469
|
+
$table-paging-button-hover
|
470
|
+
);
|
471
|
+
}
|
472
|
+
|
473
|
+
&:active {
|
474
|
+
outline: none;
|
475
|
+
@include gradient(
|
476
|
+
lighten($table-paging-button-hover, 10%),
|
477
|
+
darken($table-paging-button-hover, 2%)
|
478
|
+
);
|
479
|
+
box-shadow: inset 0 0 3px #111;
|
480
|
+
}
|
481
|
+
}
|
482
|
+
|
483
|
+
.ellipsis {
|
484
|
+
padding: 0 1em;
|
485
|
+
}
|
486
|
+
}
|
487
|
+
|
488
|
+
// Processing
|
489
|
+
.dataTables_processing {
|
490
|
+
position: absolute;
|
491
|
+
top: 50%;
|
492
|
+
left: 50%;
|
493
|
+
width: 100%;
|
494
|
+
height: 40px;
|
495
|
+
margin-left: -50%;
|
496
|
+
margin-top: -25px;
|
497
|
+
padding-top: 20px;
|
498
|
+
|
499
|
+
text-align: center;
|
500
|
+
font-size: 1.2em;
|
501
|
+
|
502
|
+
background-color: white;
|
503
|
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba($table-row-background, 0)), color-stop(25%,rgba($table-row-background, 0.9)), color-stop(75%,rgba($table-row-background, 0.9)), color-stop(100%,rgba(255,255,255,0)));
|
504
|
+
background: -webkit-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%);
|
505
|
+
background: -moz-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%);
|
506
|
+
background: -ms-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%);
|
507
|
+
background: -o-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%);
|
508
|
+
background: linear-gradient(to right, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%);
|
509
|
+
}
|
510
|
+
|
511
|
+
.dataTables_length,
|
512
|
+
.dataTables_filter,
|
513
|
+
.dataTables_info,
|
514
|
+
.dataTables_processing,
|
515
|
+
.dataTables_paginate {
|
516
|
+
color: $table-control-color;
|
517
|
+
}
|
518
|
+
|
519
|
+
// Scrolling
|
520
|
+
.dataTables_scroll {
|
521
|
+
clear: both;
|
522
|
+
|
523
|
+
div.dataTables_scrollBody {
|
524
|
+
*margin-top: -1px;
|
525
|
+
-webkit-overflow-scrolling: touch;
|
526
|
+
|
527
|
+
> table > thead > tr, > table > tbody > tr {
|
528
|
+
> th, > td {
|
529
|
+
// Setting v-align baseline can cause the headers to be visible
|
530
|
+
vertical-align: middle;
|
531
|
+
}
|
532
|
+
|
533
|
+
> th > div.dataTables_sizing,
|
534
|
+
> td > div.dataTables_sizing {
|
535
|
+
// Hide the element used to wrap the content in the header for
|
536
|
+
// the body scrolling table
|
537
|
+
height: 0;
|
538
|
+
overflow: hidden;
|
539
|
+
margin: 0 !important;
|
540
|
+
padding: 0 !important;
|
541
|
+
}
|
542
|
+
}
|
543
|
+
}
|
544
|
+
}
|
545
|
+
|
546
|
+
&.no-footer {
|
547
|
+
.dataTables_scrollBody {
|
548
|
+
border-bottom: $table-header-border;
|
549
|
+
}
|
550
|
+
|
551
|
+
div.dataTables_scrollHead table.dataTable,
|
552
|
+
div.dataTables_scrollBody > table {
|
553
|
+
border-bottom: none;
|
554
|
+
}
|
555
|
+
}
|
556
|
+
|
557
|
+
// Self clear the wrapper
|
558
|
+
&:after {
|
559
|
+
visibility: hidden;
|
560
|
+
display: block;
|
561
|
+
content: "";
|
562
|
+
clear: both;
|
563
|
+
height: 0;
|
564
|
+
}
|
565
|
+
zoom: 1; // Poor old IE
|
566
|
+
}
|
567
|
+
|
568
|
+
|
569
|
+
// Collapse the two column display of the control elements when the screen is
|
570
|
+
// small - the info and paging control get collapsed first as they are wider,
|
571
|
+
// and then the length and filter controls
|
572
|
+
@media screen and (max-width: 767px) {
|
573
|
+
.dataTables_wrapper {
|
574
|
+
.dataTables_info,
|
575
|
+
.dataTables_paginate {
|
576
|
+
float: none;
|
577
|
+
text-align: center;
|
578
|
+
}
|
579
|
+
|
580
|
+
.dataTables_paginate {
|
581
|
+
margin-top: 0.5em;
|
582
|
+
}
|
583
|
+
}
|
584
|
+
}
|
585
|
+
|
586
|
+
@media screen and (max-width: 640px) {
|
587
|
+
.dataTables_wrapper {
|
588
|
+
.dataTables_length,
|
589
|
+
.dataTables_filter {
|
590
|
+
float: none;
|
591
|
+
text-align: center;
|
592
|
+
}
|
593
|
+
|
594
|
+
.dataTables_filter {
|
595
|
+
margin-top: 0.5em;
|
596
|
+
}
|
597
|
+
}
|
598
|
+
}
|
599
|
+
|