datatablesassets-rails 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/CODE_OF_CONDUCT.md +49 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +84 -0
  7. data/Rakefile +2 -0
  8. data/bin/console +14 -0
  9. data/bin/setup +8 -0
  10. data/datatablesassets-rails.gemspec +24 -0
  11. data/lib/datatablesassets-rails.rb +1 -0
  12. data/lib/datatablesassets/rails.rb +7 -0
  13. data/lib/datatablesassets/rails/engine.rb +7 -0
  14. data/lib/datatablesassets/rails/version.rb +5 -0
  15. data/vendor/assets/images/datatables/Sorting icons.psd +0 -0
  16. data/vendor/assets/images/datatables/favicon.ico +0 -0
  17. data/vendor/assets/images/datatables/sort_asc.png +0 -0
  18. data/vendor/assets/images/datatables/sort_asc_disabled.png +0 -0
  19. data/vendor/assets/images/datatables/sort_both.png +0 -0
  20. data/vendor/assets/images/datatables/sort_desc.png +0 -0
  21. data/vendor/assets/images/datatables/sort_desc_disabled.png +0 -0
  22. data/vendor/assets/javascript/datatables/dataTables.bootstrap.js +182 -0
  23. data/vendor/assets/javascript/datatables/dataTables.bootstrap.min.js +8 -0
  24. data/vendor/assets/javascript/datatables/dataTables.bootstrap4.js +184 -0
  25. data/vendor/assets/javascript/datatables/dataTables.bootstrap4.min.js +8 -0
  26. data/vendor/assets/javascript/datatables/dataTables.foundation.js +174 -0
  27. data/vendor/assets/javascript/datatables/dataTables.foundation.min.js +8 -0
  28. data/vendor/assets/javascript/datatables/dataTables.jqueryui.js +164 -0
  29. data/vendor/assets/javascript/datatables/dataTables.jqueryui.min.js +9 -0
  30. data/vendor/assets/javascript/datatables/dataTables.material.js +191 -0
  31. data/vendor/assets/javascript/datatables/dataTables.material.min.js +8 -0
  32. data/vendor/assets/javascript/datatables/dataTables.semanticui.js +208 -0
  33. data/vendor/assets/javascript/datatables/dataTables.semanticui.min.js +9 -0
  34. data/vendor/assets/javascript/datatables/dataTables.uikit.js +176 -0
  35. data/vendor/assets/javascript/datatables/dataTables.uikit.min.js +8 -0
  36. data/vendor/assets/javascript/datatables/jquery.dataTables.js +15278 -0
  37. data/vendor/assets/javascript/datatables/jquery.dataTables.min.js +166 -0
  38. data/vendor/assets/stylesheets/datatables/dataTables.bootstrap.css +185 -0
  39. data/vendor/assets/stylesheets/datatables/dataTables.bootstrap.min.css +1 -0
  40. data/vendor/assets/stylesheets/datatables/dataTables.bootstrap4.css +193 -0
  41. data/vendor/assets/stylesheets/datatables/dataTables.bootstrap4.min.css +1 -0
  42. data/vendor/assets/stylesheets/datatables/dataTables.foundation.css +116 -0
  43. data/vendor/assets/stylesheets/datatables/dataTables.foundation.min.css +1 -0
  44. data/vendor/assets/stylesheets/datatables/dataTables.jqueryui.css +481 -0
  45. data/vendor/assets/stylesheets/datatables/dataTables.jqueryui.min.css +1 -0
  46. data/vendor/assets/stylesheets/datatables/dataTables.material.css +87 -0
  47. data/vendor/assets/stylesheets/datatables/dataTables.material.min.css +1 -0
  48. data/vendor/assets/stylesheets/datatables/dataTables.semanticui.css +103 -0
  49. data/vendor/assets/stylesheets/datatables/dataTables.semanticui.min.css +1 -0
  50. data/vendor/assets/stylesheets/datatables/dataTables.uikit.css +146 -0
  51. data/vendor/assets/stylesheets/datatables/dataTables.uikit.min.css +1 -0
  52. data/vendor/assets/stylesheets/datatables/jquery.dataTables.css +452 -0
  53. data/vendor/assets/stylesheets/datatables/jquery.dataTables.min.css +1 -0
  54. data/vendor/assets/stylesheets/datatables/jquery.dataTables_themeroller.css +417 -0
  55. metadata +127 -0
@@ -0,0 +1 @@
1
+ table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc{cursor:pointer;*cursor:hand}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("/assets/datatables/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("/assets/datatables/sort_asc.png")}table.dataTable thead .sorting_desc{background-image:url("/assets/datatables/sort_desc.png")}table.dataTable thead .sorting_asc_disabled{background-image:url("/assets/datatables/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("/assets/datatables/sort_desc_disabled.png")}table.dataTable tbody tr{background-color:#ffffff}table.dataTable tbody tr.selected{background-color:#B0BED9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd}table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none}table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none}table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9}table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#acbad4}table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6}table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1}table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa}table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{-webkit-box-sizing:content-box;box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{margin-left:0.5em}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:0.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table,.dataTables_wrapper.no-footer div.dataTables_scrollBody table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:0.5em}}
@@ -0,0 +1,417 @@
1
+
2
+ /*
3
+ * Table styles
4
+ */
5
+ table.dataTable {
6
+ width: 100%;
7
+ margin: 0 auto;
8
+ clear: both;
9
+ border-collapse: separate;
10
+ border-spacing: 0;
11
+ /*
12
+ * Header and footer styles
13
+ */
14
+ /*
15
+ * Body styles
16
+ */
17
+ }
18
+ table.dataTable thead th,
19
+ table.dataTable thead td,
20
+ table.dataTable tfoot th,
21
+ table.dataTable tfoot td {
22
+ padding: 4px 10px;
23
+ }
24
+ table.dataTable thead th,
25
+ table.dataTable tfoot th {
26
+ font-weight: bold;
27
+ }
28
+ table.dataTable thead th:active,
29
+ table.dataTable thead td:active {
30
+ outline: none;
31
+ }
32
+ table.dataTable thead .sorting_asc,
33
+ table.dataTable thead .sorting_desc,
34
+ table.dataTable thead .sorting {
35
+ cursor: pointer;
36
+ *cursor: hand;
37
+ }
38
+ table.dataTable thead th div.DataTables_sort_wrapper {
39
+ position: relative;
40
+ padding-right: 10px;
41
+ }
42
+ table.dataTable thead th div.DataTables_sort_wrapper span {
43
+ position: absolute;
44
+ top: 50%;
45
+ margin-top: -8px;
46
+ right: -5px;
47
+ }
48
+ table.dataTable thead th.ui-state-default {
49
+ border-right-width: 0;
50
+ }
51
+ table.dataTable thead th.ui-state-default:last-child {
52
+ border-right-width: 1px;
53
+ }
54
+ table.dataTable tbody tr {
55
+ background-color: #ffffff;
56
+ }
57
+ table.dataTable tbody tr.selected {
58
+ background-color: #B0BED9;
59
+ }
60
+ table.dataTable tbody th,
61
+ table.dataTable tbody td {
62
+ padding: 8px 10px;
63
+ }
64
+ table.dataTable th.center,
65
+ table.dataTable td.center,
66
+ table.dataTable td.dataTables_empty {
67
+ text-align: center;
68
+ }
69
+ table.dataTable th.right,
70
+ table.dataTable td.right {
71
+ text-align: right;
72
+ }
73
+ table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
74
+ border-top: 1px solid #ddd;
75
+ }
76
+ table.dataTable.row-border tbody tr:first-child th,
77
+ table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
78
+ table.dataTable.display tbody tr:first-child td {
79
+ border-top: none;
80
+ }
81
+ table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
82
+ border-top: 1px solid #ddd;
83
+ border-right: 1px solid #ddd;
84
+ }
85
+ table.dataTable.cell-border tbody tr th:first-child,
86
+ table.dataTable.cell-border tbody tr td:first-child {
87
+ border-left: 1px solid #ddd;
88
+ }
89
+ table.dataTable.cell-border tbody tr:first-child th,
90
+ table.dataTable.cell-border tbody tr:first-child td {
91
+ border-top: none;
92
+ }
93
+ table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
94
+ background-color: #f9f9f9;
95
+ }
96
+ table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
97
+ background-color: #abb9d3;
98
+ }
99
+ table.dataTable.hover tbody tr:hover,
100
+ table.dataTable.hover tbody tr.odd:hover,
101
+ table.dataTable.hover tbody tr.even:hover, table.dataTable.display tbody tr:hover,
102
+ table.dataTable.display tbody tr.odd:hover,
103
+ table.dataTable.display tbody tr.even:hover {
104
+ background-color: whitesmoke;
105
+ }
106
+ table.dataTable.hover tbody tr:hover.selected,
107
+ table.dataTable.hover tbody tr.odd:hover.selected,
108
+ table.dataTable.hover tbody tr.even:hover.selected, table.dataTable.display tbody tr:hover.selected,
109
+ table.dataTable.display tbody tr.odd:hover.selected,
110
+ table.dataTable.display tbody tr.even:hover.selected {
111
+ background-color: #a9b7d1;
112
+ }
113
+ table.dataTable.order-column tbody tr > .sorting_1,
114
+ table.dataTable.order-column tbody tr > .sorting_2,
115
+ table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
116
+ table.dataTable.display tbody tr > .sorting_2,
117
+ table.dataTable.display tbody tr > .sorting_3 {
118
+ background-color: #f9f9f9;
119
+ }
120
+ table.dataTable.order-column tbody tr.selected > .sorting_1,
121
+ table.dataTable.order-column tbody tr.selected > .sorting_2,
122
+ table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
123
+ table.dataTable.display tbody tr.selected > .sorting_2,
124
+ table.dataTable.display tbody tr.selected > .sorting_3 {
125
+ background-color: #acbad4;
126
+ }
127
+ table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
128
+ background-color: #f1f1f1;
129
+ }
130
+ table.dataTable.display tbody tr.odd > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 {
131
+ background-color: #f3f3f3;
132
+ }
133
+ table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 {
134
+ background-color: whitesmoke;
135
+ }
136
+ table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
137
+ background-color: #a6b3cd;
138
+ }
139
+ table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
140
+ background-color: #a7b5ce;
141
+ }
142
+ table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
143
+ background-color: #a9b6d0;
144
+ }
145
+ table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
146
+ background-color: #f9f9f9;
147
+ }
148
+ table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
149
+ background-color: #fbfbfb;
150
+ }
151
+ table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
152
+ background-color: #fdfdfd;
153
+ }
154
+ table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
155
+ background-color: #acbad4;
156
+ }
157
+ table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
158
+ background-color: #adbbd6;
159
+ }
160
+ table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
161
+ background-color: #afbdd8;
162
+ }
163
+ table.dataTable.display tbody tr:hover > .sorting_1,
164
+ table.dataTable.display tbody tr.odd:hover > .sorting_1,
165
+ table.dataTable.display tbody tr.even:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1,
166
+ table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_1,
167
+ table.dataTable.order-column.hover tbody tr.even:hover > .sorting_1 {
168
+ background-color: #eaeaea;
169
+ }
170
+ table.dataTable.display tbody tr:hover > .sorting_2,
171
+ table.dataTable.display tbody tr.odd:hover > .sorting_2,
172
+ table.dataTable.display tbody tr.even:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2,
173
+ table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_2,
174
+ table.dataTable.order-column.hover tbody tr.even:hover > .sorting_2 {
175
+ background-color: #ebebeb;
176
+ }
177
+ table.dataTable.display tbody tr:hover > .sorting_3,
178
+ table.dataTable.display tbody tr.odd:hover > .sorting_3,
179
+ table.dataTable.display tbody tr.even:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3,
180
+ table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_3,
181
+ table.dataTable.order-column.hover tbody tr.even:hover > .sorting_3 {
182
+ background-color: #eeeeee;
183
+ }
184
+ table.dataTable.display tbody tr:hover.selected > .sorting_1,
185
+ table.dataTable.display tbody tr.odd:hover.selected > .sorting_1,
186
+ table.dataTable.display tbody tr.even:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1,
187
+ table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_1,
188
+ table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_1 {
189
+ background-color: #a1aec7;
190
+ }
191
+ table.dataTable.display tbody tr:hover.selected > .sorting_2,
192
+ table.dataTable.display tbody tr.odd:hover.selected > .sorting_2,
193
+ table.dataTable.display tbody tr.even:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2,
194
+ table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_2,
195
+ table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_2 {
196
+ background-color: #a2afc8;
197
+ }
198
+ table.dataTable.display tbody tr:hover.selected > .sorting_3,
199
+ table.dataTable.display tbody tr.odd:hover.selected > .sorting_3,
200
+ table.dataTable.display tbody tr.even:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3,
201
+ table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_3,
202
+ table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_3 {
203
+ background-color: #a4b2cb;
204
+ }
205
+ table.dataTable.nowrap th, table.dataTable.nowrap td {
206
+ white-space: nowrap;
207
+ }
208
+ table.dataTable.compact thead th,
209
+ table.dataTable.compact thead td {
210
+ padding: 5px 9px;
211
+ }
212
+ table.dataTable.compact tfoot th,
213
+ table.dataTable.compact tfoot td {
214
+ padding: 5px 9px 3px 9px;
215
+ }
216
+ table.dataTable.compact tbody th,
217
+ table.dataTable.compact tbody td {
218
+ padding: 4px 5px;
219
+ }
220
+ table.dataTable th.dt-left,
221
+ table.dataTable td.dt-left {
222
+ text-align: left;
223
+ }
224
+ table.dataTable th.dt-center,
225
+ table.dataTable td.dt-center,
226
+ table.dataTable td.dataTables_empty {
227
+ text-align: center;
228
+ }
229
+ table.dataTable th.dt-right,
230
+ table.dataTable td.dt-right {
231
+ text-align: right;
232
+ }
233
+ table.dataTable th.dt-justify,
234
+ table.dataTable td.dt-justify {
235
+ text-align: justify;
236
+ }
237
+ table.dataTable th.dt-nowrap,
238
+ table.dataTable td.dt-nowrap {
239
+ white-space: nowrap;
240
+ }
241
+ table.dataTable thead th.dt-head-left,
242
+ table.dataTable thead td.dt-head-left,
243
+ table.dataTable tfoot th.dt-head-left,
244
+ table.dataTable tfoot td.dt-head-left {
245
+ text-align: left;
246
+ }
247
+ table.dataTable thead th.dt-head-center,
248
+ table.dataTable thead td.dt-head-center,
249
+ table.dataTable tfoot th.dt-head-center,
250
+ table.dataTable tfoot td.dt-head-center {
251
+ text-align: center;
252
+ }
253
+ table.dataTable thead th.dt-head-right,
254
+ table.dataTable thead td.dt-head-right,
255
+ table.dataTable tfoot th.dt-head-right,
256
+ table.dataTable tfoot td.dt-head-right {
257
+ text-align: right;
258
+ }
259
+ table.dataTable thead th.dt-head-justify,
260
+ table.dataTable thead td.dt-head-justify,
261
+ table.dataTable tfoot th.dt-head-justify,
262
+ table.dataTable tfoot td.dt-head-justify {
263
+ text-align: justify;
264
+ }
265
+ table.dataTable thead th.dt-head-nowrap,
266
+ table.dataTable thead td.dt-head-nowrap,
267
+ table.dataTable tfoot th.dt-head-nowrap,
268
+ table.dataTable tfoot td.dt-head-nowrap {
269
+ white-space: nowrap;
270
+ }
271
+ table.dataTable tbody th.dt-body-left,
272
+ table.dataTable tbody td.dt-body-left {
273
+ text-align: left;
274
+ }
275
+ table.dataTable tbody th.dt-body-center,
276
+ table.dataTable tbody td.dt-body-center {
277
+ text-align: center;
278
+ }
279
+ table.dataTable tbody th.dt-body-right,
280
+ table.dataTable tbody td.dt-body-right {
281
+ text-align: right;
282
+ }
283
+ table.dataTable tbody th.dt-body-justify,
284
+ table.dataTable tbody td.dt-body-justify {
285
+ text-align: justify;
286
+ }
287
+ table.dataTable tbody th.dt-body-nowrap,
288
+ table.dataTable tbody td.dt-body-nowrap {
289
+ white-space: nowrap;
290
+ }
291
+
292
+ table.dataTable,
293
+ table.dataTable th,
294
+ table.dataTable td {
295
+ -webkit-box-sizing: content-box;
296
+ -moz-box-sizing: content-box;
297
+ box-sizing: content-box;
298
+ }
299
+
300
+ /*
301
+ * Control feature layout
302
+ */
303
+ .dataTables_wrapper {
304
+ position: relative;
305
+ clear: both;
306
+ *zoom: 1;
307
+ zoom: 1;
308
+ }
309
+ .dataTables_wrapper .dataTables_length {
310
+ float: left;
311
+ }
312
+ .dataTables_wrapper .dataTables_filter {
313
+ float: right;
314
+ text-align: right;
315
+ }
316
+ .dataTables_wrapper .dataTables_filter input {
317
+ margin-left: 0.5em;
318
+ }
319
+ .dataTables_wrapper .dataTables_info {
320
+ clear: both;
321
+ float: left;
322
+ padding-top: 0.55em;
323
+ }
324
+ .dataTables_wrapper .dataTables_paginate {
325
+ float: right;
326
+ text-align: right;
327
+ }
328
+ .dataTables_wrapper .dataTables_paginate .fg-button {
329
+ box-sizing: border-box;
330
+ display: inline-block;
331
+ min-width: 1.5em;
332
+ padding: 0.5em;
333
+ margin-left: 2px;
334
+ text-align: center;
335
+ text-decoration: none !important;
336
+ cursor: pointer;
337
+ *cursor: hand;
338
+ color: #333 !important;
339
+ border: 1px solid transparent;
340
+ }
341
+ .dataTables_wrapper .dataTables_paginate .fg-button:active {
342
+ outline: none;
343
+ }
344
+ .dataTables_wrapper .dataTables_paginate .fg-button:first-child {
345
+ border-top-left-radius: 3px;
346
+ border-bottom-left-radius: 3px;
347
+ }
348
+ .dataTables_wrapper .dataTables_paginate .fg-button:last-child {
349
+ border-top-right-radius: 3px;
350
+ border-bottom-right-radius: 3px;
351
+ }
352
+ .dataTables_wrapper .dataTables_processing {
353
+ position: absolute;
354
+ top: 50%;
355
+ left: 50%;
356
+ width: 100%;
357
+ height: 40px;
358
+ margin-left: -50%;
359
+ margin-top: -25px;
360
+ padding-top: 20px;
361
+ text-align: center;
362
+ font-size: 1.2em;
363
+ background-color: white;
364
+ background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
365
+ /* Chrome,Safari4+ */
366
+ background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
367
+ /* Chrome10+,Safari5.1+ */
368
+ background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
369
+ /* FF3.6+ */
370
+ background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
371
+ /* IE10+ */
372
+ background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
373
+ /* Opera 11.10+ */
374
+ background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
375
+ /* W3C */
376
+ }
377
+ .dataTables_wrapper .dataTables_length,
378
+ .dataTables_wrapper .dataTables_filter,
379
+ .dataTables_wrapper .dataTables_info,
380
+ .dataTables_wrapper .dataTables_processing,
381
+ .dataTables_wrapper .dataTables_paginate {
382
+ color: #333;
383
+ }
384
+ .dataTables_wrapper .dataTables_scroll {
385
+ clear: both;
386
+ }
387
+ .dataTables_wrapper .dataTables_scrollBody {
388
+ *margin-top: -1px;
389
+ -webkit-overflow-scrolling: touch;
390
+ }
391
+ .dataTables_wrapper .ui-widget-header {
392
+ font-weight: normal;
393
+ }
394
+ .dataTables_wrapper .ui-toolbar {
395
+ padding: 8px;
396
+ }
397
+ .dataTables_wrapper:after {
398
+ visibility: hidden;
399
+ display: block;
400
+ content: "";
401
+ clear: both;
402
+ height: 0;
403
+ }
404
+
405
+ @media screen and (max-width: 767px) {
406
+ .dataTables_wrapper .dataTables_length,
407
+ .dataTables_wrapper .dataTables_filter,
408
+ .dataTables_wrapper .dataTables_info,
409
+ .dataTables_wrapper .dataTables_paginate {
410
+ float: none;
411
+ text-align: center;
412
+ }
413
+ .dataTables_wrapper .dataTables_filter,
414
+ .dataTables_wrapper .dataTables_paginate {
415
+ margin-top: 0.5em;
416
+ }
417
+ }
metadata ADDED
@@ -0,0 +1,127 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: datatablesassets-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Bartosz Grzesiak
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-08-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: DataTables is a table enhancing plug-in for the jQuery Javascript library,
42
+ adding sorting, paging and filtering abilities to plain HTML tables with minimal
43
+ effort.
44
+ email:
45
+ - bartosz.grzesiak@gmail.com
46
+ executables: []
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - ".gitignore"
51
+ - CODE_OF_CONDUCT.md
52
+ - Gemfile
53
+ - LICENSE.txt
54
+ - README.md
55
+ - Rakefile
56
+ - bin/console
57
+ - bin/setup
58
+ - datatablesassets-rails.gemspec
59
+ - lib/datatablesassets-rails.rb
60
+ - lib/datatablesassets/rails.rb
61
+ - lib/datatablesassets/rails/engine.rb
62
+ - lib/datatablesassets/rails/version.rb
63
+ - vendor/assets/images/datatables/Sorting icons.psd
64
+ - vendor/assets/images/datatables/favicon.ico
65
+ - vendor/assets/images/datatables/sort_asc.png
66
+ - vendor/assets/images/datatables/sort_asc_disabled.png
67
+ - vendor/assets/images/datatables/sort_both.png
68
+ - vendor/assets/images/datatables/sort_desc.png
69
+ - vendor/assets/images/datatables/sort_desc_disabled.png
70
+ - vendor/assets/javascript/datatables/dataTables.bootstrap.js
71
+ - vendor/assets/javascript/datatables/dataTables.bootstrap.min.js
72
+ - vendor/assets/javascript/datatables/dataTables.bootstrap4.js
73
+ - vendor/assets/javascript/datatables/dataTables.bootstrap4.min.js
74
+ - vendor/assets/javascript/datatables/dataTables.foundation.js
75
+ - vendor/assets/javascript/datatables/dataTables.foundation.min.js
76
+ - vendor/assets/javascript/datatables/dataTables.jqueryui.js
77
+ - vendor/assets/javascript/datatables/dataTables.jqueryui.min.js
78
+ - vendor/assets/javascript/datatables/dataTables.material.js
79
+ - vendor/assets/javascript/datatables/dataTables.material.min.js
80
+ - vendor/assets/javascript/datatables/dataTables.semanticui.js
81
+ - vendor/assets/javascript/datatables/dataTables.semanticui.min.js
82
+ - vendor/assets/javascript/datatables/dataTables.uikit.js
83
+ - vendor/assets/javascript/datatables/dataTables.uikit.min.js
84
+ - vendor/assets/javascript/datatables/jquery.dataTables.js
85
+ - vendor/assets/javascript/datatables/jquery.dataTables.min.js
86
+ - vendor/assets/stylesheets/datatables/dataTables.bootstrap.css
87
+ - vendor/assets/stylesheets/datatables/dataTables.bootstrap.min.css
88
+ - vendor/assets/stylesheets/datatables/dataTables.bootstrap4.css
89
+ - vendor/assets/stylesheets/datatables/dataTables.bootstrap4.min.css
90
+ - vendor/assets/stylesheets/datatables/dataTables.foundation.css
91
+ - vendor/assets/stylesheets/datatables/dataTables.foundation.min.css
92
+ - vendor/assets/stylesheets/datatables/dataTables.jqueryui.css
93
+ - vendor/assets/stylesheets/datatables/dataTables.jqueryui.min.css
94
+ - vendor/assets/stylesheets/datatables/dataTables.material.css
95
+ - vendor/assets/stylesheets/datatables/dataTables.material.min.css
96
+ - vendor/assets/stylesheets/datatables/dataTables.semanticui.css
97
+ - vendor/assets/stylesheets/datatables/dataTables.semanticui.min.css
98
+ - vendor/assets/stylesheets/datatables/dataTables.uikit.css
99
+ - vendor/assets/stylesheets/datatables/dataTables.uikit.min.css
100
+ - vendor/assets/stylesheets/datatables/jquery.dataTables.css
101
+ - vendor/assets/stylesheets/datatables/jquery.dataTables.min.css
102
+ - vendor/assets/stylesheets/datatables/jquery.dataTables_themeroller.css
103
+ homepage: https://github.com/wendrowycz/datatablesassets-rails
104
+ licenses:
105
+ - MIT
106
+ metadata: {}
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ requirements: []
122
+ rubyforge_project:
123
+ rubygems_version: 2.5.1
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: DataTables plug-in for jQuery.
127
+ test_files: []