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,833 @@
1
+ // a flag to toggle asset pipeline / compass integration
2
+ // defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
3
+ // in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
4
+ $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
5
+ //
6
+ // Variables
7
+ // --------------------------------------------------
8
+
9
+
10
+ //== Colors
11
+ //
12
+ //## Gray and brand colors for use across Bootstrap.
13
+
14
+ $gray-darker: lighten(#000, 13.5%) !default; // #222
15
+ $gray-dark: lighten(#000, 20%) !default; // #333
16
+ $gray: lighten(#000, 33.5%) !default; // #555
17
+ $gray-light: lighten(#000, 60%) !default; // #999
18
+ $gray-lighter: lighten(#000, 93.5%) !default; // #eee
19
+
20
+ $brand-primary: #428bca !default;
21
+ $brand-success: #5cb85c !default;
22
+ $brand-info: #5bc0de !default;
23
+ $brand-warning: #f0ad4e !default;
24
+ $brand-danger: #d9534f !default;
25
+
26
+
27
+ //== Scaffolding
28
+ //
29
+ // ## Settings for some of the most global styles.
30
+
31
+ //** Background color for `<body>`.
32
+ $body-bg: #fff !default;
33
+ //** Global text color on `<body>`.
34
+ $text-color: $gray-dark !default;
35
+
36
+ //** Global textual link color.
37
+ $link-color: $brand-primary !default;
38
+ //** Link hover color set via `darken()` function.
39
+ $link-hover-color: darken($link-color, 15%) !default;
40
+
41
+
42
+ //== Typography
43
+ //
44
+ //## Font, line-height, and color for body text, headings, and more.
45
+
46
+ $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
47
+ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
48
+ //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
49
+ $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
50
+ $font-family-base: $font-family-sans-serif !default;
51
+
52
+ $font-size-base: 14px !default;
53
+ $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
54
+ $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
55
+
56
+ $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
57
+ $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
58
+ $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
59
+ $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
60
+ $font-size-h5: $font-size-base !default;
61
+ $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
62
+
63
+ //** Unit-less `line-height` for use in components like buttons.
64
+ $line-height-base: 1.428571429 !default; // 20/14
65
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
66
+ $line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
67
+
68
+ //** By default, this inherits from the `<body>`.
69
+ $headings-font-family: inherit !default;
70
+ $headings-font-weight: 500 !default;
71
+ $headings-line-height: 1.1 !default;
72
+ $headings-color: inherit !default;
73
+
74
+
75
+ //-- Iconography
76
+ //
77
+ //## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
78
+
79
+ $icon-font-path: "bootstrap/" !default;
80
+ $icon-font-name: "glyphicons-halflings-regular" !default;
81
+ $icon-font-svg-id: "glyphicons_halflingsregular" !default;
82
+
83
+ //== Components
84
+ //
85
+ //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
86
+
87
+ $padding-base-vertical: 6px !default;
88
+ $padding-base-horizontal: 12px !default;
89
+
90
+ $padding-large-vertical: 10px !default;
91
+ $padding-large-horizontal: 16px !default;
92
+
93
+ $padding-small-vertical: 5px !default;
94
+ $padding-small-horizontal: 10px !default;
95
+
96
+ $padding-xs-vertical: 1px !default;
97
+ $padding-xs-horizontal: 5px !default;
98
+
99
+ $line-height-large: 1.33 !default;
100
+ $line-height-small: 1.5 !default;
101
+
102
+ $border-radius-base: 4px !default;
103
+ $border-radius-large: 6px !default;
104
+ $border-radius-small: 3px !default;
105
+
106
+ //** Global color for active items (e.g., navs or dropdowns).
107
+ $component-active-color: #fff !default;
108
+ //** Global background color for active items (e.g., navs or dropdowns).
109
+ $component-active-bg: $brand-primary !default;
110
+
111
+ //** Width of the `border` for generating carets that indicator dropdowns.
112
+ $caret-width-base: 4px !default;
113
+ //** Carets increase slightly in size for larger components.
114
+ $caret-width-large: 5px !default;
115
+
116
+
117
+ //== Tables
118
+ //
119
+ //## Customizes the `.table` component with basic values, each used across all table variations.
120
+
121
+ //** Padding for `<th>`s and `<td>`s.
122
+ $table-cell-padding: 8px !default;
123
+ //** Padding for cells in `.table-condensed`.
124
+ $table-condensed-cell-padding: 5px !default;
125
+
126
+ //** Default background color used for all tables.
127
+ $table-bg: transparent !default;
128
+ //** Background color used for `.table-striped`.
129
+ $table-bg-accent: #f9f9f9 !default;
130
+ //** Background color used for `.table-hover`.
131
+ $table-bg-hover: #f5f5f5 !default;
132
+ $table-bg-active: $table-bg-hover !default;
133
+
134
+ //** Border color for table and cell borders.
135
+ $table-border-color: #ddd !default;
136
+
137
+
138
+ //== Buttons
139
+ //
140
+ //## For each of Bootstrap's buttons, define text, background and border color.
141
+
142
+ $btn-font-weight: normal !default;
143
+
144
+ $btn-default-color: #333 !default;
145
+ $btn-default-bg: #fff !default;
146
+ $btn-default-border: #ccc !default;
147
+
148
+ $btn-primary-color: #fff !default;
149
+ $btn-primary-bg: $brand-primary !default;
150
+ $btn-primary-border: darken($btn-primary-bg, 5%) !default;
151
+
152
+ $btn-success-color: #fff !default;
153
+ $btn-success-bg: $brand-success !default;
154
+ $btn-success-border: darken($btn-success-bg, 5%) !default;
155
+
156
+ $btn-info-color: #fff !default;
157
+ $btn-info-bg: $brand-info !default;
158
+ $btn-info-border: darken($btn-info-bg, 5%) !default;
159
+
160
+ $btn-warning-color: #fff !default;
161
+ $btn-warning-bg: $brand-warning !default;
162
+ $btn-warning-border: darken($btn-warning-bg, 5%) !default;
163
+
164
+ $btn-danger-color: #fff !default;
165
+ $btn-danger-bg: $brand-danger !default;
166
+ $btn-danger-border: darken($btn-danger-bg, 5%) !default;
167
+
168
+ $btn-link-disabled-color: $gray-light !default;
169
+
170
+
171
+ //== Forms
172
+ //
173
+ //##
174
+
175
+ //** `<input>` background color
176
+ $input-bg: #fff !default;
177
+ //** `<input disabled>` background color
178
+ $input-bg-disabled: $gray-lighter !default;
179
+
180
+ //** Text color for `<input>`s
181
+ $input-color: $gray !default;
182
+ //** `<input>` border color
183
+ $input-border: #ccc !default;
184
+ //** `<input>` border radius
185
+ $input-border-radius: $border-radius-base !default;
186
+ //** Border color for inputs on focus
187
+ $input-border-focus: #66afe9 !default;
188
+
189
+ //** Placeholder text color
190
+ $input-color-placeholder: $gray-light !default;
191
+
192
+ //** Default `.form-control` height
193
+ $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
194
+ //** Large `.form-control` height
195
+ $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
196
+ //** Small `.form-control` height
197
+ $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
198
+
199
+ $legend-color: $gray-dark !default;
200
+ $legend-border-color: #e5e5e5 !default;
201
+
202
+ //** Background color for textual input addons
203
+ $input-group-addon-bg: $gray-lighter !default;
204
+ //** Border color for textual input addons
205
+ $input-group-addon-border-color: $input-border !default;
206
+
207
+
208
+ //== Dropdowns
209
+ //
210
+ //## Dropdown menu container and contents.
211
+
212
+ //** Background for the dropdown menu.
213
+ $dropdown-bg: #fff !default;
214
+ //** Dropdown menu `border-color`.
215
+ $dropdown-border: rgba(0,0,0,.15) !default;
216
+ //** Dropdown menu `border-color` **for IE8**.
217
+ $dropdown-fallback-border: #ccc !default;
218
+ //** Divider color for between dropdown items.
219
+ $dropdown-divider-bg: #e5e5e5 !default;
220
+
221
+ //** Dropdown link text color.
222
+ $dropdown-link-color: $gray-dark !default;
223
+ //** Hover color for dropdown links.
224
+ $dropdown-link-hover-color: darken($gray-dark, 5%) !default;
225
+ //** Hover background for dropdown links.
226
+ $dropdown-link-hover-bg: #f5f5f5 !default;
227
+
228
+ //** Active dropdown menu item text color.
229
+ $dropdown-link-active-color: $component-active-color !default;
230
+ //** Active dropdown menu item background color.
231
+ $dropdown-link-active-bg: $component-active-bg !default;
232
+
233
+ //** Disabled dropdown menu item background color.
234
+ $dropdown-link-disabled-color: $gray-light !default;
235
+
236
+ //** Text color for headers within dropdown menus.
237
+ $dropdown-header-color: $gray-light !default;
238
+
239
+ // Note: Deprecated $dropdown-caret-color as of v3.1.0
240
+ $dropdown-caret-color: #000 !default;
241
+
242
+
243
+ //-- Z-index master list
244
+ //
245
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
246
+ // of components dependent on the z-axis and are designed to all work together.
247
+ //
248
+ // Note: These variables are not generated into the Customizer.
249
+
250
+ $zindex-navbar: 1000 !default;
251
+ $zindex-dropdown: 1000 !default;
252
+ $zindex-popover: 1010 !default;
253
+ $zindex-tooltip: 1030 !default;
254
+ $zindex-navbar-fixed: 1030 !default;
255
+ $zindex-modal-background: 1040 !default;
256
+ $zindex-modal: 1050 !default;
257
+
258
+
259
+ //== Media queries breakpoints
260
+ //
261
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
262
+
263
+ // Extra small screen / phone
264
+ // Note: Deprecated $screen-xs and $screen-phone as of v3.0.1
265
+ $screen-xs: 480px !default;
266
+ $screen-xs-min: $screen-xs !default;
267
+ $screen-phone: $screen-xs-min !default;
268
+
269
+ // Small screen / tablet
270
+ // Note: Deprecated $screen-sm and $screen-tablet as of v3.0.1
271
+ $screen-sm: 768px !default;
272
+ $screen-sm-min: $screen-sm !default;
273
+ $screen-tablet: $screen-sm-min !default;
274
+
275
+ // Medium screen / desktop
276
+ // Note: Deprecated $screen-md and $screen-desktop as of v3.0.1
277
+ $screen-md: 992px !default;
278
+ $screen-md-min: $screen-md !default;
279
+ $screen-desktop: $screen-md-min !default;
280
+
281
+ // Large screen / wide desktop
282
+ // Note: Deprecated $screen-lg and $screen-lg-desktop as of v3.0.1
283
+ $screen-lg: 1200px !default;
284
+ $screen-lg-min: $screen-lg !default;
285
+ $screen-lg-desktop: $screen-lg-min !default;
286
+
287
+ // So media queries don't overlap when required, provide a maximum
288
+ $screen-xs-max: ($screen-sm-min - 1) !default;
289
+ $screen-sm-max: ($screen-md-min - 1) !default;
290
+ $screen-md-max: ($screen-lg-min - 1) !default;
291
+
292
+
293
+ //== Grid system
294
+ //
295
+ //## Define your custom responsive grid.
296
+
297
+ //** Number of columns in the grid.
298
+ $grid-columns: 12 !default;
299
+ //** Padding between columns. Gets divided in half for the left and right.
300
+ $grid-gutter-width: 30px !default;
301
+ // Navbar collapse
302
+ //** Point at which the navbar becomes uncollapsed.
303
+ $grid-float-breakpoint: $screen-sm-min !default;
304
+ //** Point at which the navbar begins collapsing.
305
+ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
306
+
307
+
308
+ //== Container sizes
309
+ //
310
+ //## Define the maximum width of `.container` for different screen sizes.
311
+
312
+ // Small screen / tablet
313
+ $container-tablet: ((720px + $grid-gutter-width)) !default;
314
+ //** For `$screen-sm-min` and up.
315
+ $container-sm: $container-tablet !default;
316
+
317
+ // Medium screen / desktop
318
+ $container-desktop: ((940px + $grid-gutter-width)) !default;
319
+ //** For `$screen-md-min` and up.
320
+ $container-md: $container-desktop !default;
321
+
322
+ // Large screen / wide desktop
323
+ $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
324
+ //** For `$screen-lg-min` and up.
325
+ $container-lg: $container-large-desktop !default;
326
+
327
+
328
+ //== Navbar
329
+ //
330
+ //##
331
+
332
+ // Basics of a navbar
333
+ $navbar-height: 50px !default;
334
+ $navbar-margin-bottom: $line-height-computed !default;
335
+ $navbar-border-radius: $border-radius-base !default;
336
+ $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
337
+ $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
338
+ $navbar-collapse-max-height: 340px !default;
339
+
340
+ $navbar-default-color: #777 !default;
341
+ $navbar-default-bg: #f8f8f8 !default;
342
+ $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
343
+
344
+ // Navbar links
345
+ $navbar-default-link-color: #777 !default;
346
+ $navbar-default-link-hover-color: #333 !default;
347
+ $navbar-default-link-hover-bg: transparent !default;
348
+ $navbar-default-link-active-color: #555 !default;
349
+ $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
350
+ $navbar-default-link-disabled-color: #ccc !default;
351
+ $navbar-default-link-disabled-bg: transparent !default;
352
+
353
+ // Navbar brand label
354
+ $navbar-default-brand-color: $navbar-default-link-color !default;
355
+ $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
356
+ $navbar-default-brand-hover-bg: transparent !default;
357
+
358
+ // Navbar toggle
359
+ $navbar-default-toggle-hover-bg: #ddd !default;
360
+ $navbar-default-toggle-icon-bar-bg: #888 !default;
361
+ $navbar-default-toggle-border-color: #ddd !default;
362
+
363
+
364
+ // Inverted navbar
365
+ // Reset inverted navbar basics
366
+ $navbar-inverse-color: $gray-light !default;
367
+ $navbar-inverse-bg: #222 !default;
368
+ $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
369
+
370
+ // Inverted navbar links
371
+ $navbar-inverse-link-color: $gray-light !default;
372
+ $navbar-inverse-link-hover-color: #fff !default;
373
+ $navbar-inverse-link-hover-bg: transparent !default;
374
+ $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
375
+ $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
376
+ $navbar-inverse-link-disabled-color: #444 !default;
377
+ $navbar-inverse-link-disabled-bg: transparent !default;
378
+
379
+ // Inverted navbar brand label
380
+ $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
381
+ $navbar-inverse-brand-hover-color: #fff !default;
382
+ $navbar-inverse-brand-hover-bg: transparent !default;
383
+
384
+ // Inverted navbar toggle
385
+ $navbar-inverse-toggle-hover-bg: #333 !default;
386
+ $navbar-inverse-toggle-icon-bar-bg: #fff !default;
387
+ $navbar-inverse-toggle-border-color: #333 !default;
388
+
389
+
390
+ //== Navs
391
+ //
392
+ //##
393
+
394
+ //=== Shared nav styles
395
+ $nav-link-padding: 10px 15px !default;
396
+ $nav-link-hover-bg: $gray-lighter !default;
397
+
398
+ $nav-disabled-link-color: $gray-light !default;
399
+ $nav-disabled-link-hover-color: $gray-light !default;
400
+
401
+ $nav-open-link-hover-color: #fff !default;
402
+
403
+ //== Tabs
404
+ $nav-tabs-border-color: #ddd !default;
405
+
406
+ $nav-tabs-link-hover-border-color: $gray-lighter !default;
407
+
408
+ $nav-tabs-active-link-hover-bg: $body-bg !default;
409
+ $nav-tabs-active-link-hover-color: $gray !default;
410
+ $nav-tabs-active-link-hover-border-color: #ddd !default;
411
+
412
+ $nav-tabs-justified-link-border-color: #ddd !default;
413
+ $nav-tabs-justified-active-link-border-color: $body-bg !default;
414
+
415
+ //== Pills
416
+ $nav-pills-border-radius: $border-radius-base !default;
417
+ $nav-pills-active-link-hover-bg: $component-active-bg !default;
418
+ $nav-pills-active-link-hover-color: $component-active-color !default;
419
+
420
+
421
+ //== Pagination
422
+ //
423
+ //##
424
+
425
+ $pagination-color: $link-color !default;
426
+ $pagination-bg: #fff !default;
427
+ $pagination-border: #ddd !default;
428
+
429
+ $pagination-hover-color: $link-hover-color !default;
430
+ $pagination-hover-bg: $gray-lighter !default;
431
+ $pagination-hover-border: #ddd !default;
432
+
433
+ $pagination-active-color: #fff !default;
434
+ $pagination-active-bg: $brand-primary !default;
435
+ $pagination-active-border: $brand-primary !default;
436
+
437
+ $pagination-disabled-color: $gray-light !default;
438
+ $pagination-disabled-bg: #fff !default;
439
+ $pagination-disabled-border: #ddd !default;
440
+
441
+
442
+ //== Pager
443
+ //
444
+ //##
445
+
446
+ $pager-bg: $pagination-bg !default;
447
+ $pager-border: $pagination-border !default;
448
+ $pager-border-radius: 15px !default;
449
+
450
+ $pager-hover-bg: $pagination-hover-bg !default;
451
+
452
+ $pager-active-bg: $pagination-active-bg !default;
453
+ $pager-active-color: $pagination-active-color !default;
454
+
455
+ $pager-disabled-color: $pagination-disabled-color !default;
456
+
457
+
458
+ //== Jumbotron
459
+ //
460
+ //##
461
+
462
+ $jumbotron-padding: 30px !default;
463
+ $jumbotron-color: inherit !default;
464
+ $jumbotron-bg: $gray-lighter !default;
465
+ $jumbotron-heading-color: inherit !default;
466
+ $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
467
+
468
+
469
+ //== Form states and alerts
470
+ //
471
+ //## Define colors for form feedback states and, by default, alerts.
472
+
473
+ $state-success-text: #3c763d !default;
474
+ $state-success-bg: #dff0d8 !default;
475
+ $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
476
+
477
+ $state-info-text: #31708f !default;
478
+ $state-info-bg: #d9edf7 !default;
479
+ $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
480
+
481
+ $state-warning-text: #8a6d3b !default;
482
+ $state-warning-bg: #fcf8e3 !default;
483
+ $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
484
+
485
+ $state-danger-text: #a94442 !default;
486
+ $state-danger-bg: #f2dede !default;
487
+ $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
488
+
489
+
490
+ //== Tooltips
491
+ //
492
+ //##
493
+
494
+ //** Tooltip max width
495
+ $tooltip-max-width: 200px !default;
496
+ //** Tooltip text color
497
+ $tooltip-color: #fff !default;
498
+ //** Tooltip background color
499
+ $tooltip-bg: #000 !default;
500
+ $tooltip-opacity: .9 !default;
501
+
502
+ //** Tooltip arrow width
503
+ $tooltip-arrow-width: 5px !default;
504
+ //** Tooltip arrow color
505
+ $tooltip-arrow-color: $tooltip-bg !default;
506
+
507
+
508
+ //== Popovers
509
+ //
510
+ //##
511
+
512
+ //** Popover body background color
513
+ $popover-bg: #fff !default;
514
+ //** Popover maximum width
515
+ $popover-max-width: 276px !default;
516
+ //** Popover border color
517
+ $popover-border-color: rgba(0,0,0,.2) !default;
518
+ //** Popover fallback border color
519
+ $popover-fallback-border-color: #ccc !default;
520
+
521
+ //** Popover title background color
522
+ $popover-title-bg: darken($popover-bg, 3%) !default;
523
+
524
+ //** Popover arrow width
525
+ $popover-arrow-width: 10px !default;
526
+ //** Popover arrow color
527
+ $popover-arrow-color: #fff !default;
528
+
529
+ //** Popover outer arrow width
530
+ $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
531
+ //** Popover outer arrow color
532
+ $popover-arrow-outer-color: fadein($popover-border-color, 5%) !default;
533
+ //** Popover outer arrow fallback color
534
+ $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
535
+
536
+
537
+ //== Labels
538
+ //
539
+ //##
540
+
541
+ //** Default label background color
542
+ $label-default-bg: $gray-light !default;
543
+ //** Primary label background color
544
+ $label-primary-bg: $brand-primary !default;
545
+ //** Success label background color
546
+ $label-success-bg: $brand-success !default;
547
+ //** Info label background color
548
+ $label-info-bg: $brand-info !default;
549
+ //** Warning label background color
550
+ $label-warning-bg: $brand-warning !default;
551
+ //** Danger label background color
552
+ $label-danger-bg: $brand-danger !default;
553
+
554
+ //** Default label text color
555
+ $label-color: #fff !default;
556
+ //** Default text color of a linked label
557
+ $label-link-hover-color: #fff !default;
558
+
559
+
560
+ //== Modals
561
+ //
562
+ //##
563
+
564
+ //** Padding applied to the modal body
565
+ $modal-inner-padding: 20px !default;
566
+
567
+ //** Padding applied to the modal title
568
+ $modal-title-padding: 15px !default;
569
+ //** Modal title line-height
570
+ $modal-title-line-height: $line-height-base !default;
571
+
572
+ //** Background color of modal content area
573
+ $modal-content-bg: #fff !default;
574
+ //** Modal content border color
575
+ $modal-content-border-color: rgba(0,0,0,.2) !default;
576
+ //** Modal content border color **for IE8**
577
+ $modal-content-fallback-border-color: #999 !default;
578
+
579
+ //** Modal backdrop background color
580
+ $modal-backdrop-bg: #000 !default;
581
+ //** Modal backdrop opacity
582
+ $modal-backdrop-opacity: .5 !default;
583
+ //** Modal header border color
584
+ $modal-header-border-color: #e5e5e5 !default;
585
+ //** Modal footer border color
586
+ $modal-footer-border-color: $modal-header-border-color !default;
587
+
588
+ $modal-lg: 900px !default;
589
+ $modal-md: 600px !default;
590
+ $modal-sm: 300px !default;
591
+
592
+
593
+ //== Alerts
594
+ //
595
+ //## Define alert colors, border radius, and padding.
596
+
597
+ $alert-padding: 15px !default;
598
+ $alert-border-radius: $border-radius-base !default;
599
+ $alert-link-font-weight: bold !default;
600
+
601
+ $alert-success-bg: $state-success-bg !default;
602
+ $alert-success-text: $state-success-text !default;
603
+ $alert-success-border: $state-success-border !default;
604
+
605
+ $alert-info-bg: $state-info-bg !default;
606
+ $alert-info-text: $state-info-text !default;
607
+ $alert-info-border: $state-info-border !default;
608
+
609
+ $alert-warning-bg: $state-warning-bg !default;
610
+ $alert-warning-text: $state-warning-text !default;
611
+ $alert-warning-border: $state-warning-border !default;
612
+
613
+ $alert-danger-bg: $state-danger-bg !default;
614
+ $alert-danger-text: $state-danger-text !default;
615
+ $alert-danger-border: $state-danger-border !default;
616
+
617
+
618
+ //== Progress bars
619
+ //
620
+ //##
621
+
622
+ //** Background color of the whole progress component
623
+ $progress-bg: #f5f5f5 !default;
624
+ //** Progress bar text color
625
+ $progress-bar-color: #fff !default;
626
+
627
+ //** Default progress bar color
628
+ $progress-bar-bg: $brand-primary !default;
629
+ //** Success progress bar color
630
+ $progress-bar-success-bg: $brand-success !default;
631
+ //** Warning progress bar color
632
+ $progress-bar-warning-bg: $brand-warning !default;
633
+ //** Danger progress bar color
634
+ $progress-bar-danger-bg: $brand-danger !default;
635
+ //** Info progress bar color
636
+ $progress-bar-info-bg: $brand-info !default;
637
+
638
+
639
+ //== List group
640
+ //
641
+ //##
642
+
643
+ //** Background color on `.list-group-item`
644
+ $list-group-bg: #fff !default;
645
+ //** `.list-group-item` border color
646
+ $list-group-border: #ddd !default;
647
+ //** List group border radius
648
+ $list-group-border-radius: $border-radius-base !default;
649
+
650
+ //** Background color of single list elements on hover
651
+ $list-group-hover-bg: #f5f5f5 !default;
652
+ //** Text color of active list elements
653
+ $list-group-active-color: $component-active-color !default;
654
+ //** Background color of active list elements
655
+ $list-group-active-bg: $component-active-bg !default;
656
+ //** Border color of active list elements
657
+ $list-group-active-border: $list-group-active-bg !default;
658
+ $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
659
+
660
+ $list-group-link-color: #555 !default;
661
+ $list-group-link-heading-color: #333 !default;
662
+
663
+
664
+ //== Panels
665
+ //
666
+ //##
667
+
668
+ $panel-bg: #fff !default;
669
+ $panel-body-padding: 15px !default;
670
+ $panel-border-radius: $border-radius-base !default;
671
+
672
+ //** Border color for elements within panels
673
+ $panel-inner-border: #ddd !default;
674
+ $panel-footer-bg: #f5f5f5 !default;
675
+
676
+ $panel-default-text: $gray-dark !default;
677
+ $panel-default-border: #ddd !default;
678
+ $panel-default-heading-bg: #f5f5f5 !default;
679
+
680
+ $panel-primary-text: #fff !default;
681
+ $panel-primary-border: $brand-primary !default;
682
+ $panel-primary-heading-bg: $brand-primary !default;
683
+
684
+ $panel-success-text: $state-success-text !default;
685
+ $panel-success-border: $state-success-border !default;
686
+ $panel-success-heading-bg: $state-success-bg !default;
687
+
688
+ $panel-info-text: $state-info-text !default;
689
+ $panel-info-border: $state-info-border !default;
690
+ $panel-info-heading-bg: $state-info-bg !default;
691
+
692
+ $panel-warning-text: $state-warning-text !default;
693
+ $panel-warning-border: $state-warning-border !default;
694
+ $panel-warning-heading-bg: $state-warning-bg !default;
695
+
696
+ $panel-danger-text: $state-danger-text !default;
697
+ $panel-danger-border: $state-danger-border !default;
698
+ $panel-danger-heading-bg: $state-danger-bg !default;
699
+
700
+
701
+ //== Thumbnails
702
+ //
703
+ //##
704
+
705
+ //** Padding around the thumbnail image
706
+ $thumbnail-padding: 4px !default;
707
+ //** Thumbnail background color
708
+ $thumbnail-bg: $body-bg !default;
709
+ //** Thumbnail border color
710
+ $thumbnail-border: #ddd !default;
711
+ //** Thumbnail border radius
712
+ $thumbnail-border-radius: $border-radius-base !default;
713
+
714
+ //** Custom text color for thumbnail captions
715
+ $thumbnail-caption-color: $text-color !default;
716
+ //** Padding around the thumbnail caption
717
+ $thumbnail-caption-padding: 9px !default;
718
+
719
+
720
+ //== Wells
721
+ //
722
+ //##
723
+
724
+ $well-bg: #f5f5f5 !default;
725
+ $well-border: darken($well-bg, 7%) !default;
726
+
727
+
728
+ //== Badges
729
+ //
730
+ //##
731
+
732
+ $badge-color: #fff !default;
733
+ //** Linked badge text color on hover
734
+ $badge-link-hover-color: #fff !default;
735
+ $badge-bg: $gray-light !default;
736
+
737
+ //** Badge text color in active nav link
738
+ $badge-active-color: $link-color !default;
739
+ //** Badge background color in active nav link
740
+ $badge-active-bg: #fff !default;
741
+
742
+ $badge-font-weight: bold !default;
743
+ $badge-line-height: 1 !default;
744
+ $badge-border-radius: 10px !default;
745
+
746
+
747
+ //== Breadcrumbs
748
+ //
749
+ //##
750
+
751
+ $breadcrumb-padding-vertical: 8px !default;
752
+ $breadcrumb-padding-horizontal: 15px !default;
753
+ //** Breadcrumb background color
754
+ $breadcrumb-bg: #f5f5f5 !default;
755
+ //** Breadcrumb text color
756
+ $breadcrumb-color: #ccc !default;
757
+ //** Text color of current page in the breadcrumb
758
+ $breadcrumb-active-color: $gray-light !default;
759
+ //** Textual separator for between breadcrumb elements
760
+ $breadcrumb-separator: "/" !default;
761
+
762
+
763
+ //== Carousel
764
+ //
765
+ //##
766
+
767
+ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
768
+
769
+ $carousel-control-color: #fff !default;
770
+ $carousel-control-width: 15% !default;
771
+ $carousel-control-opacity: .5 !default;
772
+ $carousel-control-font-size: 20px !default;
773
+
774
+ $carousel-indicator-active-bg: #fff !default;
775
+ $carousel-indicator-border-color: #fff !default;
776
+
777
+ $carousel-caption-color: #fff !default;
778
+
779
+
780
+ //== Close
781
+ //
782
+ //##
783
+
784
+ $close-font-weight: bold !default;
785
+ $close-color: #000 !default;
786
+ $close-text-shadow: 0 1px 0 #fff !default;
787
+
788
+
789
+ //== Code
790
+ //
791
+ //##
792
+
793
+ $code-color: #c7254e !default;
794
+ $code-bg: #f9f2f4 !default;
795
+
796
+ $kbd-color: #fff !default;
797
+ $kbd-bg: #333 !default;
798
+
799
+ $pre-bg: #f5f5f5 !default;
800
+ $pre-color: $gray-dark !default;
801
+ $pre-border-color: #ccc !default;
802
+ $pre-scrollable-max-height: 340px !default;
803
+
804
+
805
+ //== Type
806
+ //
807
+ //##
808
+
809
+ //** Text muted color
810
+ $text-muted: $gray-light !default;
811
+ //** Abbreviations and acronyms border color
812
+ $abbr-border-color: $gray-light !default;
813
+ //** Headings small color
814
+ $headings-small-color: $gray-light !default;
815
+ //** Blockquote small color
816
+ $blockquote-small-color: $gray-light !default;
817
+ //** Blockquote font size
818
+ $blockquote-font-size: ($font-size-base * 1.25) !default;
819
+ //** Blockquote border color
820
+ $blockquote-border-color: $gray-lighter !default;
821
+ //** Page header border color
822
+ $page-header-border-color: $gray-lighter !default;
823
+
824
+
825
+ //== Miscellaneous
826
+ //
827
+ //##
828
+
829
+ //** Horizontal line color.
830
+ $hr-border: $gray-lighter !default;
831
+
832
+ //** Horizontal offset for forms and lists.
833
+ $component-offset-horizontal: 180px !default;