locomotivecms_wagon 2.4.1 → 3.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -3
  3. data/generators/blank/app/assets/.babelrc +3 -0
  4. data/generators/blank/app/assets/fonts/.empty_directory +1 -0
  5. data/generators/blank/app/assets/javascripts/app.js +19 -0
  6. data/generators/blank/app/assets/javascripts/sections/_manager.js +94 -0
  7. data/generators/blank/app/assets/javascripts/sections/index.js +5 -0
  8. data/generators/blank/app/assets/package.json.tt +35 -0
  9. data/generators/blank/app/assets/postcss.config.js +6 -0
  10. data/generators/blank/app/assets/stylesheets/app.scss +1 -0
  11. data/generators/blank/app/assets/webpack.common.js +47 -0
  12. data/generators/blank/app/assets/webpack.dev.js +7 -0
  13. data/generators/blank/app/assets/webpack.prod.js +12 -0
  14. data/generators/blank/app/views/pages/404.liquid +1 -1
  15. data/generators/blank/app/views/pages/index.liquid +7 -15
  16. data/generators/blank/app/views/pages/layouts/default.liquid +22 -0
  17. data/generators/blank/app/views/sections/.empty_directory +1 -0
  18. data/generators/page/template.liquid.tt +11 -0
  19. data/generators/section/%type%.js.tt +26 -0
  20. data/generators/section/template.liquid.tt +183 -0
  21. data/lib/locomotive/wagon.rb +3 -2
  22. data/lib/locomotive/wagon/cli.rb +38 -10
  23. data/lib/locomotive/wagon/commands/clone_command.rb +3 -0
  24. data/lib/locomotive/wagon/commands/concerns/deploy_file_concern.rb +1 -1
  25. data/lib/locomotive/wagon/commands/concerns/steam_concern.rb +1 -1
  26. data/lib/locomotive/wagon/commands/loggers/sync_logger.rb +7 -0
  27. data/lib/locomotive/wagon/commands/pull_command.rb +1 -1
  28. data/lib/locomotive/wagon/commands/pull_sub_commands/concerns/assets_concern.rb +19 -10
  29. data/lib/locomotive/wagon/commands/pull_sub_commands/pull_base_command.rb +7 -3
  30. data/lib/locomotive/wagon/commands/pull_sub_commands/pull_content_entries_command.rb +11 -2
  31. data/lib/locomotive/wagon/commands/pull_sub_commands/pull_content_types_command.rb +1 -1
  32. data/lib/locomotive/wagon/commands/pull_sub_commands/pull_site_command.rb +24 -5
  33. data/lib/locomotive/wagon/commands/pull_sub_commands/pull_translations_command.rb +6 -1
  34. data/lib/locomotive/wagon/commands/push_command.rb +6 -4
  35. data/lib/locomotive/wagon/commands/push_sub_commands/push_pages_command.rb +6 -1
  36. data/lib/locomotive/wagon/commands/push_sub_commands/push_sections_command.rb +23 -0
  37. data/lib/locomotive/wagon/commands/push_sub_commands/push_site_command.rb +2 -0
  38. data/lib/locomotive/wagon/commands/serve_command.rb +1 -1
  39. data/lib/locomotive/wagon/commands/sync_command.rb +1 -1
  40. data/lib/locomotive/wagon/commands/sync_sub_commands/concerns/base_concern.rb +2 -2
  41. data/lib/locomotive/wagon/commands/sync_sub_commands/sync_pages_command.rb +48 -37
  42. data/lib/locomotive/wagon/commands/sync_sub_commands/sync_site_command.rb +15 -12
  43. data/lib/locomotive/wagon/commands/sync_sub_commands/sync_translations_command.rb +12 -0
  44. data/lib/locomotive/wagon/decorators/concerns/persist_assets_concern.rb +1 -1
  45. data/lib/locomotive/wagon/decorators/content_entry_decorator.rb +1 -1
  46. data/lib/locomotive/wagon/decorators/content_type_decorator.rb +5 -1
  47. data/lib/locomotive/wagon/decorators/content_type_field_decorator.rb +5 -1
  48. data/lib/locomotive/wagon/decorators/page_decorator.rb +11 -1
  49. data/lib/locomotive/wagon/decorators/section_decorator.rb +35 -0
  50. data/lib/locomotive/wagon/decorators/site_decorator.rb +12 -4
  51. data/lib/locomotive/wagon/decorators/theme_asset_decorator.rb +2 -2
  52. data/lib/locomotive/wagon/generators/page.rb +2 -12
  53. data/lib/locomotive/wagon/generators/section.rb +82 -0
  54. data/lib/locomotive/wagon/generators/site.rb +0 -3
  55. data/lib/locomotive/wagon/generators/site/base.rb +11 -28
  56. data/lib/locomotive/wagon/generators/site/blank.rb +1 -17
  57. data/lib/locomotive/wagon/generators/site/cloned.rb +1 -4
  58. data/lib/locomotive/wagon/generators/snippet.rb +3 -11
  59. data/lib/locomotive/wagon/middlewares/error_page.rb +26 -6
  60. data/lib/locomotive/wagon/tools/listen.rb +3 -3
  61. data/lib/locomotive/wagon/version.rb +1 -1
  62. data/locomotivecms_wagon.gemspec +7 -6
  63. data/spec/fixtures/cassettes/authenticate.yml +47 -47
  64. data/spec/fixtures/cassettes/delete.yml +261 -261
  65. data/spec/fixtures/cassettes/push.yml +4571 -1783
  66. data/spec/fixtures/cassettes/sync.yml +11483 -0
  67. data/spec/integration/cli_spec.rb +1 -1
  68. data/spec/integration/commands/delete_command_spec.rb +1 -2
  69. data/spec/integration/commands/push_command_spec.rb +4 -4
  70. data/spec/integration/commands/sync_command_spec.rb +54 -0
  71. data/spec/integration/generators/page_spec.rb +1 -1
  72. data/spec/unit/commands/pull_sub_commands/concerns/assets_concern_spec.rb +3 -3
  73. metadata +55 -306
  74. data/generators/blank/app/views/pages/404.liquid.haml +0 -11
  75. data/generators/blank/app/views/pages/index.liquid.haml +0 -16
  76. data/generators/bootstrap/Gemfile.tt +0 -24
  77. data/generators/bootstrap/Guardfile +0 -22
  78. data/generators/bootstrap/app/content_types/.empty_directory +0 -1
  79. data/generators/bootstrap/app/views/pages/404.liquid +0 -18
  80. data/generators/bootstrap/app/views/pages/404.liquid.haml +0 -14
  81. data/generators/bootstrap/app/views/pages/index.liquid +0 -31
  82. data/generators/bootstrap/app/views/pages/index.liquid.haml +0 -25
  83. data/generators/bootstrap/app/views/pages/layouts/default.liquid +0 -31
  84. data/generators/bootstrap/app/views/pages/layouts/default.liquid.haml +0 -30
  85. data/generators/bootstrap/app/views/pages/layouts/simple.liquid +0 -36
  86. data/generators/bootstrap/app/views/pages/layouts/simple.liquid.haml +0 -29
  87. data/generators/bootstrap/app/views/snippets/footer.liquid +0 -5
  88. data/generators/bootstrap/app/views/snippets/footer.liquid.haml +0 -3
  89. data/generators/bootstrap/app/views/snippets/nav.liquid +0 -26
  90. data/generators/bootstrap/app/views/snippets/nav.liquid.haml +0 -19
  91. data/generators/bootstrap/config/deploy.yml +0 -16
  92. data/generators/bootstrap/config/metafields_schema.yml +0 -56
  93. data/generators/bootstrap/config/site.yml.tt +0 -48
  94. data/generators/bootstrap/config/translations.yml +0 -8
  95. data/generators/bootstrap/data/.empty_directory +0 -1
  96. data/generators/bootstrap/icon.png +0 -0
  97. data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  98. data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -288
  99. data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  100. data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  101. data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  102. data/generators/bootstrap/public/images/favicon.png +0 -0
  103. data/generators/bootstrap/public/javascripts/application.js +0 -2
  104. data/generators/bootstrap/public/javascripts/bootstrap.min.js +0 -7
  105. data/generators/bootstrap/public/javascripts/bootstrap/affix.js +0 -162
  106. data/generators/bootstrap/public/javascripts/bootstrap/alert.js +0 -94
  107. data/generators/bootstrap/public/javascripts/bootstrap/button.js +0 -120
  108. data/generators/bootstrap/public/javascripts/bootstrap/carousel.js +0 -237
  109. data/generators/bootstrap/public/javascripts/bootstrap/collapse.js +0 -211
  110. data/generators/bootstrap/public/javascripts/bootstrap/dropdown.js +0 -165
  111. data/generators/bootstrap/public/javascripts/bootstrap/modal.js +0 -337
  112. data/generators/bootstrap/public/javascripts/bootstrap/popover.js +0 -108
  113. data/generators/bootstrap/public/javascripts/bootstrap/scrollspy.js +0 -172
  114. data/generators/bootstrap/public/javascripts/bootstrap/tab.js +0 -155
  115. data/generators/bootstrap/public/javascripts/bootstrap/tooltip.js +0 -514
  116. data/generators/bootstrap/public/javascripts/bootstrap/transition.js +0 -59
  117. data/generators/bootstrap/public/javascripts/jquery.min.js +0 -5
  118. data/generators/bootstrap/public/stylesheets/application.css +0 -7
  119. data/generators/bootstrap/public/stylesheets/application.scss +0 -7
  120. data/generators/bootstrap/public/stylesheets/bootstrap.css +0 -5
  121. data/generators/bootstrap/public/stylesheets/bootstrap.scss +0 -63
  122. data/generators/bootstrap/public/stylesheets/bootstrap/_alerts.scss +0 -73
  123. data/generators/bootstrap/public/stylesheets/bootstrap/_badges.scss +0 -68
  124. data/generators/bootstrap/public/stylesheets/bootstrap/_breadcrumbs.scss +0 -28
  125. data/generators/bootstrap/public/stylesheets/bootstrap/_button-groups.scss +0 -244
  126. data/generators/bootstrap/public/stylesheets/bootstrap/_buttons.scss +0 -168
  127. data/generators/bootstrap/public/stylesheets/bootstrap/_carousel.scss +0 -269
  128. data/generators/bootstrap/public/stylesheets/bootstrap/_close.scss +0 -36
  129. data/generators/bootstrap/public/stylesheets/bootstrap/_code.scss +0 -69
  130. data/generators/bootstrap/public/stylesheets/bootstrap/_component-animations.scss +0 -37
  131. data/generators/bootstrap/public/stylesheets/bootstrap/_dropdowns.scss +0 -216
  132. data/generators/bootstrap/public/stylesheets/bootstrap/_forms.scss +0 -611
  133. data/generators/bootstrap/public/stylesheets/bootstrap/_glyphicons.scss +0 -307
  134. data/generators/bootstrap/public/stylesheets/bootstrap/_grid.scss +0 -84
  135. data/generators/bootstrap/public/stylesheets/bootstrap/_input-groups.scss +0 -167
  136. data/generators/bootstrap/public/stylesheets/bootstrap/_jumbotron.scss +0 -52
  137. data/generators/bootstrap/public/stylesheets/bootstrap/_labels.scss +0 -66
  138. data/generators/bootstrap/public/stylesheets/bootstrap/_list-group.scss +0 -130
  139. data/generators/bootstrap/public/stylesheets/bootstrap/_media.scss +0 -66
  140. data/generators/bootstrap/public/stylesheets/bootstrap/_mixins.scss +0 -40
  141. data/generators/bootstrap/public/stylesheets/bootstrap/_modals.scss +0 -150
  142. data/generators/bootstrap/public/stylesheets/bootstrap/_navbar.scss +0 -662
  143. data/generators/bootstrap/public/stylesheets/bootstrap/_navs.scss +0 -242
  144. data/generators/bootstrap/public/stylesheets/bootstrap/_normalize.scss +0 -424
  145. data/generators/bootstrap/public/stylesheets/bootstrap/_pager.scss +0 -54
  146. data/generators/bootstrap/public/stylesheets/bootstrap/_pagination.scss +0 -89
  147. data/generators/bootstrap/public/stylesheets/bootstrap/_panels.scss +0 -271
  148. data/generators/bootstrap/public/stylesheets/bootstrap/_popovers.scss +0 -131
  149. data/generators/bootstrap/public/stylesheets/bootstrap/_print.scss +0 -101
  150. data/generators/bootstrap/public/stylesheets/bootstrap/_progress-bars.scss +0 -87
  151. data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-embed.scss +0 -35
  152. data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-utilities.scss +0 -179
  153. data/generators/bootstrap/public/stylesheets/bootstrap/_scaffolding.scss +0 -161
  154. data/generators/bootstrap/public/stylesheets/bootstrap/_tables.scss +0 -234
  155. data/generators/bootstrap/public/stylesheets/bootstrap/_theme.scss +0 -291
  156. data/generators/bootstrap/public/stylesheets/bootstrap/_thumbnails.scss +0 -38
  157. data/generators/bootstrap/public/stylesheets/bootstrap/_tooltip.scss +0 -101
  158. data/generators/bootstrap/public/stylesheets/bootstrap/_type.scss +0 -298
  159. data/generators/bootstrap/public/stylesheets/bootstrap/_utilities.scss +0 -55
  160. data/generators/bootstrap/public/stylesheets/bootstrap/_variables.scss +0 -872
  161. data/generators/bootstrap/public/stylesheets/bootstrap/_wells.scss +0 -29
  162. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_alerts.scss +0 -14
  163. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_background-variant.scss +0 -12
  164. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_border-radius.scss +0 -18
  165. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_buttons.scss +0 -68
  166. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
  167. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_clearfix.scss +0 -22
  168. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_forms.scss +0 -88
  169. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_gradients.scss +0 -58
  170. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -81
  171. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid.scss +0 -122
  172. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_hide-text.scss +0 -21
  173. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_image.scss +0 -33
  174. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_labels.scss +0 -12
  175. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_list-group.scss +0 -32
  176. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
  177. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  178. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_opacity.scss +0 -8
  179. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_pagination.scss +0 -24
  180. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_panels.scss +0 -24
  181. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_progress-bar.scss +0 -10
  182. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
  183. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-text.scss +0 -18
  184. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_resize.scss +0 -6
  185. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -21
  186. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_size.scss +0 -10
  187. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
  188. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_table-row.scss +0 -28
  189. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -12
  190. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-overflow.scss +0 -8
  191. data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  192. data/generators/foundation/Gemfile.tt +0 -24
  193. data/generators/foundation/Guardfile +0 -22
  194. data/generators/foundation/app/content_types/.gitkeep +0 -0
  195. data/generators/foundation/app/views/pages/404.liquid +0 -11
  196. data/generators/foundation/app/views/pages/404.liquid.haml +0 -11
  197. data/generators/foundation/app/views/pages/index.liquid +0 -172
  198. data/generators/foundation/app/views/pages/index.liquid.haml +0 -144
  199. data/generators/foundation/app/views/snippets/.gitkeep +0 -0
  200. data/generators/foundation/config/deploy.yml +0 -16
  201. data/generators/foundation/config/metafields_schema.yml +0 -56
  202. data/generators/foundation/config/site.yml +0 -48
  203. data/generators/foundation/config/translations.yml +0 -8
  204. data/generators/foundation/data/.gitkeep +0 -0
  205. data/generators/foundation/log/.gitkeep +0 -0
  206. data/generators/foundation/public/images/.gitkeep +0 -0
  207. data/generators/foundation/public/javascripts/app.js +0 -1
  208. data/generators/foundation/public/javascripts/vendor/foundation.js +0 -11788
  209. data/generators/foundation/public/javascripts/vendor/foundation.min.js +0 -5
  210. data/generators/foundation/public/javascripts/vendor/what-input.js +0 -212
  211. data/generators/foundation/public/javascripts/vendor/what-input.min.js +0 -1
  212. data/generators/foundation/public/stylesheets/_settings.scss +0 -869
  213. data/generators/foundation/public/stylesheets/app.css +0 -0
  214. data/generators/foundation/public/stylesheets/app.scss +0 -52
  215. data/generators/foundation/public/stylesheets/foundation.css +0 -5805
  216. data/generators/foundation/public/stylesheets/foundation6/_global.scss +0 -249
  217. data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +0 -171
  218. data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +0 -155
  219. data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +0 -63
  220. data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +0 -117
  221. data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +0 -253
  222. data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +0 -385
  223. data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +0 -106
  224. data/generators/foundation/public/stylesheets/foundation6/components/_card.scss +0 -129
  225. data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +0 -102
  226. data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +0 -142
  227. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +0 -274
  228. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +0 -79
  229. data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +0 -1
  230. data/generators/foundation/public/stylesheets/foundation6/components/_flex.scss +0 -117
  231. data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +0 -27
  232. data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +0 -64
  233. data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +0 -114
  234. data/generators/foundation/public/stylesheets/foundation6/components/_menu-icon.scss +0 -9
  235. data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +0 -495
  236. data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +0 -505
  237. data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +0 -196
  238. data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +0 -193
  239. data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +0 -64
  240. data/generators/foundation/public/stylesheets/foundation6/components/_responsive-embed.scss +0 -70
  241. data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +0 -180
  242. data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +0 -137
  243. data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +0 -39
  244. data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +0 -247
  245. data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +0 -330
  246. data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +0 -196
  247. data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +0 -67
  248. data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +0 -84
  249. data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +0 -160
  250. data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +0 -175
  251. data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +0 -132
  252. data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +0 -41
  253. data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +0 -88
  254. data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +0 -53
  255. data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +0 -34
  256. data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +0 -30
  257. data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +0 -142
  258. data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +0 -50
  259. data/generators/foundation/public/stylesheets/foundation6/forms/_meter.scss +0 -116
  260. data/generators/foundation/public/stylesheets/foundation6/forms/_progress.scss +0 -94
  261. data/generators/foundation/public/stylesheets/foundation6/forms/_range.scss +0 -149
  262. data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +0 -86
  263. data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +0 -179
  264. data/generators/foundation/public/stylesheets/foundation6/foundation.scss +0 -133
  265. data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +0 -176
  266. data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +0 -112
  267. data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +0 -259
  268. data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +0 -48
  269. data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +0 -82
  270. data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +0 -76
  271. data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +0 -76
  272. data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +0 -99
  273. data/generators/foundation/public/stylesheets/foundation6/grid/_size.scss +0 -24
  274. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +0 -109
  275. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_settings.scss +0 -61
  276. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +0 -32
  277. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_hinge.scss +0 -65
  278. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_shake.scss +0 -15
  279. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_slide.scss +0 -41
  280. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_spin.scss +0 -28
  281. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_wiggle.scss +0 -13
  282. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +0 -15
  283. data/generators/foundation/public/stylesheets/foundation6/motion-ui/motion-ui.scss +0 -29
  284. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_fade.scss +0 -28
  285. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_hinge.scss +0 -43
  286. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +0 -42
  287. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_spin.scss +0 -39
  288. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_zoom.scss +0 -39
  289. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_animation.scss +0 -7
  290. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_args.scss +0 -15
  291. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_keyframe.scss +0 -136
  292. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_selector.scss +0 -23
  293. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_series.scss +0 -54
  294. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +0 -45
  295. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_unit.scss +0 -7
  296. data/generators/foundation/public/stylesheets/foundation6/prototype/_arrow.scss +0 -36
  297. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-box.scss +0 -35
  298. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-none.scss +0 -35
  299. data/generators/foundation/public/stylesheets/foundation6/prototype/_bordered.scss +0 -54
  300. data/generators/foundation/public/stylesheets/foundation6/prototype/_box.scss +0 -23
  301. data/generators/foundation/public/stylesheets/foundation6/prototype/_display.scss +0 -50
  302. data/generators/foundation/public/stylesheets/foundation6/prototype/_font-styling.scss +0 -95
  303. data/generators/foundation/public/stylesheets/foundation6/prototype/_list-style-type.scss +0 -95
  304. data/generators/foundation/public/stylesheets/foundation6/prototype/_overflow.scss +0 -72
  305. data/generators/foundation/public/stylesheets/foundation6/prototype/_position.scss +0 -114
  306. data/generators/foundation/public/stylesheets/foundation6/prototype/_prototype.scss +0 -87
  307. data/generators/foundation/public/stylesheets/foundation6/prototype/_relation.scss +0 -157
  308. data/generators/foundation/public/stylesheets/foundation6/prototype/_rotate.scss +0 -31
  309. data/generators/foundation/public/stylesheets/foundation6/prototype/_rounded.scss +0 -54
  310. data/generators/foundation/public/stylesheets/foundation6/prototype/_separator.scss +0 -96
  311. data/generators/foundation/public/stylesheets/foundation6/prototype/_shadow.scss +0 -43
  312. data/generators/foundation/public/stylesheets/foundation6/prototype/_sizing.scss +0 -73
  313. data/generators/foundation/public/stylesheets/foundation6/prototype/_spacing.scss +0 -204
  314. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-decoration.scss +0 -48
  315. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-transformation.scss +0 -48
  316. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-utilities.scss +0 -88
  317. data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +0 -869
  318. data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +0 -22
  319. data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +0 -509
  320. data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +0 -80
  321. data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +0 -86
  322. data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +0 -26
  323. data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +0 -348
  324. data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +0 -129
  325. data/generators/foundation/public/stylesheets/foundation6/util/_direction.scss +0 -31
  326. data/generators/foundation/public/stylesheets/foundation6/util/_flex.scss +0 -85
  327. data/generators/foundation/public/stylesheets/foundation6/util/_math.scss +0 -72
  328. data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +0 -313
  329. data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +0 -41
  330. data/generators/foundation/public/stylesheets/foundation6/util/_typography.scss +0 -26
  331. data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +0 -152
  332. data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +0 -14
  333. data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +0 -160
  334. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/_normalize.scss +0 -3
  335. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_import-now.scss +0 -11
  336. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +0 -676
  337. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_variables.scss +0 -36
  338. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +0 -61
  339. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_contain.scss +0 -31
  340. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_purge.scss +0 -38
  341. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_remove.scss +0 -31
  342. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_replace.scss +0 -46
  343. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_to-list.scss +0 -27
  344. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +0 -25
  345. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_true.scss +0 -13
  346. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_cell.scss +0 -169
  347. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_classes.scss +0 -476
  348. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_collapse.scss +0 -74
  349. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_frame.scss +0 -85
  350. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_grid.scss +0 -35
  351. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_gutters.scss +0 -45
  352. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_layout.scss +0 -33
  353. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_position.scss +0 -28
  354. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_xy-grid.scss +0 -51
  355. data/generators/page/template.liquid.haml.tt +0 -47
  356. data/generators/snippet/template.liquid.haml.tt +0 -4
  357. data/lib/locomotive/wagon/generators/site/bootstrap.rb +0 -52
  358. data/lib/locomotive/wagon/generators/site/foundation.rb +0 -44
  359. data/lib/locomotive/wagon/generators/site/line_case.rb +0 -20
@@ -1,869 +0,0 @@
1
- // Foundation for Sites Settings
2
- // -----------------------------
3
- //
4
- // Table of Contents:
5
- //
6
- // 1. Global
7
- // 2. Breakpoints
8
- // 3. The Grid
9
- // 4. Base Typography
10
- // 5. Typography Helpers
11
- // 6. Abide
12
- // 7. Accordion
13
- // 8. Accordion Menu
14
- // 9. Badge
15
- // 10. Breadcrumbs
16
- // 11. Button
17
- // 12. Button Group
18
- // 13. Callout
19
- // 14. Card
20
- // 15. Close Button
21
- // 16. Drilldown
22
- // 17. Dropdown
23
- // 18. Dropdown Menu
24
- // 19. Flexbox Utilities
25
- // 20. Forms
26
- // 21. Label
27
- // 22. Media Object
28
- // 23. Menu
29
- // 24. Meter
30
- // 25. Off-canvas
31
- // 26. Orbit
32
- // 27. Pagination
33
- // 28. Progress Bar
34
- // 29. Prototype Arrow
35
- // 30. Prototype Border-Box
36
- // 31. Prototype Border-None
37
- // 32. Prototype Bordered
38
- // 33. Prototype Display
39
- // 34. Prototype Font-Styling
40
- // 35. Prototype List-Style-Type
41
- // 36. Prototype Overflow
42
- // 37. Prototype Position
43
- // 38. Prototype Rounded
44
- // 39. Prototype Separator
45
- // 40. Prototype Shadow
46
- // 41. Prototype Sizing
47
- // 42. Prototype Spacing
48
- // 43. Prototype Text-Decoration
49
- // 44. Prototype Text-Transformation
50
- // 45. Prototype Text-Utilities
51
- // 46. Responsive Embed
52
- // 47. Reveal
53
- // 48. Slider
54
- // 49. Switch
55
- // 50. Table
56
- // 51. Tabs
57
- // 52. Thumbnail
58
- // 53. Title Bar
59
- // 54. Tooltip
60
- // 55. Top Bar
61
- // 56. Xy Grid
62
-
63
- @import 'util/util';
64
-
65
- // 1. Global
66
- // ---------
67
-
68
- $global-font-size: 100%;
69
- $global-width: rem-calc(1200);
70
- $global-lineheight: 1.5;
71
- $foundation-palette: (
72
- primary: #1779ba,
73
- secondary: #767676,
74
- success: #3adb76,
75
- warning: #ffae00,
76
- alert: #cc4b37,
77
- );
78
- $light-gray: #e6e6e6;
79
- $medium-gray: #cacaca;
80
- $dark-gray: #8a8a8a;
81
- $black: #0a0a0a;
82
- $white: #fefefe;
83
- $body-background: $white;
84
- $body-font-color: $black;
85
- $body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
86
- $body-antialiased: true;
87
- $global-margin: 1rem;
88
- $global-padding: 1rem;
89
- $global-position: 1rem;
90
- $global-weight-normal: normal;
91
- $global-weight-bold: bold;
92
- $global-radius: 0;
93
- $global-menu-padding: 0.7rem 1rem;
94
- $global-menu-nested-margin: 1rem;
95
- $global-text-direction: ltr;
96
- $global-flexbox: true;
97
- $global-prototype-breakpoints: false;
98
- $global-button-cursor: auto;
99
- $global-color-pick-contrast-tolerance: 0;
100
- $print-transparent-backgrounds: true;
101
-
102
- @include add-foundation-colors;
103
-
104
- // 2. Breakpoints
105
- // --------------
106
-
107
- $breakpoints: (
108
- small: 0,
109
- medium: 640px,
110
- large: 1024px,
111
- xlarge: 1200px,
112
- xxlarge: 1440px,
113
- );
114
- $print-breakpoint: large;
115
- $breakpoint-classes: (small medium large);
116
-
117
- // 3. The Grid
118
- // -----------
119
-
120
- $grid-row-width: $global-width;
121
- $grid-column-count: 12;
122
- $grid-column-gutter: (
123
- small: 20px,
124
- medium: 30px,
125
- );
126
- $grid-column-align-edge: true;
127
- $grid-column-alias: 'columns';
128
- $block-grid-max: 8;
129
-
130
- // 4. Base Typography
131
- // ------------------
132
-
133
- $header-font-family: $body-font-family;
134
- $header-font-weight: $global-weight-normal;
135
- $header-font-style: normal;
136
- $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
137
- $header-color: inherit;
138
- $header-lineheight: 1.4;
139
- $header-margin-bottom: 0.5rem;
140
- $header-styles: (
141
- small: (
142
- 'h1': ('font-size': 24),
143
- 'h2': ('font-size': 20),
144
- 'h3': ('font-size': 19),
145
- 'h4': ('font-size': 18),
146
- 'h5': ('font-size': 17),
147
- 'h6': ('font-size': 16),
148
- ),
149
- medium: (
150
- 'h1': ('font-size': 48),
151
- 'h2': ('font-size': 40),
152
- 'h3': ('font-size': 31),
153
- 'h4': ('font-size': 25),
154
- 'h5': ('font-size': 20),
155
- 'h6': ('font-size': 16),
156
- ),
157
- );
158
- $header-text-rendering: optimizeLegibility;
159
- $small-font-size: 80%;
160
- $header-small-font-color: $medium-gray;
161
- $paragraph-lineheight: 1.6;
162
- $paragraph-margin-bottom: 1rem;
163
- $paragraph-text-rendering: optimizeLegibility;
164
- $code-color: $black;
165
- $code-font-family: $font-family-monospace;
166
- $code-font-weight: $global-weight-normal;
167
- $code-background: $light-gray;
168
- $code-border: 1px solid $medium-gray;
169
- $code-padding: rem-calc(2 5 1);
170
- $anchor-color: $primary-color;
171
- $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
172
- $anchor-text-decoration: none;
173
- $anchor-text-decoration-hover: none;
174
- $hr-width: $global-width;
175
- $hr-border: 1px solid $medium-gray;
176
- $hr-margin: rem-calc(20) auto;
177
- $list-lineheight: $paragraph-lineheight;
178
- $list-margin-bottom: $paragraph-margin-bottom;
179
- $list-style-type: disc;
180
- $list-style-position: outside;
181
- $list-side-margin: 1.25rem;
182
- $list-nested-side-margin: 1.25rem;
183
- $defnlist-margin-bottom: 1rem;
184
- $defnlist-term-weight: $global-weight-bold;
185
- $defnlist-term-margin-bottom: 0.3rem;
186
- $blockquote-color: $dark-gray;
187
- $blockquote-padding: rem-calc(9 20 0 19);
188
- $blockquote-border: 1px solid $medium-gray;
189
- $cite-font-size: rem-calc(13);
190
- $cite-color: $dark-gray;
191
- $cite-pseudo-content: '\2014 \0020';
192
- $keystroke-font: $font-family-monospace;
193
- $keystroke-color: $black;
194
- $keystroke-background: $light-gray;
195
- $keystroke-padding: rem-calc(2 4 0);
196
- $keystroke-radius: $global-radius;
197
- $abbr-underline: 1px dotted $black;
198
-
199
- // 5. Typography Helpers
200
- // ---------------------
201
-
202
- $lead-font-size: $global-font-size * 1.25;
203
- $lead-lineheight: 1.6;
204
- $subheader-lineheight: 1.4;
205
- $subheader-color: $dark-gray;
206
- $subheader-font-weight: $global-weight-normal;
207
- $subheader-margin-top: 0.2rem;
208
- $subheader-margin-bottom: 0.5rem;
209
- $stat-font-size: 2.5rem;
210
-
211
- // 6. Abide
212
- // --------
213
-
214
- $abide-inputs: true;
215
- $abide-labels: true;
216
- $input-background-invalid: get-color(alert);
217
- $form-label-color-invalid: get-color(alert);
218
- $input-error-color: get-color(alert);
219
- $input-error-font-size: rem-calc(12);
220
- $input-error-font-weight: $global-weight-bold;
221
-
222
- // 7. Accordion
223
- // ------------
224
-
225
- $accordion-background: $white;
226
- $accordion-plusminus: true;
227
- $accordion-title-font-size: rem-calc(12);
228
- $accordion-item-color: $primary-color;
229
- $accordion-item-background-hover: $light-gray;
230
- $accordion-item-padding: 1.25rem 1rem;
231
- $accordion-content-background: $white;
232
- $accordion-content-border: 1px solid $light-gray;
233
- $accordion-content-color: $body-font-color;
234
- $accordion-content-padding: 1rem;
235
-
236
- // 8. Accordion Menu
237
- // -----------------
238
-
239
- $accordionmenu-padding: $global-menu-padding;
240
- $accordionmenu-nested-margin: $global-menu-nested-margin;
241
- $accordionmenu-submenu-padding: $accordionmenu-padding;
242
- $accordionmenu-arrows: true;
243
- $accordionmenu-arrow-color: $primary-color;
244
- $accordionmenu-item-background: null;
245
- $accordionmenu-border: null;
246
- $accordionmenu-submenu-toggle-background: null;
247
- $accordion-submenu-toggle-border: $accordionmenu-border;
248
- $accordionmenu-submenu-toggle-width: 40px;
249
- $accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
250
- $accordionmenu-arrow-size: 6px;
251
-
252
- // 9. Badge
253
- // --------
254
-
255
- $badge-background: $primary-color;
256
- $badge-color: $white;
257
- $badge-color-alt: $black;
258
- $badge-palette: $foundation-palette;
259
- $badge-padding: 0.3em;
260
- $badge-minwidth: 2.1em;
261
- $badge-font-size: 0.6rem;
262
-
263
- // 10. Breadcrumbs
264
- // ---------------
265
-
266
- $breadcrumbs-margin: 0 0 $global-margin 0;
267
- $breadcrumbs-item-font-size: rem-calc(11);
268
- $breadcrumbs-item-color: $primary-color;
269
- $breadcrumbs-item-color-current: $black;
270
- $breadcrumbs-item-color-disabled: $medium-gray;
271
- $breadcrumbs-item-margin: 0.75rem;
272
- $breadcrumbs-item-uppercase: true;
273
- $breadcrumbs-item-separator: true;
274
- $breadcrumbs-item-separator-item: '/';
275
- $breadcrumbs-item-separator-item-rtl: '\\';
276
- $breadcrumbs-item-separator-color: $medium-gray;
277
-
278
- // 11. Button
279
- // ----------
280
-
281
- $button-font-family: inherit;
282
- $button-padding: 0.85em 1em;
283
- $button-margin: 0 0 $global-margin 0;
284
- $button-fill: solid;
285
- $button-background: $primary-color;
286
- $button-background-hover: scale-color($button-background, $lightness: -15%);
287
- $button-color: $white;
288
- $button-color-alt: $black;
289
- $button-radius: $global-radius;
290
- $button-hollow-border-width: 1px;
291
- $button-sizes: (
292
- tiny: 0.6rem,
293
- small: 0.75rem,
294
- default: 0.9rem,
295
- large: 1.25rem,
296
- );
297
- $button-palette: $foundation-palette;
298
- $button-opacity-disabled: 0.25;
299
- $button-background-hover-lightness: -20%;
300
- $button-hollow-hover-lightness: -50%;
301
- $button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
302
-
303
- // 12. Button Group
304
- // ----------------
305
-
306
- $buttongroup-margin: 1rem;
307
- $buttongroup-spacing: 1px;
308
- $buttongroup-child-selector: '.button';
309
- $buttongroup-expand-max: 6;
310
- $buttongroup-radius-on-each: true;
311
-
312
- // 13. Callout
313
- // -----------
314
-
315
- $callout-background: $white;
316
- $callout-background-fade: 85%;
317
- $callout-border: 1px solid rgba($black, 0.25);
318
- $callout-margin: 0 0 1rem 0;
319
- $callout-padding: 1rem;
320
- $callout-font-color: $body-font-color;
321
- $callout-font-color-alt: $body-background;
322
- $callout-radius: $global-radius;
323
- $callout-link-tint: 30%;
324
-
325
- // 14. Card
326
- // --------
327
-
328
- $card-background: $white;
329
- $card-font-color: $body-font-color;
330
- $card-divider-background: $light-gray;
331
- $card-border: 1px solid $light-gray;
332
- $card-shadow: none;
333
- $card-border-radius: $global-radius;
334
- $card-padding: $global-padding;
335
- $card-margin-bottom: $global-margin;
336
-
337
- // 15. Close Button
338
- // ----------------
339
-
340
- $closebutton-position: right top;
341
- $closebutton-offset-horizontal: (
342
- small: 0.66rem,
343
- medium: 1rem,
344
- );
345
- $closebutton-offset-vertical: (
346
- small: 0.33em,
347
- medium: 0.5rem,
348
- );
349
- $closebutton-size: (
350
- small: 1.5em,
351
- medium: 2em,
352
- );
353
- $closebutton-lineheight: 1;
354
- $closebutton-color: $dark-gray;
355
- $closebutton-color-hover: $black;
356
-
357
- // 16. Drilldown
358
- // -------------
359
-
360
- $drilldown-transition: transform 0.15s linear;
361
- $drilldown-arrows: true;
362
- $drilldown-padding: $global-menu-padding;
363
- $drilldown-nested-margin: 0;
364
- $drilldown-background: $white;
365
- $drilldown-submenu-padding: $drilldown-padding;
366
- $drilldown-submenu-background: $white;
367
- $drilldown-arrow-color: $primary-color;
368
- $drilldown-arrow-size: 6px;
369
-
370
- // 17. Dropdown
371
- // ------------
372
-
373
- $dropdown-padding: 1rem;
374
- $dropdown-background: $body-background;
375
- $dropdown-border: 1px solid $medium-gray;
376
- $dropdown-font-size: 1rem;
377
- $dropdown-width: 300px;
378
- $dropdown-radius: $global-radius;
379
- $dropdown-sizes: (
380
- tiny: 100px,
381
- small: 200px,
382
- large: 400px,
383
- );
384
-
385
- // 18. Dropdown Menu
386
- // -----------------
387
-
388
- $dropdownmenu-arrows: true;
389
- $dropdownmenu-arrow-color: $anchor-color;
390
- $dropdownmenu-arrow-size: 6px;
391
- $dropdownmenu-arrow-padding: 1.5rem;
392
- $dropdownmenu-min-width: 200px;
393
- $dropdownmenu-background: $white;
394
- $dropdownmenu-submenu-background: $dropdownmenu-background;
395
- $dropdownmenu-padding: $global-menu-padding;
396
- $dropdownmenu-nested-margin: 0;
397
- $dropdownmenu-submenu-padding: $dropdownmenu-padding;
398
- $dropdownmenu-border: 1px solid $medium-gray;
399
- $dropdown-menu-item-color-active: get-color(primary);
400
- $dropdown-menu-item-background-active: transparent;
401
-
402
- // 19. Flexbox Utilities
403
- // ---------------------
404
-
405
- $flex-source-ordering-count: 6;
406
- $flexbox-responsive-breakpoints: true;
407
-
408
- // 20. Forms
409
- // ---------
410
-
411
- $fieldset-border: 1px solid $medium-gray;
412
- $fieldset-padding: rem-calc(20);
413
- $fieldset-margin: rem-calc(18 0);
414
- $legend-padding: rem-calc(0 3);
415
- $form-spacing: rem-calc(16);
416
- $helptext-color: $black;
417
- $helptext-font-size: rem-calc(13);
418
- $helptext-font-style: italic;
419
- $input-prefix-color: $black;
420
- $input-prefix-background: $light-gray;
421
- $input-prefix-border: 1px solid $medium-gray;
422
- $input-prefix-padding: 1rem;
423
- $form-label-color: $black;
424
- $form-label-font-size: rem-calc(14);
425
- $form-label-font-weight: $global-weight-normal;
426
- $form-label-line-height: 1.8;
427
- $select-background: $white;
428
- $select-triangle-color: $dark-gray;
429
- $select-radius: $global-radius;
430
- $input-color: $black;
431
- $input-placeholder-color: $medium-gray;
432
- $input-font-family: inherit;
433
- $input-font-size: rem-calc(16);
434
- $input-font-weight: $global-weight-normal;
435
- $input-line-height: $global-lineheight;
436
- $input-background: $white;
437
- $input-background-focus: $white;
438
- $input-background-disabled: $light-gray;
439
- $input-border: 1px solid $medium-gray;
440
- $input-border-focus: 1px solid $dark-gray;
441
- $input-padding: $form-spacing / 2;
442
- $input-shadow: inset 0 1px 2px rgba($black, 0.1);
443
- $input-shadow-focus: 0 0 5px $medium-gray;
444
- $input-cursor-disabled: not-allowed;
445
- $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
446
- $input-number-spinners: true;
447
- $input-radius: $global-radius;
448
- $form-button-radius: $global-radius;
449
-
450
- // 21. Label
451
- // ---------
452
-
453
- $label-background: $primary-color;
454
- $label-color: $white;
455
- $label-color-alt: $black;
456
- $label-palette: $foundation-palette;
457
- $label-font-size: 0.8rem;
458
- $label-padding: 0.33333rem 0.5rem;
459
- $label-radius: $global-radius;
460
-
461
- // 22. Media Object
462
- // ----------------
463
-
464
- $mediaobject-margin-bottom: $global-margin;
465
- $mediaobject-section-padding: $global-padding;
466
- $mediaobject-image-width-stacked: 100%;
467
-
468
- // 23. Menu
469
- // --------
470
-
471
- $menu-margin: 0;
472
- $menu-nested-margin: $global-menu-nested-margin;
473
- $menu-items-padding: $global-menu-padding;
474
- $menu-simple-margin: 1rem;
475
- $menu-item-color-active: $white;
476
- $menu-item-background-active: get-color(primary);
477
- $menu-icon-spacing: 0.25rem;
478
- $menu-item-background-hover: $light-gray;
479
- $menu-state-back-compat: true;
480
- $menu-centered-back-compat: true;
481
- $menu-icons-back-compat: true;
482
-
483
- // 24. Meter
484
- // ---------
485
-
486
- $meter-height: 1rem;
487
- $meter-radius: $global-radius;
488
- $meter-background: $medium-gray;
489
- $meter-fill-good: $success-color;
490
- $meter-fill-medium: $warning-color;
491
- $meter-fill-bad: $alert-color;
492
-
493
- // 25. Off-canvas
494
- // --------------
495
-
496
- $offcanvas-sizes: (
497
- small: 250px,
498
- );
499
- $offcanvas-vertical-sizes: (
500
- small: 250px,
501
- );
502
- $offcanvas-background: $light-gray;
503
- $offcanvas-shadow: 0 0 10px rgba($black, 0.7);
504
- $offcanvas-inner-shadow-size: 20px;
505
- $offcanvas-inner-shadow-color: rgba($black, 0.25);
506
- $offcanvas-overlay-zindex: 11;
507
- $offcanvas-push-zindex: 12;
508
- $offcanvas-overlap-zindex: 13;
509
- $offcanvas-reveal-zindex: 12;
510
- $offcanvas-transition-length: 0.5s;
511
- $offcanvas-transition-timing: ease;
512
- $offcanvas-fixed-reveal: true;
513
- $offcanvas-exit-background: rgba($white, 0.25);
514
- $maincontent-class: 'off-canvas-content';
515
-
516
- // 26. Orbit
517
- // ---------
518
-
519
- $orbit-bullet-background: $medium-gray;
520
- $orbit-bullet-background-active: $dark-gray;
521
- $orbit-bullet-diameter: 1.2rem;
522
- $orbit-bullet-margin: 0.1rem;
523
- $orbit-bullet-margin-top: 0.8rem;
524
- $orbit-bullet-margin-bottom: 0.8rem;
525
- $orbit-caption-background: rgba($black, 0.5);
526
- $orbit-caption-padding: 1rem;
527
- $orbit-control-background-hover: rgba($black, 0.5);
528
- $orbit-control-padding: 1rem;
529
- $orbit-control-zindex: 10;
530
-
531
- // 27. Pagination
532
- // --------------
533
-
534
- $pagination-font-size: rem-calc(14);
535
- $pagination-margin-bottom: $global-margin;
536
- $pagination-item-color: $black;
537
- $pagination-item-padding: rem-calc(3 10);
538
- $pagination-item-spacing: rem-calc(1);
539
- $pagination-radius: $global-radius;
540
- $pagination-item-background-hover: $light-gray;
541
- $pagination-item-background-current: $primary-color;
542
- $pagination-item-color-current: $white;
543
- $pagination-item-color-disabled: $medium-gray;
544
- $pagination-ellipsis-color: $black;
545
- $pagination-mobile-items: false;
546
- $pagination-mobile-current-item: false;
547
- $pagination-arrows: true;
548
-
549
- // 28. Progress Bar
550
- // ----------------
551
-
552
- $progress-height: 1rem;
553
- $progress-background: $medium-gray;
554
- $progress-margin-bottom: $global-margin;
555
- $progress-meter-background: $primary-color;
556
- $progress-radius: $global-radius;
557
-
558
- // 29. Prototype Arrow
559
- // -------------------
560
-
561
- $prototype-arrow-directions: (
562
- down,
563
- up,
564
- right,
565
- left
566
- );
567
- $prototype-arrow-size: 0.4375rem;
568
- $prototype-arrow-color: $black;
569
-
570
- // 30. Prototype Border-Box
571
- // ------------------------
572
-
573
- $prototype-border-box-breakpoints: $global-prototype-breakpoints;
574
-
575
- // 31. Prototype Border-None
576
- // -------------------------
577
-
578
- $prototype-border-none-breakpoints: $global-prototype-breakpoints;
579
-
580
- // 32. Prototype Bordered
581
- // ----------------------
582
-
583
- $prototype-bordered-breakpoints: $global-prototype-breakpoints;
584
- $prototype-border-width: rem-calc(1);
585
- $prototype-border-type: solid;
586
- $prototype-border-color: $medium-gray;
587
-
588
- // 33. Prototype Display
589
- // ---------------------
590
-
591
- $prototype-display-breakpoints: $global-prototype-breakpoints;
592
- $prototype-display: (
593
- inline,
594
- inline-block,
595
- block,
596
- table,
597
- table-cell
598
- );
599
-
600
- // 34. Prototype Font-Styling
601
- // --------------------------
602
-
603
- $prototype-font-breakpoints: $global-prototype-breakpoints;
604
- $prototype-wide-letter-spacing: rem-calc(4);
605
- $prototype-font-normal: $global-weight-normal;
606
- $prototype-font-bold: $global-weight-bold;
607
-
608
- // 35. Prototype List-Style-Type
609
- // -----------------------------
610
-
611
- $prototype-list-breakpoints: $global-prototype-breakpoints;
612
- $prototype-style-type-unordered: (
613
- disc,
614
- circle,
615
- square
616
- );
617
- $prototype-style-type-ordered: (
618
- decimal,
619
- lower-alpha,
620
- lower-latin,
621
- lower-roman,
622
- upper-alpha,
623
- upper-latin,
624
- upper-roman
625
- );
626
-
627
- // 36. Prototype Overflow
628
- // ----------------------
629
-
630
- $prototype-overflow-breakpoints: $global-prototype-breakpoints;
631
- $prototype-overflow: (
632
- visible,
633
- hidden,
634
- scroll
635
- );
636
-
637
- // 37. Prototype Position
638
- // ----------------------
639
-
640
- $prototype-position-breakpoints: $global-prototype-breakpoints;
641
- $prototype-position: (
642
- static,
643
- relative,
644
- absolute,
645
- fixed
646
- );
647
- $prototype-position-z-index: 975;
648
-
649
- // 38. Prototype Rounded
650
- // ---------------------
651
-
652
- $prototype-rounded-breakpoints: $global-prototype-breakpoints;
653
- $prototype-border-radius: rem-calc(3);
654
-
655
- // 39. Prototype Separator
656
- // -----------------------
657
-
658
- $prototype-separator-breakpoints: $global-prototype-breakpoints;
659
- $prototype-separator-align: center;
660
- $prototype-separator-height: rem-calc(2);
661
- $prototype-separator-width: 3rem;
662
- $prototype-separator-background: $primary-color;
663
- $prototype-separator-margin-top: $global-margin;
664
-
665
- // 40. Prototype Shadow
666
- // --------------------
667
-
668
- $prototype-shadow-breakpoints: $global-prototype-breakpoints;
669
- $prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
670
- 0 2px 10px 0 rgba(0,0,0,.12);
671
-
672
- // 41. Prototype Sizing
673
- // --------------------
674
-
675
- $prototype-sizing-breakpoints: $global-prototype-breakpoints;
676
- $prototype-sizing: (
677
- width,
678
- height
679
- );
680
- $prototype-sizes: (
681
- 25: 25%,
682
- 50: 50%,
683
- 75: 75%,
684
- 100: 100%
685
- );
686
-
687
- // 42. Prototype Spacing
688
- // ---------------------
689
-
690
- $prototype-spacing-breakpoints: $global-prototype-breakpoints;
691
- $prototype-spacers-count: 3;
692
-
693
- // 43. Prototype Text-Decoration
694
- // -----------------------------
695
-
696
- $prototype-decoration-breakpoints: $global-prototype-breakpoints;
697
- $prototype-text-decoration: (
698
- overline,
699
- underline,
700
- line-through,
701
- );
702
-
703
- // 44. Prototype Text-Transformation
704
- // ---------------------------------
705
-
706
- $prototype-transformation-breakpoints: $global-prototype-breakpoints;
707
- $prototype-text-transformation: (
708
- lowercase,
709
- uppercase,
710
- capitalize
711
- );
712
-
713
- // 45. Prototype Text-Utilities
714
- // ----------------------------
715
-
716
- $prototype-utilities-breakpoints: $global-prototype-breakpoints;
717
- $prototype-text-overflow: ellipsis;
718
-
719
- // 46. Responsive Embed
720
- // --------------------
721
-
722
- $responsive-embed-margin-bottom: rem-calc(16);
723
- $responsive-embed-ratios: (
724
- default: 4 by 3,
725
- widescreen: 16 by 9,
726
- );
727
-
728
- // 47. Reveal
729
- // ----------
730
-
731
- $reveal-background: $white;
732
- $reveal-width: 600px;
733
- $reveal-max-width: $global-width;
734
- $reveal-padding: $global-padding;
735
- $reveal-border: 1px solid $medium-gray;
736
- $reveal-radius: $global-radius;
737
- $reveal-zindex: 1005;
738
- $reveal-overlay-background: rgba($black, 0.45);
739
-
740
- // 48. Slider
741
- // ----------
742
-
743
- $slider-width-vertical: 0.5rem;
744
- $slider-transition: all 0.2s ease-in-out;
745
- $slider-height: 0.5rem;
746
- $slider-background: $light-gray;
747
- $slider-fill-background: $medium-gray;
748
- $slider-handle-height: 1.4rem;
749
- $slider-handle-width: 1.4rem;
750
- $slider-handle-background: $primary-color;
751
- $slider-opacity-disabled: 0.25;
752
- $slider-radius: $global-radius;
753
-
754
- // 49. Switch
755
- // ----------
756
-
757
- $switch-background: $medium-gray;
758
- $switch-background-active: $primary-color;
759
- $switch-height: 2rem;
760
- $switch-height-tiny: 1.5rem;
761
- $switch-height-small: 1.75rem;
762
- $switch-height-large: 2.5rem;
763
- $switch-radius: $global-radius;
764
- $switch-margin: $global-margin;
765
- $switch-paddle-background: $white;
766
- $switch-paddle-offset: 0.25rem;
767
- $switch-paddle-radius: $global-radius;
768
- $switch-paddle-transition: all 0.25s ease-out;
769
-
770
- // 50. Table
771
- // ---------
772
-
773
- $table-background: $white;
774
- $table-color-scale: 5%;
775
- $table-border: 1px solid smart-scale($table-background, $table-color-scale);
776
- $table-padding: rem-calc(8 10 10);
777
- $table-hover-scale: 2%;
778
- $table-row-hover: darken($table-background, $table-hover-scale);
779
- $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
780
- $table-is-striped: true;
781
- $table-striped-background: smart-scale($table-background, $table-color-scale);
782
- $table-stripe: even;
783
- $table-head-background: smart-scale($table-background, $table-color-scale / 2);
784
- $table-head-row-hover: darken($table-head-background, $table-hover-scale);
785
- $table-foot-background: smart-scale($table-background, $table-color-scale);
786
- $table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
787
- $table-head-font-color: $body-font-color;
788
- $table-foot-font-color: $body-font-color;
789
- $show-header-for-stacked: false;
790
- $table-stack-breakpoint: medium;
791
-
792
- // 51. Tabs
793
- // --------
794
-
795
- $tab-margin: 0;
796
- $tab-background: $white;
797
- $tab-color: $primary-color;
798
- $tab-background-active: $light-gray;
799
- $tab-active-color: $primary-color;
800
- $tab-item-font-size: rem-calc(12);
801
- $tab-item-background-hover: $white;
802
- $tab-item-padding: 1.25rem 1.5rem;
803
- $tab-expand-max: 6;
804
- $tab-content-background: $white;
805
- $tab-content-border: $light-gray;
806
- $tab-content-color: $body-font-color;
807
- $tab-content-padding: 1rem;
808
-
809
- // 52. Thumbnail
810
- // -------------
811
-
812
- $thumbnail-border: solid 4px $white;
813
- $thumbnail-margin-bottom: $global-margin;
814
- $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
815
- $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
816
- $thumbnail-transition: box-shadow 200ms ease-out;
817
- $thumbnail-radius: $global-radius;
818
-
819
- // 53. Title Bar
820
- // -------------
821
-
822
- $titlebar-background: $black;
823
- $titlebar-color: $white;
824
- $titlebar-padding: 0.5rem;
825
- $titlebar-text-font-weight: bold;
826
- $titlebar-icon-color: $white;
827
- $titlebar-icon-color-hover: $medium-gray;
828
- $titlebar-icon-spacing: 0.25rem;
829
-
830
- // 54. Tooltip
831
- // -----------
832
-
833
- $has-tip-cursor: help;
834
- $has-tip-font-weight: $global-weight-bold;
835
- $has-tip-border-bottom: dotted 1px $dark-gray;
836
- $tooltip-background-color: $black;
837
- $tooltip-color: $white;
838
- $tooltip-padding: 0.75rem;
839
- $tooltip-max-width: 10rem;
840
- $tooltip-font-size: $small-font-size;
841
- $tooltip-pip-width: 0.75rem;
842
- $tooltip-pip-height: $tooltip-pip-width * 0.866;
843
- $tooltip-radius: $global-radius;
844
-
845
- // 55. Top Bar
846
- // -----------
847
-
848
- $topbar-padding: 0.5rem;
849
- $topbar-background: $light-gray;
850
- $topbar-submenu-background: $topbar-background;
851
- $topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
852
- $topbar-input-width: 200px;
853
- $topbar-unstack-breakpoint: medium;
854
-
855
- // 56. Xy Grid
856
- // -----------
857
-
858
- $xy-grid: true;
859
- $grid-container: $global-width;
860
- $grid-columns: 12;
861
- $grid-margin-gutters: (
862
- small: 20px,
863
- medium: 30px
864
- );
865
- $grid-padding-gutters: $grid-margin-gutters;
866
- $grid-container-padding: $grid-padding-gutters;
867
- $grid-container-max: $global-width;
868
- $xy-block-grid-max: 8;
869
-