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
@@ -0,0 +1,101 @@
1
+
2
+
3
+
4
+
5
+ // DataTables' built in feature elements
6
+ div.dataTables_wrapper {
7
+ div.dataTables_length {
8
+
9
+ }
10
+
11
+ div.dataTables_filter {
12
+ text-align: right;
13
+
14
+ input {
15
+ margin-left: 0.5em;
16
+ }
17
+ }
18
+
19
+ div.dataTables_info {
20
+ padding-top: 10px;
21
+ white-space: nowrap;
22
+ }
23
+
24
+ div.dataTables_processing {
25
+ position: absolute;
26
+ top: 50%;
27
+ left: 50%;
28
+ width: 200px;
29
+ margin-left: -100px;
30
+ text-align: center;
31
+ }
32
+
33
+ div.dataTables_paginate {
34
+ text-align: right;
35
+ }
36
+
37
+ div.mdl-grid.dt-table {
38
+ padding-top: 0;
39
+ padding-bottom: 0;
40
+
41
+ > div.mdl-cell {
42
+ margin-top: 0;
43
+ margin-bottom: 0;
44
+ }
45
+ }
46
+ }
47
+
48
+
49
+ // Sorting - using :before and :after with UTF8 characters
50
+ table.dataTable thead {
51
+ > tr > th,
52
+ > tr > td {
53
+ &.sorting_asc,
54
+ &.sorting_desc,
55
+ &.sorting {
56
+ padding-right: 30px;
57
+ }
58
+
59
+ &:active {
60
+ outline: none;
61
+ }
62
+ }
63
+
64
+ .sorting,
65
+ .sorting_asc,
66
+ .sorting_desc,
67
+ .sorting_asc_disabled,
68
+ .sorting_desc_disabled {
69
+ cursor: pointer;
70
+ position: relative;
71
+
72
+ &:before,
73
+ &:after {
74
+ position: absolute;
75
+ bottom: 11px;
76
+ display: block;
77
+ opacity: 0.3;
78
+ font-size: 1.3em;
79
+ }
80
+
81
+ &:before {
82
+ right: 1em;
83
+ content: "\2191"; // up arrow - ascending
84
+ }
85
+
86
+ &:after {
87
+ right: 0.5em;
88
+ content: "\2193"; // down arrow - descending
89
+ }
90
+ }
91
+
92
+ .sorting_asc:before,
93
+ .sorting_desc:after {
94
+ opacity: 1;
95
+ }
96
+
97
+ .sorting_asc_disabled:before,
98
+ .sorting_desc_disabled:after {
99
+ opacity: 0;
100
+ }
101
+ }
@@ -0,0 +1,138 @@
1
+ /*
2
+ * Styling for DataTables with Semantic UI
3
+ */
4
+
5
+ table.dataTable.table {
6
+ margin: 0;
7
+
8
+ // Sorting icons using Semantic UI's built in icons (Font Awesome)
9
+ thead th,
10
+ thead td {
11
+ position: relative;
12
+
13
+ &.sorting,
14
+ &.sorting_asc,
15
+ &.sorting_desc {
16
+ padding-right: 20px;
17
+
18
+ &:after {
19
+ position: absolute;
20
+ top: 12px;
21
+ right: 8px;
22
+ display: block;
23
+ font-family: Icons;
24
+ }
25
+ }
26
+
27
+ &.sorting:after {
28
+ content: "\f0dc";
29
+ color: #ddd;
30
+ font-size: 0.8em;
31
+ }
32
+
33
+ &.sorting_asc:after {
34
+ content: "\f0de";
35
+ }
36
+
37
+ &.sorting_desc:after {
38
+ content: "\f0dd";
39
+ }
40
+ }
41
+
42
+ // Easier calculations
43
+ td,
44
+ th {
45
+ -webkit-box-sizing: content-box;
46
+ box-sizing: content-box;
47
+
48
+ &.dataTables_empty {
49
+ text-align: center;
50
+ }
51
+ }
52
+
53
+ // Style options for the table. Semantic UI provides its own, but it is also
54
+ // useful to have a few more for DataTables
55
+ &.nowrap {
56
+ th,
57
+ td {
58
+ white-space: nowrap;
59
+ }
60
+ }
61
+ }
62
+
63
+
64
+ // DataTables' built in feature elements
65
+ div.dataTables_wrapper {
66
+ div.dataTables_length {
67
+ // Match the height of the drop down when Semantic UI JS isn't present
68
+ select {
69
+ vertical-align: middle;
70
+ min-height: 2.7142em;
71
+ }
72
+
73
+ .ui.selection.dropdown {
74
+ min-width: 0;
75
+ }
76
+ }
77
+
78
+ div.dataTables_filter {
79
+ input {
80
+ margin-left: 0.5em;
81
+ }
82
+ }
83
+
84
+ div.dataTables_info {
85
+ padding-top: 13px;
86
+ white-space: nowrap;
87
+ }
88
+
89
+ div.dataTables_processing {
90
+ position: absolute;
91
+ top: 50%;
92
+ left: 50%;
93
+ width: 200px;
94
+ margin-left: -100px;
95
+ text-align: center;
96
+ }
97
+
98
+ div.row.dt-table {
99
+ padding: 0;
100
+ }
101
+
102
+ // Merge the three scrolling tables into one
103
+ div.dataTables_scrollHead {
104
+ table.dataTable {
105
+ border-bottom-right-radius: 0;
106
+ border-bottom-left-radius: 0;
107
+ border-bottom: none;
108
+ }
109
+ }
110
+
111
+ div.dataTables_scrollBody {
112
+ thead { // Hide sort icons
113
+ .sorting:after,
114
+ .sorting_asc:after,
115
+ .sorting_desc:after {
116
+ display: none;
117
+ }
118
+ }
119
+
120
+ table.dataTable {
121
+ border-radius: 0;
122
+ border-top: none;
123
+ border-bottom-width: 0;
124
+ }
125
+
126
+ table.dataTable.no-footer {
127
+ border-bottom-width: 1px;
128
+ }
129
+ }
130
+
131
+ div.dataTables_scrollFoot {
132
+ table.dataTable {
133
+ border-top-right-radius: 0;
134
+ border-top-left-radius: 0;
135
+ border-top: none;
136
+ }
137
+ }
138
+ }
@@ -0,0 +1,195 @@
1
+
2
+ table.dataTable {
3
+ clear: both;
4
+ margin-top: 6px !important;
5
+ margin-bottom: 6px !important;
6
+ max-width: none !important;
7
+
8
+ td,
9
+ th {
10
+ -webkit-box-sizing: content-box;
11
+ box-sizing: content-box;
12
+
13
+ &.dataTables_empty {
14
+ text-align: center;
15
+ }
16
+ }
17
+
18
+ // Style options for the table. Foundation provides its own, but it is also
19
+ // useful to have a few more for DataTables
20
+ &.nowrap {
21
+ th,
22
+ td {
23
+ white-space: nowrap;
24
+ }
25
+ }
26
+ }
27
+
28
+
29
+ // DataTables' built in feature elements
30
+ div.dataTables_wrapper {
31
+ div.row.uk-grid.dt-merge-grid {
32
+ margin-top: 5px;
33
+ }
34
+
35
+ div.dataTables_length {
36
+ label {
37
+ font-weight: normal;
38
+ text-align: left;
39
+ white-space: nowrap;
40
+ }
41
+
42
+ select {
43
+ width: 75px;
44
+ display: inline-block;
45
+ }
46
+ }
47
+
48
+ div.dataTables_filter {
49
+ text-align: right;
50
+
51
+ label {
52
+ font-weight: normal;
53
+ white-space: nowrap;
54
+ text-align: left;
55
+ }
56
+
57
+ input {
58
+ margin-left: 0.5em;
59
+ display: inline-block;
60
+ width: auto;
61
+ }
62
+ }
63
+
64
+ div.dataTables_info {
65
+ padding-top: 8px;
66
+ white-space: nowrap;
67
+ }
68
+
69
+ div.dataTables_paginate {
70
+ margin: 0;
71
+ white-space: nowrap;
72
+ text-align: right;
73
+
74
+ ul.pagination {
75
+ margin: 2px 0;
76
+ white-space: nowrap;
77
+ }
78
+ }
79
+
80
+ div.dataTables_processing {
81
+ position: absolute;
82
+ top: 50%;
83
+ left: 50%;
84
+ width: 200px;
85
+ margin-left: -100px;
86
+ margin-top: -26px;
87
+ text-align: center;
88
+ padding: 1em 0;
89
+ }
90
+ }
91
+
92
+
93
+ // Sorting icons using UIKit's built in icons (Font Awesome)
94
+ table.dataTable thead {
95
+ > tr > th,
96
+ > tr > td {
97
+ position: relative;
98
+
99
+ &.sorting_asc,
100
+ &.sorting_desc,
101
+ &.sorting {
102
+ padding-right: 30px;
103
+ }
104
+
105
+ &.sorting:after,
106
+ &.sorting_asc:after,
107
+ &.sorting_desc:after {
108
+ position: absolute;
109
+ top: 7px;
110
+ right: 8px;
111
+ display: block;
112
+ font-family: 'FontAwesome';
113
+ }
114
+
115
+ &.sorting:after {
116
+ content: "\f0dc";
117
+ color: #ddd;
118
+ font-size: 0.8em;
119
+ padding-top: 0.12em;
120
+ }
121
+
122
+ &.sorting_asc:after {
123
+ content: "\f0de";
124
+ }
125
+
126
+ &.sorting_desc:after {
127
+ content: "\f0dd";
128
+ }
129
+ }
130
+ }
131
+
132
+
133
+ // Scrolling
134
+ div.dataTables_scrollHead table.dataTable {
135
+ margin-bottom: 0 !important;
136
+ }
137
+
138
+ div.dataTables_scrollBody {
139
+ table {
140
+ border-top: none;
141
+ margin-top: 0 !important;
142
+ margin-bottom: 0 !important;
143
+
144
+ thead { // Hide sort icons
145
+ .sorting:after,
146
+ .sorting_asc:after,
147
+ .sorting_desc:after {
148
+ display: none;
149
+ }
150
+ }
151
+
152
+ tbody tr:first-child th,
153
+ tbody tr:first-child td {
154
+ border-top: none;
155
+ }
156
+ }
157
+ }
158
+
159
+ div.dataTables_scrollFoot table {
160
+ margin-top: 0 !important;
161
+ border-top: none;
162
+ }
163
+
164
+
165
+ // Responsive
166
+ @media screen and (max-width: 767px) {
167
+ div.dataTables_wrapper {
168
+ div.dataTables_length,
169
+ div.dataTables_filter,
170
+ div.dataTables_info,
171
+ div.dataTables_paginate {
172
+ text-align: center;
173
+ }
174
+ }
175
+ }
176
+
177
+
178
+ //
179
+ // UIKit provides a range of styling options for table's via class name
180
+ // that we want to full support. They sometimes require some customisations
181
+ //
182
+
183
+ // Condensed
184
+ table.dataTable.uk-table-condensed {
185
+ > thead > tr > th {
186
+ padding-right: 20px;
187
+ }
188
+
189
+ .sorting:after,
190
+ .sorting_asc:after,
191
+ .sorting_desc:after {
192
+ top: 6px;
193
+ right: 6px;
194
+ }
195
+ }
@@ -0,0 +1,8 @@
1
+
2
+ $autofill-define-button: false;
3
+ $autofill-outline: #337ab7;
4
+ $autofill-handle-border: 1px solid #337ab7;
5
+ $autofill-handle-background: #337ab7;
6
+
7
+ @import 'autoFill.dataTables.scss';
8
+
@@ -0,0 +1,8 @@
1
+
2
+ $autofill-define-button: false;
3
+ $autofill-outline: #0275d8;
4
+ $autofill-handle-border: 1px solid #0275d8;
5
+ $autofill-handle-background: #0275d8;
6
+
7
+ @import 'autoFill.dataTables.scss';
8
+