codepipeline 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +16 -11
  3. data/.gitmodules +9 -0
  4. data/.rspec +1 -1
  5. data/CHANGELOG.md +16 -0
  6. data/Gemfile +3 -1
  7. data/Gemfile.lock +111 -0
  8. data/Guardfile +19 -0
  9. data/LICENSE.txt +18 -17
  10. data/README.md +44 -20
  11. data/Rakefile +10 -2
  12. data/codepipe.gemspec +38 -0
  13. data/docs/.gitignore +4 -0
  14. data/docs/CNAME +1 -0
  15. data/docs/Gemfile +3 -0
  16. data/docs/LICENSE +21 -0
  17. data/docs/README.md +25 -0
  18. data/docs/_config.yml +73 -0
  19. data/docs/_docs/contributing.md +99 -0
  20. data/docs/_docs/conventions.md +43 -0
  21. data/docs/_docs/deploy.md +72 -0
  22. data/docs/_docs/dsl.md +13 -0
  23. data/docs/_docs/dsl/approve.md +62 -0
  24. data/docs/_docs/dsl/pipeline.md +56 -0
  25. data/docs/_docs/dsl/pipeline/action.md +28 -0
  26. data/docs/_docs/dsl/pipeline/codebuild.md +62 -0
  27. data/docs/_docs/dsl/pipeline/prefix-and-suffix.md +57 -0
  28. data/docs/_docs/dsl/role.md +79 -0
  29. data/docs/_docs/dsl/schedule.md +29 -0
  30. data/docs/_docs/dsl/sns.md +27 -0
  31. data/docs/_docs/dsl/webhook.md +31 -0
  32. data/docs/_docs/ecs-deploy.md +24 -0
  33. data/docs/_docs/examples/different-branches.md +50 -0
  34. data/docs/_docs/install.md +14 -0
  35. data/docs/_docs/next-steps.md +16 -0
  36. data/docs/_docs/settings.md +34 -0
  37. data/docs/_docs/start.md +31 -0
  38. data/docs/_includes/commands.html +92 -0
  39. data/docs/_includes/content.html +25 -0
  40. data/docs/_includes/edit-on-github.html +9 -0
  41. data/docs/_includes/footer.html +41 -0
  42. data/docs/_includes/google_analytics.html +10 -0
  43. data/docs/_includes/head.html +45 -0
  44. data/docs/_includes/js.html +15 -0
  45. data/docs/_includes/nav.html +17 -0
  46. data/docs/_includes/prev_next.md +19 -0
  47. data/docs/_includes/reference.md +1 -0
  48. data/docs/_includes/subnav.html +46 -0
  49. data/docs/_includes/tutorials.md +38 -0
  50. data/docs/_layouts/default.html +12 -0
  51. data/docs/_reference/pipe-completion.md +44 -0
  52. data/docs/_reference/pipe-completion_script.md +25 -0
  53. data/docs/_reference/pipe-delete.md +25 -0
  54. data/docs/_reference/pipe-deploy.md +26 -0
  55. data/docs/_reference/pipe-init.md +25 -0
  56. data/docs/_reference/pipe-start.md +25 -0
  57. data/docs/_reference/pipe-version.md +21 -0
  58. data/docs/_sass/_bootstrap-overrides.scss +40 -0
  59. data/docs/_sass/_contact.scss +49 -0
  60. data/docs/_sass/_cta.scss +37 -0
  61. data/docs/_sass/_download.scss +31 -0
  62. data/docs/_sass/_features.scss +47 -0
  63. data/docs/_sass/_footer.scss +49 -0
  64. data/docs/_sass/_global.scss +102 -0
  65. data/docs/_sass/_main.scss +364 -0
  66. data/docs/_sass/_masthead.scss +70 -0
  67. data/docs/_sass/_mixins.scss +79 -0
  68. data/docs/_sass/_navbar.scss +92 -0
  69. data/docs/_sass/_syntax.scss +65 -0
  70. data/docs/_sass/_table.scss +34 -0
  71. data/docs/_sass/_timeline.scss +207 -0
  72. data/docs/_sass/_variables.scss +24 -0
  73. data/docs/bin/web +8 -0
  74. data/docs/docs.md +24 -0
  75. data/docs/dsl/pipeline.md +76 -0
  76. data/docs/dsl/role.md +66 -0
  77. data/docs/dsl/schedule.md +20 -0
  78. data/docs/img/docs/codepipeline-output.png +0 -0
  79. data/docs/img/logos/boltops-logo-full.png +0 -0
  80. data/docs/img/logos/boltops-logo.png +0 -0
  81. data/docs/img/logos/project-logo.png +0 -0
  82. data/docs/index.html +35 -0
  83. data/docs/js/nav.js +39 -0
  84. data/docs/js/new-age.js +38 -0
  85. data/docs/js/new-age.min.js +6 -0
  86. data/docs/new-age.scss +20 -0
  87. data/docs/quick-start.md +73 -0
  88. data/docs/reference.md +12 -0
  89. data/docs/support.md +22 -0
  90. data/docs/vendor/bootstrap/css/bootstrap-grid.css +1339 -0
  91. data/docs/vendor/bootstrap/css/bootstrap-grid.css.map +1 -0
  92. data/docs/vendor/bootstrap/css/bootstrap-grid.min.css +1 -0
  93. data/docs/vendor/bootstrap/css/bootstrap-grid.min.css.map +1 -0
  94. data/docs/vendor/bootstrap/css/bootstrap-reboot.css +459 -0
  95. data/docs/vendor/bootstrap/css/bootstrap-reboot.css.map +1 -0
  96. data/docs/vendor/bootstrap/css/bootstrap-reboot.min.css +1 -0
  97. data/docs/vendor/bootstrap/css/bootstrap-reboot.min.css.map +1 -0
  98. data/docs/vendor/bootstrap/css/bootstrap.css +9320 -0
  99. data/docs/vendor/bootstrap/css/bootstrap.css.map +1 -0
  100. data/docs/vendor/bootstrap/css/bootstrap.min.css +6 -0
  101. data/docs/vendor/bootstrap/css/bootstrap.min.css.map +1 -0
  102. data/docs/vendor/bootstrap/js/bootstrap.js +3535 -0
  103. data/docs/vendor/bootstrap/js/bootstrap.min.js +7 -0
  104. data/docs/vendor/font-awesome/css/font-awesome.css +2337 -0
  105. data/docs/vendor/font-awesome/css/font-awesome.min.css +4 -0
  106. data/docs/vendor/font-awesome/fonts/FontAwesome.otf +0 -0
  107. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  108. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
  109. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  110. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  111. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  112. data/docs/vendor/font-awesome/less/animated.less +34 -0
  113. data/docs/vendor/font-awesome/less/bordered-pulled.less +25 -0
  114. data/docs/vendor/font-awesome/less/core.less +12 -0
  115. data/docs/vendor/font-awesome/less/fixed-width.less +6 -0
  116. data/docs/vendor/font-awesome/less/font-awesome.less +18 -0
  117. data/docs/vendor/font-awesome/less/icons.less +789 -0
  118. data/docs/vendor/font-awesome/less/larger.less +13 -0
  119. data/docs/vendor/font-awesome/less/list.less +19 -0
  120. data/docs/vendor/font-awesome/less/mixins.less +60 -0
  121. data/docs/vendor/font-awesome/less/path.less +15 -0
  122. data/docs/vendor/font-awesome/less/rotated-flipped.less +20 -0
  123. data/docs/vendor/font-awesome/less/screen-reader.less +5 -0
  124. data/docs/vendor/font-awesome/less/stacked.less +20 -0
  125. data/docs/vendor/font-awesome/less/variables.less +799 -0
  126. data/docs/vendor/font-awesome/scss/_animated.scss +34 -0
  127. data/docs/vendor/font-awesome/scss/_bordered-pulled.scss +25 -0
  128. data/docs/vendor/font-awesome/scss/_core.scss +12 -0
  129. data/docs/vendor/font-awesome/scss/_fixed-width.scss +6 -0
  130. data/docs/vendor/font-awesome/scss/_icons.scss +789 -0
  131. data/docs/vendor/font-awesome/scss/_larger.scss +13 -0
  132. data/docs/vendor/font-awesome/scss/_list.scss +19 -0
  133. data/docs/vendor/font-awesome/scss/_mixins.scss +60 -0
  134. data/docs/vendor/font-awesome/scss/_path.scss +15 -0
  135. data/docs/vendor/font-awesome/scss/_rotated-flipped.scss +20 -0
  136. data/docs/vendor/font-awesome/scss/_screen-reader.scss +5 -0
  137. data/docs/vendor/font-awesome/scss/_stacked.scss +20 -0
  138. data/docs/vendor/font-awesome/scss/_variables.scss +799 -0
  139. data/docs/vendor/font-awesome/scss/font-awesome.scss +18 -0
  140. data/docs/vendor/jquery-easing/jquery.easing.compatibility.js +59 -0
  141. data/docs/vendor/jquery-easing/jquery.easing.js +166 -0
  142. data/docs/vendor/jquery-easing/jquery.easing.min.js +1 -0
  143. data/docs/vendor/jquery/jquery.js +10253 -0
  144. data/docs/vendor/jquery/jquery.min.js +4 -0
  145. data/docs/vendor/simple-line-icons/css/simple-line-icons.css +778 -0
  146. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.eot +0 -0
  147. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.svg +200 -0
  148. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.ttf +0 -0
  149. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.woff +0 -0
  150. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.woff2 +0 -0
  151. data/docs/vendor/simple-line-icons/less/simple-line-icons.less +982 -0
  152. data/docs/vendor/simple-line-icons/scss/simple-line-icons.scss +979 -0
  153. data/docs/vendor/tether/tether.js +1811 -0
  154. data/docs/vendor/tether/tether.min.js +1 -0
  155. data/exe/codepipeline +14 -0
  156. data/exe/pipe +14 -0
  157. data/lib/codepipe.rb +23 -0
  158. data/lib/codepipe/autoloader.rb +21 -0
  159. data/lib/codepipe/aws_services.rb +20 -0
  160. data/lib/codepipe/aws_services/helpers.rb +71 -0
  161. data/lib/codepipe/build.rb +13 -0
  162. data/lib/codepipe/cli.rb +60 -0
  163. data/lib/codepipe/command.rb +82 -0
  164. data/lib/codepipe/completer.rb +159 -0
  165. data/lib/codepipe/completer/script.rb +6 -0
  166. data/lib/codepipe/completer/script.sh +10 -0
  167. data/lib/codepipe/core.rb +63 -0
  168. data/lib/codepipe/create.rb +12 -0
  169. data/lib/codepipe/delete.rb +27 -0
  170. data/lib/codepipe/deploy.rb +40 -0
  171. data/lib/codepipe/dsl/pipeline.rb +37 -0
  172. data/lib/codepipe/dsl/pipeline/approve.rb +34 -0
  173. data/lib/codepipe/dsl/pipeline/codebuild.rb +57 -0
  174. data/lib/codepipe/dsl/pipeline/github.rb +36 -0
  175. data/lib/codepipe/dsl/role.rb +50 -0
  176. data/lib/codepipe/dsl/schedule.rb +30 -0
  177. data/lib/codepipe/dsl/sns.rb +15 -0
  178. data/lib/codepipe/dsl/ssm.rb +22 -0
  179. data/lib/codepipe/dsl/webhook.rb +27 -0
  180. data/lib/codepipe/evaluate.rb +47 -0
  181. data/lib/codepipe/help.rb +9 -0
  182. data/lib/codepipe/help/completion.md +22 -0
  183. data/lib/codepipe/help/completion_script.md +3 -0
  184. data/lib/codepipe/help/hello.md +5 -0
  185. data/lib/codepipe/init.rb +57 -0
  186. data/lib/codepipe/pipeline.rb +61 -0
  187. data/lib/codepipe/pipeline/s3_bucket.rb +88 -0
  188. data/lib/codepipe/role.rb +181 -0
  189. data/lib/codepipe/schedule.rb +99 -0
  190. data/lib/codepipe/sequence.rb +66 -0
  191. data/lib/codepipe/setting.rb +79 -0
  192. data/lib/codepipe/sns.rb +43 -0
  193. data/lib/codepipe/stack.rb +95 -0
  194. data/lib/codepipe/start.rb +83 -0
  195. data/lib/codepipe/update.rb +12 -0
  196. data/lib/codepipe/version.rb +3 -0
  197. data/lib/codepipe/webhook.rb +60 -0
  198. data/lib/codepipeline.rb +1 -6
  199. data/lib/template/.codepipeline/pipeline.rb.tt +33 -0
  200. data/lib/template/.codepipeline/schedule.rb +3 -0
  201. data/lib/template/.codepipeline/settings.yml +9 -0
  202. data/lib/template/.codepipeline/sns.rb +14 -0
  203. data/spec/fixtures/app/.codepipeline/pipeline.rb +12 -0
  204. data/spec/fixtures/app/.codepipeline/schedule.rb +1 -0
  205. data/spec/fixtures/app/.codepipeline/webhook.rb +1 -0
  206. data/spec/fixtures/pipelines/approve.rb +22 -0
  207. data/spec/fixtures/pipelines/approve_existing_sns.rb +24 -0
  208. data/spec/lib/cli_spec.rb +18 -0
  209. data/spec/lib/pipeline/approve_spec.rb +32 -0
  210. data/spec/lib/pipeline_spec.rb +12 -0
  211. data/spec/lib/role_spec.rb +12 -0
  212. data/spec/lib/schedule_spec.rb +12 -0
  213. data/spec/lib/webhook_spec.rb +12 -0
  214. data/spec/spec_helper.rb +35 -0
  215. metadata +419 -22
  216. data/.travis.yml +0 -7
  217. data/bin/console +0 -14
  218. data/bin/setup +0 -8
  219. data/codepipeline.gemspec +0 -27
  220. data/lib/codepipeline/version.rb +0 -3
@@ -0,0 +1,364 @@
1
+ .masthead {
2
+ h1 {
3
+ font-size: 2.2em;
4
+ font-weight: bold;
5
+ }
6
+ h2 {
7
+ font-size: 1.7em;
8
+ line-height: 1.3em;
9
+ padding-bottom: 20px;
10
+ }
11
+ }
12
+ .homepage-logo {
13
+ width: 60%;
14
+ margin: auto;
15
+ text-align: center;
16
+ display: block;
17
+ padding-bottom: 30px;
18
+
19
+ @media (min-width: 575px) {
20
+ width: 100%;
21
+ position: absolute;
22
+ top: 50%;
23
+ max-width: none;
24
+ margin: 0;
25
+ transform: translateY(-50%);
26
+ }
27
+ }
28
+
29
+ pre {
30
+ background-color: #ecf0f1;
31
+ padding: 10px;
32
+ margin: 0 0 10.5px;
33
+ }
34
+
35
+ .navbar-logo {
36
+ max-height: 25px;
37
+ @media (min-width: 992px) {
38
+ max-height: 55px;
39
+ }
40
+ }
41
+
42
+ ol.overview-stages li {
43
+ padding: 10px 0;
44
+ }
45
+
46
+ section#main {
47
+ text-align: center;
48
+ color: #fff;
49
+ background: $site-color-primary;
50
+ }
51
+
52
+ section#main .container {
53
+ padding-top: 60px;
54
+ padding-bottom: 50px;
55
+ }
56
+
57
+ section#main img {
58
+ display: block;
59
+ margin: 0 auto 20px;
60
+ }
61
+
62
+ section#main .intro-text .name {
63
+ display: block;
64
+ text-transform: uppercase;
65
+ font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
66
+ font-size: 2em;
67
+ font-weight: 700;
68
+ }
69
+
70
+ section#main .intro-text .skills {
71
+ font-size: 1.25em;
72
+ font-weight: 300;
73
+ }
74
+
75
+ @media(min-width:768px) {
76
+ section#main {
77
+ text-align: left;
78
+ }
79
+
80
+ section#main .container {
81
+ padding-top: 60px;
82
+ padding-bottom: 40px;
83
+ }
84
+
85
+ section#main .intro-text .name {
86
+ font-size: 4.75em;
87
+ }
88
+
89
+ section#main .intro-text .skills {
90
+ font-size: 1.75em;
91
+ }
92
+ }
93
+
94
+ .content-body {
95
+ text-align: left;
96
+ margin-top: 30px;
97
+ @media (min-width: 992px) {
98
+ margin-top: 35px;
99
+ }
100
+ }
101
+
102
+ .content-body {
103
+ img {
104
+ max-width: 95%;
105
+ }
106
+ }
107
+
108
+ .content-body {
109
+ h1 {
110
+ font-size: 1.8em;
111
+ }
112
+ h2 {
113
+ font-size: 1.4em;
114
+ }
115
+ h3 {
116
+ font-size: 1.2em;
117
+ }
118
+ }
119
+
120
+ .content-body ul,
121
+ .content-body ol {
122
+ margin-top: 0;
123
+ }
124
+ .content-body ul li,
125
+ .content-body ol li {
126
+ }
127
+
128
+ .content-nav {
129
+ /*background-color: green;*/
130
+ margin-top: 20px;
131
+ font-size: 1.25em;
132
+ }
133
+
134
+ .content-nav ul, .content-nav ol {
135
+ list-style-type: none;
136
+ margin-left: 0;
137
+ padding-left: 10px;
138
+ }
139
+
140
+ .content-nav a {
141
+ color: #484d4e;
142
+ }
143
+
144
+ .content-nav a.active {
145
+ color: #101010;
146
+ text-decoration: underline;
147
+ font-weight: bold;
148
+ }
149
+
150
+ .reference-nav {
151
+ // background-color: blue;
152
+ margin-top: 30px;
153
+ margin-bottom: -10px;
154
+ }
155
+
156
+ footer h3 {
157
+ margin-bottom: 25px;
158
+ }
159
+
160
+ footer img.footer-logo {
161
+ width: 240px;
162
+ }
163
+
164
+ img.doc-photo {
165
+ width: 100%;
166
+ }
167
+
168
+ .commands {
169
+ max-width: 400px;
170
+ margin-right: auto;
171
+ }
172
+
173
+ /*footer*/
174
+ ul.tools {
175
+ margin-top: 0;
176
+ }
177
+ ul.tools li {
178
+ font-size: 1.3em;
179
+ }
180
+
181
+
182
+
183
+ .btn-xl {
184
+ padding: 20px 40px;
185
+ border-color: $site-color-primary;
186
+ border-radius: 3px;
187
+ text-transform: uppercase;
188
+ font-family: $site-color-primary;
189
+ font-size: 18px;
190
+ font-weight: 700;
191
+ color: #fff;
192
+ background-color: $site-color-primary;
193
+ }
194
+
195
+ .edit-on-github {
196
+ font-size: 0.75em;
197
+ border-top: thin solid white;
198
+ border-bottom: thin solid white;
199
+ padding: 20px 0;
200
+ margin-top: 80px;
201
+ // background-color: red;
202
+ }
203
+
204
+ .edit-on-github h2 {
205
+ font-size: 1.8em;
206
+ // font-weight: bold;
207
+ }
208
+
209
+ .use-cases {
210
+ font-size: 1.25em;
211
+ }
212
+
213
+ .use-cases li {
214
+ margin-bottom: 15px;
215
+ }
216
+
217
+ .keyboard-tip {
218
+ display: none;
219
+ }
220
+ @media(min-width:992px) {
221
+ .keyboard-tip {
222
+ display: block;
223
+ font-size: 0.9em;
224
+ }
225
+ }
226
+
227
+
228
+ // https://coolestguidesontheplanet.com/videodrome/youtube/
229
+ // I added another box wrapper to control the width
230
+ .content-body {
231
+ .video-box {
232
+ max-width: 600px;
233
+ text-align: left;
234
+ margin: 0 auto 0 0;
235
+ padding-bottom: 20px;
236
+ .video-container {
237
+ position:relative;
238
+ padding-bottom:56.25%;
239
+ padding-top:30px;
240
+ height:0;
241
+ overflow:hidden;
242
+ }
243
+
244
+ .video-container iframe, .video-container object, .video-container embed {
245
+ position:absolute;
246
+ top:0;
247
+ left:0;
248
+ width:100%;
249
+ height:100%;
250
+ }
251
+ }
252
+ }
253
+
254
+ .content-body-list {
255
+ .video-container iframe, .video-container object, .video-container embed {
256
+ width: 180px;
257
+ @media (min-width: 768px) {
258
+ /* 16:9 ratio */
259
+ width: 300px;
260
+ height: 169px;
261
+ }
262
+ }
263
+ }
264
+
265
+ #timeline {
266
+ img {
267
+ width: 100%;
268
+ height: 100%;
269
+ object-fit: contain;
270
+ }
271
+ }
272
+
273
+ .learning-content {
274
+ padding-top: 30px;
275
+ }
276
+
277
+ .article-box {
278
+ padding-top: 20px;
279
+ }
280
+
281
+ .related-body {
282
+ font-family: "Calibre", -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", "Segoe UI", "Lucida Grande", "Helvetica Neue", "Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;
283
+ font-size: 1.15em;
284
+ padding-bottom: 10px;
285
+ position: relative;
286
+ // background-color: yellow;
287
+ // border: 1px solid red;
288
+ @media (min-width: 1000px) {
289
+ margin-top: 0;
290
+ padding-bottom: 30px;
291
+ height: 230px;
292
+ }
293
+
294
+ .related-thumbnail {
295
+ float: left;
296
+ width: 110px;
297
+ vertical-align: middle;
298
+ text-align: center;
299
+ display: table-cell;
300
+ height: 70px;
301
+ // background-color: green;
302
+ @media (min-width: 768px) {
303
+ width: 150px;
304
+ height: 120px;
305
+ }
306
+ @media (min-width: 1000px) {
307
+ width: inherit;
308
+ height: 160px;
309
+ text-align: center;
310
+ // background-color: orange;
311
+ display: block;
312
+ float: none;
313
+ }
314
+ img.center-crop {
315
+ object-fit: contain;
316
+ object-position: center; /* Center the image within the element */
317
+ height: 64px;
318
+ @media (min-width: 768px) {
319
+ height: 110px;
320
+ }
321
+ @media (min-width: 1000px) {
322
+ height: 160px;
323
+ }
324
+ }
325
+ }
326
+ .related-link {
327
+ // background-color: red;
328
+ vertical-align: top;
329
+ display: table-cell;
330
+ height: 70px;
331
+ padding-left: 15px;
332
+ @media (min-width: 1000px) {
333
+ height: 50px;
334
+ display: block;
335
+ clear: both;
336
+ padding-top: 10px;
337
+ margin-bottom: 5px;
338
+ text-align: center;
339
+ }
340
+ a {
341
+ display: block;
342
+ vertical-align: middle;
343
+ line-height: normal;
344
+ }
345
+ }
346
+ }
347
+
348
+ .related-body:after {
349
+ content: "";
350
+ display: table;
351
+ clear: both;
352
+ }
353
+
354
+ .related-filler {
355
+ @media (min-width: 1000px) {
356
+ padding: 30px;
357
+ }
358
+ }
359
+
360
+ blockquote {
361
+ padding: 12px 24px;
362
+ margin: 0 0 24px;
363
+ border-left: 5px solid #eee;
364
+ }
@@ -0,0 +1,70 @@
1
+ // Styling for the masthead
2
+ header.masthead {
3
+ position: relative;
4
+ overflow-y: hidden;
5
+ width: 100%;
6
+ min-height: auto;
7
+ color: white;
8
+ background-color: #020766;
9
+ // background: url('../img/bg-pattern.png'), $theme-secondary;
10
+ // background: url('../img/bg-pattern.png'), -webkit-linear-gradient(to left, $theme-secondary, $theme-tertiary);
11
+ // background: url('../img/bg-pattern.png'), linear-gradient(to left, $theme-secondary, $theme-tertiary);
12
+ .header-content {
13
+ position: relative;
14
+ padding: 100px 0 50px;
15
+ text-align: center;
16
+ .header-content-inner {
17
+ position: relative;
18
+ max-width: 500px;
19
+ margin: 0 auto;
20
+ h1 {
21
+ font-size: 30px;
22
+ margin-top: 0;
23
+ margin-bottom: 30px;
24
+ }
25
+ .list-badges {
26
+ margin-bottom: 25px;
27
+ img {
28
+ height: 50px;
29
+ margin-bottom: 25px;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ .device-container {
35
+ max-width: 300px;
36
+ margin: 0 auto 100px;
37
+ .screen img {
38
+ border-radius: 3px;
39
+ }
40
+ }
41
+ @media (min-width: 768px) {
42
+ min-height: 100%;
43
+ .header-content {
44
+ height: 100vh;
45
+ min-height: 600px;
46
+ padding: 0;
47
+ text-align: left;
48
+ .header-content-inner {
49
+ position: absolute;
50
+ top: 50%;
51
+ max-width: none;
52
+ margin: 0;
53
+ transform: translateY(-50%);
54
+ h1 {
55
+ font-size: 35px;
56
+ }
57
+ }
58
+ }
59
+ .device-container {
60
+ max-width: none;
61
+ max-height: calc(100vh - 100px);
62
+ margin: 100px auto 0;
63
+ }
64
+ }
65
+ @media (min-width: 992px) {
66
+ .header-content .header-content-inner h1 {
67
+ font-size: 50px;
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,79 @@
1
+ // Mixins
2
+ @mixin transition-all() {
3
+ -webkit-transition: all .35s;
4
+ -moz-transition: all .35s;
5
+ transition: all .35s;
6
+ }
7
+
8
+ @mixin background-cover() {
9
+ -webkit-background-size: cover;
10
+ -moz-background-size: cover;
11
+ -o-background-size: cover;
12
+ background-size: cover;
13
+ }
14
+
15
+ @mixin button-variant($color, $background, $border) {
16
+ color: $color;
17
+ border-color: $border;
18
+ background-color: $background;
19
+ &:focus,
20
+ &.focus {
21
+ color: $color;
22
+ border-color: darken($border, 25%);
23
+ background-color: darken($background, 10%);
24
+ }
25
+ &:hover {
26
+ color: $color;
27
+ border-color: darken($border, 12%);
28
+ background-color: darken($background, 10%);
29
+ }
30
+ &:active,
31
+ &.active,
32
+ .open > &.dropdown-toggle {
33
+ color: $color;
34
+ border-color: darken($border, 12%);
35
+ background-color: darken($background, 10%);
36
+ &:hover,
37
+ &:focus,
38
+ &.focus {
39
+ color: $color;
40
+ border-color: darken($border, 25%);
41
+ background-color: darken($background, 17%);
42
+ }
43
+ }
44
+ &:active,
45
+ &.active,
46
+ .open > &.dropdown-toggle {
47
+ background-image: none;
48
+ }
49
+ &.disabled,
50
+ &[disabled],
51
+ fieldset[disabled] & {
52
+ &:hover,
53
+ &:focus,
54
+ &.focus {
55
+ border-color: $border;
56
+ background-color: $background;
57
+ }
58
+ }
59
+ .badge {
60
+ color: $background;
61
+ background-color: $color;
62
+ }
63
+ }
64
+
65
+ @mixin heading-font {
66
+ font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
67
+ font-weight: 200;
68
+ letter-spacing: 1px;
69
+ }
70
+
71
+ @mixin body-font {
72
+ font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
73
+ }
74
+
75
+ @mixin alt-font {
76
+ font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
77
+ letter-spacing: 2px;
78
+ text-transform: uppercase;
79
+ }