minimart 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +21 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +13 -0
  5. data/Gemfile +3 -0
  6. data/README.md +198 -0
  7. data/Rakefile +45 -0
  8. data/bin/minimart +4 -0
  9. data/lib/minimart.rb +15 -0
  10. data/lib/minimart/cli.rb +93 -0
  11. data/lib/minimart/commands/mirror.rb +30 -0
  12. data/lib/minimart/commands/web.rb +91 -0
  13. data/lib/minimart/configuration.rb +46 -0
  14. data/lib/minimart/cookbook.rb +173 -0
  15. data/lib/minimart/download/cookbook.rb +70 -0
  16. data/lib/minimart/download/git_cache.rb +60 -0
  17. data/lib/minimart/download/git_repository.rb +41 -0
  18. data/lib/minimart/error.rb +32 -0
  19. data/lib/minimart/inventory_requirement/base_requirement.rb +81 -0
  20. data/lib/minimart/inventory_requirement/git_requirement.rb +87 -0
  21. data/lib/minimart/inventory_requirement/git_requirements_builder.rb +101 -0
  22. data/lib/minimart/inventory_requirement/local_path_requirement.rb +45 -0
  23. data/lib/minimart/inventory_requirement/local_requirements_builder.rb +31 -0
  24. data/lib/minimart/inventory_requirement/supermarket_requirements_builder.rb +35 -0
  25. data/lib/minimart/mirror.rb +12 -0
  26. data/lib/minimart/mirror/dependency_graph.rb +73 -0
  27. data/lib/minimart/mirror/download_metadata.rb +57 -0
  28. data/lib/minimart/mirror/inventory_builder.rb +143 -0
  29. data/lib/minimart/mirror/inventory_configuration.rb +74 -0
  30. data/lib/minimart/mirror/inventory_requirements.rb +104 -0
  31. data/lib/minimart/mirror/local_store.rb +107 -0
  32. data/lib/minimart/mirror/source.rb +57 -0
  33. data/lib/minimart/mirror/source_cookbook.rb +77 -0
  34. data/lib/minimart/mirror/sources.rb +37 -0
  35. data/lib/minimart/output.rb +34 -0
  36. data/lib/minimart/utils/archive.rb +39 -0
  37. data/lib/minimart/utils/file_helper.rb +34 -0
  38. data/lib/minimart/utils/http.rb +60 -0
  39. data/lib/minimart/version.rb +3 -0
  40. data/lib/minimart/web.rb +10 -0
  41. data/lib/minimart/web/cookbook_show_page_generator.rb +78 -0
  42. data/lib/minimart/web/cookbooks.rb +83 -0
  43. data/lib/minimart/web/dashboard_generator.rb +46 -0
  44. data/lib/minimart/web/html_generator.rb +52 -0
  45. data/lib/minimart/web/markdown_parser.rb +47 -0
  46. data/lib/minimart/web/template_helper.rb +132 -0
  47. data/lib/minimart/web/universe_generator.rb +109 -0
  48. data/minimart.gemspec +36 -0
  49. data/spec/fixtures/sample_cookbook.tar.gz +0 -0
  50. data/spec/fixtures/sample_cookbook/Berksfile +3 -0
  51. data/spec/fixtures/sample_cookbook/CHANGELOG.md +3 -0
  52. data/spec/fixtures/sample_cookbook/Gemfile +16 -0
  53. data/spec/fixtures/sample_cookbook/LICENSE +3 -0
  54. data/spec/fixtures/sample_cookbook/README.md +42 -0
  55. data/spec/fixtures/sample_cookbook/Thorfile +5 -0
  56. data/spec/fixtures/sample_cookbook/Vagrantfile +90 -0
  57. data/spec/fixtures/sample_cookbook/chefignore +94 -0
  58. data/spec/fixtures/sample_cookbook/metadata.rb +9 -0
  59. data/spec/fixtures/sample_cookbook/recipes/default.rb +8 -0
  60. data/spec/fixtures/sample_inventory.yml +16 -0
  61. data/spec/fixtures/simple_git_inventory.yml +8 -0
  62. data/spec/fixtures/simple_inventory.yml +6 -0
  63. data/spec/fixtures/simple_local_path_inventory.yml +5 -0
  64. data/spec/fixtures/universe.json +42 -0
  65. data/spec/fixtures/vcr_cassettes/local_path_cookbooks.yml +3316 -0
  66. data/spec/fixtures/vcr_cassettes/location_specific_cookbooks.yml +3316 -0
  67. data/spec/fixtures/vcr_cassettes/supermarket_cookbooks_graph.yml +905 -0
  68. data/spec/fixtures/vcr_cassettes/supermarket_cookbooks_installing_cookbooks.yml +4218 -0
  69. data/spec/lib/minimart/cli_spec.rb +104 -0
  70. data/spec/lib/minimart/commands/mirror_spec.rb +37 -0
  71. data/spec/lib/minimart/commands/web_spec.rb +75 -0
  72. data/spec/lib/minimart/configuration_spec.rb +54 -0
  73. data/spec/lib/minimart/cookbook_spec.rb +137 -0
  74. data/spec/lib/minimart/download/cookbook_spec.rb +135 -0
  75. data/spec/lib/minimart/download/git_cache_spec.rb +69 -0
  76. data/spec/lib/minimart/download/git_repository_spec.rb +39 -0
  77. data/spec/lib/minimart/error_spec.rb +18 -0
  78. data/spec/lib/minimart/inventory_requirement/base_requirement_spec.rb +38 -0
  79. data/spec/lib/minimart/inventory_requirement/git_requirement_spec.rb +92 -0
  80. data/spec/lib/minimart/inventory_requirement/git_requirements_builder_spec.rb +130 -0
  81. data/spec/lib/minimart/inventory_requirement/local_path_requirement_spec.rb +35 -0
  82. data/spec/lib/minimart/inventory_requirement/local_requirements_builder_spec.rb +33 -0
  83. data/spec/lib/minimart/inventory_requirement/supermarket_requirements_builder_spec.rb +69 -0
  84. data/spec/lib/minimart/mirror/dependency_graph_spec.rb +123 -0
  85. data/spec/lib/minimart/mirror/download_metadata_spec.rb +73 -0
  86. data/spec/lib/minimart/mirror/inventory_builder_spec.rb +195 -0
  87. data/spec/lib/minimart/mirror/inventory_configuration_spec.rb +86 -0
  88. data/spec/lib/minimart/mirror/inventory_requirements_spec.rb +78 -0
  89. data/spec/lib/minimart/mirror/local_store_spec.rb +64 -0
  90. data/spec/lib/minimart/mirror/source_spec.rb +54 -0
  91. data/spec/lib/minimart/mirror/sources_spec.rb +50 -0
  92. data/spec/lib/minimart/output_spec.rb +29 -0
  93. data/spec/lib/minimart/utils/archive_spec.rb +38 -0
  94. data/spec/lib/minimart/utils/file_helper_spec.rb +43 -0
  95. data/spec/lib/minimart/utils/http_spec.rb +37 -0
  96. data/spec/lib/minimart/web/cookbook_show_page_generator_spec.rb +101 -0
  97. data/spec/lib/minimart/web/cookbooks_spec.rb +70 -0
  98. data/spec/lib/minimart/web/dashboard_generator_spec.rb +33 -0
  99. data/spec/lib/minimart/web/html_generator_spec.rb +34 -0
  100. data/spec/lib/minimart/web/markdown_parser_spec.rb +54 -0
  101. data/spec/lib/minimart/web/template_helper_spec.rb +86 -0
  102. data/spec/lib/minimart/web/universe_generator_spec.rb +125 -0
  103. data/spec/spec_helper.rb +35 -0
  104. data/spec/support/file_system.rb +22 -0
  105. data/web/_assets/javascripts/app.js +164 -0
  106. data/web/_assets/javascripts/backbone.min.js +6 -0
  107. data/web/_assets/javascripts/jquery.min.js +4 -0
  108. data/web/_assets/javascripts/jquery.tabslet.min.js +9 -0
  109. data/web/_assets/javascripts/manifest.js +5 -0
  110. data/web/_assets/javascripts/underscore.min.js +5 -0
  111. data/web/_assets/stylesheets/font-awesome.min.css +4 -0
  112. data/web/_assets/stylesheets/font-mfizz.css +318 -0
  113. data/web/_assets/stylesheets/main.css +720 -0
  114. data/web/_assets/stylesheets/manifest.css +4 -0
  115. data/web/_assets/stylesheets/normalize.css +427 -0
  116. data/web/assets/fonts/FontAwesome.otf +0 -0
  117. data/web/assets/fonts/font-mfizz.eot +0 -0
  118. data/web/assets/fonts/font-mfizz.svg +1344 -0
  119. data/web/assets/fonts/font-mfizz.ttf +0 -0
  120. data/web/assets/fonts/font-mfizz.woff +0 -0
  121. data/web/assets/fonts/fontawesome-webfont.eot +0 -0
  122. data/web/assets/fonts/fontawesome-webfont.svg +520 -0
  123. data/web/assets/fonts/fontawesome-webfont.ttf +0 -0
  124. data/web/assets/fonts/fontawesome-webfont.woff +0 -0
  125. data/web/assets/images/header-slim.jpg +0 -0
  126. data/web/assets/images/icon-search.png +0 -0
  127. data/web/assets/images/mad-glory-logo.png +0 -0
  128. data/web/assets/images/main-gradient.png +0 -0
  129. data/web/assets/images/top-bar-logo.png +0 -0
  130. data/web/assets/javascripts/application.min.js +5 -0
  131. data/web/assets/stylesheets/application.min.css +4 -0
  132. data/web/templates/cookbook_show.erb +96 -0
  133. data/web/templates/dashboard.erb +81 -0
  134. data/web/templates/layout.erb +38 -0
  135. metadata +433 -0
@@ -0,0 +1,720 @@
1
+ /* Extra reset */
2
+ h1, h2, h3, h4, p, ul, ol, dl {
3
+ margin: 0; }
4
+
5
+ html {
6
+ -webkit-box-sizing: border-box;
7
+ -moz-box-sizing: border-box;
8
+ box-sizing: border-box;
9
+ -webkit-font-smoothing: antialiased;
10
+ position: relative;
11
+ min-height: 100%; }
12
+
13
+ *, *:before, *:after {
14
+ -webkit-box-sizing: inherit;
15
+ -moz-box-sizing: inherit;
16
+ box-sizing: inherit; }
17
+
18
+ a {
19
+ color: inherit;
20
+ text-decoration: none; }
21
+
22
+ body {
23
+ background: #e6e6e6;
24
+ color: #677987;
25
+ font-weight: 600;
26
+ font-family: "Open Sans", sans-serif;
27
+ font-size: 18px;
28
+ line-height: 1;
29
+ margin: 0 0 100px; }
30
+ body.body-dark {
31
+ background: #13171a; }
32
+
33
+ h1 {
34
+ font-size: 48px;
35
+ font-weight: 600;
36
+ color: #d14e4e; }
37
+
38
+ h2 {
39
+ font-size: 28px;
40
+ font-weight: 600; }
41
+
42
+ h3 {
43
+ font-size: 24px;
44
+ font-weight: 600; }
45
+
46
+ h4 {
47
+ font-size: 24px;
48
+ font-weight: 600; }
49
+
50
+ a {
51
+ text-decoration: none; }
52
+
53
+ p {
54
+ margin-bottom: 20px;
55
+ line-height: 1.4; }
56
+
57
+ ul {
58
+ margin-bottom: 20px;
59
+ list-style: disc outside; }
60
+ ul li {
61
+ line-height: 1.5;}
62
+
63
+ /* Wrappers */
64
+ .outer-wrapper {
65
+ width: 1080px;
66
+ margin: 0 auto; }
67
+ .outer-wrapper::after {
68
+ clear: both;
69
+ content: "";
70
+ display: table; }
71
+
72
+ .inner-wrapper {
73
+ width: 850px;
74
+ margin: 0 auto; }
75
+
76
+ .cookbook-version-selector {
77
+ height: 40px;
78
+ padding: 6px 10px;
79
+ background-color: #f5f5f5;
80
+ border: 1px solid #d9d9d9;
81
+ border-radius: 4px;
82
+ box-shadow: none;
83
+ box-sizing: border-box; }
84
+
85
+ /* Code blocks */
86
+ pre code {
87
+ display: block;
88
+ padding: 20px;
89
+ font-size: 14px;
90
+ line-height: 20px; }
91
+
92
+ code {
93
+ font-family: Consolas, Menlo, Courier, monospace;
94
+ font-weight: normal;
95
+ white-space: pre;
96
+ background-color: #cecece;
97
+ border-radius: 3px;
98
+ color: #1d252a;
99
+ padding: 2px;
100
+ margin: 0 3px; }
101
+
102
+ .install-instructions {
103
+ font-family: "Maven Pro", sans-serif;
104
+ display: block;
105
+ padding: 20px;
106
+ font-weight: 700;
107
+ margin-left: 25px;
108
+ margin-bottom: 25px;
109
+ font-size: 18px; }
110
+
111
+ .install-instructions:first-line {
112
+ line-height: 0; }
113
+
114
+ /* Forms */
115
+ form {
116
+ border-bottom: 1px solid #d9d9d9; }
117
+
118
+ /* Buttons */
119
+ .button {
120
+ font-size: 18px;
121
+ font-weight: 400;
122
+ background-color: #d14e4e;
123
+ color: #fff;
124
+ padding: 10px 15px;
125
+ border-radius: 3px;
126
+ text-align: center;
127
+ display: inline-block; }
128
+ .button:hover {
129
+ background-color: #bb3131; }
130
+
131
+ #paginator .button {
132
+ background-color: #e6e6e6;
133
+ font-size: 14px;
134
+ color: #1D252A;
135
+ margin: 0 0;
136
+ display: inline-block;
137
+ float: left;
138
+ padding: 10px 8px; }
139
+
140
+ #paginator .button.disabled {
141
+ pointer-events: none;
142
+ background-color: #d14e4e;
143
+ color: #fff; }
144
+
145
+ /* Cookbook items */
146
+ .cookbook-item {
147
+ width: 100%;
148
+ border: 1px solid #d9d9d9;
149
+ border-radius: 3px;
150
+ background: #f5f5f5;
151
+ font-size: 14px;
152
+ font-weight: 600;
153
+ margin-bottom: 30px; }
154
+
155
+ .cookbook-item__titlebar {
156
+ border-bottom: 1px solid #d9d9d9;
157
+ padding: 15px 20px; }
158
+ .cookbook-item__titlebar .item-title {
159
+ display: inline-block;
160
+ margin-right: 30px;
161
+ font-size: 18px;
162
+ font-weight: 700;
163
+ color: #1d252a; }
164
+ .cookbook-item__titlebar .item-title:last-child {
165
+ float: right;
166
+ margin-right: 0; }
167
+ .cookbook-item__titlebar .item-title--small {
168
+ font-size: 14px;
169
+ font-weight: 600;
170
+ color: #677987; }
171
+ .cookbook-item__titlebar .item-title--light {
172
+ color: #718493; }
173
+ .cookbook-item__titlebar a:hover {
174
+ color: #d14e4e; }
175
+
176
+ .cookbook-item__content {
177
+ padding: 15px 20px;
178
+ font-size: 18px;
179
+ border-bottom: 1px solid #d9d9d9; }
180
+
181
+ .cookbook-item__footer {
182
+ padding: 10px 20px; }
183
+ .cookbook-item__footer::after {
184
+ clear: both;
185
+ content: "";
186
+ display: table; }
187
+
188
+ .cookbook-item__action {
189
+ float: right; }
190
+
191
+ /* Detail main content */
192
+ .detail-content {
193
+ width: 780px;
194
+ float: left;
195
+ padding-top: 70px;
196
+ padding-bottom: 60px; }
197
+
198
+ .detail-content__title {
199
+ font-weight: 700;
200
+ font-size: 30px;
201
+ color: #677987;
202
+ border-bottom: 1px solid #d9d9d9;
203
+ padding-bottom: 10px;
204
+ margin-bottom: 10px; }
205
+ .detail-content__title span {
206
+ font-size: 14px;
207
+ font-weight: 600;
208
+ padding-left: 30px; }
209
+
210
+ /** Markdown Content **/
211
+ .markdown {
212
+ word-wrap: break-word;
213
+ font-size: 16px; }
214
+
215
+ .markdown code {
216
+ word-wrap: normal;
217
+ overflow-x: scroll; }
218
+
219
+ .markdown h1 {
220
+ font-weight: 700;
221
+ font-size: 36px;
222
+ color: #1d252a;
223
+ margin-bottom: 25px; }
224
+
225
+ .markdown h2 {
226
+ margin-bottom: 25px;
227
+ font-size: 30px;
228
+ color: #1d252a; }
229
+
230
+ .markdown h3, h4, h5, h6 {
231
+ margin-bottom: 20px;
232
+ color: #1d252a; }
233
+
234
+ .markdown a {
235
+ color: #d14e4e; }
236
+
237
+ .markdown a:hover {
238
+ text-decoration: underline; }
239
+
240
+ .markdown li p {
241
+ white-space: pre-wrap; }
242
+
243
+ .markdown table {
244
+ margin-bottom: 20px;
245
+ width: 100%; }
246
+
247
+ .markdown table tr {
248
+ border-bottom: 1px solid #cecece; }
249
+
250
+ .markdown table tr:last-child {
251
+ border-bottom: none; }
252
+
253
+ .markdown th, td {
254
+ padding: 10px 15px;
255
+ text-align: left; }
256
+
257
+ .dependency-list a:hover {
258
+ color: #d14e4e; }
259
+
260
+ .detail-content__tabs {
261
+ border-top: 1px solid #d9d9d9;
262
+ padding-top: 30px;
263
+ margin-bottom: 20px;
264
+ margin-left: 0;
265
+ padding-left: 0;
266
+ list-style-type: none; }
267
+ .detail-content__tabs::after {
268
+ clear: both;
269
+ content: "";
270
+ display: table; }
271
+ .detail-content__tabs li {
272
+ float: left;
273
+ margin-right: 20px; }
274
+ .detail-content__tabs li:before {
275
+ content: "";
276
+ padding-right: 0; }
277
+ .detail-content__tabs a {
278
+ color: #d14e4e;
279
+ text-transform: uppercase;
280
+ font-size: 14px; }
281
+ .detail-content__tabs li.active, .detail-content__tabs li:hover {
282
+ border-bottom: 3px solid #d14e4e; }
283
+
284
+ /* Detail sidebar */
285
+ .detail-sidebar {
286
+ padding: 10px;
287
+ float: right;
288
+ width: 275px;
289
+ border: 1px solid #d9d9d9;
290
+ border-radius: 3px;
291
+ background: #f5f5f5;
292
+ margin-top: 70px;
293
+ font-size: 14px;
294
+ font-weight: 600; }
295
+ .detail-sidebar h3, .detail-sidebar h4, .detail-sidebar dt {
296
+ font-size: 14px;
297
+ font-weight: 700;
298
+ margin-bottom: 5px;
299
+ color: #677987; }
300
+
301
+ .detail-sidebar__button {
302
+ width: 100%;
303
+ margin-top: 20px; }
304
+
305
+ /* Feature blocks */
306
+ .feature-block {
307
+ padding-top: 90px;
308
+ padding-left: 310px;
309
+ color: #94a7b4; }
310
+ .feature-block + .feature-block {
311
+ padding-top: 100px; }
312
+ .feature-block:nth-child(even) {
313
+ padding-left: 0;
314
+ padding-right: 310px; }
315
+
316
+ .feature-block__title {
317
+ font-size: 36px; }
318
+
319
+ .feature-block__media {
320
+ float: left;
321
+ width: 250px;
322
+ margin-left: -310px; }
323
+
324
+ .feature-block:nth-child(even) .feature-block__media {
325
+ float: right;
326
+ margin-left: 0;
327
+ margin-right: -310px; }
328
+
329
+ .feature-block__body {
330
+ font-family: "Maven Pro", sans-serif;
331
+ font-weight: 400;
332
+ padding-top: 25px; }
333
+ .feature-block__body p {
334
+ line-height: 1.2; }
335
+
336
+ /* Footer */
337
+ .footer {
338
+ background: #0e1113;
339
+ color: #95a7b4;
340
+ text-align: center;
341
+ line-height: 62px;
342
+ display: block;
343
+ bottom: 0;
344
+ width: 100%;
345
+ position: absolute; }
346
+
347
+ .footer__logo {
348
+ display: inline-block;
349
+ margin-left: 8px;
350
+ position: relative;
351
+ top: 2px; }
352
+
353
+ /* App page header */
354
+ .header-slim {
355
+ height: 220px;
356
+ border-top: solid 5px #d14e4e;
357
+ padding-top: 70px;
358
+ background: url(../images/header-slim.jpg) bottom center no-repeat #1d252a; }
359
+
360
+ .header-slim__container {
361
+ padding-left: 540px;
362
+ width: 1080px;
363
+ margin: 0 auto; }
364
+
365
+ .header-slim__subtitle {
366
+ font-size: 28px;
367
+ color: #fff; }
368
+
369
+ /* Home page hero */
370
+ .home-hero {
371
+ z-index: 0;
372
+ height: 670px;
373
+ text-align: center;
374
+ text-shadow: 1px 0 1px rgba(0, 0, 0, 0.35);
375
+ background: #333;
376
+ overflow: hidden;
377
+ position: relative; }
378
+
379
+ .home-hero__inner {
380
+ width: 766px;
381
+ margin: 0 auto;
382
+ height: 100%;
383
+ position: relative;
384
+ background: url(../images/home-hero-bg.png) no-repeat -550px 0 #27323a; }
385
+
386
+ .home-hero__moon {
387
+ position: absolute;
388
+ left: 50px;
389
+ top: 0;
390
+ margin-top: 200px;
391
+ width: 64px;
392
+ height: 80px;
393
+ background: url(../images/home-hero-moon.png) no-repeat 0 0;
394
+ -webkit-transform: translate3d(0px, 0px, 0px);
395
+ -moz-transform: translate3d(0px, 0px, 0px);
396
+ -ms-transform: translate3d(0px, 0px, 0px);
397
+ -o-transform: translate3d(0px, 0px, 0px);
398
+ transform: translate3d(0px, 0px, 0px); }
399
+
400
+ .home-hero__buildings-bg {
401
+ position: absolute;
402
+ left: 0px;
403
+ bottom: 0;
404
+ width: 902px;
405
+ height: 348px;
406
+ background: url(../images/home-hero-buildings-bg.png) no-repeat 0 0;
407
+ -webkit-transform: translate3d(0px, 0px, 0px);
408
+ -moz-transform: translate3d(0px, 0px, 0px);
409
+ -ms-transform: translate3d(0px, 0px, 0px);
410
+ -o-transform: translate3d(0px, 0px, 0px);
411
+ transform: translate3d(0px, 0px, 0px); }
412
+
413
+ .home-hero__title {
414
+ font-weight: 700;
415
+ padding-top: 60px; }
416
+
417
+ .home-hero__subtitle {
418
+ font-size: 24px;
419
+ color: #fff; }
420
+ .home-hero__title + .home-hero__subtitle {
421
+ margin-top: -4px; }
422
+
423
+ .home-hero__bg {
424
+ height: 100%;
425
+ position: absolute;
426
+ bottom: 0;
427
+ background: none no-repeat 0 100% #1d252a;
428
+ z-index: 1;
429
+ width: 0; }
430
+
431
+ .home-hero__bg--left {
432
+ margin-left: -999px;
433
+ padding-left: 999px;
434
+ left: 0;
435
+ background-position: 100% 100%;
436
+ background-image: url(../images/home-hero-bg-left.png); }
437
+
438
+ .home-hero__bg--right {
439
+ margin-right: -999px;
440
+ padding-right: 999px;
441
+ right: 0;
442
+ background-image: url(../images/home-hero-bg-right.png); }
443
+
444
+ .home-hero__stars {
445
+ position: absolute;
446
+ left: 0;
447
+ top: 0;
448
+ width: 100%;
449
+ height: 100%;
450
+ -webkit-transform: translate3d(0px, 0px, 0px);
451
+ -moz-transform: translate3d(0px, 0px, 0px);
452
+ -ms-transform: translate3d(0px, 0px, 0px);
453
+ -o-transform: translate3d(0px, 0px, 0px);
454
+ transform: translate3d(0px, 0px, 0px); }
455
+ .home-hero__stars .home-hero__star {
456
+ position: absolute;
457
+ left: 200px;
458
+ top: 100px;
459
+ background: #f9f7b2;
460
+ width: 4px;
461
+ height: 4px;
462
+ border-radius: 50px;
463
+ opacity: 0;
464
+ -webkit-animation: twinkle 5s 1s ease-in;
465
+ -moz-animation: twinkle 5s 1s ease-in;
466
+ animation: twinkle 5s 1s ease-in;
467
+ -webkit-animation-iteration-count: infinite;
468
+ -moz-animation-iteration-count: infinite;
469
+ animation-iteration-count: infinite; }
470
+ .home-hero__stars .home-hero__star:nth-child(2) {
471
+ left: 250px;
472
+ top: 120px;
473
+ -webkit-animation-delay: 0.3s;
474
+ -moz-animation-delay: 0.3s;
475
+ animation-delay: 0.3s; }
476
+ .home-hero__stars .home-hero__star:nth-child(3) {
477
+ top: 125px;
478
+ left: 280px;
479
+ width: 2px;
480
+ height: 2px;
481
+ -webkit-animation-delay: 4s;
482
+ -moz-animation-delay: 4s;
483
+ animation-delay: 4s; }
484
+ .home-hero__stars .home-hero__star:nth-child(4) {
485
+ top: 220px;
486
+ left: 320px;
487
+ -webkit-animation-delay: 4s;
488
+ -moz-animation-delay: 4s;
489
+ animation-delay: 4s; }
490
+ .home-hero__stars .home-hero__star:nth-child(5) {
491
+ left: 600px;
492
+ top: 250px;
493
+ opacity: 1;
494
+ -webkit-animation-delay: 0.3s;
495
+ -moz-animation-delay: 0.3s;
496
+ animation-delay: 0.3s; }
497
+ .home-hero__stars .home-hero__star:nth-child(6) {
498
+ left: 630px;
499
+ top: 210px;
500
+ opacity: 1;
501
+ width: 2px;
502
+ height: 2px;
503
+ -webkit-animation-delay: 4s;
504
+ -moz-animation-delay: 4s;
505
+ animation-delay: 4s; }
506
+ .home-hero__stars .home-hero__star:nth-child(7) {
507
+ left: 550px;
508
+ top: 255px;
509
+ -webkit-animation-delay: 4s;
510
+ -moz-animation-delay: 4s;
511
+ animation-delay: 4s; }
512
+ .home-hero__stars .home-hero__star:nth-child(8) {
513
+ left: 400px;
514
+ top: 225px; }
515
+
516
+ .home-hero__buildings {
517
+ background-image: url(../images/home-hero-buildings.png);
518
+ background-repeat: no-repeat;
519
+ background-position: 70px 0;
520
+ width: 902px;
521
+ height: 392px;
522
+ position: absolute;
523
+ bottom: -14px; }
524
+
525
+ /* Lamp post */
526
+ .wrapper-for-lamppost {
527
+ position: relative; }
528
+
529
+ .wrapper-for-lamppost__inner {
530
+ position: relative;
531
+ height: 100%; }
532
+
533
+ .lamppost {
534
+ position: absolute;
535
+ width: 439px;
536
+ height: 364px;
537
+ bottom: -47px;
538
+ right: -69px; }
539
+
540
+ .lamppost__main,
541
+ .lamppost__bulb,
542
+ .lamppost__highlight {
543
+ width: 100%;
544
+ height: 100%;
545
+ position: absolute;
546
+ left: 0;
547
+ top: 0; }
548
+
549
+ .lamppost__main {
550
+ background: url(../images/lamppost.png) no-repeat 0 0; }
551
+
552
+ .lamppost__bulb {
553
+ background: url(../images/lamppost-bulb.png) no-repeat 0 0;
554
+ -webkit-animation: flicker 5s 1s ease-in;
555
+ -moz-animation: flicker 5s 1s ease-in;
556
+ animation: flicker 5s 1s ease-in;
557
+ -webkit-animation-iteration-count: infinite;
558
+ -moz-animation-iteration-count: infinite;
559
+ animation-iteration-count: infinite; }
560
+
561
+ .lamppost__highlight {
562
+ background: url(../images/lamppost-highlight.png) no-repeat 0 0;
563
+ -webkit-animation: flicker 5s 1s ease-in;
564
+ -moz-animation: flicker 5s 1s ease-in;
565
+ animation: flicker 5s 1s ease-in;
566
+ -webkit-animation-iteration-count: infinite;
567
+ -moz-animation-iteration-count: infinite;
568
+ animation-iteration-count: infinite; }
569
+
570
+ .ground-highlight {
571
+ background: url(../images/ground-highlight.png) no-repeat 0 0;
572
+ width: 621px;
573
+ height: 31px;
574
+ position: absolute;
575
+ bottom: -31px;
576
+ right: -131px;
577
+ -webkit-animation: flicker 5s 1s ease-in;
578
+ -moz-animation: flicker 5s 1s ease-in;
579
+ animation: flicker 5s 1s ease-in;
580
+ -webkit-animation-iteration-count: infinite;
581
+ -moz-animation-iteration-count: infinite;
582
+ animation-iteration-count: infinite; }
583
+
584
+ /* Home main */
585
+ .home-main {
586
+ padding-bottom: 60px;
587
+ background: url(../images/main-gradient.png) no-repeat 0 0; }
588
+
589
+ /* Supported platform list */
590
+ .platform-list {
591
+ float: left; }
592
+ .platform-list dt {
593
+ font-size: 12px;
594
+ text-transform: uppercase;
595
+ padding-bottom: 5px; }
596
+ .platform-list dd {
597
+ float: left;
598
+ display: inline;
599
+ margin-left: 0;
600
+ margin-right: 5px; }
601
+
602
+ /* Cookbook results title */
603
+ .results-title {
604
+ padding: 20px 0 25px;
605
+ font-family: "Maven Pro", sans-serif; }
606
+
607
+ /* Scroll reveal */
608
+ .scroll-reveal {
609
+ opacity: 0;
610
+ -webkit-transition: all 1.5s ease;
611
+ -moz-transition: all 1.5s ease;
612
+ transition: all 1.5s ease;
613
+ -webkit-transform: translate3d(0px, 50px, 0px);
614
+ -moz-transform: translate3d(0px, 50px, 0px);
615
+ -ms-transform: translate3d(0px, 50px, 0px);
616
+ -o-transform: translate3d(0px, 50px, 0px);
617
+ transform: translate3d(0px, 50px, 0px); }
618
+ .scroll-reveal.is-visible {
619
+ opacity: 1;
620
+ -webkit-transform: translate3d(0px, 0px, 0px);
621
+ -moz-transform: translate3d(0px, 0px, 0px);
622
+ -ms-transform: translate3d(0px, 0px, 0px);
623
+ -o-transform: translate3d(0px, 0px, 0px);
624
+ transform: translate3d(0px, 0px, 0px); }
625
+
626
+ /* Search bar */
627
+ .search {
628
+ width: 860px;
629
+ display: table;
630
+ margin: 0 auto;
631
+ padding: 45px 0 40px;
632
+ table-layout: fixed;
633
+ font-size: 24px;
634
+ font-weight: 400; }
635
+
636
+ .search__td {
637
+ display: table-cell;
638
+ vertical-align: top; }
639
+
640
+ .search__td input {
641
+ width: 100%;
642
+ height: 58px;
643
+ line-height: 58px;
644
+ padding-left: 70px;
645
+ border: none;
646
+ color: #fff;
647
+ border-top-left-radius: 3px;
648
+ border-bottom-left-radius: 3px;
649
+ background: url(../images/icon-search.png) 20px 20px no-repeat #677987;
650
+ outline: none; }
651
+ .search__td input::-webkit-input-placeholder {
652
+ color: #fff; }
653
+ .search__td input::-moz-placeholder {
654
+ color: #fff; }
655
+ .search__td input:-moz-placeholder {
656
+ color: #fff; }
657
+ .search__td input:-ms-input-placeholder {
658
+ color: #fff; }
659
+
660
+ .search__td button {
661
+ line-height: 60px;
662
+ padding: 0 20px;
663
+ background-color: #d14e4e;
664
+ color: #fff;
665
+ border: none;
666
+ border-top-right-radius: 3px;
667
+ border-bottom-right-radius: 3px; }
668
+ .search__td button:hover {
669
+ background: #bb3131; }
670
+
671
+ .search__td--btn {
672
+ width: 115px; }
673
+
674
+ /* Fixed top bar */
675
+ .top-bar {
676
+ position: fixed;
677
+ z-index: 1;
678
+ top: 0;
679
+ left: 0;
680
+ height: 65px;
681
+ width: 100%;
682
+ background: rgba(24, 31, 34, 0.8); }
683
+
684
+ .top-bar__inner {
685
+ display: table;
686
+ table-layout: fixed;
687
+ height: 100%; }
688
+
689
+ .top-bar__cell {
690
+ display: table-cell;
691
+ vertical-align: middle;
692
+ width: 50%; }
693
+
694
+ .top-bar__actions {
695
+ text-align: right; }
696
+
697
+ .top-bar__logo {
698
+ width: 242px;
699
+ height: auto;
700
+ display: block; }
701
+
702
+ .after-top-bar {
703
+ padding-top: 65px; }
704
+
705
+ /** Normalizing Icon Names **/
706
+ .icon-apple,
707
+ .icon-laptop,
708
+ .icon-question,
709
+ .icon-windows {
710
+ display: inline-block;
711
+ font: normal normal normal 14px/1 FontAwesome;
712
+ font-size: inherit;
713
+ text-rendering: auto;
714
+ -webkit-font-smoothing: antialiased;
715
+ -moz-osx-font-smoothing: grayscale; }
716
+
717
+ .icon-apple:before { content: "\f179"; }
718
+ .icon-laptop:before { content: "\f109"; }
719
+ .icon-question:before { content: "\f128" }
720
+ .icon-windows:before { content: "\f17a"; }