kitchen_hooks 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +214 -0
- data/LICENSE +13 -0
- data/Rakefile +47 -0
- data/Readme.md +61 -0
- data/VERSION +1 -0
- data/bin/kitchen_hooks +3 -0
- data/etc/commit.json +66 -0
- data/etc/config.json +14 -0
- data/kitchen_hooks.gemspec +30 -0
- data/lib/kitchen_hooks/app.rb +112 -0
- data/lib/kitchen_hooks/helpers.rb +190 -0
- data/lib/kitchen_hooks/main.rb +65 -0
- data/lib/kitchen_hooks/metadata.rb +23 -0
- data/lib/kitchen_hooks.rb +3 -0
- data/web/app/kitchen_hooks.js +25 -0
- data/web/app/style/kitchen_hooks.css +33 -0
- data/web/public/favicon.ico +0 -0
- data/web/public/vendor/css/superhero-v3.3.0.css +9 -0
- data/web/public/vendor/css/vertical-timeline-v1.0.0.css +460 -0
- data/web/public/vendor/img/cd-icon.svg +11 -0
- data/web/public/vendor/js/bootstrap-v3.3.0.js +2276 -0
- data/web/public/vendor/js/jquery-timeago-v1.4.1.js +214 -0
- data/web/public/vendor/js/jquery-v2.1.1.js +9190 -0
- data/web/views/app.erb +22 -0
- data/web/views/layout.erb +24 -0
- metadata +197 -0
@@ -0,0 +1,460 @@
|
|
1
|
+
/* http://codyhouse.co/gem/vertical-timeline */
|
2
|
+
|
3
|
+
/* --------------------------------
|
4
|
+
|
5
|
+
Primary style
|
6
|
+
|
7
|
+
-------------------------------- */
|
8
|
+
html * {
|
9
|
+
-webkit-font-smoothing: antialiased;
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
11
|
+
}
|
12
|
+
|
13
|
+
*, *:after, *:before {
|
14
|
+
-webkit-box-sizing: border-box;
|
15
|
+
-moz-box-sizing: border-box;
|
16
|
+
box-sizing: border-box;
|
17
|
+
}
|
18
|
+
|
19
|
+
img {
|
20
|
+
max-width: 100%;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* --------------------------------
|
24
|
+
|
25
|
+
Modules - reusable parts of our design
|
26
|
+
|
27
|
+
-------------------------------- */
|
28
|
+
.cd-container {
|
29
|
+
/* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
|
30
|
+
width: 90%;
|
31
|
+
max-width: 1170px;
|
32
|
+
margin: 0 auto;
|
33
|
+
}
|
34
|
+
.cd-container::after {
|
35
|
+
/* clearfix */
|
36
|
+
content: '';
|
37
|
+
display: table;
|
38
|
+
clear: both;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* --------------------------------
|
42
|
+
|
43
|
+
Main components
|
44
|
+
|
45
|
+
-------------------------------- */
|
46
|
+
header {
|
47
|
+
height: 200px;
|
48
|
+
line-height: 200px;
|
49
|
+
text-align: center;
|
50
|
+
background: #303e49;
|
51
|
+
}
|
52
|
+
header h1 {
|
53
|
+
/*color: white;*/
|
54
|
+
font-size: 1.125em;
|
55
|
+
}
|
56
|
+
@media only screen and (min-width: 1170px) {
|
57
|
+
header {
|
58
|
+
height: 300px;
|
59
|
+
line-height: 300px;
|
60
|
+
}
|
61
|
+
header h1 {
|
62
|
+
font-size: 1.5em;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
#cd-timeline {
|
67
|
+
position: relative;
|
68
|
+
padding: 2em 0;
|
69
|
+
margin-top: 2em;
|
70
|
+
margin-bottom: 2em;
|
71
|
+
}
|
72
|
+
#cd-timeline::before {
|
73
|
+
/* this is the vertical line */
|
74
|
+
content: '';
|
75
|
+
position: absolute;
|
76
|
+
top: 0;
|
77
|
+
left: 18px;
|
78
|
+
height: 100%;
|
79
|
+
width: 4px;
|
80
|
+
background: #4e5d6c;
|
81
|
+
}
|
82
|
+
@media only screen and (min-width: 1170px) {
|
83
|
+
#cd-timeline {
|
84
|
+
margin-top: 3em;
|
85
|
+
margin-bottom: 3em;
|
86
|
+
}
|
87
|
+
#cd-timeline::before {
|
88
|
+
left: 50%;
|
89
|
+
margin-left: -2px;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.cd-timeline-block {
|
94
|
+
position: relative;
|
95
|
+
margin: 2em 0;
|
96
|
+
}
|
97
|
+
.cd-timeline-block:after {
|
98
|
+
content: "";
|
99
|
+
display: table;
|
100
|
+
clear: both;
|
101
|
+
}
|
102
|
+
.cd-timeline-block:first-child {
|
103
|
+
margin-top: 0;
|
104
|
+
}
|
105
|
+
.cd-timeline-block:last-child {
|
106
|
+
margin-bottom: 0;
|
107
|
+
}
|
108
|
+
@media only screen and (min-width: 1170px) {
|
109
|
+
.cd-timeline-block {
|
110
|
+
margin: 4em 0;
|
111
|
+
}
|
112
|
+
.cd-timeline-block:first-child {
|
113
|
+
margin-top: 0;
|
114
|
+
}
|
115
|
+
.cd-timeline-block:last-child {
|
116
|
+
margin-bottom: 0;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
.cd-timeline-img {
|
121
|
+
position: absolute;
|
122
|
+
top: 0;
|
123
|
+
left: 0;
|
124
|
+
width: 40px;
|
125
|
+
height: 40px;
|
126
|
+
border-radius: 50%;
|
127
|
+
box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
|
128
|
+
}
|
129
|
+
.cd-timeline-img img {
|
130
|
+
display: block;
|
131
|
+
width: 24px;
|
132
|
+
height: 24px;
|
133
|
+
position: relative;
|
134
|
+
left: 50%;
|
135
|
+
top: 50%;
|
136
|
+
margin-left: -12px;
|
137
|
+
margin-top: -12px;
|
138
|
+
}
|
139
|
+
.cd-timeline-img.cd-picture {
|
140
|
+
background: #75ce66;
|
141
|
+
}
|
142
|
+
.cd-timeline-img.cd-movie {
|
143
|
+
background: #c03b44;
|
144
|
+
}
|
145
|
+
.cd-timeline-img.cd-location {
|
146
|
+
background: #f0ca45;
|
147
|
+
}
|
148
|
+
@media only screen and (min-width: 1170px) {
|
149
|
+
.cd-timeline-img {
|
150
|
+
width: 60px;
|
151
|
+
height: 60px;
|
152
|
+
left: 50%;
|
153
|
+
margin-left: -30px;
|
154
|
+
/* Force Hardware Acceleration in WebKit */
|
155
|
+
-webkit-transform: translateZ(0);
|
156
|
+
-webkit-backface-visibility: hidden;
|
157
|
+
}
|
158
|
+
.cssanimations .cd-timeline-img.is-hidden {
|
159
|
+
visibility: hidden;
|
160
|
+
}
|
161
|
+
.cssanimations .cd-timeline-img.bounce-in {
|
162
|
+
visibility: visible;
|
163
|
+
-webkit-animation: cd-bounce-1 0.6s;
|
164
|
+
-moz-animation: cd-bounce-1 0.6s;
|
165
|
+
animation: cd-bounce-1 0.6s;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
@-webkit-keyframes cd-bounce-1 {
|
170
|
+
0% {
|
171
|
+
opacity: 0;
|
172
|
+
-webkit-transform: scale(0.5);
|
173
|
+
}
|
174
|
+
|
175
|
+
60% {
|
176
|
+
opacity: 1;
|
177
|
+
-webkit-transform: scale(1.2);
|
178
|
+
}
|
179
|
+
|
180
|
+
100% {
|
181
|
+
-webkit-transform: scale(1);
|
182
|
+
}
|
183
|
+
}
|
184
|
+
@-moz-keyframes cd-bounce-1 {
|
185
|
+
0% {
|
186
|
+
opacity: 0;
|
187
|
+
-moz-transform: scale(0.5);
|
188
|
+
}
|
189
|
+
|
190
|
+
60% {
|
191
|
+
opacity: 1;
|
192
|
+
-moz-transform: scale(1.2);
|
193
|
+
}
|
194
|
+
|
195
|
+
100% {
|
196
|
+
-moz-transform: scale(1);
|
197
|
+
}
|
198
|
+
}
|
199
|
+
@keyframes cd-bounce-1 {
|
200
|
+
0% {
|
201
|
+
opacity: 0;
|
202
|
+
-webkit-transform: scale(0.5);
|
203
|
+
-moz-transform: scale(0.5);
|
204
|
+
-ms-transform: scale(0.5);
|
205
|
+
-o-transform: scale(0.5);
|
206
|
+
transform: scale(0.5);
|
207
|
+
}
|
208
|
+
|
209
|
+
60% {
|
210
|
+
opacity: 1;
|
211
|
+
-webkit-transform: scale(1.2);
|
212
|
+
-moz-transform: scale(1.2);
|
213
|
+
-ms-transform: scale(1.2);
|
214
|
+
-o-transform: scale(1.2);
|
215
|
+
transform: scale(1.2);
|
216
|
+
}
|
217
|
+
|
218
|
+
100% {
|
219
|
+
-webkit-transform: scale(1);
|
220
|
+
-moz-transform: scale(1);
|
221
|
+
-ms-transform: scale(1);
|
222
|
+
-o-transform: scale(1);
|
223
|
+
transform: scale(1);
|
224
|
+
}
|
225
|
+
}
|
226
|
+
.cd-timeline-content {
|
227
|
+
position: relative;
|
228
|
+
margin-left: 60px;
|
229
|
+
background: white;
|
230
|
+
border-radius: 0.25em;
|
231
|
+
padding: 1em;
|
232
|
+
box-shadow: 0 3px 0 #d7e4ed;
|
233
|
+
}
|
234
|
+
.cd-timeline-content:after {
|
235
|
+
content: "";
|
236
|
+
display: table;
|
237
|
+
clear: both;
|
238
|
+
}
|
239
|
+
.cd-timeline-content h2 {
|
240
|
+
/*color: #303e49;*/
|
241
|
+
}
|
242
|
+
.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
|
243
|
+
font-size: 0.8125em;
|
244
|
+
}
|
245
|
+
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
|
246
|
+
display: inline-block;
|
247
|
+
}
|
248
|
+
.cd-timeline-content p {
|
249
|
+
margin: 1em 0;
|
250
|
+
line-height: 1.6;
|
251
|
+
}
|
252
|
+
.cd-timeline-content .cd-read-more {
|
253
|
+
float: right;
|
254
|
+
padding: .8em 1em;
|
255
|
+
background: #acb7c0;
|
256
|
+
/*color: white;*/
|
257
|
+
border-radius: 0.25em;
|
258
|
+
}
|
259
|
+
.no-touch .cd-timeline-content .cd-read-more:hover {
|
260
|
+
background-color: #bac4cb;
|
261
|
+
}
|
262
|
+
.cd-timeline-content .cd-date {
|
263
|
+
float: left;
|
264
|
+
padding: .8em 0;
|
265
|
+
opacity: .7;
|
266
|
+
}
|
267
|
+
.cd-timeline-content::before {
|
268
|
+
content: '';
|
269
|
+
position: absolute;
|
270
|
+
top: 16px;
|
271
|
+
right: 100%;
|
272
|
+
height: 0;
|
273
|
+
width: 0;
|
274
|
+
border: 7px solid transparent;
|
275
|
+
border-right: 7px solid white;
|
276
|
+
}
|
277
|
+
@media only screen and (min-width: 768px) {
|
278
|
+
.cd-timeline-content h2 {
|
279
|
+
font-size: 1.25em;
|
280
|
+
}
|
281
|
+
.cd-timeline-content p {
|
282
|
+
font-size: 1em;
|
283
|
+
}
|
284
|
+
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
|
285
|
+
font-size: 0.875em;
|
286
|
+
}
|
287
|
+
}
|
288
|
+
@media only screen and (min-width: 1170px) {
|
289
|
+
.cd-timeline-content {
|
290
|
+
margin-left: 0;
|
291
|
+
padding: 1.6em;
|
292
|
+
width: 45%;
|
293
|
+
}
|
294
|
+
.cd-timeline-content::before {
|
295
|
+
top: 24px;
|
296
|
+
left: 100%;
|
297
|
+
border-color: transparent;
|
298
|
+
border-left-color: white;
|
299
|
+
}
|
300
|
+
.cd-timeline-content .cd-read-more {
|
301
|
+
float: left;
|
302
|
+
}
|
303
|
+
.cd-timeline-content .cd-date {
|
304
|
+
position: absolute;
|
305
|
+
width: 100%;
|
306
|
+
left: 122%;
|
307
|
+
top: 6px;
|
308
|
+
font-size: 1em;
|
309
|
+
}
|
310
|
+
.cd-timeline-block:nth-child(even) .cd-timeline-content {
|
311
|
+
float: right;
|
312
|
+
}
|
313
|
+
.cd-timeline-block:nth-child(even) .cd-timeline-content::before {
|
314
|
+
top: 24px;
|
315
|
+
left: auto;
|
316
|
+
right: 100%;
|
317
|
+
border-color: transparent;
|
318
|
+
border-right-color: white;
|
319
|
+
}
|
320
|
+
.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
|
321
|
+
float: right;
|
322
|
+
}
|
323
|
+
.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
|
324
|
+
left: auto;
|
325
|
+
right: 122%;
|
326
|
+
text-align: right;
|
327
|
+
}
|
328
|
+
.cssanimations .cd-timeline-content.is-hidden {
|
329
|
+
visibility: hidden;
|
330
|
+
}
|
331
|
+
.cssanimations .cd-timeline-content.bounce-in {
|
332
|
+
visibility: visible;
|
333
|
+
-webkit-animation: cd-bounce-2 0.6s;
|
334
|
+
-moz-animation: cd-bounce-2 0.6s;
|
335
|
+
animation: cd-bounce-2 0.6s;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
@media only screen and (min-width: 1170px) {
|
340
|
+
/* inverse bounce effect on even content blocks */
|
341
|
+
.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
|
342
|
+
-webkit-animation: cd-bounce-2-inverse 0.6s;
|
343
|
+
-moz-animation: cd-bounce-2-inverse 0.6s;
|
344
|
+
animation: cd-bounce-2-inverse 0.6s;
|
345
|
+
}
|
346
|
+
}
|
347
|
+
@-webkit-keyframes cd-bounce-2 {
|
348
|
+
0% {
|
349
|
+
opacity: 0;
|
350
|
+
-webkit-transform: translateX(-100px);
|
351
|
+
}
|
352
|
+
|
353
|
+
60% {
|
354
|
+
opacity: 1;
|
355
|
+
-webkit-transform: translateX(20px);
|
356
|
+
}
|
357
|
+
|
358
|
+
100% {
|
359
|
+
-webkit-transform: translateX(0);
|
360
|
+
}
|
361
|
+
}
|
362
|
+
@-moz-keyframes cd-bounce-2 {
|
363
|
+
0% {
|
364
|
+
opacity: 0;
|
365
|
+
-moz-transform: translateX(-100px);
|
366
|
+
}
|
367
|
+
|
368
|
+
60% {
|
369
|
+
opacity: 1;
|
370
|
+
-moz-transform: translateX(20px);
|
371
|
+
}
|
372
|
+
|
373
|
+
100% {
|
374
|
+
-moz-transform: translateX(0);
|
375
|
+
}
|
376
|
+
}
|
377
|
+
@keyframes cd-bounce-2 {
|
378
|
+
0% {
|
379
|
+
opacity: 0;
|
380
|
+
-webkit-transform: translateX(-100px);
|
381
|
+
-moz-transform: translateX(-100px);
|
382
|
+
-ms-transform: translateX(-100px);
|
383
|
+
-o-transform: translateX(-100px);
|
384
|
+
transform: translateX(-100px);
|
385
|
+
}
|
386
|
+
|
387
|
+
60% {
|
388
|
+
opacity: 1;
|
389
|
+
-webkit-transform: translateX(20px);
|
390
|
+
-moz-transform: translateX(20px);
|
391
|
+
-ms-transform: translateX(20px);
|
392
|
+
-o-transform: translateX(20px);
|
393
|
+
transform: translateX(20px);
|
394
|
+
}
|
395
|
+
|
396
|
+
100% {
|
397
|
+
-webkit-transform: translateX(0);
|
398
|
+
-moz-transform: translateX(0);
|
399
|
+
-ms-transform: translateX(0);
|
400
|
+
-o-transform: translateX(0);
|
401
|
+
transform: translateX(0);
|
402
|
+
}
|
403
|
+
}
|
404
|
+
@-webkit-keyframes cd-bounce-2-inverse {
|
405
|
+
0% {
|
406
|
+
opacity: 0;
|
407
|
+
-webkit-transform: translateX(100px);
|
408
|
+
}
|
409
|
+
|
410
|
+
60% {
|
411
|
+
opacity: 1;
|
412
|
+
-webkit-transform: translateX(-20px);
|
413
|
+
}
|
414
|
+
|
415
|
+
100% {
|
416
|
+
-webkit-transform: translateX(0);
|
417
|
+
}
|
418
|
+
}
|
419
|
+
@-moz-keyframes cd-bounce-2-inverse {
|
420
|
+
0% {
|
421
|
+
opacity: 0;
|
422
|
+
-moz-transform: translateX(100px);
|
423
|
+
}
|
424
|
+
|
425
|
+
60% {
|
426
|
+
opacity: 1;
|
427
|
+
-moz-transform: translateX(-20px);
|
428
|
+
}
|
429
|
+
|
430
|
+
100% {
|
431
|
+
-moz-transform: translateX(0);
|
432
|
+
}
|
433
|
+
}
|
434
|
+
@keyframes cd-bounce-2-inverse {
|
435
|
+
0% {
|
436
|
+
opacity: 0;
|
437
|
+
-webkit-transform: translateX(100px);
|
438
|
+
-moz-transform: translateX(100px);
|
439
|
+
-ms-transform: translateX(100px);
|
440
|
+
-o-transform: translateX(100px);
|
441
|
+
transform: translateX(100px);
|
442
|
+
}
|
443
|
+
|
444
|
+
60% {
|
445
|
+
opacity: 1;
|
446
|
+
-webkit-transform: translateX(-20px);
|
447
|
+
-moz-transform: translateX(-20px);
|
448
|
+
-ms-transform: translateX(-20px);
|
449
|
+
-o-transform: translateX(-20px);
|
450
|
+
transform: translateX(-20px);
|
451
|
+
}
|
452
|
+
|
453
|
+
100% {
|
454
|
+
-webkit-transform: translateX(0);
|
455
|
+
-moz-transform: translateX(0);
|
456
|
+
-ms-transform: translateX(0);
|
457
|
+
-o-transform: translateX(0);
|
458
|
+
transform: translateX(0);
|
459
|
+
}
|
460
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="24px" height="24px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
6
|
+
<style type="text/css">
|
7
|
+
.st0{fill:#FFFFFF;}
|
8
|
+
</style>
|
9
|
+
<path class="st0" d="M12,1C7.6,1,4,4.6,4,9C4,16,12,23,12,23S20,16,20,9C20,4.6,16.4,1,12,1z M12,11.9c-1.6,0-3-1.3-3-3s1.3-3,3-3
|
10
|
+
s3,1.3,3,3S13.6,11.9,12,11.9z"/>
|
11
|
+
</svg>
|