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.
Files changed (199) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -16
  3. data/Rakefile +46 -27
  4. data/app/assets/javascripts/datatables/dataTables.bootstrap4.js +3 -3
  5. data/app/assets/javascripts/datatables/dataTables.jqueryui.js +6 -6
  6. data/app/assets/javascripts/datatables/extensions/AutoFill/dataTables.autoFill.js +5 -5
  7. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap.js +3 -1
  8. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap4.js +3 -1
  9. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.colVis.js +2 -1
  10. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.flash.js +74 -69
  11. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.foundation.js +3 -1
  12. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.html5.js +86 -63
  13. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.print.js +16 -22
  14. data/app/assets/javascripts/datatables/extensions/Buttons/dataTables.buttons.js +131 -3
  15. data/app/assets/javascripts/datatables/extensions/ColReorder/dataTables.colReorder.js +12 -6
  16. data/app/assets/javascripts/datatables/extensions/FixedColumns/dataTables.fixedColumns.js +8 -5
  17. data/app/assets/javascripts/datatables/extensions/FixedHeader/dataTables.fixedHeader.js +14 -9
  18. data/app/assets/javascripts/datatables/extensions/KeyTable/dataTables.keyTable.js +103 -8
  19. data/app/assets/javascripts/datatables/extensions/Responsive/dataTables.responsive.js +106 -6
  20. data/app/assets/javascripts/datatables/extensions/Responsive/responsive.bootstrap4.js +1 -1
  21. data/app/assets/javascripts/datatables/extensions/RowGroup/dataTables.rowGroup.js +8 -6
  22. data/app/assets/javascripts/datatables/extensions/RowReorder/dataTables.rowReorder.js +68 -35
  23. data/app/assets/javascripts/datatables/extensions/Scroller/dataTables.scroller.js +71 -10
  24. data/app/assets/javascripts/datatables/extensions/Select/dataTables.select.js +11 -7
  25. data/app/assets/javascripts/datatables/jquery.dataTables.js +19 -121
  26. data/app/assets/stylesheets/datatables/dataTables.bootstrap.scss +252 -0
  27. data/app/assets/stylesheets/datatables/{dataTables.bootstrap2.css → dataTables.bootstrap2.scss} +6 -6
  28. data/app/assets/stylesheets/datatables/dataTables.bootstrap4.scss +262 -0
  29. data/app/assets/stylesheets/datatables/dataTables.foundation.scss +154 -0
  30. data/app/assets/stylesheets/datatables/dataTables.jqueryui.scss +93 -0
  31. data/app/assets/stylesheets/datatables/dataTables.material.scss +101 -0
  32. data/app/assets/stylesheets/datatables/dataTables.semanticui.scss +138 -0
  33. data/app/assets/stylesheets/datatables/dataTables.uikit.scss +195 -0
  34. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap.scss +8 -0
  35. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap4.scss +8 -0
  36. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.dataTables.scss +125 -0
  37. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.foundation.scss +13 -0
  38. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.jqueryui.scss +10 -0
  39. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.semanticui.scss +8 -0
  40. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap.scss +40 -0
  41. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap4.scss +53 -0
  42. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.dataTables.scss +141 -0
  43. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.foundation.scss +82 -0
  44. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.jqueryui.scss +98 -0
  45. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.semanticui.scss +53 -0
  46. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap.scss +4 -0
  47. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap4.scss +4 -0
  48. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.dataTables.scss +17 -0
  49. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.foundation.scss +4 -0
  50. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.jqueryui.scss +2 -0
  51. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.semanticui.scss +4 -0
  52. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap.scss +50 -0
  53. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap4.scss +11 -0
  54. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.dataTables.scss +22 -0
  55. data/app/assets/stylesheets/datatables/extensions/FixedColumns/{fixedColumns.foundation.css → fixedColumns.foundation.scss} +15 -6
  56. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.jqueryui.scss +16 -0
  57. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.semanticui.scss +41 -0
  58. data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.bootstrap4.css → fixedHeader.bootstrap.scss} +6 -5
  59. data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.foundation.css → fixedHeader.bootstrap4.scss} +6 -5
  60. data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.dataTables.scss +21 -0
  61. data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.bootstrap.css → fixedHeader.foundation.scss} +6 -5
  62. data/app/assets/stylesheets/datatables/extensions/FixedHeader/{fixedHeader.semanticui.css → fixedHeader.jqueryui.scss} +7 -3
  63. data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.semanticui.scss +16 -0
  64. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap.scss +4 -0
  65. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap4.scss +4 -0
  66. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.dataTables.scss +10 -0
  67. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.foundation.scss +4 -0
  68. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.jqueryui.scss +2 -0
  69. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.semanticui.scss +4 -0
  70. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap.scss +8 -0
  71. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap4.scss +9 -0
  72. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.dataTables.scss +240 -0
  73. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.foundation.scss +10 -0
  74. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.jqueryui.scss +2 -0
  75. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.semanticui.scss +9 -0
  76. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap.scss +2 -0
  77. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap4.scss +2 -0
  78. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.dataTables.scss +9 -0
  79. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.foundation.scss +2 -0
  80. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.jqueryui.scss +2 -0
  81. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.semanticui.scss +4 -0
  82. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.bootstrap.scss +5 -0
  83. data/app/assets/stylesheets/datatables/extensions/RowReorder/{semanticui.scss → rowReorder.bootstrap4.scss} +0 -0
  84. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.dataTables.scss +26 -0
  85. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.foundation.scss +5 -0
  86. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.jqueryui.scss +2 -0
  87. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.semanticui.scss +5 -0
  88. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap.scss +9 -0
  89. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap4.scss +9 -0
  90. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.dataTables.scss +36 -0
  91. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.foundation.scss +31 -0
  92. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.jqueryui.scss +2 -0
  93. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.semanticui.scss +2 -0
  94. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap.scss +17 -0
  95. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap4.scss +17 -0
  96. data/app/assets/stylesheets/datatables/extensions/Select/select.dataTables.scss +143 -0
  97. data/app/assets/stylesheets/datatables/extensions/Select/select.foundation.scss +18 -0
  98. data/app/assets/stylesheets/datatables/extensions/Select/select.jqueryui.scss +4 -0
  99. data/app/assets/stylesheets/datatables/extensions/Select/select.semanticui.scss +14 -0
  100. data/app/assets/stylesheets/datatables/jquery.dataTables.scss +599 -0
  101. data/lib/generators/jquery/datatables/install_generator.rb +1 -1
  102. data/lib/generators/jquery/datatables/templates/bootstrap.js.tt +3 -1
  103. data/lib/generators/jquery/datatables/templates/bootstrap.scss.tt +15 -0
  104. data/lib/generators/jquery/datatables/templates/bootstrap4.js.tt +3 -1
  105. data/lib/generators/jquery/datatables/templates/bootstrap4.scss.tt +15 -0
  106. data/lib/generators/jquery/datatables/templates/foundation.js.tt +4 -4
  107. data/lib/generators/jquery/datatables/templates/foundation.scss.tt +33 -0
  108. data/lib/generators/jquery/datatables/templates/jqueryui.js.tt +7 -1
  109. data/lib/generators/jquery/datatables/templates/jqueryui.scss.tt +15 -0
  110. data/lib/generators/jquery/datatables/templates/material.js.tt +3 -1
  111. data/lib/generators/jquery/datatables/templates/material.scss.tt +1 -0
  112. data/lib/generators/jquery/datatables/templates/regular.js.tt +4 -3
  113. data/lib/generators/jquery/datatables/templates/regular.scss.tt +33 -0
  114. data/lib/generators/jquery/datatables/templates/semanticui.js.tt +4 -2
  115. data/lib/generators/jquery/datatables/templates/semanticui.scss.tt +15 -0
  116. data/lib/generators/jquery/datatables/templates/uikit.js.tt +4 -2
  117. data/lib/generators/jquery/datatables/templates/uikit.scss.tt +1 -0
  118. data/lib/jquery-datatables/version.rb +1 -1
  119. metadata +86 -90
  120. data/app/assets/stylesheets/datatables/dataTables.bootstrap.css +0 -184
  121. data/app/assets/stylesheets/datatables/dataTables.bootstrap4.css +0 -194
  122. data/app/assets/stylesheets/datatables/dataTables.foundation.css +0 -118
  123. data/app/assets/stylesheets/datatables/dataTables.jqueryui.css +0 -482
  124. data/app/assets/stylesheets/datatables/dataTables.material.css +0 -87
  125. data/app/assets/stylesheets/datatables/dataTables.semanticui.css +0 -102
  126. data/app/assets/stylesheets/datatables/dataTables.uikit.css +0 -146
  127. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap.css +0 -81
  128. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.bootstrap4.css +0 -81
  129. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.dataTables.css +0 -92
  130. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.foundation.css +0 -85
  131. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.jqueryui.css +0 -85
  132. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.semanticui.css +0 -81
  133. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap.css +0 -158
  134. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap4.css +0 -219
  135. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.dataTables.css +0 -354
  136. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.foundation.css +0 -189
  137. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.jqueryui.css +0 -218
  138. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.semanticui.css +0 -171
  139. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap.css +0 -11
  140. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.bootstrap4.css +0 -11
  141. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.dataTables.css +0 -11
  142. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.foundation.css +0 -11
  143. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.jqueryui.css +0 -11
  144. data/app/assets/stylesheets/datatables/extensions/ColReorder/colReorder.semanticui.css +0 -11
  145. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap.css +0 -44
  146. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap4.css +0 -44
  147. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.dataTables.css +0 -18
  148. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.jqueryui.css +0 -8
  149. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.semanticui.css +0 -16
  150. data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.dataTables.css +0 -19
  151. data/app/assets/stylesheets/datatables/extensions/FixedHeader/fixedHeader.jqueryui.css +0 -15
  152. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap.css +0 -5
  153. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.bootstrap4.css +0 -5
  154. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.dataTables.css +0 -5
  155. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.foundation.css +0 -5
  156. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.jqueryui.css +0 -5
  157. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.semanticui.css +0 -5
  158. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap.css +0 -181
  159. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap4.css +0 -181
  160. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.dataTables.css +0 -178
  161. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.foundation.css +0 -181
  162. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.jqueryui.css +0 -178
  163. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.semanticui.css +0 -181
  164. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap.css +0 -4
  165. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap4.css +0 -4
  166. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.dataTables.css +0 -4
  167. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.foundation.css +0 -4
  168. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.jqueryui.css +0 -4
  169. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.semanticui.css +0 -4
  170. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.bootstrap.css +0 -22
  171. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.bootstrap4.css +0 -22
  172. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.dataTables.css +0 -22
  173. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.foundation.css +0 -22
  174. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.jqueryui.css +0 -22
  175. data/app/assets/stylesheets/datatables/extensions/RowReorder/rowReorder.semanticui.css +0 -22
  176. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap.css +0 -24
  177. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.bootstrap4.css +0 -24
  178. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.dataTables.css +0 -20
  179. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.foundation.css +0 -17
  180. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.jqueryui.css +0 -20
  181. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.semanticui.css +0 -20
  182. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap.css +0 -115
  183. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap4.css +0 -115
  184. data/app/assets/stylesheets/datatables/extensions/Select/select.dataTables.css +0 -105
  185. data/app/assets/stylesheets/datatables/extensions/Select/select.foundation.css +0 -117
  186. data/app/assets/stylesheets/datatables/extensions/Select/select.jqueryui.css +0 -105
  187. data/app/assets/stylesheets/datatables/extensions/Select/select.semanticui.css +0 -110
  188. data/app/assets/stylesheets/datatables/jquery.dataTables.css +0 -455
  189. data/app/assets/stylesheets/datatables/jquery.dataTables_themeroller.css +0 -416
  190. data/lib/generators/jquery/datatables/templates/bootstrap.css.tt +0 -15
  191. data/lib/generators/jquery/datatables/templates/bootstrap2.css.tt +0 -15
  192. data/lib/generators/jquery/datatables/templates/bootstrap2.js.tt +0 -22
  193. data/lib/generators/jquery/datatables/templates/bootstrap4.css.tt +0 -15
  194. data/lib/generators/jquery/datatables/templates/foundation.css.tt +0 -15
  195. data/lib/generators/jquery/datatables/templates/jqueryui.css.tt +0 -15
  196. data/lib/generators/jquery/datatables/templates/material.css.tt +0 -15
  197. data/lib/generators/jquery/datatables/templates/regular.css.tt +0 -15
  198. data/lib/generators/jquery/datatables/templates/semanticui.css.tt +0 -16
  199. 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
- background-color: white;
4
- margin-top: 0 !important;
5
- margin-bottom: 0 !important;
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
- position: fixed !important;
10
+ position: fixed !important;
10
11
  }
11
12
 
12
13
  table.dataTable.fixedHeader-locked {
13
- position: absolute !important;
14
+ position: absolute !important;
14
15
  }
15
16
 
16
17
  @media print {
@@ -1,10 +1,14 @@
1
+
2
+
1
3
  table.fixedHeader-floating {
2
- position: fixed !important;
3
- border-bottom-width: 0 !important;
4
+ position: fixed !important;
5
+ background-color: white;
4
6
  }
5
7
 
8
+
6
9
  table.fixedHeader-locked {
7
- position: absolute !important;
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,4 @@
1
+
2
+ $keytable-focus: 3px solid #337ab7 !default;
3
+
4
+ @import 'keyTable.dataTables.scss';
@@ -0,0 +1,4 @@
1
+
2
+ $keytable-focus: 3px solid #0275d8 !default;
3
+
4
+ @import 'keyTable.dataTables.scss';
@@ -0,0 +1,10 @@
1
+
2
+ $keytable-focus: 3px solid #3366FF !default;
3
+
4
+ table.dataTable {
5
+ th.focus,
6
+ td.focus {
7
+ outline: $keytable-focus;
8
+ outline-offset: -1px;
9
+ }
10
+ }
@@ -0,0 +1,4 @@
1
+
2
+ $keytable-focus: 3px solid #008CBA !default;
3
+
4
+ @import 'keyTable.dataTables.scss';
@@ -0,0 +1,2 @@
1
+
2
+ @import 'keyTable.dataTables.scss';
@@ -0,0 +1,4 @@
1
+
2
+ $keytable-focus: 3px solid #888 !default;
3
+
4
+ @import 'keyTable.dataTables.scss';
@@ -0,0 +1,8 @@
1
+
2
+ $open-button-background: #337ab7 !default;
3
+
4
+ @import 'responsive.dataTables.scss';
5
+
6
+ div.dtr-bs-modal table.table tr:first-child td {
7
+ border-top: none;
8
+ }
@@ -0,0 +1,9 @@
1
+
2
+ $control-button-top: 12px !default;
3
+ $open-button-background: #0275d8 !default;
4
+
5
+ @import 'responsive.dataTables.scss';
6
+
7
+ div.dtr-bs-modal table.table tr:first-child td {
8
+ border-top: none;
9
+ }
@@ -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
+ }
@@ -0,0 +1,10 @@
1
+
2
+ $open-button-background: #008CBA !default;
3
+
4
+ @import 'responsive.dataTables.scss';
5
+
6
+ table.dataTable > tbody > tr.child {
7
+ ul {
8
+ font-size: 1em;
9
+ }
10
+ }
@@ -0,0 +1,2 @@
1
+
2
+ @import 'responsive.dataTables.scss';
@@ -0,0 +1,9 @@
1
+
2
+ $open-button-background: #21ba45 !default;
3
+ $control-button-size: 14px !default;
4
+
5
+ @import 'responsive.dataTables.scss';
6
+
7
+ div.dtr-bs-modal table.table tr:first-child td {
8
+ border-top: none;
9
+ }
@@ -0,0 +1,2 @@
1
+
2
+ @import 'rowGroup.dataTables.scss';
@@ -0,0 +1,2 @@
1
+
2
+ @import 'rowGroup.dataTables.scss';
@@ -0,0 +1,9 @@
1
+
2
+
3
+ $table-rowgroup-background: #e0e0e0 !default;
4
+
5
+ table.dataTable tr.group td {
6
+ font-weight: bold;
7
+ background-color: $table-rowgroup-background;
8
+ }
9
+
@@ -0,0 +1,2 @@
1
+
2
+ @import 'rowGroup.dataTables.scss';
@@ -0,0 +1,2 @@
1
+
2
+ @import 'rowGroup.dataTables.scss';
@@ -0,0 +1,4 @@
1
+
2
+ $table-rowgroup-background: #F9FAFB !default;
3
+
4
+ @import 'rowGroup.dataTables.scss';
@@ -0,0 +1,5 @@
1
+
2
+ $move-outline: 2px solid #337ab7 !default;
3
+ $moved-outline: 2px solid #888 !default;
4
+
5
+ @import 'rowReorder.dataTables.scss';
@@ -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
+ }