bootstrap_sb_admin_base_v2 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +4 -0
  4. data/CODE_OF_CONDUCT.md +13 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +45 -0
  8. data/Rakefile +1 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +7 -0
  11. data/bootstrap_sb_admin_base_v2.gemspec +24 -0
  12. data/lib/bootstrap_sb_admin_base_v2.rb +8 -0
  13. data/lib/bootstrap_sb_admin_base_v2/version.rb +3 -0
  14. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  15. data/vendor/assets/fonts/fontawesome-webfont-.eot +0 -0
  16. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.eot +0 -0
  17. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.svg +520 -0
  18. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.ttf +0 -0
  19. data/vendor/assets/fonts/fontawesome-webfont-v=4.2.0.woff +0 -0
  20. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  21. data/vendor/assets/fonts/fontawesome-webfont.svg +414 -0
  22. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  23. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  24. data/vendor/assets/fonts/glyphicons-halflings-regular-.eot +0 -0
  25. data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  26. data/vendor/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  27. data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  28. data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  29. data/vendor/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  30. data/vendor/assets/images/bootstrap/datatables/sort_asc.png +0 -0
  31. data/vendor/assets/images/bootstrap/datatables/sort_asc_disabled.png +0 -0
  32. data/vendor/assets/images/bootstrap/datatables/sort_both.png +0 -0
  33. data/vendor/assets/images/bootstrap/datatables/sort_desc.png +0 -0
  34. data/vendor/assets/images/bootstrap/datatables/sort_desc_disabled.png +0 -0
  35. data/vendor/assets/javascripts/bootstrap/bootstrap.min.js +7 -0
  36. data/vendor/assets/javascripts/bootstrap/dataTables.bootstrap.min.js +8 -0
  37. data/vendor/assets/javascripts/bootstrap_sb_admin_base_v2.js +25 -0
  38. data/vendor/assets/javascripts/flot/excanvas.min.js +1 -0
  39. data/vendor/assets/javascripts/flot/jquery.flot.js +3168 -0
  40. data/vendor/assets/javascripts/flot/jquery.flot.pie.js +820 -0
  41. data/vendor/assets/javascripts/flot/jquery.flot.resize.js +59 -0
  42. data/vendor/assets/javascripts/flot/jquery.flot.time.js +432 -0
  43. data/vendor/assets/javascripts/flot/jquery.flot.tooltip.min.js +12 -0
  44. data/vendor/assets/javascripts/jquery/jquery.dataTables.min.js +160 -0
  45. data/vendor/assets/javascripts/jquery/jquery.min.js +5 -0
  46. data/vendor/assets/javascripts/metis_menu/metisMenu.min.js +9 -0
  47. data/vendor/assets/javascripts/morris/morris.min.js +7 -0
  48. data/vendor/assets/javascripts/raphael/raphael-min.js +11 -0
  49. data/vendor/assets/javascripts/sb-admin-2/sb-admin-2.js +34 -0
  50. data/vendor/assets/stylesheets/bootstrap/bootstrap-social.scss +1840 -0
  51. data/vendor/assets/stylesheets/bootstrap/bootstrap.min.scss +8454 -0
  52. data/vendor/assets/stylesheets/bootstrap/dataTables.bootstrap.scss +324 -0
  53. data/vendor/assets/stylesheets/bootstrap/dataTables.responsive.scss +124 -0
  54. data/vendor/assets/stylesheets/bootstrap_sb_admin_base_v2.scss +6 -0
  55. data/vendor/assets/stylesheets/font-awesome/font-awesome.min.scss +1671 -0
  56. data/vendor/assets/stylesheets/metis_menu/metisMenu.min.scss +47 -0
  57. data/vendor/assets/stylesheets/morris/morris.scss +22 -0
  58. data/vendor/assets/stylesheets/sb-admin-2/sb-admin-2.scss +291 -0
  59. data/vendor/assets/stylesheets/timeline/timeline.scss +165 -0
  60. metadata +131 -0
@@ -0,0 +1,324 @@
1
+ div {
2
+ &.dataTables_length {
3
+ label {
4
+ font-weight: normal;
5
+ text-align: left;
6
+ white-space: nowrap;
7
+ }
8
+ select {
9
+ width: 75px;
10
+ display: inline-block;
11
+ }
12
+ }
13
+ &.dataTables_filter {
14
+ text-align: right;
15
+ label {
16
+ font-weight: normal;
17
+ white-space: nowrap;
18
+ text-align: left;
19
+ }
20
+ input {
21
+ margin-left: 0.5em;
22
+ display: inline-block;
23
+ }
24
+ }
25
+ &.dataTables_info {
26
+ padding-top: 8px;
27
+ white-space: nowrap;
28
+ }
29
+ &.dataTables_paginate {
30
+ margin: 0;
31
+ white-space: nowrap;
32
+ text-align: right;
33
+ ul.pagination {
34
+ margin: 2px 0;
35
+ white-space: nowrap;
36
+ }
37
+ }
38
+ }
39
+ @media screen and (max-width: 767px) {
40
+ div {
41
+ &.dataTables_length,
42
+ &.dataTables_filter,
43
+ &.dataTables_info,
44
+ &.dataTables_paginate {
45
+ text-align: center;
46
+ }
47
+ }
48
+ }
49
+ table.dataTable {
50
+ td,
51
+ th {
52
+ -webkit-box-sizing: content-box;
53
+ -moz-box-sizing: content-box;
54
+ box-sizing: content-box;
55
+ }
56
+ clear: both;
57
+ margin-top: 6px !important;
58
+ margin-bottom: 6px !important;
59
+ max-width: none !important;
60
+ thead {
61
+ .sorting,
62
+ .sorting_asc,
63
+ .sorting_desc,
64
+ .sorting_asc_disabled,
65
+ .sorting_desc_disabled {
66
+ cursor: pointer;
67
+ }
68
+ .sorting {
69
+ background: url("../images/sort_both.png") no-repeat center right;
70
+ }
71
+ .sorting_asc {
72
+ background: url("../images/sort_asc.png") no-repeat center right;
73
+ }
74
+ .sorting_desc {
75
+ background: url("../images/sort_desc.png") no-repeat center right;
76
+ }
77
+ .sorting_asc_disabled {
78
+ background: url("../images/sort_asc_disabled.png") no-repeat center right;
79
+ }
80
+ .sorting_desc_disabled {
81
+ background: url("../images/sort_desc_disabled.png") no-repeat center right;
82
+ }
83
+ > tr > th {
84
+ padding-left: 18px;
85
+ padding-right: 18px;
86
+ }
87
+ }
88
+ th:active {
89
+ outline: none;
90
+ }
91
+ }
92
+
93
+ /* Scrolling */
94
+ div {
95
+ &.dataTables_scrollHead table {
96
+ margin-bottom: 0 !important;
97
+ border-bottom-left-radius: 0;
98
+ border-bottom-right-radius: 0;
99
+ thead tr:last-child {
100
+ th:first-child,
101
+ td:first-child {
102
+ border-bottom-left-radius: 0 !important;
103
+ border-bottom-right-radius: 0 !important;
104
+ }
105
+ }
106
+ }
107
+ &.dataTables_scrollBody {
108
+ table {
109
+ border-top: none;
110
+ margin-top: 0 !important;
111
+ margin-bottom: 0 !important;
112
+ }
113
+ tbody tr:first-child {
114
+ th,
115
+ td {
116
+ border-top: none;
117
+ }
118
+ }
119
+ }
120
+ &.dataTables_scrollFoot table {
121
+ margin-top: 0 !important;
122
+ border-top: none;
123
+ }
124
+ }
125
+
126
+ /* Frustratingly the border-collapse:collapse used by Bootstrap makes the column
127
+ width calculations when using scrolling impossible to align columns. We have
128
+ to use separate
129
+ */
130
+ table.table-bordered {
131
+ &.dataTable {
132
+ border-collapse: separate !important;
133
+ }
134
+ thead {
135
+ th,
136
+ td {
137
+ border-left-width: 0;
138
+ border-top-width: 0;
139
+ }
140
+ }
141
+ tbody {
142
+ th,
143
+ td {
144
+ border-left-width: 0;
145
+ border-bottom-width: 0;
146
+ }
147
+ }
148
+ th:last-child,
149
+ td:last-child {
150
+ border-right-width: 0;
151
+ }
152
+ }
153
+ div.dataTables_scrollHead table.table-bordered {
154
+ border-bottom-width: 0;
155
+ }
156
+
157
+ /*
158
+ * TableTools styles
159
+ */
160
+ .table.dataTable tbody tr.active {
161
+ td,
162
+ th {
163
+ background-color: #08c;
164
+ color: white;
165
+ }
166
+ &:hover {
167
+ td,
168
+ th {
169
+ background-color: #0075b0 !important;
170
+ }
171
+ }
172
+ th > a,
173
+ td > a {
174
+ color: white;
175
+ }
176
+ }
177
+ .table-striped.dataTable tbody tr.active:nth-child(odd) {
178
+ td,
179
+ th {
180
+ background-color: #017ebc;
181
+ }
182
+ }
183
+ table.DTTT_selectable tbody tr {
184
+ cursor: pointer;
185
+ }
186
+ div.DTTT .btn:hover {
187
+ text-decoration: none !important;
188
+ }
189
+ ul.DTTT_dropdown.dropdown-menu {
190
+ z-index: 2003;
191
+ a {
192
+ color: #333 !important;
193
+ /* needed only when demo_page.css is included */
194
+ }
195
+ li {
196
+ position: relative;
197
+ &:hover a {
198
+ background-color: #08c;
199
+ color: white !important;
200
+ }
201
+ }
202
+ }
203
+ div {
204
+ &.DTTT_collection_background {
205
+ z-index: 2002;
206
+ }
207
+ &.DTTT_print_info {
208
+ position: fixed;
209
+ top: 50%;
210
+ left: 50%;
211
+ width: 400px;
212
+ height: 150px;
213
+ margin-left: -200px;
214
+ margin-top: -75px;
215
+ text-align: center;
216
+ color: #333;
217
+ padding: 10px 30px;
218
+ opacity: 0.95;
219
+ background-color: white;
220
+ border: 1px solid rgba(0, 0, 0, 0.2);
221
+ border-radius: 6px;
222
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
223
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
224
+ h6 {
225
+ font-weight: normal;
226
+ font-size: 28px;
227
+ line-height: 28px;
228
+ margin: 1em;
229
+ }
230
+ p {
231
+ font-size: 14px;
232
+ line-height: 20px;
233
+ }
234
+ }
235
+ &.dataTables_processing {
236
+ position: absolute;
237
+ top: 50%;
238
+ left: 50%;
239
+ width: 100%;
240
+ height: 60px;
241
+ margin-left: -50%;
242
+ margin-top: -25px;
243
+ padding-top: 20px;
244
+ padding-bottom: 20px;
245
+ text-align: center;
246
+ font-size: 1.2em;
247
+ background-color: white;
248
+ 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)));
249
+ 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%);
250
+ 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%);
251
+ 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%);
252
+ 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%);
253
+ 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%);
254
+ }
255
+ &.DTFC_LeftHeadWrapper table,
256
+ &.DTFC_LeftFootWrapper table,
257
+ &.DTFC_RightHeadWrapper table,
258
+ &.DTFC_RightFootWrapper table {
259
+ background-color: white;
260
+ margin-bottom: 0;
261
+ }
262
+ }
263
+
264
+ /* TableTools information display */
265
+ /*
266
+ * FixedColumns styles
267
+ */
268
+ table.DTFC_Cloned tr.even {
269
+ background-color: white;
270
+ margin-bottom: 0;
271
+ }
272
+ div {
273
+ &.DTFC_RightHeadWrapper table,
274
+ &.DTFC_LeftHeadWrapper table {
275
+ border-bottom: none !important;
276
+ margin-bottom: 0 !important;
277
+ border-top-right-radius: 0 !important;
278
+ border-bottom-left-radius: 0 !important;
279
+ border-bottom-right-radius: 0 !important;
280
+ }
281
+ &.DTFC_RightHeadWrapper table thead tr:last-child {
282
+ th:first-child,
283
+ td:first-child {
284
+ border-bottom-left-radius: 0 !important;
285
+ border-bottom-right-radius: 0 !important;
286
+ }
287
+ }
288
+ &.DTFC_LeftHeadWrapper table thead tr:last-child {
289
+ th:first-child,
290
+ td:first-child {
291
+ border-bottom-left-radius: 0 !important;
292
+ border-bottom-right-radius: 0 !important;
293
+ }
294
+ }
295
+ &.DTFC_RightBodyWrapper table,
296
+ &.DTFC_LeftBodyWrapper table {
297
+ border-top: none;
298
+ margin: 0 !important;
299
+ }
300
+ &.DTFC_RightBodyWrapper tbody tr:first-child {
301
+ th,
302
+ td {
303
+ border-top: none;
304
+ }
305
+ }
306
+ &.DTFC_LeftBodyWrapper tbody tr:first-child {
307
+ th,
308
+ td {
309
+ border-top: none;
310
+ }
311
+ }
312
+ &.DTFC_RightFootWrapper table,
313
+ &.DTFC_LeftFootWrapper table {
314
+ border-top: none;
315
+ margin-top: 0 !important;
316
+ }
317
+ &.FixedHeader_Cloned table {
318
+ margin: 0 !important;
319
+ }
320
+ }
321
+
322
+ /*
323
+ * FixedHeader styles
324
+ */
@@ -0,0 +1,124 @@
1
+ table.dataTable {
2
+ &.dtr-inline.collapsed {
3
+ > tbody > tr {
4
+ > {
5
+ td:first-child,
6
+ th:first-child {
7
+ position: relative;
8
+ padding-left: 30px;
9
+ cursor: pointer;
10
+ }
11
+ td:first-child:before,
12
+ th:first-child:before {
13
+ top: 8px;
14
+ left: 4px;
15
+ height: 16px;
16
+ width: 16px;
17
+ display: block;
18
+ position: absolute;
19
+ color: white;
20
+ border: 2px solid white;
21
+ border-radius: 16px;
22
+ text-align: center;
23
+ line-height: 14px;
24
+ box-shadow: 0 0 3px #444;
25
+ box-sizing: content-box;
26
+ content: "+";
27
+ background-color: #31b131;
28
+ }
29
+ td:first-child.dataTables_empty:before,
30
+ th:first-child.dataTables_empty:before {
31
+ display: none;
32
+ }
33
+ }
34
+ &.parent > {
35
+ td:first-child:before,
36
+ th:first-child:before {
37
+ content: "-";
38
+ background-color: #d33333;
39
+ }
40
+ }
41
+ &.child td:before {
42
+ display: none;
43
+ }
44
+ }
45
+ &.compact > tbody > tr > {
46
+ td:first-child,
47
+ th:first-child {
48
+ padding-left: 27px;
49
+ }
50
+ td:first-child:before,
51
+ th:first-child:before {
52
+ top: 5px;
53
+ left: 4px;
54
+ height: 14px;
55
+ width: 14px;
56
+ border-radius: 14px;
57
+ line-height: 12px;
58
+ }
59
+ }
60
+ }
61
+ &.dtr-column > tbody > tr {
62
+ > {
63
+ td.control,
64
+ th.control {
65
+ position: relative;
66
+ cursor: pointer;
67
+ }
68
+ td.control:before,
69
+ th.control:before {
70
+ top: 50%;
71
+ left: 50%;
72
+ height: 16px;
73
+ width: 16px;
74
+ margin-top: -10px;
75
+ margin-left: -10px;
76
+ display: block;
77
+ position: absolute;
78
+ color: white;
79
+ border: 2px solid white;
80
+ border-radius: 16px;
81
+ text-align: center;
82
+ line-height: 14px;
83
+ box-shadow: 0 0 3px #444;
84
+ box-sizing: content-box;
85
+ content: "+";
86
+ background-color: #31b131;
87
+ }
88
+ }
89
+ &.parent {
90
+ td.control:before,
91
+ th.control:before {
92
+ content: "-";
93
+ background-color: #d33333;
94
+ }
95
+ }
96
+ }
97
+ > tbody > tr.child {
98
+ padding: 0.5em 1em;
99
+ &:hover {
100
+ background: transparent !important;
101
+ }
102
+ ul {
103
+ display: inline-block;
104
+ list-style-type: none;
105
+ margin: 0;
106
+ padding: 0;
107
+ li {
108
+ border-bottom: 1px solid #efefef;
109
+ padding: 0.5em 0;
110
+ &:first-child {
111
+ padding-top: 0;
112
+ }
113
+ &:last-child {
114
+ border-bottom: none;
115
+ }
116
+ }
117
+ }
118
+ span.dtr-title {
119
+ display: inline-block;
120
+ min-width: 75px;
121
+ font-weight: bold;
122
+ }
123
+ }
124
+ }
@@ -0,0 +1,6 @@
1
+ @import "bootstrap/*";
2
+ @import "font-awesome/*";
3
+ @import "metis_menu/*";
4
+ @import "morris/*";
5
+ @import "sb-admin-2/*";
6
+ @import "timeline/*";