refills 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (810) hide show
  1. checksums.yaml +4 -4
  2. data/.buildpacks +2 -0
  3. data/.gitignore +7 -16
  4. data/.hound.yml +6 -0
  5. data/.ruby-version +1 -0
  6. data/.scss-lint.yml +173 -0
  7. data/.travis.yml +8 -0
  8. data/CONTRIBUTING.md +65 -0
  9. data/Gemfile +12 -10
  10. data/LICENSE.md +21 -0
  11. data/README.md +57 -70
  12. data/Rakefile +20 -0
  13. data/bin/deploy +12 -0
  14. data/bin/setup +13 -0
  15. data/config.rb +7 -88
  16. data/lib/refills/import_generator.rb +65 -2
  17. data/lib/refills/version.rb +1 -1
  18. data/lib/snippet_helpers.rb +89 -0
  19. data/refills.gemspec +14 -15
  20. data/sache.json +5 -0
  21. data/source/_accordion.html.erb +0 -9
  22. data/source/{_accordion-tabs.html.erb → _accordion_tabs.html.erb} +13 -35
  23. data/source/{_accordion-tabs-minimal.html.erb → _accordion_tabs_minimal.html.erb} +9 -31
  24. data/source/_animate.html.erb +4 -0
  25. data/source/_animate_info.html.erb +4 -0
  26. data/source/_badges.html.erb +7 -7
  27. data/source/_button_group.html.erb +18 -0
  28. data/source/_cards.html.erb +5 -27
  29. data/source/_centered_navigation.html.erb +40 -0
  30. data/source/{_snippets.html.erb → _code.html.erb} +5 -2
  31. data/source/_comment.html.erb +2 -2
  32. data/source/_device.html.erb +10 -0
  33. data/source/_dropdown.html.erb +12 -0
  34. data/source/_expander.html.erb +6 -0
  35. data/source/_fade_in.html.erb +7 -0
  36. data/source/_flashes.html.erb +15 -0
  37. data/source/_flex_boxes.html.erb +32 -0
  38. data/source/_footer.html.erb +2 -2
  39. data/source/_footer_2.html.erb +33 -0
  40. data/source/{_grid-items.html.erb → _grid_items.html.erb} +7 -7
  41. data/source/{_grid-items-lines.html.erb → _grid_items_lines.html.erb} +9 -9
  42. data/source/_hero.html.erb +4 -3
  43. data/source/_hover_tile_animation.html.erb +9 -0
  44. data/source/{_icon-bullet-points.html.erb → _icon_bullet_points.html.erb} +12 -11
  45. data/source/{_image-gradient-dynamic.html.erb → _image_gradient_dynamic.html.erb} +2 -2
  46. data/source/_maps.html.erb +74 -0
  47. data/source/_modal.html.erb +3 -3
  48. data/source/_navigation.html.erb +22 -37
  49. data/source/_pagination.html.erb +17 -0
  50. data/source/_parallax.html.erb +6 -0
  51. data/source/{_progress-bar.html.erb → _progress_bar.html.erb} +0 -0
  52. data/source/{_progress-bar-indication.html.erb → _progress_bar_indication.html.erb} +0 -0
  53. data/source/_ribbon.html.erb +5 -0
  54. data/source/_scroll_on_page.html.erb +24 -0
  55. data/source/_search_bar.html.erb +6 -0
  56. data/source/_search_tools.html.erb +58 -0
  57. data/source/_side_image.html.erb +10 -0
  58. data/source/_sliding_menu.html.erb +13 -0
  59. data/source/_snippet.html.erb +12 -3
  60. data/source/_stats.html.erb +8 -0
  61. data/source/_switch.html.erb +4 -7
  62. data/source/_tables.html.erb +2 -2
  63. data/source/{_tables-minimal.html.erb → _tables_minimal.html.erb} +0 -0
  64. data/source/_texture-legend.html.erb +24 -0
  65. data/source/_textures.html.erb +4 -0
  66. data/source/_tooltip.html.erb +2 -2
  67. data/source/_type_system_geometric.html.erb +18 -0
  68. data/source/_type_system_rounded.html.erb +18 -0
  69. data/source/_type_system_sans.html.erb +18 -0
  70. data/source/_type_system_serif.html.erb +19 -0
  71. data/source/_type_system_slab.html.erb +18 -0
  72. data/source/_type_system_traditional.html.erb +18 -0
  73. data/source/{_vertical-tabs.html.erb → _vertical_tabs.html.erb} +4 -39
  74. data/source/_video.html.erb +5 -0
  75. data/source/components.html.erb +222 -0
  76. data/source/images/EmeraldLake.jpg +0 -0
  77. data/source/images/bourbon-nav/bitters.png +0 -0
  78. data/source/images/bourbon-nav/bitters@2x.png +0 -0
  79. data/source/images/bourbon-nav/bourbon.png +0 -0
  80. data/source/images/bourbon-nav/bourbon@2x.png +0 -0
  81. data/source/images/bourbon-nav/neat.png +0 -0
  82. data/source/images/bourbon-nav/neat@2x.png +0 -0
  83. data/source/images/bourbon-nav/refills.png +0 -0
  84. data/source/images/bourbon-nav/refills@2x.png +0 -0
  85. data/source/images/cosmin_capitanu_screen.jpg +0 -0
  86. data/source/images/facebook-logo-circle-dark.png +0 -0
  87. data/source/images/facebook-logo-circle.png +0 -0
  88. data/source/images/indesign-logo-circle.png +0 -0
  89. data/source/images/lake-transparent.png +0 -0
  90. data/source/images/menu-white.png +0 -0
  91. data/source/images/menu.png +0 -0
  92. data/source/images/mountain-thin.png +0 -0
  93. data/source/images/mountains-2.png +0 -0
  94. data/source/images/mountains-3.png +0 -0
  95. data/source/images/mountains-4.png +0 -0
  96. data/source/images/mountains.png +0 -0
  97. data/source/images/placeholder_logo_1.png +0 -0
  98. data/source/images/placeholder_logo_1_dark.png +0 -0
  99. data/source/images/placeholder_logo_2.png +0 -0
  100. data/source/images/placeholder_logo_2_dark.png +0 -0
  101. data/source/images/placeholder_logo_3.png +0 -0
  102. data/source/images/placeholder_logo_3_dark.png +0 -0
  103. data/source/images/placeholder_logo_4.png +0 -0
  104. data/source/images/placeholder_logo_4_dark.png +0 -0
  105. data/source/images/ralph-gray.png +0 -0
  106. data/source/images/ralph.png +0 -0
  107. data/source/images/refills-logo.svg +18 -0
  108. data/source/images/refills-screenshot1.png +0 -0
  109. data/source/images/refills-screenshot2.jpg +0 -0
  110. data/source/images/refills-screenshot3.png +0 -0
  111. data/source/images/search-icon-black.png +0 -0
  112. data/source/images/search-icon.png +0 -0
  113. data/source/images/sliding-menu.png +0 -0
  114. data/source/images/textures/45degreee_fabric.png +0 -0
  115. data/source/images/textures/45degreee_fabric_@2X.png +0 -0
  116. data/source/images/textures/absurdidad.png +0 -0
  117. data/source/images/textures/absurdidad_@2X.png +0 -0
  118. data/source/images/textures/az_subtle.png +0 -0
  119. data/source/images/textures/az_subtle_@2X.png +0 -0
  120. data/source/images/textures/bgnoise_lg.png +0 -0
  121. data/source/images/textures/bgnoise_lg_@2X.png +0 -0
  122. data/source/images/textures/binding_light.png +0 -0
  123. data/source/images/textures/binding_light@2x.png +0 -0
  124. data/source/images/textures/brillant.png +0 -0
  125. data/source/images/textures/brillant_@2X.png +0 -0
  126. data/source/images/textures/brushed.png +0 -0
  127. data/source/images/textures/brushed_@2X.png +0 -0
  128. data/source/images/textures/brushed_alu.png +0 -0
  129. data/source/images/textures/brushed_alu_@2X.png +0 -0
  130. data/source/images/textures/chruch.png +0 -0
  131. data/source/images/textures/chruch_@2X.png +0 -0
  132. data/source/images/textures/circles.png +0 -0
  133. data/source/images/textures/circles_@2X.png +0 -0
  134. data/source/images/textures/concrete_wall_2.png +0 -0
  135. data/source/images/textures/concrete_wall_2_@2X.png +0 -0
  136. data/source/images/textures/concrete_wall_3.png +0 -0
  137. data/source/images/textures/concrete_wall_3_@2X.png +0 -0
  138. data/source/images/textures/corrugation.png +0 -0
  139. data/source/images/textures/corrugation_@2X.png +0 -0
  140. data/source/images/textures/cream_pixels.png +0 -0
  141. data/source/images/textures/cream_pixels@2x.png +0 -0
  142. data/source/images/textures/cross_scratches.png +0 -0
  143. data/source/images/textures/cross_scratches_@2X.png +0 -0
  144. data/source/images/textures/crosses.png +0 -0
  145. data/source/images/textures/crosses_@2X.png +0 -0
  146. data/source/images/textures/debut_light.png +0 -0
  147. data/source/images/textures/debut_light_@2X.png +0 -0
  148. data/source/images/textures/diagonal-noise.png +0 -0
  149. data/source/images/textures/diagonal-noise_@2X.png +0 -0
  150. data/source/images/textures/diagonal_waves.png +0 -0
  151. data/source/images/textures/diagonal_waves_@2X.png +0 -0
  152. data/source/images/textures/double_lined.png +0 -0
  153. data/source/images/textures/double_lined_@2X.png +0 -0
  154. data/source/images/textures/dust.png +0 -0
  155. data/source/images/textures/dust@2x.png +0 -0
  156. data/source/images/textures/dust_@2X.png +0 -0
  157. data/source/images/textures/fabric_plaid.png +0 -0
  158. data/source/images/textures/fabric_plaid_@2X.png +0 -0
  159. data/source/images/textures/fancy_deboss.png +0 -0
  160. data/source/images/textures/fancy_deboss_@2X.png +0 -0
  161. data/source/images/textures/farmer.png +0 -0
  162. data/source/images/textures/farmer_@2X.png +0 -0
  163. data/source/images/textures/first_aid_kit.png +0 -0
  164. data/source/images/textures/first_aid_kit_@2X.png +0 -0
  165. data/source/images/textures/graphy.png +0 -0
  166. data/source/images/textures/graphy_@2X.png +0 -0
  167. data/source/images/textures/grey.png +0 -0
  168. data/source/images/textures/grey_@2X.png +0 -0
  169. data/source/images/textures/grid.png +0 -0
  170. data/source/images/textures/grid_@2X.png +0 -0
  171. data/source/images/textures/grid_noise.png +0 -0
  172. data/source/images/textures/grid_noise_@2X.png +0 -0
  173. data/source/images/textures/gridme.png +0 -0
  174. data/source/images/textures/gridme_@2X.png +0 -0
  175. data/source/images/textures/grilled.png +0 -0
  176. data/source/images/textures/grilled_@2X.png +0 -0
  177. data/source/images/textures/groovepaper.png +0 -0
  178. data/source/images/textures/groovepaper_@2X.png +0 -0
  179. data/source/images/textures/honey_im_subtle.png +0 -0
  180. data/source/images/textures/honey_im_subtle_@2X.png +0 -0
  181. data/source/images/textures/husk.png +0 -0
  182. data/source/images/textures/husk_@2X.png +0 -0
  183. data/source/images/textures/inverted/45degreee_fabric.png +0 -0
  184. data/source/images/textures/inverted/45degreee_fabric_@2X.png +0 -0
  185. data/source/images/textures/inverted/absurdidad.png +0 -0
  186. data/source/images/textures/inverted/absurdidad_@2X.png +0 -0
  187. data/source/images/textures/inverted/az_subtle.png +0 -0
  188. data/source/images/textures/inverted/az_subtle_@2X.png +0 -0
  189. data/source/images/textures/inverted/bgnoise_lg.png +0 -0
  190. data/source/images/textures/inverted/bgnoise_lg_@2X.png +0 -0
  191. data/source/images/textures/inverted/binding_light.png +0 -0
  192. data/source/images/textures/inverted/binding_light@2x.png +0 -0
  193. data/source/images/textures/inverted/brillant.png +0 -0
  194. data/source/images/textures/inverted/brillant_@2X.png +0 -0
  195. data/source/images/textures/inverted/brushed.png +0 -0
  196. data/source/images/textures/inverted/brushed_@2X.png +0 -0
  197. data/source/images/textures/inverted/brushed_alu.png +0 -0
  198. data/source/images/textures/inverted/brushed_alu_@2X.png +0 -0
  199. data/source/images/textures/inverted/chruch.png +0 -0
  200. data/source/images/textures/inverted/chruch_@2X.png +0 -0
  201. data/source/images/textures/inverted/circles.png +0 -0
  202. data/source/images/textures/inverted/circles_@2X.png +0 -0
  203. data/source/images/textures/inverted/concrete_wall_2.png +0 -0
  204. data/source/images/textures/inverted/concrete_wall_2_@2X.png +0 -0
  205. data/source/images/textures/inverted/concrete_wall_3.png +0 -0
  206. data/source/images/textures/inverted/concrete_wall_3_@2X.png +0 -0
  207. data/source/images/textures/inverted/corrugation.png +0 -0
  208. data/source/images/textures/inverted/corrugation_@2X.png +0 -0
  209. data/source/images/textures/inverted/cream_pixels.png +0 -0
  210. data/source/images/textures/inverted/cream_pixels@2x.png +0 -0
  211. data/source/images/textures/inverted/cross_scratches.png +0 -0
  212. data/source/images/textures/inverted/cross_scratches_@2X.png +0 -0
  213. data/source/images/textures/inverted/crosses.png +0 -0
  214. data/source/images/textures/inverted/crosses_@2X.png +0 -0
  215. data/source/images/textures/inverted/debut_light.png +0 -0
  216. data/source/images/textures/inverted/debut_light_@2X.png +0 -0
  217. data/source/images/textures/inverted/diagonal-noise.png +0 -0
  218. data/source/images/textures/inverted/diagonal-noise_@2X.png +0 -0
  219. data/source/images/textures/inverted/diagonal_waves.png +0 -0
  220. data/source/images/textures/inverted/diagonal_waves_@2X.png +0 -0
  221. data/source/images/textures/inverted/double_lined.png +0 -0
  222. data/source/images/textures/inverted/double_lined_@2X.png +0 -0
  223. data/source/images/textures/inverted/dust.png +0 -0
  224. data/source/images/textures/inverted/dust@2x.png +0 -0
  225. data/source/images/textures/inverted/dust_@2X.png +0 -0
  226. data/source/images/textures/inverted/fabric_plaid.png +0 -0
  227. data/source/images/textures/inverted/fabric_plaid_@2X.png +0 -0
  228. data/source/images/textures/inverted/fancy_deboss.png +0 -0
  229. data/source/images/textures/inverted/fancy_deboss_@2X.png +0 -0
  230. data/source/images/textures/inverted/farmer.png +0 -0
  231. data/source/images/textures/inverted/farmer_@2X.png +0 -0
  232. data/source/images/textures/inverted/first_aid_kit.png +0 -0
  233. data/source/images/textures/inverted/first_aid_kit_@2X.png +0 -0
  234. data/source/images/textures/inverted/graphy.png +0 -0
  235. data/source/images/textures/inverted/graphy_@2X.png +0 -0
  236. data/source/images/textures/inverted/grey.png +0 -0
  237. data/source/images/textures/inverted/grey_@2X.png +0 -0
  238. data/source/images/textures/inverted/grid.png +0 -0
  239. data/source/images/textures/inverted/grid_@2X.png +0 -0
  240. data/source/images/textures/inverted/grid_noise.png +0 -0
  241. data/source/images/textures/inverted/grid_noise_@2X.png +0 -0
  242. data/source/images/textures/inverted/gridme.png +0 -0
  243. data/source/images/textures/inverted/gridme_@2X.png +0 -0
  244. data/source/images/textures/inverted/grilled.png +0 -0
  245. data/source/images/textures/inverted/grilled_@2X.png +0 -0
  246. data/source/images/textures/inverted/groovepaper.png +0 -0
  247. data/source/images/textures/inverted/groovepaper_@2X.png +0 -0
  248. data/source/images/textures/inverted/honey_im_subtle.png +0 -0
  249. data/source/images/textures/inverted/honey_im_subtle_@2X.png +0 -0
  250. data/source/images/textures/inverted/husk.png +0 -0
  251. data/source/images/textures/inverted/husk_@2X.png +0 -0
  252. data/source/images/textures/inverted/kindajean.png +0 -0
  253. data/source/images/textures/inverted/kindajean_@2X.png +0 -0
  254. data/source/images/textures/inverted/lghtmesh.png +0 -0
  255. data/source/images/textures/inverted/lghtmesh_@2X.png +0 -0
  256. data/source/images/textures/inverted/light_alu.png +0 -0
  257. data/source/images/textures/inverted/light_alu_@2X.png +0 -0
  258. data/source/images/textures/inverted/light_noise_diagonal.png +0 -0
  259. data/source/images/textures/inverted/light_noise_diagonal_@2X.png +0 -0
  260. data/source/images/textures/inverted/lil_fiber.png +0 -0
  261. data/source/images/textures/inverted/lil_fiber_@2X.png +0 -0
  262. data/source/images/textures/inverted/line_diagonal1.png +0 -0
  263. data/source/images/textures/inverted/line_diagonal2.png +0 -0
  264. data/source/images/textures/inverted/line_horizontal1.png +0 -0
  265. data/source/images/textures/inverted/line_horizontal2.png +0 -0
  266. data/source/images/textures/inverted/linen.png +0 -0
  267. data/source/images/textures/inverted/linen_@2X.png +0 -0
  268. data/source/images/textures/inverted/little_pluses.png +0 -0
  269. data/source/images/textures/inverted/little_pluses_@2X.png +0 -0
  270. data/source/images/textures/inverted/mooning.png +0 -0
  271. data/source/images/textures/inverted/mooning@2x.png +0 -0
  272. data/source/images/textures/inverted/noise_lines.png +0 -0
  273. data/source/images/textures/inverted/noise_lines_@2X.png +0 -0
  274. data/source/images/textures/inverted/noise_pattern_with_crosslines.png +0 -0
  275. data/source/images/textures/inverted/noise_pattern_with_crosslines_@2X.png +0 -0
  276. data/source/images/textures/inverted/noisy.png +0 -0
  277. data/source/images/textures/inverted/noisy_@2X.png +0 -0
  278. data/source/images/textures/inverted/noisy_grid.png +0 -0
  279. data/source/images/textures/inverted/noisy_grid_@2X.png +0 -0
  280. data/source/images/textures/inverted/noisy_grid_simple.png +0 -0
  281. data/source/images/textures/inverted/old_mathematics.png +0 -0
  282. data/source/images/textures/inverted/old_mathematics_@2X.png +0 -0
  283. data/source/images/textures/inverted/old_wall.png +0 -0
  284. data/source/images/textures/inverted/old_wall_@2X.png +0 -0
  285. data/source/images/textures/inverted/p5.png +0 -0
  286. data/source/images/textures/inverted/p5_@2X.png +0 -0
  287. data/source/images/textures/inverted/paper.png +0 -0
  288. data/source/images/textures/inverted/paper_@2X.png +0 -0
  289. data/source/images/textures/inverted/pinstripe.png +0 -0
  290. data/source/images/textures/inverted/pinstripe_@2X.png +0 -0
  291. data/source/images/textures/inverted/ps_neutral.png +0 -0
  292. data/source/images/textures/inverted/ps_neutral_@2X.png +0 -0
  293. data/source/images/textures/inverted/pw_maze_white.png +0 -0
  294. data/source/images/textures/inverted/pw_maze_white_@2X.png +0 -0
  295. data/source/images/textures/inverted/pw_pattern.png +0 -0
  296. data/source/images/textures/inverted/pw_pattern_@2X.png +0 -0
  297. data/source/images/textures/inverted/retina_dust.png +0 -0
  298. data/source/images/textures/inverted/retina_dust_@2X.png +0 -0
  299. data/source/images/textures/inverted/rice_paper.png +0 -0
  300. data/source/images/textures/inverted/rice_paper@2x.png +0 -0
  301. data/source/images/textures/inverted/rough_diagonal.png +0 -0
  302. data/source/images/textures/inverted/rough_diagonal_@2X.png +0 -0
  303. data/source/images/textures/inverted/shinedotted.png +0 -0
  304. data/source/images/textures/inverted/shinedotted_@2X.png +0 -0
  305. data/source/images/textures/inverted/skin_side_up.png +0 -0
  306. data/source/images/textures/inverted/skin_side_up_@2X.png +0 -0
  307. data/source/images/textures/inverted/squairy_light.png +0 -0
  308. data/source/images/textures/inverted/squairy_light_@2X.png +0 -0
  309. data/source/images/textures/inverted/stacked_circles.png +0 -0
  310. data/source/images/textures/inverted/stacked_circles_@2X.png +0 -0
  311. data/source/images/textures/inverted/striped_lens.png +0 -0
  312. data/source/images/textures/inverted/striped_lens_@2X.png +0 -0
  313. data/source/images/textures/inverted/struckaxiom.png +0 -0
  314. data/source/images/textures/inverted/struckaxiom_@2X.png +0 -0
  315. data/source/images/textures/inverted/stucco.png +0 -0
  316. data/source/images/textures/inverted/stucco_@2X.png +0 -0
  317. data/source/images/textures/inverted/subtle_dots.png +0 -0
  318. data/source/images/textures/inverted/subtle_dots_@2X.png +0 -0
  319. data/source/images/textures/inverted/subtle_freckles.png +0 -0
  320. data/source/images/textures/inverted/subtle_freckles_@2X.png +0 -0
  321. data/source/images/textures/inverted/subtle_grunge.png +0 -0
  322. data/source/images/textures/inverted/subtle_grunge_@2X.png +0 -0
  323. data/source/images/textures/inverted/subtle_surface.png +0 -0
  324. data/source/images/textures/inverted/subtle_surface_@2X.png +0 -0
  325. data/source/images/textures/inverted/subtle_zebra_3d.png +0 -0
  326. data/source/images/textures/inverted/subtle_zebra_3d_@2X.png +0 -0
  327. data/source/images/textures/inverted/subtlenet2.png +0 -0
  328. data/source/images/textures/inverted/subtlenet2_@2X.png +0 -0
  329. data/source/images/textures/inverted/tex2res5.png +0 -0
  330. data/source/images/textures/inverted/tex2res5_@2X.png +0 -0
  331. data/source/images/textures/inverted/texturetastic_gray.png +0 -0
  332. data/source/images/textures/inverted/texturetastic_gray_@2X.png +0 -0
  333. data/source/images/textures/inverted/tiny_grid.png +0 -0
  334. data/source/images/textures/inverted/tiny_grid_@2X.png +0 -0
  335. data/source/images/textures/inverted/vichy.png +0 -0
  336. data/source/images/textures/inverted/vichy_@2X.png +0 -0
  337. data/source/images/textures/inverted/vintage_speckles.png +0 -0
  338. data/source/images/textures/inverted/vintage_speckles_@2X.png +0 -0
  339. data/source/images/textures/inverted/wavecut.png +0 -0
  340. data/source/images/textures/inverted/wavecut_@2X.png +0 -0
  341. data/source/images/textures/inverted/wavegrid.png +0 -0
  342. data/source/images/textures/inverted/wavegrid_@2X.png +0 -0
  343. data/source/images/textures/inverted/white_carbon.png +0 -0
  344. data/source/images/textures/inverted/white_carbon_@2X.png +0 -0
  345. data/source/images/textures/inverted/white_texture.png +0 -0
  346. data/source/images/textures/inverted/white_texture_@2X.png +0 -0
  347. data/source/images/textures/inverted/white_wave.png +0 -0
  348. data/source/images/textures/inverted/white_wave_@2X.png +0 -0
  349. data/source/images/textures/inverted/whitey.png +0 -0
  350. data/source/images/textures/inverted/whitey_@2X.png +0 -0
  351. data/source/images/textures/inverted/worn_dots.png +0 -0
  352. data/source/images/textures/inverted/worn_dots_@2X.png +0 -0
  353. data/source/images/textures/kindajean.png +0 -0
  354. data/source/images/textures/kindajean_@2X.png +0 -0
  355. data/source/images/textures/lghtmesh.png +0 -0
  356. data/source/images/textures/lghtmesh_@2X.png +0 -0
  357. data/source/images/textures/light_alu.png +0 -0
  358. data/source/images/textures/light_alu_@2X.png +0 -0
  359. data/source/images/textures/light_noise_diagonal.png +0 -0
  360. data/source/images/textures/light_noise_diagonal_@2X.png +0 -0
  361. data/source/images/textures/lil_fiber.png +0 -0
  362. data/source/images/textures/lil_fiber_@2X.png +0 -0
  363. data/source/images/textures/line_diagonal1.png +0 -0
  364. data/source/images/textures/line_diagonal2.png +0 -0
  365. data/source/images/textures/line_horizontal1.png +0 -0
  366. data/source/images/textures/line_horizontal2.png +0 -0
  367. data/source/images/textures/linen.png +0 -0
  368. data/source/images/textures/linen_@2X.png +0 -0
  369. data/source/images/textures/little_pluses.png +0 -0
  370. data/source/images/textures/little_pluses_@2X.png +0 -0
  371. data/source/images/textures/mooning.png +0 -0
  372. data/source/images/textures/mooning@2x.png +0 -0
  373. data/source/images/textures/noise_lines.png +0 -0
  374. data/source/images/textures/noise_lines_@2X.png +0 -0
  375. data/source/images/textures/noise_pattern_with_crosslines.png +0 -0
  376. data/source/images/textures/noise_pattern_with_crosslines_@2X.png +0 -0
  377. data/source/images/textures/noisy.png +0 -0
  378. data/source/images/textures/noisy_@2X.png +0 -0
  379. data/source/images/textures/noisy_grid.png +0 -0
  380. data/source/images/textures/noisy_grid_@2X.png +0 -0
  381. data/source/images/textures/noisy_grid_simple.png +0 -0
  382. data/source/images/textures/old_mathematics.png +0 -0
  383. data/source/images/textures/old_mathematics_@2X.png +0 -0
  384. data/source/images/textures/old_wall.png +0 -0
  385. data/source/images/textures/old_wall_@2X.png +0 -0
  386. data/source/images/textures/p5.png +0 -0
  387. data/source/images/textures/p5_@2X.png +0 -0
  388. data/source/images/textures/paper.png +0 -0
  389. data/source/images/textures/paper_@2X.png +0 -0
  390. data/source/images/textures/pinstripe.png +0 -0
  391. data/source/images/textures/pinstripe_@2X.png +0 -0
  392. data/source/images/textures/ps_neutral.png +0 -0
  393. data/source/images/textures/ps_neutral_@2X.png +0 -0
  394. data/source/images/textures/pw_maze_white.png +0 -0
  395. data/source/images/textures/pw_maze_white_@2X.png +0 -0
  396. data/source/images/textures/pw_pattern.png +0 -0
  397. data/source/images/textures/pw_pattern_@2X.png +0 -0
  398. data/source/images/textures/retina_dust.png +0 -0
  399. data/source/images/textures/retina_dust_@2X.png +0 -0
  400. data/source/images/textures/rice_paper.png +0 -0
  401. data/source/images/textures/rice_paper@2x.png +0 -0
  402. data/source/images/textures/rough_diagonal.png +0 -0
  403. data/source/images/textures/rough_diagonal_@2X.png +0 -0
  404. data/source/images/textures/shinedotted.png +0 -0
  405. data/source/images/textures/shinedotted_@2X.png +0 -0
  406. data/source/images/textures/skin_side_up.png +0 -0
  407. data/source/images/textures/skin_side_up_@2X.png +0 -0
  408. data/source/images/textures/squairy_light.png +0 -0
  409. data/source/images/textures/squairy_light_@2X.png +0 -0
  410. data/source/images/textures/stacked_circles.png +0 -0
  411. data/source/images/textures/stacked_circles_@2X.png +0 -0
  412. data/source/images/textures/striped_lens.png +0 -0
  413. data/source/images/textures/striped_lens_@2X.png +0 -0
  414. data/source/images/textures/struckaxiom.png +0 -0
  415. data/source/images/textures/struckaxiom_@2X.png +0 -0
  416. data/source/images/textures/stucco.png +0 -0
  417. data/source/images/textures/stucco_@2X.png +0 -0
  418. data/source/images/textures/subtle_dots.png +0 -0
  419. data/source/images/textures/subtle_dots_@2X.png +0 -0
  420. data/source/images/textures/subtle_freckles.png +0 -0
  421. data/source/images/textures/subtle_freckles_@2X.png +0 -0
  422. data/source/images/textures/subtle_grunge.png +0 -0
  423. data/source/images/textures/subtle_grunge_@2X.png +0 -0
  424. data/source/images/textures/subtle_surface.png +0 -0
  425. data/source/images/textures/subtle_surface_@2X.png +0 -0
  426. data/source/images/textures/subtle_zebra_3d.png +0 -0
  427. data/source/images/textures/subtle_zebra_3d_@2X.png +0 -0
  428. data/source/images/textures/subtlenet2.png +0 -0
  429. data/source/images/textures/subtlenet2_@2X.png +0 -0
  430. data/source/images/textures/tex2res5.png +0 -0
  431. data/source/images/textures/tex2res5_@2X.png +0 -0
  432. data/source/images/textures/texturetastic_gray.png +0 -0
  433. data/source/images/textures/texturetastic_gray_@2X.png +0 -0
  434. data/source/images/textures/tiny_grid.png +0 -0
  435. data/source/images/textures/tiny_grid_@2X.png +0 -0
  436. data/source/images/textures/vichy.png +0 -0
  437. data/source/images/textures/vichy_@2X.png +0 -0
  438. data/source/images/textures/vintage_speckles.png +0 -0
  439. data/source/images/textures/vintage_speckles_@2X.png +0 -0
  440. data/source/images/textures/wavecut.png +0 -0
  441. data/source/images/textures/wavecut_@2X.png +0 -0
  442. data/source/images/textures/wavegrid.png +0 -0
  443. data/source/images/textures/wavegrid_@2X.png +0 -0
  444. data/source/images/textures/white_carbon.png +0 -0
  445. data/source/images/textures/white_carbon_@2X.png +0 -0
  446. data/source/images/textures/white_texture.png +0 -0
  447. data/source/images/textures/white_texture_@2X.png +0 -0
  448. data/source/images/textures/white_wave.png +0 -0
  449. data/source/images/textures/white_wave_@2X.png +0 -0
  450. data/source/images/textures/whitey.png +0 -0
  451. data/source/images/textures/whitey_@2X.png +0 -0
  452. data/source/images/textures/worn_dots.png +0 -0
  453. data/source/images/textures/worn_dots_@2X.png +0 -0
  454. data/source/images/twitter-logo-circle-dark.png +0 -0
  455. data/source/images/twitter-logo-circle.png +0 -0
  456. data/source/images/youtube-logo-circle-dark.png +0 -0
  457. data/source/images/youtube-logo-circle.png +0 -0
  458. data/source/index.html.erb +164 -293
  459. data/source/javascripts/all.js +7 -8
  460. data/source/javascripts/menuAnchorAnimation.js +11 -0
  461. data/source/javascripts/refills/accordion.js +5 -0
  462. data/source/javascripts/refills/accordion_tabs.js +19 -0
  463. data/source/javascripts/refills/accordion_tabs_minimal.js +19 -0
  464. data/source/javascripts/refills/animate.js +10 -0
  465. data/source/javascripts/refills/centered_navigation.js +13 -0
  466. data/source/javascripts/refills/coffeescript/accordion.coffee +6 -0
  467. data/source/javascripts/refills/coffeescript/accordion_tabs.coffee +19 -0
  468. data/source/javascripts/refills/coffeescript/accordion_tabs_minimal.coffee +19 -0
  469. data/source/javascripts/refills/coffeescript/animate.coffee +12 -0
  470. data/source/javascripts/refills/coffeescript/centered_navigation.coffee +13 -0
  471. data/source/javascripts/refills/coffeescript/dropdown.coffee +15 -0
  472. data/source/javascripts/refills/coffeescript/expander.coffee +9 -0
  473. data/source/javascripts/refills/coffeescript/fade_in.coffee +20 -0
  474. data/source/javascripts/refills/coffeescript/modal.coffee +18 -0
  475. data/source/javascripts/refills/coffeescript/navigation.coffee +13 -0
  476. data/source/javascripts/refills/coffeescript/parallax.coffee +22 -0
  477. data/source/javascripts/refills/coffeescript/scroll_on_page.coffee +23 -0
  478. data/source/javascripts/refills/coffeescript/search_tools.coffee +85 -0
  479. data/source/javascripts/refills/coffeescript/sliding_menu.coffee +8 -0
  480. data/source/javascripts/refills/coffeescript/vertical_tabs.coffee +28 -0
  481. data/source/javascripts/refills/dropdown.js +12 -0
  482. data/source/javascripts/refills/expander.js +8 -0
  483. data/source/javascripts/refills/fade_in.js +23 -0
  484. data/source/javascripts/refills/modal.js +17 -0
  485. data/source/javascripts/refills/navigation.js +13 -0
  486. data/source/javascripts/refills/parallax.js +30 -0
  487. data/source/javascripts/refills/scroll_on_page.js +26 -0
  488. data/source/javascripts/refills/search_tools.js +110 -0
  489. data/source/javascripts/refills/sliding_menu.js +6 -0
  490. data/source/javascripts/refills/vertical_tabs.js +32 -0
  491. data/source/{vendor/javascripts → javascripts/vendor}/ZeroClipboard.min.js +0 -0
  492. data/source/javascripts/vendor/fixedsticky.js +185 -0
  493. data/source/{vendor/javascripts → javascripts/vendor}/prism.js +0 -0
  494. data/source/{vendor/javascripts → javascripts/vendor}/smooth-scroll.js +0 -0
  495. data/source/layouts/layout.erb +90 -17
  496. data/source/refills-hero.html.erb +7 -0
  497. data/source/refills-menu.html.erb +5 -0
  498. data/source/refills-page-scripts.html.erb +72 -0
  499. data/source/stylesheets/_bourbon-nav.scss +87 -0
  500. data/source/stylesheets/_refills-nav.scss +48 -31
  501. data/source/stylesheets/_refills-styles.scss +411 -264
  502. data/source/stylesheets/all.scss +45 -23
  503. data/source/stylesheets/refills/_accordion-tabs-minimal.scss +27 -49
  504. data/source/stylesheets/refills/_accordion-tabs.scss +44 -37
  505. data/source/stylesheets/refills/_accordion.scss +43 -10
  506. data/source/stylesheets/refills/_animate-info.scss +14 -0
  507. data/source/stylesheets/refills/_animate.scss +78 -0
  508. data/source/stylesheets/refills/_badges.scss +30 -37
  509. data/source/stylesheets/refills/_breadcrumbs.scss +33 -22
  510. data/source/stylesheets/refills/_button-group.scss +79 -40
  511. data/source/stylesheets/refills/_cards.scss +32 -71
  512. data/source/stylesheets/refills/_centered-navigation.scss +267 -0
  513. data/source/stylesheets/refills/_comment.scss +23 -14
  514. data/source/stylesheets/refills/_device.scss +101 -0
  515. data/source/stylesheets/refills/_dropdown.scss +146 -0
  516. data/source/stylesheets/refills/_expander.scss +56 -0
  517. data/source/stylesheets/refills/_fade-in.scss +38 -0
  518. data/source/stylesheets/refills/_flashes.scss +40 -0
  519. data/source/stylesheets/refills/_flex-boxes.scss +84 -0
  520. data/source/stylesheets/refills/_footer-2.scss +62 -9
  521. data/source/stylesheets/refills/_footer.scss +32 -11
  522. data/source/stylesheets/refills/_grid-items-lines.scss +38 -18
  523. data/source/stylesheets/refills/_grid-items.scss +38 -19
  524. data/source/stylesheets/refills/_hero.scss +63 -55
  525. data/source/stylesheets/refills/_hover-tile-animation.scss +31 -23
  526. data/source/stylesheets/refills/_icon-bullet-points.scss +44 -32
  527. data/source/stylesheets/refills/_image-gradient-dynamic.scss +19 -22
  528. data/source/stylesheets/refills/_maps.scss +24 -0
  529. data/source/stylesheets/refills/_modal.scss +66 -46
  530. data/source/stylesheets/refills/_navigation.scss +162 -69
  531. data/source/stylesheets/refills/_pagination.scss +76 -0
  532. data/source/stylesheets/refills/_parallax.scss +31 -0
  533. data/source/stylesheets/refills/_progress-bar-indication.scss +22 -10
  534. data/source/stylesheets/refills/_progress-bar.scss +11 -3
  535. data/source/stylesheets/refills/_ribbon.scss +33 -0
  536. data/source/stylesheets/refills/_scroll-on-page.scss +57 -0
  537. data/source/stylesheets/refills/_search-bar.scss +35 -28
  538. data/source/stylesheets/refills/_search-tools.scss +114 -0
  539. data/source/stylesheets/refills/_side-image.scss +80 -0
  540. data/source/stylesheets/refills/_sliding-menu.scss +45 -23
  541. data/source/stylesheets/refills/_stats.scss +39 -0
  542. data/source/stylesheets/refills/_switch.scss +63 -51
  543. data/source/stylesheets/refills/_tables-minimal.scss +43 -15
  544. data/source/stylesheets/refills/_tables.scss +55 -23
  545. data/source/stylesheets/refills/_texture-legend.scss +193 -0
  546. data/source/stylesheets/refills/_textures.scss +123 -0
  547. data/source/stylesheets/refills/_tooltip.scss +44 -21
  548. data/source/stylesheets/refills/_type-system-geometric.scss +58 -14
  549. data/source/stylesheets/refills/_type-system-rounded.scss +61 -15
  550. data/source/stylesheets/refills/_type-system-sans.scss +59 -14
  551. data/source/stylesheets/refills/_type-system-serif.scss +58 -13
  552. data/source/stylesheets/refills/_type-system-slab.scss +60 -16
  553. data/source/stylesheets/refills/_type-system-traditional.scss +58 -11
  554. data/source/stylesheets/refills/_vertical-tabs.scss +41 -8
  555. data/source/stylesheets/refills/_video.scss +13 -0
  556. data/source/stylesheets/vendor/fixedsticky.css +22 -0
  557. data/source/stylesheets/vendor/normalize.css +427 -0
  558. data/source/{vendor/stylesheets → stylesheets/vendor}/prism.css +0 -0
  559. data/source/type-systems.html.erb +79 -0
  560. data/spec/refills/import_generator_spec.rb +106 -0
  561. data/spec/spec_helper.rb +2 -0
  562. metadata +520 -281
  563. data/Gemfile.lock +0 -103
  564. data/LICENSE.txt +0 -22
  565. data/NEWS.md +0 -12
  566. data/pkg/refills-0.0.1.gem +0 -0
  567. data/source/_button-group.html.erb +0 -6
  568. data/source/_dropdown-menu.html.erb +0 -45
  569. data/source/_footer-2.html.erb +0 -29
  570. data/source/_hover-tile-animation.html.erb +0 -11
  571. data/source/_image-gradient.html.erb +0 -6
  572. data/source/_search-bar.html.erb +0 -8
  573. data/source/_sliding-menu.html.erb +0 -30
  574. data/source/_type-system-content.html.erb +0 -11
  575. data/source/_type-system-geometric.html.erb +0 -8
  576. data/source/_type-system-rounded.html.erb +0 -8
  577. data/source/_type-system-sans.html.erb +0 -8
  578. data/source/_type-system-serif.html.erb +0 -9
  579. data/source/_type-system-slab.html.erb +0 -8
  580. data/source/_type-system-traditional.html.erb +0 -8
  581. data/source/fonts/Fairview_Regular.otf +0 -0
  582. data/source/fonts/Fairview_SmallCaps.otf +0 -0
  583. data/source/fonts/PoetsenOne-Regular.ttf +0 -0
  584. data/source/images/Octocat.png +0 -0
  585. data/source/images/background.png +0 -0
  586. data/source/images/middleman.png +0 -0
  587. data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_deprecated-webkit-gradient.scssc +0 -0
  588. data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_gradient-positions-parser.scssc +0 -0
  589. data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_linear-positions-parser.scssc +0 -0
  590. data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_radial-arg-parser.scssc +0 -0
  591. data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_radial-positions-parser.scssc +0 -0
  592. data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_render-gradients.scssc +0 -0
  593. data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_shape-size-stripper.scssc +0 -0
  594. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_fill-parent.scssc +0 -0
  595. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_grid.scssc +0 -0
  596. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_media.scssc +0 -0
  597. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_omega.scssc +0 -0
  598. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_outer-container.scssc +0 -0
  599. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_pad.scssc +0 -0
  600. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_private.scssc +0 -0
  601. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_reset.scssc +0 -0
  602. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_row.scssc +0 -0
  603. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_shift.scssc +0 -0
  604. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_span-columns.scssc +0 -0
  605. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_to-deprecate.scssc +0 -0
  606. data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_visual-grid.scssc +0 -0
  607. data/source/stylesheets/.sass-cache/3c5af5c36664454ea95f8284b8f46c4539020663/_neat-helpers.scssc +0 -0
  608. data/source/stylesheets/.sass-cache/3c5af5c36664454ea95f8284b8f46c4539020663/_neat.scssc +0 -0
  609. data/source/stylesheets/.sass-cache/5d5301b1b4de0f4b931a707c7390ccdbbf02bc5c/_bourbon-deprecated-upcoming.scssc +0 -0
  610. data/source/stylesheets/.sass-cache/5d5301b1b4de0f4b931a707c7390ccdbbf02bc5c/_bourbon.scssc +0 -0
  611. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_bitters.scssc +0 -0
  612. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_flashes.scssc +0 -0
  613. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_forms.scssc +0 -0
  614. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_grid-settings.scssc +0 -0
  615. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_lists.scssc +0 -0
  616. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_tables.scssc +0 -0
  617. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_typography.scssc +0 -0
  618. data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_variables.scssc +0 -0
  619. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_accordion-tabs.scssc +0 -0
  620. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_accordion.scssc +0 -0
  621. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_badges.scssc +0 -0
  622. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_breadcrumbs.scssc +0 -0
  623. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_button-group.scssc +0 -0
  624. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_buttons.scssc +0 -0
  625. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_cards.scssc +0 -0
  626. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_dashboard.scssc +0 -0
  627. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_dropdown-menu.scssc +0 -0
  628. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_footer.scssc +0 -0
  629. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_header-nav.scssc +0 -0
  630. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_hero.scssc +0 -0
  631. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_image-cards.scssc +0 -0
  632. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_image-gradient.scssc +0 -0
  633. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_info-section.scssc +0 -0
  634. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_item-list.scssc +0 -0
  635. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_master-detail.scssc +0 -0
  636. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_modal.scssc +0 -0
  637. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_navigation.scssc +0 -0
  638. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_overlap.scssc +0 -0
  639. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_progress-bar.scssc +0 -0
  640. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_search-bar.scssc +0 -0
  641. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_sidebar-layout.scssc +0 -0
  642. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_sliding-menu.scssc +0 -0
  643. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_switch-toggle.scssc +0 -0
  644. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_table-borders.scssc +0 -0
  645. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_table.scssc +0 -0
  646. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tables.scssc +0 -0
  647. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tabs.scssc +0 -0
  648. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_toggle-cards.scssc +0 -0
  649. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tooltip.scssc +0 -0
  650. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_vertical-tabs.scssc +0 -0
  651. data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/vertical-tabs.scssc +0 -0
  652. data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_new-breakpoint.scssc +0 -0
  653. data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_private.scssc +0 -0
  654. data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_px-to-em.scssc +0 -0
  655. data/source/stylesheets/.sass-cache/9c3cd587ffeef0d147804cf4a2177df69c325021/_grid.scssc +0 -0
  656. data/source/stylesheets/.sass-cache/9c3cd587ffeef0d147804cf4a2177df69c325021/_visual-grid.scssc +0 -0
  657. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_button.scssc +0 -820
  658. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_clearfix.scssc +0 -0
  659. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_font-family.scssc +0 -0
  660. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_hide-text.scssc +0 -0
  661. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_html5-input-types.scssc +0 -0
  662. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_position.scssc +0 -0
  663. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_prefixer.scssc +0 -0
  664. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_retina-image.scssc +0 -0
  665. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_size.scssc +0 -0
  666. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_timing-functions.scssc +0 -0
  667. data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_triangle.scssc +0 -0
  668. data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/_layout.scssc +0 -0
  669. data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/_normalize.scssc +0 -0
  670. data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/_refills-styles.scssc +0 -0
  671. data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/all.scssc +0 -0
  672. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_animation.scssc +0 -0
  673. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_appearance.scssc +0 -0
  674. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_backface-visibility.scssc +0 -0
  675. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_background-image.scssc +0 -0
  676. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_background.scssc +0 -0
  677. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_border-image.scssc +0 -0
  678. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_border-radius.scssc +0 -0
  679. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_box-sizing.scssc +0 -0
  680. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_columns.scssc +0 -0
  681. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_flex-box.scssc +0 -0
  682. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_font-face.scssc +0 -0
  683. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_hidpi-media-query.scssc +0 -0
  684. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_image-rendering.scssc +0 -0
  685. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_inline-block.scssc +0 -0
  686. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_keyframes.scssc +0 -0
  687. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_linear-gradient.scssc +0 -0
  688. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_perspective.scssc +0 -0
  689. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_placeholder.scssc +0 -0
  690. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_radial-gradient.scssc +0 -0
  691. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_transform.scssc +0 -0
  692. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_transition.scssc +0 -0
  693. data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_user-select.scssc +0 -0
  694. data/source/stylesheets/.sass-cache/e04a546d656fd6d36e1f48c3953beece343e5456/_base.scssc +0 -0
  695. data/source/stylesheets/.sass-cache/e04a546d656fd6d36e1f48c3953beece343e5456/_button.scssc +0 -0
  696. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_compact.scssc +0 -0
  697. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_flex-grid.scssc +0 -0
  698. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_grid-width.scssc +0 -0
  699. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_linear-gradient.scssc +0 -0
  700. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_modular-scale.scssc +0 -0
  701. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_px-to-em.scssc +0 -0
  702. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_radial-gradient.scssc +0 -0
  703. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_tint-shade.scssc +0 -0
  704. data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_transition-property-name.scssc +0 -0
  705. data/source/stylesheets/_normalize.scss +0 -402
  706. data/source/stylesheets/bitters/_bitters.scss +0 -16
  707. data/source/stylesheets/bitters/_flashes.scss +0 -11
  708. data/source/stylesheets/bitters/_forms.scss +0 -95
  709. data/source/stylesheets/bitters/_grid-settings.scss +0 -14
  710. data/source/stylesheets/bitters/_lists.scss +0 -31
  711. data/source/stylesheets/bitters/_tables.scss +0 -22
  712. data/source/stylesheets/bitters/_typography.scss +0 -104
  713. data/source/stylesheets/bitters/_variables.scss +0 -43
  714. data/source/stylesheets/bitters/extends/_base.scss +0 -1
  715. data/source/stylesheets/bitters/extends/_button.scss +0 -7
  716. data/source/stylesheets/bitters/mixins/_base.scss +0 -1
  717. data/source/stylesheets/bitters/mixins/_flash.scss +0 -15
  718. data/source/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +0 -13
  719. data/source/stylesheets/bourbon/_bourbon.scss +0 -59
  720. data/source/stylesheets/bourbon/addons/_button.scss +0 -273
  721. data/source/stylesheets/bourbon/addons/_clearfix.scss +0 -29
  722. data/source/stylesheets/bourbon/addons/_directional-values.scss +0 -114
  723. data/source/stylesheets/bourbon/addons/_ellipsis.scss +0 -7
  724. data/source/stylesheets/bourbon/addons/_font-family.scss +0 -5
  725. data/source/stylesheets/bourbon/addons/_hide-text.scss +0 -5
  726. data/source/stylesheets/bourbon/addons/_html5-input-types.scss +0 -56
  727. data/source/stylesheets/bourbon/addons/_position.scss +0 -42
  728. data/source/stylesheets/bourbon/addons/_prefixer.scss +0 -49
  729. data/source/stylesheets/bourbon/addons/_rem.scss +0 -33
  730. data/source/stylesheets/bourbon/addons/_retina-image.scss +0 -32
  731. data/source/stylesheets/bourbon/addons/_size.scss +0 -44
  732. data/source/stylesheets/bourbon/addons/_timing-functions.scss +0 -32
  733. data/source/stylesheets/bourbon/addons/_triangle.scss +0 -45
  734. data/source/stylesheets/bourbon/css3/_animation.scss +0 -52
  735. data/source/stylesheets/bourbon/css3/_appearance.scss +0 -3
  736. data/source/stylesheets/bourbon/css3/_backface-visibility.scss +0 -6
  737. data/source/stylesheets/bourbon/css3/_background-image.scss +0 -48
  738. data/source/stylesheets/bourbon/css3/_background.scss +0 -103
  739. data/source/stylesheets/bourbon/css3/_border-image.scss +0 -55
  740. data/source/stylesheets/bourbon/css3/_border-radius.scss +0 -22
  741. data/source/stylesheets/bourbon/css3/_box-sizing.scss +0 -4
  742. data/source/stylesheets/bourbon/css3/_calc.scss +0 -4
  743. data/source/stylesheets/bourbon/css3/_columns.scss +0 -47
  744. data/source/stylesheets/bourbon/css3/_filter.scss +0 -5
  745. data/source/stylesheets/bourbon/css3/_flex-box.scss +0 -52
  746. data/source/stylesheets/bourbon/css3/_font-face.scss +0 -23
  747. data/source/stylesheets/bourbon/css3/_font-feature-settings.scss +0 -10
  748. data/source/stylesheets/bourbon/css3/_hidpi-media-query.scss +0 -10
  749. data/source/stylesheets/bourbon/css3/_hyphens.scss +0 -4
  750. data/source/stylesheets/bourbon/css3/_image-rendering.scss +0 -13
  751. data/source/stylesheets/bourbon/css3/_inline-block.scss +0 -8
  752. data/source/stylesheets/bourbon/css3/_keyframes.scss +0 -43
  753. data/source/stylesheets/bourbon/css3/_linear-gradient.scss +0 -41
  754. data/source/stylesheets/bourbon/css3/_perspective.scss +0 -8
  755. data/source/stylesheets/bourbon/css3/_placeholder.scss +0 -29
  756. data/source/stylesheets/bourbon/css3/_radial-gradient.scss +0 -44
  757. data/source/stylesheets/bourbon/css3/_transform.scss +0 -15
  758. data/source/stylesheets/bourbon/css3/_transition.scss +0 -34
  759. data/source/stylesheets/bourbon/css3/_user-select.scss +0 -3
  760. data/source/stylesheets/bourbon/functions/_assign.scss +0 -11
  761. data/source/stylesheets/bourbon/functions/_color-lightness.scss +0 -13
  762. data/source/stylesheets/bourbon/functions/_compact.scss +0 -11
  763. data/source/stylesheets/bourbon/functions/_flex-grid.scss +0 -39
  764. data/source/stylesheets/bourbon/functions/_golden-ratio.scss +0 -3
  765. data/source/stylesheets/bourbon/functions/_grid-width.scss +0 -13
  766. data/source/stylesheets/bourbon/functions/_linear-gradient.scss +0 -13
  767. data/source/stylesheets/bourbon/functions/_modular-scale.scss +0 -40
  768. data/source/stylesheets/bourbon/functions/_px-to-em.scss +0 -8
  769. data/source/stylesheets/bourbon/functions/_radial-gradient.scss +0 -23
  770. data/source/stylesheets/bourbon/functions/_strip-units.scss +0 -5
  771. data/source/stylesheets/bourbon/functions/_tint-shade.scss +0 -9
  772. data/source/stylesheets/bourbon/functions/_transition-property-name.scss +0 -22
  773. data/source/stylesheets/bourbon/functions/_unpack.scss +0 -17
  774. data/source/stylesheets/bourbon/helpers/_convert-units.scss +0 -15
  775. data/source/stylesheets/bourbon/helpers/_deprecated-webkit-gradient.scss +0 -39
  776. data/source/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +0 -13
  777. data/source/stylesheets/bourbon/helpers/_is-num.scss +0 -8
  778. data/source/stylesheets/bourbon/helpers/_linear-angle-parser.scss +0 -25
  779. data/source/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +0 -41
  780. data/source/stylesheets/bourbon/helpers/_linear-positions-parser.scss +0 -61
  781. data/source/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
  782. data/source/stylesheets/bourbon/helpers/_radial-arg-parser.scss +0 -69
  783. data/source/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +0 -50
  784. data/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss +0 -18
  785. data/source/stylesheets/bourbon/helpers/_render-gradients.scss +0 -26
  786. data/source/stylesheets/bourbon/helpers/_shape-size-stripper.scss +0 -10
  787. data/source/stylesheets/bourbon/helpers/_str-to-num.scss +0 -50
  788. data/source/stylesheets/bourbon/settings/_prefixer.scss +0 -6
  789. data/source/stylesheets/bourbon/settings/_px-to-em.scss +0 -1
  790. data/source/stylesheets/neat/_neat-helpers.scss +0 -7
  791. data/source/stylesheets/neat/_neat.scss +0 -21
  792. data/source/stylesheets/neat/functions/_new-breakpoint.scss +0 -16
  793. data/source/stylesheets/neat/functions/_private.scss +0 -125
  794. data/source/stylesheets/neat/grid/_fill-parent.scss +0 -7
  795. data/source/stylesheets/neat/grid/_grid.scss +0 -5
  796. data/source/stylesheets/neat/grid/_media.scss +0 -51
  797. data/source/stylesheets/neat/grid/_omega.scss +0 -79
  798. data/source/stylesheets/neat/grid/_outer-container.scss +0 -8
  799. data/source/stylesheets/neat/grid/_pad.scss +0 -8
  800. data/source/stylesheets/neat/grid/_private.scss +0 -50
  801. data/source/stylesheets/neat/grid/_reset.scss +0 -12
  802. data/source/stylesheets/neat/grid/_row.scss +0 -17
  803. data/source/stylesheets/neat/grid/_shift.scss +0 -16
  804. data/source/stylesheets/neat/grid/_span-columns.scss +0 -45
  805. data/source/stylesheets/neat/grid/_to-deprecate.scss +0 -57
  806. data/source/stylesheets/neat/grid/_visual-grid.scss +0 -41
  807. data/source/stylesheets/neat/settings/_grid.scss +0 -7
  808. data/source/stylesheets/neat/settings/_visual-grid.scss +0 -5
  809. data/source/stylesheets/normalize.css +0 -375
  810. data/source/stylesheets/refills/_image-gradient.scss +0 -56
data/Rakefile CHANGED
@@ -1,2 +1,22 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'middleman-gh-pages'
3
+
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
+
7
+ desc "Compile javascript -> coffeescript"
8
+ task :coffee do
9
+ destination = "source/javascripts/refills/coffeescript"
10
+ Dir["source/javascripts/refills/**/*.js"].each do |source|
11
+ filename = File.basename(source.gsub(/.js/, ".coffee"))
12
+
13
+ `$(npm bin)/js2coffee #{source} > #{destination}/#{filename}`
14
+ end
15
+
16
+ puts "Please make sure that all generated coffeescript files are correct"
17
+ puts "before committing the changes\n"
18
+ puts `git status`
19
+ end
20
+
21
+ task default: :spec
22
+ task publish: :spec
data/bin/deploy ADDED
@@ -0,0 +1,12 @@
1
+ #!/bin/sh
2
+
3
+ sha=`git rev-parse --short HEAD`
4
+ user_name=`git config user.name | \
5
+ cut -d ' ' -f 1 | \
6
+ tr '[:upper:]' '[:lower:]'`
7
+ branch_name="staging-$sha-$user_name"
8
+
9
+ git checkout -b $branch_name
10
+ git add -f Gemfile.lock
11
+ git commit -m "Deploying $sha"
12
+ git push --force staging $branch_name:master
data/bin/setup ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env sh
2
+
3
+ # Exit if any subcommand fails
4
+ set -e
5
+
6
+ # Set up Ruby dependencies via Bundler
7
+ bundle install
8
+
9
+ # Add binstubs to PATH via export PATH=".git/safe/../../bin:$PATH" in ~/.zshenv
10
+ mkdir -p .git/safe
11
+
12
+ # Install js2coffee
13
+ npm install --save-dev js2coffee
data/config.rb CHANGED
@@ -1,105 +1,24 @@
1
1
  require 'erubis'
2
- ###
3
- # Compass
4
- ###
5
-
6
- # Change Compass configuration
7
- # compass_config do |config|
8
- # config.output_style = :compact
9
- # end
10
-
11
- ###
12
- # Page options, layouts, aliases and proxies
13
- ###
14
-
15
- # Per-page layout changes:
16
- #
17
- # With no layout
18
- # page "/path/to/file.html", :layout => false
19
- #
20
- # With alternative layout
21
- # page "/path/to/file.html", :layout => :otherlayout
22
- #
23
- # A path which all have the same layout
24
- # with_layout :admin do
25
- # page "/admin/*"
26
- # end
27
-
28
- # Proxy pages (http://middlemanapp.com/dynamic-pages/)
29
- # proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
30
- # :which_fake_page => "Rendering a fake page with a local variable" }
31
-
32
- ###
33
- # Helpers
34
- ###
35
-
36
- # Automatic image dimensions on image_tag helper
37
- # activate :automatic_image_sizes
38
-
39
- # Reload the browser automatically whenever files change
40
- # activate :livereload
41
-
42
- # Methods defined in the helpers block are available in templates
43
- # helpers do
44
- # def some_helper
45
- # "Helping"
46
- # end
47
- # end
2
+ require 'lib/snippet_helpers'
48
3
 
49
4
  activate :directory_indexes
50
5
 
51
- # set :build_dir, "tmp"
52
-
53
6
  set :css_dir, 'stylesheets'
54
-
55
- set :js_dir, 'javascripts'
56
-
57
7
  set :images_dir, 'images'
8
+ set :js_dir, 'javascripts'
58
9
 
59
- helpers do
60
- def snippets(snippet_name)
61
- partial 'snippets', locals: { snippet_name: snippet_name }
62
- end
63
-
64
- def html_snippet(partial_name)
65
- snippet = partial(partial_name)
66
-
67
- partial 'snippet', locals: { snippet: snippet, language: 'markup' }
68
- end
69
-
70
- def stylesheet_snippet(snippet_name)
71
- source_dir = File.expand_path('../source', __FILE__)
72
- snippet_filename = "_#{snippet_name}.scss"
73
- snippet_path = File.join(source_dir, 'stylesheets', 'refills', snippet_filename)
74
- snippet = File.read(snippet_path)
75
-
76
- partial 'snippet', locals: { snippet: snippet, language: 'scss' }
77
- end
78
- end
10
+ helpers SnippetHelpers
79
11
 
80
12
  ready do
81
13
  sprockets.append_path 'vendor/stylesheets'
82
14
  sprockets.append_path 'vendor/javascripts'
83
15
  end
84
16
 
85
- # Build-specific configuration
86
- configure :build do
17
+ configure :development do
18
+ activate :livereload
19
+ end
87
20
 
21
+ configure :build do
88
22
  activate :relative_assets
89
23
  set :relative_links, true
90
-
91
- # For example, change the Compass output style for deployment
92
- # activate :minify_css
93
-
94
- # Minify Javascript on build
95
- # activate :minify_javascript
96
-
97
- # Enable cache buster
98
- # activate :asset_hash
99
-
100
- # Use relative URLs
101
- # activate :relative_assets
102
-
103
- # Or use a different image path
104
- # set :http_prefix, "/Content/images/"
105
24
  end
@@ -5,13 +5,76 @@ module Refills
5
5
  desc 'Copy refills'
6
6
  source_root File.expand_path("../../../source", __FILE__)
7
7
  argument :snippet, type: :string, required: true
8
+ class_option :coffee, type: :boolean, default: false
8
9
 
9
10
  def copy_html
10
- copy_file "_#{snippet}.html.erb", "app/views/refills/_#{snippet}.html.erb"
11
+ copy_file_if_exists(
12
+ partial_name,
13
+ File.join('app', 'views', 'refills', partial_name),
14
+ )
11
15
  end
12
16
 
13
17
  def copy_styles
14
- copy_file "stylesheets/refills/_#{snippet}.scss", "app/assets/stylesheets/refills/_#{snippet}.scss"
18
+ copy_file_if_exists(
19
+ File.join('stylesheets', 'refills', stylesheet_name),
20
+ File.join('app', 'assets', 'stylesheets', 'refills', stylesheet_name),
21
+ )
22
+ end
23
+
24
+ def copy_javascripts
25
+ copy_file_if_exists(
26
+ javascript_path,
27
+ File.join('app', 'assets', 'javascripts', 'refills', javascript_name),
28
+ )
29
+ end
30
+
31
+ private
32
+
33
+ def copy_file_if_exists(source, destination)
34
+ if File.exists?(File.join(self.class.source_root, source))
35
+ copy_file source, destination
36
+ end
37
+ end
38
+
39
+ def partial_name
40
+ "_#{snippet.underscore}.html.erb"
41
+ end
42
+
43
+ def stylesheet_name
44
+ "_#{snippet.dasherize}.scss"
45
+ end
46
+
47
+ def javascript_name
48
+ "#{snippet.underscore}.#{javascript_extension}"
49
+ end
50
+
51
+ def javascript_extension
52
+ if coffee?
53
+ "coffee"
54
+ else
55
+ "js"
56
+ end
57
+ end
58
+
59
+ def javascript_path
60
+ if coffee?
61
+ File.join(
62
+ "javascripts",
63
+ "refills",
64
+ "coffeescript",
65
+ javascript_name
66
+ )
67
+ else
68
+ File.join(
69
+ "javascripts",
70
+ "refills",
71
+ javascript_name
72
+ )
73
+ end
74
+ end
75
+
76
+ def coffee?
77
+ options[:coffee]
15
78
  end
16
79
  end
17
80
  end
@@ -1,3 +1,3 @@
1
1
  module Refills
2
- VERSION = '0.0.2'
2
+ VERSION = "0.1.0"
3
3
  end
@@ -0,0 +1,89 @@
1
+ module SnippetHelpers
2
+ SOURCE_DIR = File.expand_path('../../source', __FILE__)
3
+
4
+ class Snippet
5
+ def initialize(name)
6
+ @name = name
7
+ end
8
+
9
+ def path
10
+ File.join(*path_segments)
11
+ end
12
+
13
+ private
14
+
15
+ attr_reader :name
16
+ end
17
+
18
+ class HtmlSnippet < Snippet
19
+ def path_segments
20
+ [SOURCE_DIR, "_#{name.underscore}.html.erb"]
21
+ end
22
+
23
+ def language
24
+ :markup
25
+ end
26
+ end
27
+
28
+ class ScssSnippet < Snippet
29
+ def path_segments
30
+ [SOURCE_DIR, 'stylesheets', 'refills', "_#{name.dasherize}.scss"]
31
+ end
32
+
33
+ def language
34
+ :scss
35
+ end
36
+ end
37
+
38
+ class JavaScriptSnippet < Snippet
39
+ def path_segments
40
+ [SOURCE_DIR, 'javascripts', 'refills', "#{name.underscore}.js"]
41
+ end
42
+
43
+ def language
44
+ :javascript
45
+ end
46
+ end
47
+
48
+ class CoffeeScriptSnippet < Snippet
49
+ def path_segments
50
+ [
51
+ SOURCE_DIR,
52
+ "javascripts",
53
+ "refills",
54
+ "coffeescript",
55
+ "#{name.underscore}.coffee"
56
+ ]
57
+ end
58
+
59
+ def language
60
+ :javascript
61
+ end
62
+ end
63
+
64
+ def code_for(snippet_name)
65
+ partial 'code', locals: { snippets: snippets_for(snippet_name) }
66
+ end
67
+
68
+ private
69
+
70
+ def snippets_for(name)
71
+ [
72
+ HtmlSnippet,
73
+ ScssSnippet,
74
+ JavaScriptSnippet,
75
+ CoffeeScriptSnippet,
76
+ ].map do |snippet_factory|
77
+ render_snippet snippet_factory.new(name)
78
+ end.join("\n")
79
+ end
80
+
81
+ def render_snippet(snippet)
82
+ if File.exists?(snippet.path)
83
+ partial 'snippet', locals: {
84
+ snippet: File.read(snippet.path),
85
+ language: snippet.language
86
+ }
87
+ end
88
+ end
89
+ end
data/refills.gemspec CHANGED
@@ -3,21 +3,20 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'refills/version'
5
5
 
6
- Gem::Specification.new do |spec|
7
- spec.name = "refills"
8
- spec.version = Refills::VERSION
9
- spec.authors = ["Joël Quenneville", "Magnus Gyllensward", "Christian Reuter", "Lisa Sy", "Paul Smith"]
10
- spec.email = ["magnus@thoughtbot.com"]
11
- spec.description = %q{Refills}
12
- spec.summary = %q{Refills}
13
- spec.homepage = "http://thoughtbot.github.io/refills/"
14
- spec.license = "MIT"
6
+ Gem::Specification.new do |s|
7
+ s.name = 'refills'
8
+ s.version = Refills::VERSION
9
+ s.authors = ['Christian Reuter', 'Joël Quenneville', 'Lisa Sy', 'Magnus Gyllensward', 'Paul Smith', 'Tyson Gach']
10
+ s.email = 'design+bourbon@thoughtbot.com'
11
+ s.description = 'Prepackaged patterns and components built with Bourbon, Neat and Bitters.'
12
+ s.summary = 'Prepackaged patterns and components built with Bourbon, Neat and Bitters.'
13
+ s.homepage = 'http://refills.bourbon.io'
14
+ s.license = 'MIT'
15
15
 
16
- spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
16
+ s.files = `git ls-files`.split($/)
17
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
18
+ s.require_paths = ['lib']
20
19
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
- spec.add_development_dependency "rake"
20
+ s.add_development_dependency 'bundler', '~> 1.3'
21
+ s.add_development_dependency 'rake'
23
22
  end
data/sache.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "Refills",
3
+ "description": "Prepackaged patterns and components built with Bourbon, Neat and Bitters.",
4
+ "tags": ["gui", "buttons", "patterns", "components", "templates", "navigation", "tabs", "framework", "elements", "neat", "bourbon", "bitters"]
5
+ }
@@ -22,12 +22,3 @@
22
22
  </ul>
23
23
  </li>
24
24
  </ul>
25
-
26
- <script>
27
- jQuery('.js-accordion-trigger') // find the trigger
28
- .bind('click', function(){
29
- jQuery(this).parent().find('.submenu').slideToggle('fast'); // apply the toggle to the ul
30
- jQuery(this).parent().toggleClass('is-expanded');
31
- event.preventDefault();
32
- });
33
- </script>
@@ -1,48 +1,26 @@
1
1
  <ul class="accordion-tabs">
2
2
  <li class="tab-header-and-content">
3
- <a href="#" class="is-active tab-link">Tab Item</a>
4
- <section>
3
+ <a href="javascript:void(0)" class="is-active tab-link">Tab Item</a>
4
+ <div class="tab-content">
5
5
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt pellentesque lorem, id suscipit dolor rutrum id. Morbi facilisis porta volutpat. Fusce adipiscing, mauris quis congue tincidunt, sapien purus suscipit odio, quis dictum odio tortor in sem. Ut sit amet libero nec orci mattis fringilla. Praesent eu ipsum in sapien tincidunt molestie sed ut magna. Nam accumsan dui at orci rhoncus pharetra tincidunt elit ullamcorper. Sed ac mauris ipsum. Nullam imperdiet sapien id purus pretium id aliquam mi ullamcorper.</p>
6
- </section>
6
+ </div>
7
7
  </li>
8
8
  <li class="tab-header-and-content">
9
- <a href="#" class="tab-link">Another Tab</a>
10
- <section>
9
+ <a href="javascript:void(0)" class="tab-link">Another Tab</a>
10
+ <div class="tab-content">
11
11
  <p>Ut laoreet augue et neque pretium non sagittis nibh pulvinar. Etiam ornare tincidunt orci quis ultrices. Pellentesque ac sapien ac purus gravida ullamcorper. Duis rhoncus sodales lacus, vitae adipiscing tellus pharetra sed. Praesent bibendum lacus quis metus condimentum ac accumsan orci vulputate. Aenean fringilla massa vitae metus facilisis congue. Morbi placerat eros ac sapien semper pulvinar. Vestibulum facilisis, ligula a molestie venenatis, metus justo ullamcorper ipsum, congue aliquet dolor tortor eu neque. Sed imperdiet, nibh ut vestibulum tempor, nibh dui volutpat lacus, vel gravida magna justo sit amet quam. Quisque tincidunt ligula at nisl imperdiet sagittis. Morbi rutrum tempor arcu, non ultrices sem semper a. Aliquam quis sem mi.</p>
12
- </section>
12
+ </div>
13
13
  </li>
14
14
  <li class="tab-header-and-content">
15
- <a href="#" class="tab-link">Third</a>
16
- <section>
15
+ <a href="javascript:void(0)" class="tab-link">Third</a>
16
+ <div class="tab-content">
17
17
  <p>Donec mattis mauris gravida metus laoreet non rutrum sem viverra. Aenean nibh libero, viverra vel vestibulum in, porttitor ut sapien. Phasellus tempor lorem id justo ornare tincidunt. Nulla faucibus, purus eu placerat fermentum, velit mi iaculis nunc, bibendum tincidunt ipsum justo eu mauris. Nulla facilisi. Vestibulum vel lectus ac purus tempus suscipit nec sit amet eros. Nullam fringilla, enim eu lobortis dapibus, quam magna tincidunt nibh, sit amet imperdiet dolor justo congue turpis.</p>
18
- </section>
18
+ </div>
19
19
  </li>
20
20
  <li class="tab-header-and-content">
21
- <a href="#" class="tab-link">Last Item</a>
22
- <section>
23
- <p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna, mollis vel suscipit in, pharetra at ligula. Pellentesque a est vel est fermentum pellentesque sed sit amet dolor. Nunc in dapibus nibh. Aliquam erat volutpat. Phasellus vel dui sed nibh iaculis convallis id sit amet urna. Proin nec tellus quis justo consequat accumsan. Vivamus turpis enim, auctor eget placerat eget, aliquam ut sapien.</p
24
- </section>
21
+ <a href="javascript:void(0)" class="tab-link">Last Item</a>
22
+ <div class="tab-content">
23
+ <p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna.</p>
24
+ </div>
25
25
  </li>
26
26
  </ul>
27
-
28
- <script>
29
- $(document).ready(function () {
30
- $('.accordion-tabs').each(function(index) {
31
- $(this).children('li').first().children('a').addClass('is-active').next().addClass('is-open').show();
32
- });
33
-
34
- $('.accordion-tabs').on('click', 'li > a', function(event) {
35
- if (!$(this).hasClass('is-active')) {
36
- event.preventDefault();
37
- var accordionTabs = $(this).closest('.accordion-tabs')
38
- accordionTabs.find('.is-open').removeClass('is-open').hide();
39
-
40
- $(this).next().toggleClass('is-open').toggle();
41
- accordionTabs.find('.is-active').removeClass('is-active');
42
- $(this).addClass('is-active');
43
- } else {
44
- event.preventDefault();
45
- }
46
- });
47
- });
48
- </script>