active_frontend 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +97 -0
  6. data/Rakefile +1 -0
  7. data/active_frontend.gemspec +23 -0
  8. data/app/assets/fonts/gotham/gotham-bold.eot +0 -0
  9. data/app/assets/fonts/gotham/gotham-bold.svg +2066 -0
  10. data/app/assets/fonts/gotham/gotham-bold.ttf +0 -0
  11. data/app/assets/fonts/gotham/gotham-bold.woff +0 -0
  12. data/app/assets/fonts/gotham/gotham-book.eot +0 -0
  13. data/app/assets/fonts/gotham/gotham-book.svg +631 -0
  14. data/app/assets/fonts/gotham/gotham-book.ttf +0 -0
  15. data/app/assets/fonts/gotham/gotham-book.woff +0 -0
  16. data/app/assets/fonts/gotham/gotham-light.eot +0 -0
  17. data/app/assets/fonts/gotham/gotham-light.svg +635 -0
  18. data/app/assets/fonts/gotham/gotham-light.ttf +0 -0
  19. data/app/assets/fonts/gotham/gotham-light.woff +0 -0
  20. data/app/assets/fonts/gotham/gotham-medium.eot +0 -0
  21. data/app/assets/fonts/gotham/gotham-medium.svg +629 -0
  22. data/app/assets/fonts/gotham/gotham-medium.ttf +0 -0
  23. data/app/assets/fonts/gotham/gotham-medium.woff +0 -0
  24. data/app/assets/fonts/ionicons/ionicons.eot +0 -0
  25. data/app/assets/fonts/ionicons/ionicons.svg +2232 -0
  26. data/app/assets/fonts/ionicons/ionicons.ttf +0 -0
  27. data/app/assets/fonts/ionicons/ionicons.woff +0 -0
  28. data/lib/active_frontend.rb +6 -0
  29. data/lib/active_frontend/version.rb +3 -0
  30. data/vendor/assets/javascripts/.keep +0 -0
  31. data/vendor/assets/javascripts/affix.js +153 -0
  32. data/vendor/assets/javascripts/alert.js +85 -0
  33. data/vendor/assets/javascripts/animation.js +45 -0
  34. data/vendor/assets/javascripts/button.js +107 -0
  35. data/vendor/assets/javascripts/carousel.js +228 -0
  36. data/vendor/assets/javascripts/chart.js +3309 -0
  37. data/vendor/assets/javascripts/collapse.js +202 -0
  38. data/vendor/assets/javascripts/date_picker.js +1649 -0
  39. data/vendor/assets/javascripts/dropdown.js +152 -0
  40. data/vendor/assets/javascripts/file_input.js +71 -0
  41. data/vendor/assets/javascripts/hoverdown.js +109 -0
  42. data/vendor/assets/javascripts/map.js +2174 -0
  43. data/vendor/assets/javascripts/modal.js +234 -0
  44. data/vendor/assets/javascripts/popover.js +99 -0
  45. data/vendor/assets/javascripts/scrollspy.js +163 -0
  46. data/vendor/assets/javascripts/sort.js +1432 -0
  47. data/vendor/assets/javascripts/swoggle.js +415 -0
  48. data/vendor/assets/javascripts/tab.js +144 -0
  49. data/vendor/assets/javascripts/tablespy.js +1883 -0
  50. data/vendor/assets/javascripts/time_ago.js +206 -0
  51. data/vendor/assets/javascripts/time_picker.js +1087 -0
  52. data/vendor/assets/javascripts/tooltip.js +466 -0
  53. data/vendor/assets/javascripts/transition.js +50 -0
  54. data/vendor/assets/javascripts/typeahead.js +368 -0
  55. data/vendor/assets/stylesheets/.keep +0 -0
  56. data/vendor/assets/stylesheets/ad.scss +72 -0
  57. data/vendor/assets/stylesheets/affix.scss +11 -0
  58. data/vendor/assets/stylesheets/alert.scss +57 -0
  59. data/vendor/assets/stylesheets/animation.scss +2388 -0
  60. data/vendor/assets/stylesheets/aside.scss +136 -0
  61. data/vendor/assets/stylesheets/breadcrumb.scss +23 -0
  62. data/vendor/assets/stylesheets/button.scss +581 -0
  63. data/vendor/assets/stylesheets/carousel.scss +152 -0
  64. data/vendor/assets/stylesheets/chart.scss +11 -0
  65. data/vendor/assets/stylesheets/code.scss +139 -0
  66. data/vendor/assets/stylesheets/collapse.scss +15 -0
  67. data/vendor/assets/stylesheets/datepicker.scss +136 -0
  68. data/vendor/assets/stylesheets/dropdown.scss +90 -0
  69. data/vendor/assets/stylesheets/footer.scss +68 -0
  70. data/vendor/assets/stylesheets/form.scss +346 -0
  71. data/vendor/assets/stylesheets/grid.scss +287 -0
  72. data/vendor/assets/stylesheets/header.scss +205 -0
  73. data/vendor/assets/stylesheets/icon.scss +1538 -0
  74. data/vendor/assets/stylesheets/image.scss +330 -0
  75. data/vendor/assets/stylesheets/label_and_badge.scss +110 -0
  76. data/vendor/assets/stylesheets/link.scss +25 -0
  77. data/vendor/assets/stylesheets/list.scss +60 -0
  78. data/vendor/assets/stylesheets/map.scss +13 -0
  79. data/vendor/assets/stylesheets/modal.scss +137 -0
  80. data/vendor/assets/stylesheets/nav_and_tab.scss +183 -0
  81. data/vendor/assets/stylesheets/pagination.scss +41 -0
  82. data/vendor/assets/stylesheets/panel.scss +62 -0
  83. data/vendor/assets/stylesheets/placeholder.scss +44 -0
  84. data/vendor/assets/stylesheets/popover.scss +117 -0
  85. data/vendor/assets/stylesheets/progress.scss +43 -0
  86. data/vendor/assets/stylesheets/reset.scss +88 -0
  87. data/vendor/assets/stylesheets/spinner.scss +767 -0
  88. data/vendor/assets/stylesheets/swoggle.scss +126 -0
  89. data/vendor/assets/stylesheets/table.scss +149 -0
  90. data/vendor/assets/stylesheets/timepicker.scss +75 -0
  91. data/vendor/assets/stylesheets/tooltip.scss +90 -0
  92. data/vendor/assets/stylesheets/transition.scss +12 -0
  93. data/vendor/assets/stylesheets/trunk.scss +116 -0
  94. data/vendor/assets/stylesheets/typeahead.scss +8 -0
  95. data/vendor/assets/stylesheets/typography.scss +191 -0
  96. metadata +167 -0
@@ -0,0 +1,330 @@
1
+ /* Table of Contents
2
+ ==================================================
3
+ # Image
4
+ # Placeholder
5
+ # Styles
6
+ # Media Queries */
7
+
8
+ /* # Image
9
+ ================================================== */
10
+ img {
11
+ border-radius: 3px;
12
+ border: 0;
13
+ display: block;
14
+ height: auto;
15
+ max-width: 100%;
16
+ vertical-align: middle;
17
+ width: auto\9;
18
+ }
19
+
20
+ /* # Placeholder
21
+ ================================================== */
22
+ .img-placeholder {
23
+ background: rgba(245,248,250,1);
24
+ border-radius: 4px;
25
+ color: rgba(43,50,53,1);
26
+ display: block;
27
+ font-size: 13px;
28
+ font-weight: bold;
29
+ height: 0;
30
+ line-height: 0;
31
+ padding: 50% 0;
32
+ text-align: center;
33
+ vertical-align: middle;
34
+ width: 100%;
35
+ }
36
+ .img-placeholder > i {
37
+ color: rgba(43,50,53,1);
38
+ display: block;
39
+ font-size: 4800%;
40
+ margin-top: -27%;
41
+ }
42
+ .one.column > .img-placeholder > i,
43
+ .one.columns > .img-placeholder > i {
44
+ font-size: 200%;
45
+ margin-top: -25%;
46
+ }
47
+ .two.columns > .img-placeholder > i {
48
+ font-size: 600%;
49
+ margin-top: -29%;
50
+ }
51
+ .three.columns > .img-placeholder > i {
52
+ font-size: 900%;
53
+ margin-top: -28%;
54
+ }
55
+ .four.columns > .img-placeholder > i {
56
+ font-size: 1200%;
57
+ margin-top: -27%;
58
+ }
59
+ .five.columns > .img-placeholder > i {
60
+ font-size: 1500%;
61
+ margin-top: -28%;
62
+ }
63
+ .six.columns > .img-placeholder > i {
64
+ font-size: 1800%;
65
+ margin-top: -28%;
66
+ }
67
+ .seven.columns > .img-placeholder > i {
68
+ font-size: 2100%;
69
+ margin-top: -27%;
70
+ }
71
+ .eight.columns > .img-placeholder > i {
72
+ font-size: 2400%;
73
+ margin-top: -27%;
74
+ }
75
+ .nine.columns > .img-placeholder > i {
76
+ font-size: 2700%;
77
+ margin-top: -28%;
78
+ }
79
+ .ten.columns > .img-placeholder > i {
80
+ font-size: 3000%;
81
+ margin-top: -27%;
82
+ }
83
+ .eleven.columns > .img-placeholder > i {
84
+ font-size: 3300%;
85
+ margin-top: -27%;
86
+ }
87
+ .twelve.columns > .img-placeholder > i {
88
+ font-size: 3600%;
89
+ margin-top: -27%;
90
+ }
91
+ .thirteen.columns > .img-placeholder > i {
92
+ font-size: 3900%;
93
+ margin-top: -27%;
94
+ }
95
+ .fourteen.columns > .img-placeholder > i {
96
+ font-size: 4200%;
97
+ margin-top: -27%;
98
+ }
99
+ .fifteen.columns > .img-placeholder > i {
100
+ font-size: 4500%;
101
+ margin-top: -27%;
102
+ }
103
+ .sixteen.columns > .img-placeholder > i {
104
+ font-size: 4800%;
105
+ margin-top: -27%;
106
+ }
107
+ .one-third.column > .img-placeholder > i {
108
+ font-size: 1500%;
109
+ margin-top: -27%;
110
+ }
111
+ .two-thirds.column > .img-placeholder > i {
112
+ font-size: 3300%;
113
+ margin-top: -28%;
114
+ }
115
+
116
+ /* # Styles
117
+ ================================================== */
118
+ .img-circle { border-radius: 500px; }
119
+ .img-center { margin: 0 auto; }
120
+
121
+ /* # Media Queries
122
+ ================================================== */
123
+ @media only screen and (min-width: 960px) and (max-width: 1199px) {
124
+ .img-placeholder > i {
125
+ font-size: 4600%;
126
+ margin-top: -32%;
127
+ }
128
+ .one.column > .img-placeholder > i,
129
+ .one.columns > .img-placeholder > i {
130
+ font-size: 150%;
131
+ margin-top: -24%;
132
+ }
133
+ .two.columns > .img-placeholder > i {
134
+ font-size: 400%;
135
+ margin-top: -27%;
136
+ }
137
+ .three.columns > .img-placeholder > i {
138
+ font-size: 700%;
139
+ margin-top: -28%;
140
+ }
141
+ .four.columns > .img-placeholder > i {
142
+ font-size: 1000%;
143
+ margin-top: -29%;
144
+ }
145
+ .five.columns > .img-placeholder > i {
146
+ font-size: 1300%;
147
+ margin-top: -30%;
148
+ }
149
+ .six.columns > .img-placeholder > i {
150
+ font-size: 1600%;
151
+ margin-top: -30%;
152
+ }
153
+ .seven.columns > .img-placeholder > i {
154
+ font-size: 1900%;
155
+ margin-top: -31%;
156
+ }
157
+ .eight.columns > .img-placeholder > i {
158
+ font-size: 2200%;
159
+ margin-top: -31%;
160
+ }
161
+ .nine.columns > .img-placeholder > i {
162
+ font-size: 2500%;
163
+ margin-top: -31%;
164
+ }
165
+ .ten.columns > .img-placeholder > i {
166
+ font-size: 2800%;
167
+ margin-top: -31%;
168
+ }
169
+ .eleven.columns > .img-placeholder > i {
170
+ font-size: 3100%;
171
+ margin-top: -31%;
172
+ }
173
+ .twelve.columns > .img-placeholder > i {
174
+ font-size: 3400%;
175
+ margin-top: -31%;
176
+ }
177
+ .thirteen.columns > .img-placeholder > i {
178
+ font-size: 3700%;
179
+ margin-top: -31%;
180
+ }
181
+ .fourteen.columns > .img-placeholder > i {
182
+ font-size: 4000%;
183
+ margin-top: -31%;
184
+ }
185
+ .fifteen.columns > .img-placeholder > i {
186
+ font-size: 4300%;
187
+ margin-top: -32%;
188
+ }
189
+ .sixteen.columns > .img-placeholder > i {
190
+ font-size: 4600%;
191
+ margin-top: -32%;
192
+ }
193
+ .one-third.column > .img-placeholder > i {
194
+ font-size: 1300%;
195
+ margin-top: -29%;
196
+ }
197
+ .two-thirds.column > .img-placeholder > i {
198
+ font-size: 3100%;
199
+ margin-top: -32%;
200
+ }
201
+ }
202
+ @media only screen and (min-width: 768px) and (max-width: 959px) {
203
+ .img-placeholder > i {
204
+ font-size: 4500%;
205
+ margin-top: -39%;
206
+ }
207
+ .one.column > .img-placeholder > i,
208
+ .one.columns > .img-placeholder > i {
209
+ font-size: 100%;
210
+ margin-top: -24%;
211
+ }
212
+ .two.columns > .img-placeholder > i {
213
+ font-size: 300%;
214
+ margin-top: -26%;
215
+ }
216
+ .three.columns > .img-placeholder > i {
217
+ font-size: 600%;
218
+ margin-top: -32%;
219
+ }
220
+ .four.columns > .img-placeholder > i {
221
+ font-size: 900%;
222
+ margin-top: -34%;
223
+ }
224
+ .five.columns > .img-placeholder > i {
225
+ font-size: 1200%;
226
+ margin-top: -35%;
227
+ }
228
+ .six.columns > .img-placeholder > i {
229
+ font-size: 1500%;
230
+ margin-top: -37%;
231
+ }
232
+ .seven.columns > .img-placeholder > i {
233
+ font-size: 1800%;
234
+ margin-top: -38%;
235
+ }
236
+ .eight.columns > .img-placeholder > i {
237
+ font-size: 2100%;
238
+ margin-top: -38%;
239
+ }
240
+ .nine.columns > .img-placeholder > i {
241
+ font-size: 2400%;
242
+ margin-top: -38%;
243
+ }
244
+ .ten.columns > .img-placeholder > i {
245
+ font-size: 2700%;
246
+ margin-top: -38%;
247
+ }
248
+ .eleven.columns > .img-placeholder > i {
249
+ font-size: 3000%;
250
+ margin-top: -39%;
251
+ }
252
+ .twelve.columns > .img-placeholder > i {
253
+ font-size: 3300%;
254
+ margin-top: -39%;
255
+ }
256
+ .thirteen.columns > .img-placeholder > i {
257
+ font-size: 3600%;
258
+ margin-top: -39%;
259
+ }
260
+ .fourteen.columns > .img-placeholder > i {
261
+ font-size: 3900%;
262
+ margin-top: -39%;
263
+ }
264
+ .fifteen.columns > .img-placeholder > i {
265
+ font-size: 4200%;
266
+ margin-top: -39%;
267
+ }
268
+ .sixteen.columns > .img-placeholder > i {
269
+ font-size: 4500%;
270
+ margin-top: -39%;
271
+ }
272
+ .one-third.column > .img-placeholder > i {
273
+ font-size: 1100%;
274
+ margin-top: -32%;
275
+ }
276
+ .two-thirds.column > .img-placeholder > i {
277
+ font-size: 2900%;
278
+ margin-top: -39%;
279
+ }
280
+ }
281
+ @media only screen and (max-width: 767px) {
282
+ .img-placeholder > i,
283
+ .one.column > .img-placeholder > i,
284
+ .one.columns > .img-placeholder > i,
285
+ .two.columns > .img-placeholder > i,
286
+ .three.columns > .img-placeholder > i,
287
+ .four.columns > .img-placeholder > i,
288
+ .five.columns > .img-placeholder > i,
289
+ .six.columns > .img-placeholder > i,
290
+ .seven.columns > .img-placeholder > i,
291
+ .eight.columns > .img-placeholder > i,
292
+ .nine.columns > .img-placeholder > i,
293
+ .ten.columns > .img-placeholder > i,
294
+ .eleven.columns > .img-placeholder > i,
295
+ .twelve.columns > .img-placeholder > i,
296
+ .thirteen.columns > .img-placeholder > i,
297
+ .fourteen.columns > .img-placeholder > i,
298
+ .fifteen.columns > .img-placeholder > i,
299
+ .sixteen.columns > .img-placeholder > i,
300
+ .one-third.column > .img-placeholder > i,
301
+ .two-thirds.column > .img-placeholder > i {
302
+ font-size: 1500%;
303
+ margin-top: -33%;
304
+ }
305
+ }
306
+ @media only screen and (min-width: 480px) and (max-width: 767px) {
307
+ .img-placeholder > i,
308
+ .one.column > .img-placeholder > i,
309
+ .one.columns > .img-placeholder > i,
310
+ .two.columns > .img-placeholder > i,
311
+ .three.columns > .img-placeholder > i,
312
+ .four.columns > .img-placeholder > i,
313
+ .five.columns > .img-placeholder > i,
314
+ .six.columns > .img-placeholder > i,
315
+ .seven.columns > .img-placeholder > i,
316
+ .eight.columns > .img-placeholder > i,
317
+ .nine.columns > .img-placeholder > i,
318
+ .ten.columns > .img-placeholder > i,
319
+ .eleven.columns > .img-placeholder > i,
320
+ .twelve.columns > .img-placeholder > i,
321
+ .thirteen.columns > .img-placeholder > i,
322
+ .fourteen.columns > .img-placeholder > i,
323
+ .fifteen.columns > .img-placeholder > i,
324
+ .sixteen.columns > .img-placeholder > i,
325
+ .one-third.column > .img-placeholder > i,
326
+ .two-thirds.column > .img-placeholder > i {
327
+ font-size: 2100%;
328
+ margin-top: -30%;
329
+ }
330
+ }
@@ -0,0 +1,110 @@
1
+ /* Table of Contents
2
+ ==================================================
3
+ # Label and Badge */
4
+
5
+ /* # Label and Badge
6
+ ================================================== */
7
+ .badge,
8
+ .label {
9
+ background: rgba(240,243,245,1);
10
+ border-radius: 2px;
11
+ color: rgba(43,50,53,1);
12
+ display: inline-block;
13
+ padding: 7px;
14
+ font-size: 12px;
15
+ font-weight: bold;
16
+ line-height: 12px;
17
+ min-width: 12px;
18
+ text-align: center;
19
+ white-space: nowrap;
20
+ vertical-align: baseline;
21
+ }
22
+ .badge { border-radius: 500px; }
23
+ .badge:empty,
24
+ .label:empty { display: none; }
25
+ .badge-black,
26
+ .label-black,
27
+ .badge-blue,
28
+ .label-blue,
29
+ .badge-green,
30
+ .label-green,
31
+ .badge-orange,
32
+ .label-orange,
33
+ .badge-purple,
34
+ .label-purple,
35
+ .badge-red,
36
+ .label-red,
37
+ .badge-smoke,
38
+ .label-smoke,
39
+ .badge-white,
40
+ .label-white { color: rgba(255,255,255,1); }
41
+ .badge-black,
42
+ .label-black { background: rgba(56,67,81,1); }
43
+ .badge-blue,
44
+ .label-blue { background: rgba(15,135,226,1); }
45
+ .badge-green,
46
+ .label-green { background: rgba(112,169,13,1); }
47
+ .badge-orange,
48
+ .label-orange { background: rgba(232,126,15,1); }
49
+ .badge-purple,
50
+ .label-purple { background: rgba(117,73,170,1); }
51
+ .badge-red,
52
+ .label-red { background: rgba(218,79,46,1);}
53
+ .badge-smoke,
54
+ .label-smoke { background: rgba(102,117,127,1); }
55
+ .badge-white,
56
+ .label-white { background: rgba(255,255,255,1); }
57
+ .badge-yellow,
58
+ .label-yellow { background: rgba(255,217,15,1); }
59
+ .badge.badge-outline,
60
+ .label.label-outline {
61
+ background: transparent;
62
+ border: 1px solid rgba(136,153,166,1);
63
+ color: rgba(136,153,166,1);
64
+ padding: 6px;
65
+ }
66
+ .badge-black.badge-outline,
67
+ .label-black.label-outline {
68
+ border-color: rgba(56,67,81,1);
69
+ color: rgba(56,67,81,1);
70
+ }
71
+ .badge-blue.badge-outline,
72
+ .label-blue.label-outline {
73
+ border-color: rgba(15,135,226,1);
74
+ color: rgba(15,135,226,1);
75
+ }
76
+ .badge-green.badge-outline,
77
+ .label-green.label-outline {
78
+ border-color: rgba(112,169,13,1);
79
+ color: rgba(112,169,13,1);
80
+ }
81
+ .badge-orange.badge-outline,
82
+ .label-orange.label-outline {
83
+ border-color: rgba(232,126,15,1);
84
+ color: rgba(232,126,15,1);
85
+ }
86
+ .badge-purple.badge-outline,
87
+ .label-purple.label-outline {
88
+ border-color: rgba(117,73,170,1);
89
+ color: rgba(117,73,170,1);
90
+ }
91
+ .badge-red.badge-outline,
92
+ .label-red.label-outline {
93
+ border-color: rgba(218,79,46,1);
94
+ color: rgba(218,79,46,1);
95
+ }
96
+ .badge-smoke.badge-outline,
97
+ .label-smoke.label-outline {
98
+ border-color: rgba(102,117,127,1);
99
+ color: rgba(102,117,127,1);
100
+ }
101
+ .badge-white.badge-outline,
102
+ .label-white.label-outline {
103
+ border-color: rgba(255,255,255,1);
104
+ color: rgba(255,255,255,1);
105
+ }
106
+ .badge-yellow.badge-outline,
107
+ .label-yellow.label-outline {
108
+ border-color: rgba(255,217,15,1);
109
+ color: rgba(255,217,15,1);
110
+ }
@@ -0,0 +1,25 @@
1
+ /* Table of Contents
2
+ ==================================================
3
+ # Link
4
+ # Colors */
5
+
6
+ /* # Link
7
+ ================================================== */
8
+ a {
9
+ -webkit-transition: all 0.3s ease-in-out;
10
+ transition: all 0.3s ease-in-out;
11
+ text-decoration: none;
12
+ }
13
+
14
+ /* # Colors
15
+ ================================================== */
16
+ .link-black { color: rgba(43,50,53,1); }
17
+ .link-blue { color: rgba(15,135,226,1); }
18
+ .link-gray { color: rgba(136,153,166,1); }
19
+ .link-green { color: rgba(112,169,13,1); }
20
+ .link-orange { color: rgba(232,126,15,1); }
21
+ .text-purple { color: rgba(117,73,170,1); }
22
+ .link-red { color: rgba(218,79,46,1); }
23
+ .link-smoke { color: rgba(102,117,127,1); }
24
+ .link-white { color: rgba(255,255,255,1); }
25
+ .link-yellow { color: rgba(255,217,15,1); }