locomotivecms_wagon 1.4.0 → 1.5.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -0
  3. data/Gemfile +6 -2
  4. data/README.md +7 -1
  5. data/bin/wagon +3 -0
  6. data/generators/blank/Gemfile.tt +1 -3
  7. data/generators/blank/config/site.yml.tt +3 -3
  8. data/generators/bootstrap/config/site.yml.tt +3 -3
  9. data/generators/bootstrap3/Gemfile.tt +1 -3
  10. data/generators/bootstrap3/app/views/pages/index.liquid +21 -63
  11. data/generators/bootstrap3/app/views/pages/index.liquid.haml +15 -57
  12. data/generators/bootstrap3/config/deploy.yml +15 -15
  13. data/generators/bootstrap3/config/site.yml.tt +2 -2
  14. data/generators/bootstrap3/icon.png +0 -0
  15. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
  16. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +201 -200
  17. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
  18. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
  19. data/generators/{bootstrap2/app/content_types → bootstrap3/public/images}/.empty_directory +0 -0
  20. data/generators/bootstrap3/public/javascripts/bootstrap/affix.js +137 -0
  21. data/generators/bootstrap3/public/javascripts/bootstrap/alert.js +88 -0
  22. data/generators/bootstrap3/public/javascripts/bootstrap/button.js +107 -0
  23. data/generators/bootstrap3/public/javascripts/bootstrap/carousel.js +205 -0
  24. data/generators/bootstrap3/public/javascripts/bootstrap/collapse.js +170 -0
  25. data/generators/bootstrap3/public/javascripts/bootstrap/dropdown.js +147 -0
  26. data/generators/bootstrap3/public/javascripts/bootstrap/modal.js +243 -0
  27. data/generators/bootstrap3/public/javascripts/bootstrap/popover.js +110 -0
  28. data/generators/bootstrap3/public/javascripts/bootstrap/scrollspy.js +153 -0
  29. data/generators/bootstrap3/public/javascripts/bootstrap/tab.js +125 -0
  30. data/generators/bootstrap3/public/javascripts/bootstrap/tooltip.js +399 -0
  31. data/generators/bootstrap3/public/javascripts/bootstrap/transition.js +48 -0
  32. data/generators/bootstrap3/public/javascripts/bootstrap.min.js +12 -6
  33. data/generators/bootstrap3/public/stylesheets/application.css +1 -0
  34. data/generators/bootstrap3/public/stylesheets/application.css.scss +8 -0
  35. data/generators/bootstrap3/public/stylesheets/bootstrap/_alerts.scss +67 -0
  36. data/generators/bootstrap3/public/stylesheets/bootstrap/_badges.scss +55 -0
  37. data/generators/bootstrap3/public/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
  38. data/generators/bootstrap3/public/stylesheets/bootstrap/_button-groups.scss +226 -0
  39. data/generators/bootstrap3/public/stylesheets/bootstrap/_buttons.scss +159 -0
  40. data/generators/bootstrap3/public/stylesheets/bootstrap/_carousel.scss +232 -0
  41. data/generators/bootstrap3/public/stylesheets/bootstrap/_close.scss +35 -0
  42. data/generators/bootstrap3/public/stylesheets/bootstrap/_code.scss +63 -0
  43. data/generators/bootstrap3/public/stylesheets/bootstrap/_component-animations.scss +29 -0
  44. data/generators/bootstrap3/public/stylesheets/bootstrap/_dropdowns.scss +213 -0
  45. data/generators/bootstrap3/public/stylesheets/bootstrap/_forms.scss +436 -0
  46. data/generators/bootstrap3/public/stylesheets/bootstrap/_glyphicons.scss +233 -0
  47. data/generators/bootstrap3/public/stylesheets/bootstrap/_grid.scss +84 -0
  48. data/generators/bootstrap3/public/stylesheets/bootstrap/_input-groups.scss +162 -0
  49. data/generators/bootstrap3/public/stylesheets/bootstrap/_jumbotron.scss +44 -0
  50. data/generators/bootstrap3/public/stylesheets/bootstrap/_labels.scss +64 -0
  51. data/generators/bootstrap3/public/stylesheets/bootstrap/_list-group.scss +110 -0
  52. data/generators/bootstrap3/public/stylesheets/bootstrap/_media.scss +56 -0
  53. data/generators/bootstrap3/public/stylesheets/bootstrap/_mixins.scss +947 -0
  54. data/generators/bootstrap3/public/stylesheets/bootstrap/_modals.scss +139 -0
  55. data/generators/bootstrap3/public/stylesheets/bootstrap/_navbar.scss +620 -0
  56. data/generators/bootstrap3/public/stylesheets/bootstrap/_navs.scss +242 -0
  57. data/generators/bootstrap3/public/stylesheets/bootstrap/_normalize.scss +423 -0
  58. data/generators/bootstrap3/public/stylesheets/bootstrap/_pager.scss +55 -0
  59. data/generators/bootstrap3/public/stylesheets/bootstrap/_pagination.scss +88 -0
  60. data/generators/bootstrap3/public/stylesheets/bootstrap/_panels.scss +241 -0
  61. data/generators/bootstrap3/public/stylesheets/bootstrap/_popovers.scss +133 -0
  62. data/generators/bootstrap3/public/stylesheets/bootstrap/_print.scss +101 -0
  63. data/generators/bootstrap3/public/stylesheets/bootstrap/_progress-bars.scss +80 -0
  64. data/generators/bootstrap3/public/stylesheets/bootstrap/_responsive-utilities.scss +74 -0
  65. data/generators/bootstrap3/public/stylesheets/bootstrap/_scaffolding.scss +134 -0
  66. data/generators/bootstrap3/public/stylesheets/bootstrap/_tables.scss +233 -0
  67. data/generators/bootstrap3/public/stylesheets/bootstrap/_theme.scss +247 -0
  68. data/generators/bootstrap3/public/stylesheets/bootstrap/_thumbnails.scss +38 -0
  69. data/generators/bootstrap3/public/stylesheets/bootstrap/_tooltip.scss +95 -0
  70. data/generators/bootstrap3/public/stylesheets/bootstrap/_type.scss +284 -0
  71. data/generators/bootstrap3/public/stylesheets/bootstrap/_utilities.scss +56 -0
  72. data/generators/bootstrap3/public/stylesheets/bootstrap/_variables.scss +833 -0
  73. data/generators/bootstrap3/public/stylesheets/bootstrap/_wells.scss +29 -0
  74. data/generators/bootstrap3/public/stylesheets/bootstrap/bootstrap.css.scss +49 -0
  75. data/generators/bootstrap3/public/stylesheets/bootstrap.css +2035 -3056
  76. data/generators/bootstrap3/public/stylesheets/bootstrap.css.scss +49 -0
  77. data/generators/cloned/Gemfile.tt +1 -3
  78. data/generators/content_type/app/content_types/%slug%.yml.tt +57 -0
  79. data/generators/content_type/data/{%name%.yml.tt → %slug%.yml.tt} +2 -2
  80. data/generators/{bootstrap2 → foundation5}/Gemfile.tt +1 -3
  81. data/generators/{bootstrap2/data → foundation5/app/content_types}/.empty_directory +0 -0
  82. data/generators/{foundation → foundation5}/app/views/pages/404.liquid +1 -4
  83. data/generators/{foundation → foundation5}/app/views/pages/404.liquid.haml +1 -1
  84. data/generators/foundation5/app/views/pages/index.liquid +196 -0
  85. data/generators/foundation5/app/views/pages/index.liquid.haml +157 -0
  86. data/generators/foundation5/config/deploy.yml +15 -0
  87. data/generators/{bootstrap2 → foundation5}/config/site.yml.tt +3 -4
  88. data/generators/{bootstrap2 → foundation5}/config/translations.yml +0 -0
  89. data/generators/{bootstrap2 → foundation5}/config.ru +0 -0
  90. data/generators/{bootstrap2/public/samples → foundation5/data}/.empty_directory +0 -0
  91. data/generators/foundation5/favicon.ico +0 -0
  92. data/generators/foundation5/icon.png +0 -0
  93. data/generators/{foundation/app/content_types → foundation5/public/fonts}/.empty_directory +0 -0
  94. data/generators/{foundation/data → foundation5/public/images}/.empty_directory +0 -0
  95. data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +299 -0
  96. data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +59 -0
  97. data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +43 -0
  98. data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +534 -0
  99. data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +311 -0
  100. data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +74 -0
  101. data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +331 -0
  102. data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +843 -0
  103. data/generators/foundation5/public/javascripts/foundation/foundation.js +611 -0
  104. data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +178 -0
  105. data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +108 -0
  106. data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +610 -0
  107. data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +437 -0
  108. data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +199 -0
  109. data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +167 -0
  110. data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +298 -0
  111. data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +425 -0
  112. data/generators/foundation5/public/javascripts/foundation.js +4161 -0
  113. data/generators/foundation5/public/javascripts/foundation.min.js +10 -0
  114. data/generators/{foundation → foundation5}/public/javascripts/vendor/custom.modernizr.js +0 -0
  115. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +1 -0
  116. data/generators/foundation5/public/javascripts/vendor/fastclick.js +9 -0
  117. data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +11 -0
  118. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +645 -0
  119. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +1 -0
  120. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +8 -0
  121. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +8 -0
  122. data/generators/foundation5/public/javascripts/vendor/jquery.js +26 -0
  123. data/generators/foundation5/public/javascripts/vendor/jquery.min.js +27 -0
  124. data/generators/foundation5/public/javascripts/vendor/modernizr.js +8 -0
  125. data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +1 -0
  126. data/generators/foundation5/public/javascripts/vendor/placeholder.js +2 -0
  127. data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +1 -0
  128. data/generators/{foundation/public/fonts → foundation5/public/samples}/.empty_directory +0 -0
  129. data/generators/foundation5/public/stylesheets/application.css +2 -0
  130. data/generators/foundation5/public/stylesheets/application.css.scss +3 -0
  131. data/generators/foundation5/public/stylesheets/foundation/_functions.scss +101 -0
  132. data/generators/foundation5/public/stylesheets/foundation/_settings.scss +1296 -0
  133. data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +53 -0
  134. data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +126 -0
  135. data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +132 -0
  136. data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +127 -0
  137. data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +108 -0
  138. data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +222 -0
  139. data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +247 -0
  140. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +129 -0
  141. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +248 -0
  142. data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +51 -0
  143. data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +498 -0
  144. data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +434 -0
  145. data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +260 -0
  146. data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +57 -0
  147. data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +220 -0
  148. data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +61 -0
  149. data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +104 -0
  150. data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +34 -0
  151. data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +356 -0
  152. data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +423 -0
  153. data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +150 -0
  154. data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +90 -0
  155. data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +150 -0
  156. data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +79 -0
  157. data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +148 -0
  158. data/generators/foundation5/public/stylesheets/foundation/components/_reveal-new.scss +0 -0
  159. data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +216 -0
  160. data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +115 -0
  161. data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +191 -0
  162. data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +125 -0
  163. data/generators/foundation5/public/stylesheets/foundation/components/_switch.scss +294 -0
  164. data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +129 -0
  165. data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +109 -0
  166. data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +68 -0
  167. data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +140 -0
  168. data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +659 -0
  169. data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +513 -0
  170. data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +408 -0
  171. data/generators/foundation5/public/stylesheets/foundation.css +5398 -0
  172. data/generators/foundation5/public/stylesheets/foundation.css.scss +45 -0
  173. data/generators/foundation5/public/stylesheets/normalize.css +425 -0
  174. data/generators/foundation5/public/stylesheets/normalize.css.scss +425 -0
  175. data/generators/{foundation → line_case}/Gemfile.tt +1 -3
  176. data/generators/line_case/app/content_types/categories.yml +56 -0
  177. data/generators/line_case/app/content_types/emails.yml +35 -0
  178. data/generators/line_case/app/content_types/projects.yml +58 -0
  179. data/generators/{bootstrap2 → line_case}/app/views/pages/404.liquid.haml +3 -2
  180. data/generators/line_case/app/views/pages/email-registered.liquid.haml +13 -0
  181. data/generators/line_case/app/views/pages/index.liquid.haml +110 -0
  182. data/generators/line_case/app/views/pages/projects/content_type_template.liquid.haml +32 -0
  183. data/generators/line_case/app/views/snippets/newsletter_form.liquid.haml +14 -0
  184. data/generators/line_case/app/views/snippets/projects.liquid.haml +17 -0
  185. data/generators/line_case/app/views/snippets/social_links.liquid.haml +19 -0
  186. data/generators/line_case/config/deploy.yml +15 -0
  187. data/generators/{foundation → line_case}/config/site.yml.tt +3 -3
  188. data/generators/{foundation → line_case}/config/translations.yml +0 -0
  189. data/generators/{foundation → line_case}/config.ru +0 -0
  190. data/generators/line_case/data/categories.yml +8 -0
  191. data/generators/line_case/data/emails.yml +2 -0
  192. data/generators/line_case/data/projects.yml +39 -0
  193. data/generators/line_case/icon.png +0 -0
  194. data/generators/line_case/public/images/banner-header.png +0 -0
  195. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.abide.js +0 -0
  196. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.alerts.js +0 -0
  197. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.clearing.js +0 -0
  198. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.cookie.js +0 -0
  199. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.dropdown.js +0 -0
  200. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.forms.js +0 -0
  201. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.interchange.js +0 -0
  202. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.joyride.js +0 -0
  203. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.js +0 -0
  204. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.magellan.js +0 -0
  205. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.orbit.js +0 -0
  206. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.placeholder.js +0 -0
  207. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.reveal.js +0 -0
  208. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.section.js +0 -0
  209. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.tooltips.js +0 -0
  210. data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.topbar.js +0 -0
  211. data/generators/{foundation → line_case}/public/javascripts/foundation.min.js +0 -0
  212. data/generators/line_case/public/javascripts/vendor/custom.modernizr.js +4 -0
  213. data/generators/{foundation → line_case}/public/javascripts/vendor/jquery.js +0 -0
  214. data/generators/{foundation → line_case}/public/javascripts/vendor/zepto.js +0 -0
  215. data/generators/line_case/public/samples/projects/sample.jpeg +0 -0
  216. data/generators/line_case/public/samples/projects/sample2.jpeg +0 -0
  217. data/generators/line_case/public/samples/projects/sample3.jpeg +0 -0
  218. data/generators/line_case/public/samples/projects/sample4.jpeg +0 -0
  219. data/generators/line_case/public/samples/projects/sample5.jpeg +0 -0
  220. data/generators/line_case/public/samples/projects/sample6.jpeg +0 -0
  221. data/generators/line_case/public/samples/projects/sample7.jpeg +0 -0
  222. data/generators/line_case/public/samples/projects/sample8.jpeg +0 -0
  223. data/generators/line_case/public/stylesheets/_variables.css.sass +20 -0
  224. data/generators/line_case/public/stylesheets/foundation/_variables.scss +1290 -0
  225. data/generators/line_case/public/stylesheets/foundation/components/_alert-boxes.scss +107 -0
  226. data/generators/line_case/public/stylesheets/foundation/components/_block-grid.scss +71 -0
  227. data/generators/line_case/public/stylesheets/foundation/components/_breadcrumbs.scss +124 -0
  228. data/generators/line_case/public/stylesheets/foundation/components/_button-groups.scss +89 -0
  229. data/generators/line_case/public/stylesheets/foundation/components/_buttons.scss +230 -0
  230. data/generators/line_case/public/stylesheets/foundation/components/_clearing.scss +227 -0
  231. data/generators/line_case/public/stylesheets/foundation/components/_custom-forms.scss +278 -0
  232. data/generators/line_case/public/stylesheets/foundation/components/_dropdown-buttons.scss +115 -0
  233. data/generators/line_case/public/stylesheets/foundation/components/_dropdown.scss +151 -0
  234. data/generators/line_case/public/stylesheets/foundation/components/_flex-video.scss +46 -0
  235. data/generators/line_case/public/stylesheets/foundation/components/_forms.scss +411 -0
  236. data/generators/line_case/public/stylesheets/foundation/components/_global.scss +366 -0
  237. data/generators/line_case/public/stylesheets/foundation/components/_grid-5.scss +214 -0
  238. data/generators/line_case/public/stylesheets/foundation/components/_grid.scss +188 -0
  239. data/generators/line_case/public/stylesheets/foundation/components/_inline-lists.scss +53 -0
  240. data/generators/line_case/public/stylesheets/foundation/components/_joyride.scss +217 -0
  241. data/generators/line_case/public/stylesheets/foundation/components/_keystrokes.scss +57 -0
  242. data/generators/line_case/public/stylesheets/foundation/components/_labels.scss +85 -0
  243. data/generators/line_case/public/stylesheets/foundation/components/_magellan.scss +23 -0
  244. data/generators/line_case/public/stylesheets/foundation/components/_orbit.scss +340 -0
  245. data/generators/line_case/public/stylesheets/foundation/components/_pagination.scss +140 -0
  246. data/generators/line_case/public/stylesheets/foundation/components/_panels.scss +83 -0
  247. data/generators/line_case/public/stylesheets/foundation/components/_pricing-tables.scss +131 -0
  248. data/generators/line_case/public/stylesheets/foundation/components/_progress-bars.scss +71 -0
  249. data/generators/line_case/public/stylesheets/foundation/components/_reveal.scss +136 -0
  250. data/generators/line_case/public/stylesheets/foundation/components/_section.scss +391 -0
  251. data/generators/line_case/public/stylesheets/foundation/components/_side-nav.scss +69 -0
  252. data/generators/line_case/public/stylesheets/foundation/components/_split-buttons.scss +167 -0
  253. data/generators/line_case/public/stylesheets/foundation/components/_sub-nav.scss +84 -0
  254. data/generators/line_case/public/stylesheets/foundation/components/_switch.scss +266 -0
  255. data/generators/line_case/public/stylesheets/foundation/components/_tables.scss +84 -0
  256. data/generators/line_case/public/stylesheets/foundation/components/_thumbs.scss +53 -0
  257. data/generators/line_case/public/stylesheets/foundation/components/_tooltips.scss +117 -0
  258. data/generators/line_case/public/stylesheets/foundation/components/_top-bar.scss +576 -0
  259. data/generators/line_case/public/stylesheets/foundation/components/_type.scss +435 -0
  260. data/generators/line_case/public/stylesheets/foundation/components/_visibility.scss +322 -0
  261. data/generators/line_case/public/stylesheets/foundation.css.scss +43 -0
  262. data/generators/{foundation → line_case}/public/stylesheets/foundation.min.css +0 -0
  263. data/generators/{foundation/public/stylesheets/normalize.css → line_case/public/stylesheets/normalize.css.scss} +5 -5
  264. data/generators/line_case/public/stylesheets/pages.css.sass +163 -0
  265. data/generators/page/template.liquid.haml.tt +8 -5
  266. data/generators/page/template.liquid.tt +6 -2
  267. data/lib/locomotive/wagon/cli.rb +139 -43
  268. data/lib/locomotive/wagon/generators/content_type.rb +26 -10
  269. data/lib/locomotive/wagon/generators/page.rb +41 -25
  270. data/lib/locomotive/wagon/generators/site/base.rb +53 -0
  271. data/lib/locomotive/wagon/generators/site/blank.rb +9 -2
  272. data/lib/locomotive/wagon/generators/site/bootstrap2.rb +8 -2
  273. data/lib/locomotive/wagon/generators/site/bootstrap3.rb +20 -2
  274. data/lib/locomotive/wagon/generators/site/cloned.rb +4 -0
  275. data/lib/locomotive/wagon/generators/site/{foundation.rb → foundation4.rb} +10 -4
  276. data/lib/locomotive/wagon/generators/site/foundation5.rb +48 -0
  277. data/lib/locomotive/wagon/generators/site/line_case.rb +20 -0
  278. data/lib/locomotive/wagon/generators/site/unzip.rb +10 -2
  279. data/lib/locomotive/wagon/generators/site.rb +48 -2
  280. data/lib/locomotive/wagon/generators/snippet.rb +2 -1
  281. data/lib/locomotive/wagon/liquid/drops/content_types.rb +9 -3
  282. data/lib/locomotive/wagon/liquid/drops/page.rb +9 -1
  283. data/lib/locomotive/wagon/liquid/scopeable.rb +1 -1
  284. data/lib/locomotive/wagon/liquid/tags/fetch_page.rb +41 -0
  285. data/lib/locomotive/wagon/liquid/tags/model_form.rb +67 -0
  286. data/lib/locomotive/wagon/liquid/tags/path_helper.rb +2 -2
  287. data/lib/locomotive/wagon/liquid/tags/with_scope.rb +1 -1
  288. data/lib/locomotive/wagon/listen.rb +18 -10
  289. data/lib/locomotive/wagon/logger.rb +4 -0
  290. data/lib/locomotive/wagon/misc/core_ext.rb +8 -0
  291. data/lib/locomotive/wagon/misc/deployment_connection.rb +120 -0
  292. data/lib/locomotive/wagon/misc/hosting_api.rb +115 -0
  293. data/lib/locomotive/wagon/misc/httparty.rb +2 -0
  294. data/lib/locomotive/wagon/misc/livereload.rb +43 -0
  295. data/lib/locomotive/wagon/misc/mounter.rb +1 -1
  296. data/lib/locomotive/wagon/misc/tcp_port.rb +42 -0
  297. data/lib/locomotive/wagon/misc/thor.rb +15 -0
  298. data/lib/locomotive/wagon/server/entry_submission.rb +69 -38
  299. data/lib/locomotive/wagon/server/middleware.rb +4 -2
  300. data/lib/locomotive/wagon/server/page.rb +2 -2
  301. data/lib/locomotive/wagon/server.rb +11 -7
  302. data/lib/locomotive/wagon/version.rb +1 -1
  303. data/lib/locomotive/wagon.rb +141 -30
  304. data/locomotivecms_wagon.gemspec +7 -6
  305. data/spec/fixtures/default/app/content_types/bands.yml +3 -1
  306. data/spec/fixtures/default/app/views/pages/all.liquid.haml +3 -0
  307. data/spec/fixtures/default/app/views/pages/events.liquid.haml +21 -0
  308. data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +11 -1
  309. data/spec/fixtures/default/app/views/pages/index.liquid.haml +1 -1
  310. data/spec/fixtures/default/data/bands.yml +3 -0
  311. data/spec/integration/server/basic_spec.rb +1 -0
  312. data/spec/integration/server/contact_form_spec.rb +1 -1
  313. data/spec/integration/server/liquid_spec.rb +8 -1
  314. data/spec/integration/server/new_contact_form_spec.rb +67 -0
  315. data/spec/integration/server/with_scope_spec.rb +10 -0
  316. data/spec/spec_helper.rb +3 -0
  317. metadata +339 -144
  318. data/generators/bootstrap2/app/views/pages/404.liquid +0 -13
  319. data/generators/bootstrap2/app/views/pages/index.liquid +0 -98
  320. data/generators/bootstrap2/app/views/pages/index.liquid.haml +0 -80
  321. data/generators/bootstrap2/app/views/snippets/footer.liquid +0 -3
  322. data/generators/bootstrap2/app/views/snippets/footer.liquid.haml +0 -2
  323. data/generators/bootstrap2/config/deploy.yml +0 -15
  324. data/generators/bootstrap2/public/fonts/FontAwesome.otf +0 -0
  325. data/generators/bootstrap2/public/fonts/fontawesome-webfont.eot +0 -0
  326. data/generators/bootstrap2/public/fonts/fontawesome-webfont.svg +0 -399
  327. data/generators/bootstrap2/public/fonts/fontawesome-webfont.ttf +0 -0
  328. data/generators/bootstrap2/public/fonts/fontawesome-webfont.woff +0 -0
  329. data/generators/bootstrap2/public/javascripts/bootstrap.js +0 -2280
  330. data/generators/bootstrap2/public/javascripts/bootstrap.min.js +0 -6
  331. data/generators/bootstrap2/public/stylesheets/application.css.scss +0 -39
  332. data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.css +0 -1109
  333. data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.min.css +0 -9
  334. data/generators/bootstrap2/public/stylesheets/bootstrap.css +0 -5568
  335. data/generators/bootstrap2/public/stylesheets/bootstrap.min.css +0 -9
  336. data/generators/bootstrap2/public/stylesheets/fonts/awesome.css.scss +0 -3
  337. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.css +0 -1203
  338. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.min.css +0 -384
  339. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.css +0 -1470
  340. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.min.css +0 -403
  341. data/generators/bootstrap3/public/javascripts/bootstrap.js +0 -1999
  342. data/generators/bootstrap3/public/stylesheets/bootstrap-theme.css +0 -384
  343. data/generators/bootstrap3/public/stylesheets/bootstrap-theme.min.css +0 -1
  344. data/generators/bootstrap3/public/stylesheets/bootstrap.min.css +0 -9
  345. data/generators/content_type/app/content_types/%name%.yml.tt +0 -58
  346. data/generators/foundation/app/views/pages/index.liquid +0 -150
  347. data/generators/foundation/app/views/pages/index.liquid.haml +0 -125
  348. data/generators/foundation/app/views/snippets/footer.liquid +0 -16
  349. data/generators/foundation/app/views/snippets/footer.liquid.haml +0 -22
  350. data/generators/foundation/config/deploy.yml +0 -15
  351. data/generators/foundation/public/samples/.empty_directory +0 -1
  352. data/generators/foundation/public/stylesheets/foundation.css +0 -4727
@@ -0,0 +1,498 @@
1
+ // Foundation by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ @import "global";
6
+ @import "buttons";
7
+
8
+ //
9
+ // @variables
10
+ //
11
+ $include-html-form-classes: $include-html-classes !default;
12
+
13
+ // We use this to set the base for lots of form spacing and positioning styles
14
+ $form-spacing: rem-calc(16) !default;
15
+
16
+ // We use these to style the labels in different ways
17
+ $form-label-pointer: pointer !default;
18
+ $form-label-font-size: rem-calc(14) !default;
19
+ $form-label-font-weight: $font-weight-normal !default;
20
+ $form-label-line-height: 1.5 !default;
21
+ $form-label-font-color: scale-color(#000, $lightness: 30%) !default;
22
+ $form-label-small-transform: capitalize !default;
23
+ $form-label-bottom-margin: 0 !default;
24
+ $input-font-family: inherit !default;
25
+ $input-font-color: rgba(0,0,0,0.75) !default;
26
+ $input-font-size: rem-calc(14) !default;
27
+ $input-bg-color: #fff !default;
28
+ $input-focus-bg-color: scale-color(#fff, $lightness: -2%) !default;
29
+ $input-border-color: scale-color(#fff, $lightness: -20%) !default;
30
+ $input-focus-border-color: scale-color(#fff, $lightness: -40%) !default;
31
+ $input-border-style: solid !default;
32
+ $input-border-width: 1px !default;
33
+ $input-border-radius: $global-radius !default;
34
+ $input-disabled-bg: #ddd !default;
35
+ $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !default;
36
+ $input-include-glowing-effect: true !default;
37
+
38
+ // We use these to style the fieldset border and spacing.
39
+ $fieldset-border-style: solid !default;
40
+ $fieldset-border-width: 1px !default;
41
+ $fieldset-border-color: #ddd !default;
42
+ $fieldset-padding: rem-calc(20) !default;
43
+ $fieldset-margin: rem-calc(18 0) !default;
44
+
45
+ // We use these to style the legends when you use them
46
+ $legend-bg: #fff !default;
47
+ $legend-font-weight: $font-weight-bold !default;
48
+ $legend-padding: rem-calc(0 3) !default;
49
+
50
+ // We use these to style the prefix and postfix input elements
51
+ $input-prefix-bg: scale-color(#fff, $lightness: -5%) !default;
52
+ $input-prefix-border-color: scale-color(#fff, $lightness: -20%) !default;
53
+ $input-prefix-border-size: 1px !default;
54
+ $input-prefix-border-type: solid !default;
55
+ $input-prefix-overflow: hidden !default;
56
+ $input-prefix-font-color: #333 !default;
57
+ $input-prefix-font-color-alt: #fff !default;
58
+
59
+ // We use these to style the error states for inputs and labels
60
+ $input-error-message-padding: rem-calc(6 9 9) !default;
61
+ $input-error-message-top: -1px !default;
62
+ $input-error-message-font-size: rem-calc(12) !default;
63
+ $input-error-message-font-weight: $font-weight-normal !default;
64
+ $input-error-message-font-style: italic !default;
65
+ $input-error-message-font-color: #fff !default;
66
+ $input-error-message-font-color-alt: #333 !default;
67
+
68
+ // We use this to style the glowing effect of inputs when focused
69
+ $glowing-effect-fade-time: 0.45s !default;
70
+ $glowing-effect-color: $input-focus-border-color !default;
71
+
72
+ // Select variables
73
+ $select-bg-color: #fafafa !default;
74
+ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
75
+
76
+ //
77
+ // @MIXINS
78
+ //
79
+
80
+ // We use this mixin to give us form styles for rows inside of forms
81
+ @mixin form-row-base {
82
+ .row { margin: 0 ((-$form-spacing) / 2);
83
+
84
+ .column,
85
+ .columns { padding: 0 $form-spacing / 2; }
86
+
87
+ // Use this to collapse the margins of a form row
88
+ &.collapse { margin: 0;
89
+
90
+ .column,
91
+ .columns { padding: 0; }
92
+ input {
93
+ @include side-radius($opposite-direction, 0);
94
+ }
95
+
96
+ }
97
+ }
98
+ input.column,
99
+ input.columns,
100
+ textarea.column,
101
+ textarea.columns { padding-#{$default-float}: $form-spacing / 2; }
102
+ }
103
+
104
+ // @MIXIN
105
+ //
106
+ // We use this mixin to give all basic form elements their style
107
+ @mixin form-element {
108
+ background-color: $input-bg-color;
109
+ font-family: $input-font-family;
110
+ border: $input-border-width $input-border-style $input-border-color;
111
+ box-shadow: $input-box-shadow;
112
+ color: $input-font-color;
113
+ display: block;
114
+ font-size: $input-font-size;
115
+ margin: 0 0 $form-spacing 0;
116
+ padding: $form-spacing / 2;
117
+ height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
118
+ width: 100%;
119
+ @include box-sizing(border-box);
120
+ @if $input-include-glowing-effect {
121
+ @include block-glowing-effect(focus, $glowing-effect-fade-time, $glowing-effect-color);
122
+ }
123
+ // Basic focus styles
124
+ &:focus {
125
+ background: $input-focus-bg-color;
126
+ border-color: $input-focus-border-color;
127
+ outline: none;
128
+ }
129
+
130
+ // Disabled background input background color
131
+ &[disabled], fieldset[disabled] & { background-color: $input-disabled-bg; }
132
+ }
133
+
134
+ // @MIXIN
135
+ //
136
+ // We use this mixin to create form labels
137
+ //
138
+ // $alignment - Alignment options. Default: false. Options: [right, inline, false]
139
+ // $base-style - Control whether or not the base styles come through. Default: true.
140
+ @mixin form-label($alignment:false, $base-style:true) {
141
+
142
+ // Control whether or not the base styles come through.
143
+ @if $base-style {
144
+ font-size: $form-label-font-size;
145
+ color: $form-label-font-color;
146
+ cursor: $form-label-pointer;
147
+ display: block;
148
+ font-weight: $form-label-font-weight;
149
+ line-height: $form-label-line-height;
150
+ margin-bottom: $form-label-bottom-margin;
151
+ }
152
+
153
+ // Alignment options
154
+ @if $alignment == right {
155
+ float: none !important;
156
+ text-align: right;
157
+ }
158
+ @else if $alignment == inline {
159
+ margin: 0 0 $form-spacing 0;
160
+ padding: $form-spacing / 2 + rem-calc($input-border-width) 0;
161
+ }
162
+ }
163
+
164
+ // We use this mixin to create postfix/prefix form Labels
165
+ @mixin prefix-postfix-base {
166
+ display: block;
167
+ position: relative;
168
+ z-index: 2;
169
+ text-align: center;
170
+ width: 100%;
171
+ padding-top: 0;
172
+ padding-bottom: 0;
173
+ border-style: $input-prefix-border-type;
174
+ border-width: $input-prefix-border-size;
175
+ overflow: $input-prefix-overflow;
176
+ font-size: $form-label-font-size;
177
+ height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
178
+ line-height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
179
+ }
180
+
181
+ // @MIXIN
182
+ //
183
+ // We use this mixin to create prefix label styles
184
+ // $bg - Default:$input-prefix-bg || scale-color(#fff, $lightness: -5%) !default;
185
+ // $is-button - Toggle position settings if prefix is a button. Default:false
186
+ //
187
+ @mixin prefix($bg:$input-prefix-bg, $border:$input-prefix-border-color, $is-button:false) {
188
+
189
+ @if $bg {
190
+ $bg-lightness: lightness($bg);
191
+ background: $bg;
192
+ border-#{$opposite-direction}: none;
193
+
194
+ // Control the font color based on background brightness
195
+ @if $bg-lightness > 70% or $bg == yellow { color: $input-prefix-font-color; }
196
+ @else { color: $input-prefix-font-color-alt; }
197
+ }
198
+
199
+ @if $border {
200
+ border-color: $border;
201
+ }
202
+
203
+ @if $is-button {
204
+ padding-#{$default-float}: 0;
205
+ padding-#{$opposite-direction}: 0;
206
+ padding-top: 0;
207
+ padding-bottom: 0;
208
+ text-align: center;
209
+ line-height: rem-calc(34);
210
+ border: none;
211
+ }
212
+
213
+ }
214
+
215
+ // @MIXIN
216
+ //
217
+ // We use this mixin to create postfix label styles
218
+ // $bg - Default:$input-prefix-bg || scale-color(#fff, $lightness: -5%) !default;
219
+ // $is-button - Toggle position settings if prefix is a button. Default: false
220
+ @mixin postfix($bg:$input-prefix-bg, $border:$input-prefix-border-color, $is-button:false) {
221
+
222
+ @if $bg {
223
+ $bg-lightness: lightness($bg);
224
+ background: $bg;
225
+ border-#{$default-float}: none;
226
+
227
+ // Control the font color based on background brightness
228
+ @if $bg-lightness > 70% or $bg == yellow { color: $input-prefix-font-color; }
229
+ @else { color: $input-prefix-font-color-alt; }
230
+ }
231
+
232
+ @if $border {
233
+ border-color: $border;
234
+ }
235
+
236
+ @if $is-button {
237
+ padding-#{$default-float}: 0;
238
+ padding-#{$opposite-direction}: 0;
239
+ padding-top: 0;
240
+ padding-bottom: 0;
241
+ text-align: center;
242
+ line-height: rem-calc(34);
243
+ border: none;
244
+ }
245
+
246
+ }
247
+
248
+ // We use this mixin to style fieldsets
249
+ @mixin fieldset {
250
+ border: $fieldset-border-width $fieldset-border-style $fieldset-border-color;
251
+ padding: $fieldset-padding;
252
+ margin: $fieldset-margin;
253
+
254
+ // and legend styles
255
+ legend {
256
+ font-weight: $legend-font-weight;
257
+ background: $legend-bg;
258
+ padding: $legend-padding;
259
+ margin: 0;
260
+ margin-#{$default-float}: rem-calc(-3);
261
+ }
262
+ }
263
+
264
+ // @MIXIN
265
+ //
266
+ // We use this mixin to control border and background color of error inputs
267
+ // $color - Default: $alert-color (found in settings file)
268
+ @mixin form-error-color($color:$alert-color) {
269
+ border-color: $color;
270
+ background-color: rgba($color, 0.1);
271
+
272
+ // Go back to normal on focus
273
+ &:focus {
274
+ background: $input-focus-bg-color;
275
+ border-color: $input-focus-border-color;
276
+ }
277
+ }
278
+
279
+ // @MIXIN
280
+ //
281
+ // We use this simple mixin to style labels for error inputs
282
+ // $color - Default:$alert-color. Found in settings file
283
+ @mixin form-label-error-color($color:$alert-color) { color: $color; }
284
+
285
+ // @MIXIN
286
+ //
287
+ // We use this mixin to create error message styles
288
+ // $bg - Default: $alert-color (Found in settings file)
289
+ @mixin form-error-message($bg:$alert-color) {
290
+ display: block;
291
+ padding: $input-error-message-padding;
292
+ margin-top: $input-error-message-top;
293
+ margin-bottom: $form-spacing;
294
+ font-size: $input-error-message-font-size;
295
+ font-weight: $input-error-message-font-weight;
296
+ font-style: $input-error-message-font-style;
297
+
298
+ // We can control the text color based on the brightness of the background.
299
+ $bg-lightness: lightness($bg);
300
+ background: $bg;
301
+ @if $bg-lightness < 70% or $bg == yellow { color: $input-error-message-font-color; }
302
+ @else { color: $input-error-message-font-color-alt; }
303
+ }
304
+
305
+ // We use this mixin to style select elements
306
+ @mixin form-select {
307
+ -webkit-appearance: none !important;
308
+ background-color: $select-bg-color;
309
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iM3B4IiB2aWV3Qm94PSIwIDAgNiAzIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA2IDMiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iNS45OTIsMCAyLjk5MiwzIC0wLjAwOCwwICIvPjwvc3ZnPg==');
310
+ background-repeat: no-repeat;
311
+ background-position: if($text-direction == 'rtl', 3%, 97%) center;
312
+ border: $input-border-width $input-border-style $input-border-color;
313
+ padding: $form-spacing / 2;
314
+ font-size: $input-font-size;
315
+ color: $input-font-color;
316
+ line-height: normal;
317
+ @include radius(0);
318
+ &.radius { @include radius($global-radius); }
319
+ &:hover {
320
+ background-color: $select-hover-bg-color;
321
+ border-color: $input-focus-border-color;
322
+ }
323
+ }
324
+
325
+ @include exports("form") {
326
+ @if $include-html-form-classes {
327
+ /* Standard Forms */
328
+ form { margin: 0 0 $form-spacing; }
329
+
330
+ /* Using forms within rows, we need to set some defaults */
331
+ form .row { @include form-row-base; }
332
+
333
+ /* Label Styles */
334
+ label { @include form-label;
335
+ &.right { @include form-label(right,false); }
336
+ &.inline { @include form-label(inline,false); }
337
+ /* Styles for required inputs */
338
+ small {
339
+ text-transform: $form-label-small-transform;
340
+ color: scale-color($form-label-font-color, $lightness: 15%);
341
+ }
342
+ }
343
+
344
+ select::-ms-expand {
345
+ display:none;
346
+ }
347
+
348
+ @-moz-document url-prefix() {
349
+ select { background: $select-bg-color; }
350
+ select:hover { background: $select-hover-bg-color }
351
+ }
352
+ /* Attach elements to the beginning or end of an input */
353
+ .prefix,
354
+ .postfix { @include prefix-postfix-base; }
355
+
356
+ /* Adjust padding, alignment and radius if pre/post element is a button */
357
+ .postfix.button { @include button-size(false,false); @include postfix(false, false, true); }
358
+ .prefix.button { @include button-size(false,false); @include prefix(false, false, true); }
359
+
360
+ .prefix.button.radius { @include radius(0); @include side-radius($default-float, $button-radius); }
361
+ .postfix.button.radius { @include radius(0); @include side-radius($opposite-direction, $button-radius); }
362
+ .prefix.button.round { @include radius(0); @include side-radius($default-float, $button-round); }
363
+ .postfix.button.round { @include radius(0); @include side-radius($opposite-direction, $button-round); }
364
+
365
+ /* Separate prefix and postfix styles when on span or label so buttons keep their own */
366
+ span.prefix,label.prefix { @include prefix();
367
+ &.radius { @include radius(0); @include side-radius($default-float, $global-radius); }
368
+ }
369
+ span.postfix,label.postfix { @include postfix();
370
+ &.radius { @include radius(0); @include side-radius($opposite-direction, $global-radius); }
371
+ }
372
+
373
+ /* We use this to get basic styling on all basic form elements */
374
+ input[type="text"],
375
+ input[type="password"],
376
+ input[type="date"],
377
+ input[type="datetime"],
378
+ input[type="datetime-local"],
379
+ input[type="month"],
380
+ input[type="week"],
381
+ input[type="email"],
382
+ input[type="number"],
383
+ input[type="search"],
384
+ input[type="tel"],
385
+ input[type="time"],
386
+ input[type="url"],
387
+ textarea {
388
+ -webkit-appearance: none;
389
+ @include form-element;
390
+ @if $input-include-glowing-effect == false {
391
+ @include single-transition(all, 0.15s, linear);
392
+ }
393
+ &.radius {
394
+ @include radius($input-border-radius);
395
+ }
396
+ }
397
+
398
+ input[type="submit"] {
399
+ -webkit-appearance: none;
400
+ }
401
+
402
+ /* Respect enforced amount of rows for textarea */
403
+ textarea[rows] {
404
+ height: auto;
405
+ }
406
+
407
+ /* Add height value for select elements to match text input height */
408
+ select {
409
+ @include form-select;
410
+ height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
411
+ }
412
+
413
+ /* Adjust margin for form elements below */
414
+ input[type="file"],
415
+ input[type="checkbox"],
416
+ input[type="radio"],
417
+ select {
418
+ margin: 0 0 $form-spacing 0;
419
+ }
420
+
421
+ input[type="checkbox"] + label,
422
+ input[type="radio"] + label {
423
+ display: inline-block;
424
+ margin-#{$default-float}: $form-spacing * .5;
425
+ margin-#{$opposite-direction}: $form-spacing;
426
+ margin-bottom: 0;
427
+ vertical-align: baseline;
428
+ }
429
+
430
+ /* Normalize file input width */
431
+ input[type="file"] {
432
+ width:100%;
433
+ }
434
+
435
+ /* We add basic fieldset styling */
436
+ fieldset {
437
+ @include fieldset;
438
+ }
439
+
440
+ /* Error Handling */
441
+
442
+ #{data('abide')} {
443
+ .error small.error, span.error, small.error {
444
+ @include form-error-message;
445
+ }
446
+ span.error, small.error { display: none; }
447
+ }
448
+
449
+ span.error, small.error {
450
+ @include form-error-message;
451
+ }
452
+
453
+ .error {
454
+ input,
455
+ textarea,
456
+ select {
457
+ margin-bottom: 0;
458
+ }
459
+
460
+ input[type="checkbox"],
461
+ input[type="radio"] {
462
+ margin-bottom: $form-spacing
463
+ }
464
+
465
+ label,
466
+ label.error {
467
+ @include form-label-error-color;
468
+ }
469
+
470
+ small.error {
471
+ @include form-error-message;
472
+ }
473
+
474
+ > label {
475
+ > small {
476
+ color: scale-color($form-label-font-color, $lightness: 15%);
477
+ background: transparent;
478
+ padding: 0;
479
+ text-transform: $form-label-small-transform;
480
+ font-style: normal;
481
+ font-size: 60%;
482
+ margin: 0;
483
+ display: inline;
484
+ }
485
+ }
486
+
487
+ span.error-message {
488
+ display: block;
489
+ }
490
+ }
491
+
492
+ input.error,
493
+ textarea.error {
494
+ margin-bottom: 0;
495
+ }
496
+ label.error { @include form-label-error-color; }
497
+ }
498
+ }