breezeblocks 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (562) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +11 -0
  5. data/README.md +55 -0
  6. data/Rakefile +22 -0
  7. data/bin/deploy +12 -0
  8. data/bin/setup +13 -0
  9. data/breezeblocks.gemspec +22 -0
  10. data/config.rb +24 -0
  11. data/lib/breezeblocks.rb +2 -0
  12. data/lib/breezeblocks/import_generator.rb +80 -0
  13. data/lib/breezeblocks/list_generator.rb +22 -0
  14. data/lib/breezeblocks/version.rb +3 -0
  15. data/lib/snippet_helpers.rb +89 -0
  16. data/source/_accordion.html.haml +15 -0
  17. data/source/_accordion_tabs.html.haml +17 -0
  18. data/source/_accordion_tabs_minimal.html.haml +17 -0
  19. data/source/_animate.html.haml +3 -0
  20. data/source/_animate_info.html.haml +7 -0
  21. data/source/_badges.html.haml +6 -0
  22. data/source/_breadcrumbs.html.haml +6 -0
  23. data/source/_button_group.html.haml +13 -0
  24. data/source/_cards.html.haml +23 -0
  25. data/source/_centered_navigation.html.haml +42 -0
  26. data/source/_code.html.haml +6 -0
  27. data/source/_comment.html.haml +14 -0
  28. data/source/_device.html.haml +7 -0
  29. data/source/_dropdown.html.haml +9 -0
  30. data/source/_expander.html.haml +4 -0
  31. data/source/_fade_in.html.haml +10 -0
  32. data/source/_flashes.html.haml +16 -0
  33. data/source/_flex_boxes.html.haml +25 -0
  34. data/source/_footer.html.haml +31 -0
  35. data/source/_footer_2.html.haml +30 -0
  36. data/source/_grid_items.html.haml +29 -0
  37. data/source/_grid_items_lines.html.haml +35 -0
  38. data/source/_hero.html.haml +8 -0
  39. data/source/_hover_tile_animation.html.haml +6 -0
  40. data/source/_icon_bullet_points.html.haml +19 -0
  41. data/source/_image_gradient_dynamic.html.haml +5 -0
  42. data/source/_maps.html.haml +70 -0
  43. data/source/_modal.html.haml +10 -0
  44. data/source/_navigation.html.haml +42 -0
  45. data/source/_pagination.html.haml +22 -0
  46. data/source/_parallax.html.haml +4 -0
  47. data/source/_progress_bar.html.haml +2 -0
  48. data/source/_progress_bar_indication.html.haml +3 -0
  49. data/source/_ribbon.html.haml +3 -0
  50. data/source/_scroll_on_page.html.haml +17 -0
  51. data/source/_search_bar.html.haml +4 -0
  52. data/source/_search_tools.html.haml +39 -0
  53. data/source/_side_image.html.haml +9 -0
  54. data/source/_sliding_menu.html.haml +11 -0
  55. data/source/_snippet.html.haml +11 -0
  56. data/source/_stats.html.haml +14 -0
  57. data/source/_switch.html.haml +3 -0
  58. data/source/_tables.html.haml +31 -0
  59. data/source/_tables_minimal.html.haml +31 -0
  60. data/source/_texture-legend.html.haml +20 -0
  61. data/source/_textures.html.haml +3 -0
  62. data/source/_tooltip.html.haml +4 -0
  63. data/source/_type_system_geometric.html.haml +30 -0
  64. data/source/_type_system_rounded.html.haml +30 -0
  65. data/source/_type_system_sans.html.haml +30 -0
  66. data/source/_type_system_serif.html.haml +31 -0
  67. data/source/_type_system_slab.html.haml +30 -0
  68. data/source/_type_system_traditional.html.haml +30 -0
  69. data/source/_vertical_tabs.html.haml +19 -0
  70. data/source/_video.html.haml +3 -0
  71. data/source/components.html.haml +162 -0
  72. data/source/images/EmeraldLake.jpg +0 -0
  73. data/source/images/ZeroClipboard.swf +0 -0
  74. data/source/images/bourbon-nav/bitters.png +0 -0
  75. data/source/images/bourbon-nav/bitters@2x.png +0 -0
  76. data/source/images/bourbon-nav/bourbon.png +0 -0
  77. data/source/images/bourbon-nav/bourbon@2x.png +0 -0
  78. data/source/images/bourbon-nav/neat.png +0 -0
  79. data/source/images/bourbon-nav/neat@2x.png +0 -0
  80. data/source/images/bourbon-nav/refills.png +0 -0
  81. data/source/images/bourbon-nav/refills@2x.png +0 -0
  82. data/source/images/cat.png +0 -0
  83. data/source/images/cosmin_capitanu_screen.jpg +0 -0
  84. data/source/images/facebook-logo-circle-dark.png +0 -0
  85. data/source/images/facebook-logo-circle.png +0 -0
  86. data/source/images/indesign-logo-circle.png +0 -0
  87. data/source/images/lake-transparent.png +0 -0
  88. data/source/images/menu-white.png +0 -0
  89. data/source/images/menu.png +0 -0
  90. data/source/images/mountain-thin.png +0 -0
  91. data/source/images/mountains-2.png +0 -0
  92. data/source/images/mountains-3.png +0 -0
  93. data/source/images/mountains-4.png +0 -0
  94. data/source/images/mountains.png +0 -0
  95. data/source/images/placeholder_logo_1.png +0 -0
  96. data/source/images/placeholder_logo_1_dark.png +0 -0
  97. data/source/images/placeholder_logo_2.png +0 -0
  98. data/source/images/placeholder_logo_2_dark.png +0 -0
  99. data/source/images/placeholder_logo_3.png +0 -0
  100. data/source/images/placeholder_logo_3_dark.png +0 -0
  101. data/source/images/placeholder_logo_4.png +0 -0
  102. data/source/images/placeholder_logo_4_dark.png +0 -0
  103. data/source/images/ralph-gray.png +0 -0
  104. data/source/images/ralph.png +0 -0
  105. data/source/images/refills-logo.svg +18 -0
  106. data/source/images/refills-screenshot1.png +0 -0
  107. data/source/images/refills-screenshot2.jpg +0 -0
  108. data/source/images/refills-screenshot3.png +0 -0
  109. data/source/images/search-icon-black.png +0 -0
  110. data/source/images/search-icon.png +0 -0
  111. data/source/images/sliding-menu.png +0 -0
  112. data/source/images/textures/45degreee_fabric.png +0 -0
  113. data/source/images/textures/45degreee_fabric_@2X.png +0 -0
  114. data/source/images/textures/absurdidad.png +0 -0
  115. data/source/images/textures/absurdidad_@2X.png +0 -0
  116. data/source/images/textures/az_subtle.png +0 -0
  117. data/source/images/textures/az_subtle_@2X.png +0 -0
  118. data/source/images/textures/bgnoise_lg.png +0 -0
  119. data/source/images/textures/bgnoise_lg_@2X.png +0 -0
  120. data/source/images/textures/binding_light.png +0 -0
  121. data/source/images/textures/binding_light@2x.png +0 -0
  122. data/source/images/textures/brillant.png +0 -0
  123. data/source/images/textures/brillant_@2X.png +0 -0
  124. data/source/images/textures/brushed.png +0 -0
  125. data/source/images/textures/brushed_@2X.png +0 -0
  126. data/source/images/textures/brushed_alu.png +0 -0
  127. data/source/images/textures/brushed_alu_@2X.png +0 -0
  128. data/source/images/textures/chruch.png +0 -0
  129. data/source/images/textures/chruch_@2X.png +0 -0
  130. data/source/images/textures/circles.png +0 -0
  131. data/source/images/textures/circles_@2X.png +0 -0
  132. data/source/images/textures/concrete_wall_2.png +0 -0
  133. data/source/images/textures/concrete_wall_2_@2X.png +0 -0
  134. data/source/images/textures/concrete_wall_3.png +0 -0
  135. data/source/images/textures/concrete_wall_3_@2X.png +0 -0
  136. data/source/images/textures/corrugation.png +0 -0
  137. data/source/images/textures/corrugation_@2X.png +0 -0
  138. data/source/images/textures/cream_pixels.png +0 -0
  139. data/source/images/textures/cream_pixels@2x.png +0 -0
  140. data/source/images/textures/cross_scratches.png +0 -0
  141. data/source/images/textures/cross_scratches_@2X.png +0 -0
  142. data/source/images/textures/crosses.png +0 -0
  143. data/source/images/textures/crosses_@2X.png +0 -0
  144. data/source/images/textures/debut_light.png +0 -0
  145. data/source/images/textures/debut_light_@2X.png +0 -0
  146. data/source/images/textures/diagonal-noise.png +0 -0
  147. data/source/images/textures/diagonal-noise_@2X.png +0 -0
  148. data/source/images/textures/diagonal_waves.png +0 -0
  149. data/source/images/textures/diagonal_waves_@2X.png +0 -0
  150. data/source/images/textures/double_lined.png +0 -0
  151. data/source/images/textures/double_lined_@2X.png +0 -0
  152. data/source/images/textures/dust.png +0 -0
  153. data/source/images/textures/dust@2x.png +0 -0
  154. data/source/images/textures/dust_@2X.png +0 -0
  155. data/source/images/textures/fabric_plaid.png +0 -0
  156. data/source/images/textures/fabric_plaid_@2X.png +0 -0
  157. data/source/images/textures/fancy_deboss.png +0 -0
  158. data/source/images/textures/fancy_deboss_@2X.png +0 -0
  159. data/source/images/textures/farmer.png +0 -0
  160. data/source/images/textures/farmer_@2X.png +0 -0
  161. data/source/images/textures/first_aid_kit.png +0 -0
  162. data/source/images/textures/first_aid_kit_@2X.png +0 -0
  163. data/source/images/textures/graphy.png +0 -0
  164. data/source/images/textures/graphy_@2X.png +0 -0
  165. data/source/images/textures/grey.png +0 -0
  166. data/source/images/textures/grey_@2X.png +0 -0
  167. data/source/images/textures/grid.png +0 -0
  168. data/source/images/textures/grid_@2X.png +0 -0
  169. data/source/images/textures/grid_noise.png +0 -0
  170. data/source/images/textures/grid_noise_@2X.png +0 -0
  171. data/source/images/textures/gridme.png +0 -0
  172. data/source/images/textures/gridme_@2X.png +0 -0
  173. data/source/images/textures/grilled.png +0 -0
  174. data/source/images/textures/grilled_@2X.png +0 -0
  175. data/source/images/textures/groovepaper.png +0 -0
  176. data/source/images/textures/groovepaper_@2X.png +0 -0
  177. data/source/images/textures/honey_im_subtle.png +0 -0
  178. data/source/images/textures/honey_im_subtle_@2X.png +0 -0
  179. data/source/images/textures/husk.png +0 -0
  180. data/source/images/textures/husk_@2X.png +0 -0
  181. data/source/images/textures/inverted/45degreee_fabric.png +0 -0
  182. data/source/images/textures/inverted/45degreee_fabric_@2X.png +0 -0
  183. data/source/images/textures/inverted/absurdidad.png +0 -0
  184. data/source/images/textures/inverted/absurdidad_@2X.png +0 -0
  185. data/source/images/textures/inverted/az_subtle.png +0 -0
  186. data/source/images/textures/inverted/az_subtle_@2X.png +0 -0
  187. data/source/images/textures/inverted/bgnoise_lg.png +0 -0
  188. data/source/images/textures/inverted/bgnoise_lg_@2X.png +0 -0
  189. data/source/images/textures/inverted/binding_light.png +0 -0
  190. data/source/images/textures/inverted/binding_light@2x.png +0 -0
  191. data/source/images/textures/inverted/brillant.png +0 -0
  192. data/source/images/textures/inverted/brillant_@2X.png +0 -0
  193. data/source/images/textures/inverted/brushed.png +0 -0
  194. data/source/images/textures/inverted/brushed_@2X.png +0 -0
  195. data/source/images/textures/inverted/brushed_alu.png +0 -0
  196. data/source/images/textures/inverted/brushed_alu_@2X.png +0 -0
  197. data/source/images/textures/inverted/chruch.png +0 -0
  198. data/source/images/textures/inverted/chruch_@2X.png +0 -0
  199. data/source/images/textures/inverted/circles.png +0 -0
  200. data/source/images/textures/inverted/circles_@2X.png +0 -0
  201. data/source/images/textures/inverted/concrete_wall_2.png +0 -0
  202. data/source/images/textures/inverted/concrete_wall_2_@2X.png +0 -0
  203. data/source/images/textures/inverted/concrete_wall_3.png +0 -0
  204. data/source/images/textures/inverted/concrete_wall_3_@2X.png +0 -0
  205. data/source/images/textures/inverted/corrugation.png +0 -0
  206. data/source/images/textures/inverted/corrugation_@2X.png +0 -0
  207. data/source/images/textures/inverted/cream_pixels.png +0 -0
  208. data/source/images/textures/inverted/cream_pixels@2x.png +0 -0
  209. data/source/images/textures/inverted/cross_scratches.png +0 -0
  210. data/source/images/textures/inverted/cross_scratches_@2X.png +0 -0
  211. data/source/images/textures/inverted/crosses.png +0 -0
  212. data/source/images/textures/inverted/crosses_@2X.png +0 -0
  213. data/source/images/textures/inverted/debut_light.png +0 -0
  214. data/source/images/textures/inverted/debut_light_@2X.png +0 -0
  215. data/source/images/textures/inverted/diagonal-noise.png +0 -0
  216. data/source/images/textures/inverted/diagonal-noise_@2X.png +0 -0
  217. data/source/images/textures/inverted/diagonal_waves.png +0 -0
  218. data/source/images/textures/inverted/diagonal_waves_@2X.png +0 -0
  219. data/source/images/textures/inverted/double_lined.png +0 -0
  220. data/source/images/textures/inverted/double_lined_@2X.png +0 -0
  221. data/source/images/textures/inverted/dust.png +0 -0
  222. data/source/images/textures/inverted/dust@2x.png +0 -0
  223. data/source/images/textures/inverted/dust_@2X.png +0 -0
  224. data/source/images/textures/inverted/fabric_plaid.png +0 -0
  225. data/source/images/textures/inverted/fabric_plaid_@2X.png +0 -0
  226. data/source/images/textures/inverted/fancy_deboss.png +0 -0
  227. data/source/images/textures/inverted/fancy_deboss_@2X.png +0 -0
  228. data/source/images/textures/inverted/farmer.png +0 -0
  229. data/source/images/textures/inverted/farmer_@2X.png +0 -0
  230. data/source/images/textures/inverted/first_aid_kit.png +0 -0
  231. data/source/images/textures/inverted/first_aid_kit_@2X.png +0 -0
  232. data/source/images/textures/inverted/graphy.png +0 -0
  233. data/source/images/textures/inverted/graphy_@2X.png +0 -0
  234. data/source/images/textures/inverted/grey.png +0 -0
  235. data/source/images/textures/inverted/grey_@2X.png +0 -0
  236. data/source/images/textures/inverted/grid.png +0 -0
  237. data/source/images/textures/inverted/grid_@2X.png +0 -0
  238. data/source/images/textures/inverted/grid_noise.png +0 -0
  239. data/source/images/textures/inverted/grid_noise_@2X.png +0 -0
  240. data/source/images/textures/inverted/gridme.png +0 -0
  241. data/source/images/textures/inverted/gridme_@2X.png +0 -0
  242. data/source/images/textures/inverted/grilled.png +0 -0
  243. data/source/images/textures/inverted/grilled_@2X.png +0 -0
  244. data/source/images/textures/inverted/groovepaper.png +0 -0
  245. data/source/images/textures/inverted/groovepaper_@2X.png +0 -0
  246. data/source/images/textures/inverted/honey_im_subtle.png +0 -0
  247. data/source/images/textures/inverted/honey_im_subtle_@2X.png +0 -0
  248. data/source/images/textures/inverted/husk.png +0 -0
  249. data/source/images/textures/inverted/husk_@2X.png +0 -0
  250. data/source/images/textures/inverted/kindajean.png +0 -0
  251. data/source/images/textures/inverted/kindajean_@2X.png +0 -0
  252. data/source/images/textures/inverted/lghtmesh.png +0 -0
  253. data/source/images/textures/inverted/lghtmesh_@2X.png +0 -0
  254. data/source/images/textures/inverted/light_alu.png +0 -0
  255. data/source/images/textures/inverted/light_alu_@2X.png +0 -0
  256. data/source/images/textures/inverted/light_noise_diagonal.png +0 -0
  257. data/source/images/textures/inverted/light_noise_diagonal_@2X.png +0 -0
  258. data/source/images/textures/inverted/lil_fiber.png +0 -0
  259. data/source/images/textures/inverted/lil_fiber_@2X.png +0 -0
  260. data/source/images/textures/inverted/line_diagonal1.png +0 -0
  261. data/source/images/textures/inverted/line_diagonal2.png +0 -0
  262. data/source/images/textures/inverted/line_horizontal1.png +0 -0
  263. data/source/images/textures/inverted/line_horizontal2.png +0 -0
  264. data/source/images/textures/inverted/linen.png +0 -0
  265. data/source/images/textures/inverted/linen_@2X.png +0 -0
  266. data/source/images/textures/inverted/little_pluses.png +0 -0
  267. data/source/images/textures/inverted/little_pluses_@2X.png +0 -0
  268. data/source/images/textures/inverted/mooning.png +0 -0
  269. data/source/images/textures/inverted/mooning@2x.png +0 -0
  270. data/source/images/textures/inverted/noise_lines.png +0 -0
  271. data/source/images/textures/inverted/noise_lines_@2X.png +0 -0
  272. data/source/images/textures/inverted/noise_pattern_with_crosslines.png +0 -0
  273. data/source/images/textures/inverted/noise_pattern_with_crosslines_@2X.png +0 -0
  274. data/source/images/textures/inverted/noisy.png +0 -0
  275. data/source/images/textures/inverted/noisy_@2X.png +0 -0
  276. data/source/images/textures/inverted/noisy_grid.png +0 -0
  277. data/source/images/textures/inverted/noisy_grid_@2X.png +0 -0
  278. data/source/images/textures/inverted/noisy_grid_simple.png +0 -0
  279. data/source/images/textures/inverted/old_mathematics.png +0 -0
  280. data/source/images/textures/inverted/old_mathematics_@2X.png +0 -0
  281. data/source/images/textures/inverted/old_wall.png +0 -0
  282. data/source/images/textures/inverted/old_wall_@2X.png +0 -0
  283. data/source/images/textures/inverted/p5.png +0 -0
  284. data/source/images/textures/inverted/p5_@2X.png +0 -0
  285. data/source/images/textures/inverted/paper.png +0 -0
  286. data/source/images/textures/inverted/paper_@2X.png +0 -0
  287. data/source/images/textures/inverted/pinstripe.png +0 -0
  288. data/source/images/textures/inverted/pinstripe_@2X.png +0 -0
  289. data/source/images/textures/inverted/ps_neutral.png +0 -0
  290. data/source/images/textures/inverted/ps_neutral_@2X.png +0 -0
  291. data/source/images/textures/inverted/pw_maze_white.png +0 -0
  292. data/source/images/textures/inverted/pw_maze_white_@2X.png +0 -0
  293. data/source/images/textures/inverted/pw_pattern.png +0 -0
  294. data/source/images/textures/inverted/pw_pattern_@2X.png +0 -0
  295. data/source/images/textures/inverted/retina_dust.png +0 -0
  296. data/source/images/textures/inverted/retina_dust_@2X.png +0 -0
  297. data/source/images/textures/inverted/rice_paper.png +0 -0
  298. data/source/images/textures/inverted/rice_paper@2x.png +0 -0
  299. data/source/images/textures/inverted/rough_diagonal.png +0 -0
  300. data/source/images/textures/inverted/rough_diagonal_@2X.png +0 -0
  301. data/source/images/textures/inverted/shinedotted.png +0 -0
  302. data/source/images/textures/inverted/shinedotted_@2X.png +0 -0
  303. data/source/images/textures/inverted/skin_side_up.png +0 -0
  304. data/source/images/textures/inverted/skin_side_up_@2X.png +0 -0
  305. data/source/images/textures/inverted/squairy_light.png +0 -0
  306. data/source/images/textures/inverted/squairy_light_@2X.png +0 -0
  307. data/source/images/textures/inverted/stacked_circles.png +0 -0
  308. data/source/images/textures/inverted/stacked_circles_@2X.png +0 -0
  309. data/source/images/textures/inverted/striped_lens.png +0 -0
  310. data/source/images/textures/inverted/striped_lens_@2X.png +0 -0
  311. data/source/images/textures/inverted/struckaxiom.png +0 -0
  312. data/source/images/textures/inverted/struckaxiom_@2X.png +0 -0
  313. data/source/images/textures/inverted/stucco.png +0 -0
  314. data/source/images/textures/inverted/stucco_@2X.png +0 -0
  315. data/source/images/textures/inverted/subtle_dots.png +0 -0
  316. data/source/images/textures/inverted/subtle_dots_@2X.png +0 -0
  317. data/source/images/textures/inverted/subtle_freckles.png +0 -0
  318. data/source/images/textures/inverted/subtle_freckles_@2X.png +0 -0
  319. data/source/images/textures/inverted/subtle_grunge.png +0 -0
  320. data/source/images/textures/inverted/subtle_grunge_@2X.png +0 -0
  321. data/source/images/textures/inverted/subtle_surface.png +0 -0
  322. data/source/images/textures/inverted/subtle_surface_@2X.png +0 -0
  323. data/source/images/textures/inverted/subtle_zebra_3d.png +0 -0
  324. data/source/images/textures/inverted/subtle_zebra_3d_@2X.png +0 -0
  325. data/source/images/textures/inverted/subtlenet2.png +0 -0
  326. data/source/images/textures/inverted/subtlenet2_@2X.png +0 -0
  327. data/source/images/textures/inverted/tex2res5.png +0 -0
  328. data/source/images/textures/inverted/tex2res5_@2X.png +0 -0
  329. data/source/images/textures/inverted/texturetastic_gray.png +0 -0
  330. data/source/images/textures/inverted/texturetastic_gray_@2X.png +0 -0
  331. data/source/images/textures/inverted/tiny_grid.png +0 -0
  332. data/source/images/textures/inverted/tiny_grid_@2X.png +0 -0
  333. data/source/images/textures/inverted/vichy.png +0 -0
  334. data/source/images/textures/inverted/vichy_@2X.png +0 -0
  335. data/source/images/textures/inverted/vintage_speckles.png +0 -0
  336. data/source/images/textures/inverted/vintage_speckles_@2X.png +0 -0
  337. data/source/images/textures/inverted/wavecut.png +0 -0
  338. data/source/images/textures/inverted/wavecut_@2X.png +0 -0
  339. data/source/images/textures/inverted/wavegrid.png +0 -0
  340. data/source/images/textures/inverted/wavegrid_@2X.png +0 -0
  341. data/source/images/textures/inverted/white_carbon.png +0 -0
  342. data/source/images/textures/inverted/white_carbon_@2X.png +0 -0
  343. data/source/images/textures/inverted/white_texture.png +0 -0
  344. data/source/images/textures/inverted/white_texture_@2X.png +0 -0
  345. data/source/images/textures/inverted/white_wave.png +0 -0
  346. data/source/images/textures/inverted/white_wave_@2X.png +0 -0
  347. data/source/images/textures/inverted/whitey.png +0 -0
  348. data/source/images/textures/inverted/whitey_@2X.png +0 -0
  349. data/source/images/textures/inverted/worn_dots.png +0 -0
  350. data/source/images/textures/inverted/worn_dots_@2X.png +0 -0
  351. data/source/images/textures/kindajean.png +0 -0
  352. data/source/images/textures/kindajean_@2X.png +0 -0
  353. data/source/images/textures/lghtmesh.png +0 -0
  354. data/source/images/textures/lghtmesh_@2X.png +0 -0
  355. data/source/images/textures/light_alu.png +0 -0
  356. data/source/images/textures/light_alu_@2X.png +0 -0
  357. data/source/images/textures/light_noise_diagonal.png +0 -0
  358. data/source/images/textures/light_noise_diagonal_@2X.png +0 -0
  359. data/source/images/textures/lil_fiber.png +0 -0
  360. data/source/images/textures/lil_fiber_@2X.png +0 -0
  361. data/source/images/textures/line_diagonal1.png +0 -0
  362. data/source/images/textures/line_diagonal2.png +0 -0
  363. data/source/images/textures/line_horizontal1.png +0 -0
  364. data/source/images/textures/line_horizontal2.png +0 -0
  365. data/source/images/textures/linen.png +0 -0
  366. data/source/images/textures/linen_@2X.png +0 -0
  367. data/source/images/textures/little_pluses.png +0 -0
  368. data/source/images/textures/little_pluses_@2X.png +0 -0
  369. data/source/images/textures/mooning.png +0 -0
  370. data/source/images/textures/mooning@2x.png +0 -0
  371. data/source/images/textures/noise_lines.png +0 -0
  372. data/source/images/textures/noise_lines_@2X.png +0 -0
  373. data/source/images/textures/noise_pattern_with_crosslines.png +0 -0
  374. data/source/images/textures/noise_pattern_with_crosslines_@2X.png +0 -0
  375. data/source/images/textures/noisy.png +0 -0
  376. data/source/images/textures/noisy_@2X.png +0 -0
  377. data/source/images/textures/noisy_grid.png +0 -0
  378. data/source/images/textures/noisy_grid_@2X.png +0 -0
  379. data/source/images/textures/noisy_grid_simple.png +0 -0
  380. data/source/images/textures/old_mathematics.png +0 -0
  381. data/source/images/textures/old_mathematics_@2X.png +0 -0
  382. data/source/images/textures/old_wall.png +0 -0
  383. data/source/images/textures/old_wall_@2X.png +0 -0
  384. data/source/images/textures/p5.png +0 -0
  385. data/source/images/textures/p5_@2X.png +0 -0
  386. data/source/images/textures/paper.png +0 -0
  387. data/source/images/textures/paper_@2X.png +0 -0
  388. data/source/images/textures/pinstripe.png +0 -0
  389. data/source/images/textures/pinstripe_@2X.png +0 -0
  390. data/source/images/textures/ps_neutral.png +0 -0
  391. data/source/images/textures/ps_neutral_@2X.png +0 -0
  392. data/source/images/textures/pw_maze_white.png +0 -0
  393. data/source/images/textures/pw_maze_white_@2X.png +0 -0
  394. data/source/images/textures/pw_pattern.png +0 -0
  395. data/source/images/textures/pw_pattern_@2X.png +0 -0
  396. data/source/images/textures/retina_dust.png +0 -0
  397. data/source/images/textures/retina_dust_@2X.png +0 -0
  398. data/source/images/textures/rice_paper.png +0 -0
  399. data/source/images/textures/rice_paper@2x.png +0 -0
  400. data/source/images/textures/rough_diagonal.png +0 -0
  401. data/source/images/textures/rough_diagonal_@2X.png +0 -0
  402. data/source/images/textures/shinedotted.png +0 -0
  403. data/source/images/textures/shinedotted_@2X.png +0 -0
  404. data/source/images/textures/skin_side_up.png +0 -0
  405. data/source/images/textures/skin_side_up_@2X.png +0 -0
  406. data/source/images/textures/squairy_light.png +0 -0
  407. data/source/images/textures/squairy_light_@2X.png +0 -0
  408. data/source/images/textures/stacked_circles.png +0 -0
  409. data/source/images/textures/stacked_circles_@2X.png +0 -0
  410. data/source/images/textures/striped_lens.png +0 -0
  411. data/source/images/textures/striped_lens_@2X.png +0 -0
  412. data/source/images/textures/struckaxiom.png +0 -0
  413. data/source/images/textures/struckaxiom_@2X.png +0 -0
  414. data/source/images/textures/stucco.png +0 -0
  415. data/source/images/textures/stucco_@2X.png +0 -0
  416. data/source/images/textures/subtle_dots.png +0 -0
  417. data/source/images/textures/subtle_dots_@2X.png +0 -0
  418. data/source/images/textures/subtle_freckles.png +0 -0
  419. data/source/images/textures/subtle_freckles_@2X.png +0 -0
  420. data/source/images/textures/subtle_grunge.png +0 -0
  421. data/source/images/textures/subtle_grunge_@2X.png +0 -0
  422. data/source/images/textures/subtle_surface.png +0 -0
  423. data/source/images/textures/subtle_surface_@2X.png +0 -0
  424. data/source/images/textures/subtle_zebra_3d.png +0 -0
  425. data/source/images/textures/subtle_zebra_3d_@2X.png +0 -0
  426. data/source/images/textures/subtlenet2.png +0 -0
  427. data/source/images/textures/subtlenet2_@2X.png +0 -0
  428. data/source/images/textures/tex2res5.png +0 -0
  429. data/source/images/textures/tex2res5_@2X.png +0 -0
  430. data/source/images/textures/texturetastic_gray.png +0 -0
  431. data/source/images/textures/texturetastic_gray_@2X.png +0 -0
  432. data/source/images/textures/tiny_grid.png +0 -0
  433. data/source/images/textures/tiny_grid_@2X.png +0 -0
  434. data/source/images/textures/vichy.png +0 -0
  435. data/source/images/textures/vichy_@2X.png +0 -0
  436. data/source/images/textures/vintage_speckles.png +0 -0
  437. data/source/images/textures/vintage_speckles_@2X.png +0 -0
  438. data/source/images/textures/wavecut.png +0 -0
  439. data/source/images/textures/wavecut_@2X.png +0 -0
  440. data/source/images/textures/wavegrid.png +0 -0
  441. data/source/images/textures/wavegrid_@2X.png +0 -0
  442. data/source/images/textures/white_carbon.png +0 -0
  443. data/source/images/textures/white_carbon_@2X.png +0 -0
  444. data/source/images/textures/white_texture.png +0 -0
  445. data/source/images/textures/white_texture_@2X.png +0 -0
  446. data/source/images/textures/white_wave.png +0 -0
  447. data/source/images/textures/white_wave_@2X.png +0 -0
  448. data/source/images/textures/whitey.png +0 -0
  449. data/source/images/textures/whitey_@2X.png +0 -0
  450. data/source/images/textures/worn_dots.png +0 -0
  451. data/source/images/textures/worn_dots_@2X.png +0 -0
  452. data/source/images/twitter-logo-circle-dark.png +0 -0
  453. data/source/images/twitter-logo-circle.png +0 -0
  454. data/source/images/youtube-logo-circle-dark.png +0 -0
  455. data/source/images/youtube-logo-circle.png +0 -0
  456. data/source/index.html.haml +127 -0
  457. data/source/javascripts/all.js +10 -0
  458. data/source/javascripts/breezeblocks/accordion.js +5 -0
  459. data/source/javascripts/breezeblocks/accordion_tabs.js +19 -0
  460. data/source/javascripts/breezeblocks/accordion_tabs_minimal.js +19 -0
  461. data/source/javascripts/breezeblocks/animate.js +10 -0
  462. data/source/javascripts/breezeblocks/centered_navigation.js +13 -0
  463. data/source/javascripts/breezeblocks/coffeescript/accordion.coffee +6 -0
  464. data/source/javascripts/breezeblocks/coffeescript/accordion_tabs.coffee +19 -0
  465. data/source/javascripts/breezeblocks/coffeescript/accordion_tabs_minimal.coffee +19 -0
  466. data/source/javascripts/breezeblocks/coffeescript/animate.coffee +12 -0
  467. data/source/javascripts/breezeblocks/coffeescript/centered_navigation.coffee +13 -0
  468. data/source/javascripts/breezeblocks/coffeescript/dropdown.coffee +15 -0
  469. data/source/javascripts/breezeblocks/coffeescript/expander.coffee +9 -0
  470. data/source/javascripts/breezeblocks/coffeescript/fade_in.coffee +20 -0
  471. data/source/javascripts/breezeblocks/coffeescript/modal.coffee +18 -0
  472. data/source/javascripts/breezeblocks/coffeescript/navigation.coffee +13 -0
  473. data/source/javascripts/breezeblocks/coffeescript/parallax.coffee +22 -0
  474. data/source/javascripts/breezeblocks/coffeescript/scroll_on_page.coffee +23 -0
  475. data/source/javascripts/breezeblocks/coffeescript/search_tools.coffee +85 -0
  476. data/source/javascripts/breezeblocks/coffeescript/sliding_menu.coffee +8 -0
  477. data/source/javascripts/breezeblocks/coffeescript/vertical_tabs.coffee +28 -0
  478. data/source/javascripts/breezeblocks/dropdown.js +12 -0
  479. data/source/javascripts/breezeblocks/expander.js +8 -0
  480. data/source/javascripts/breezeblocks/fade_in.js +23 -0
  481. data/source/javascripts/breezeblocks/modal.js +17 -0
  482. data/source/javascripts/breezeblocks/navigation.js +13 -0
  483. data/source/javascripts/breezeblocks/parallax.js +30 -0
  484. data/source/javascripts/breezeblocks/scroll_on_page.js +26 -0
  485. data/source/javascripts/breezeblocks/search_tools.js +110 -0
  486. data/source/javascripts/breezeblocks/sliding_menu.js +6 -0
  487. data/source/javascripts/breezeblocks/vertical_tabs.js +32 -0
  488. data/source/javascripts/jquery.erToc.js +477 -0
  489. data/source/javascripts/jquery.glide.js +941 -0
  490. data/source/javascripts/menuAnchorAnimation.js +11 -0
  491. data/source/javascripts/vendor/ZeroClipboard.min.js +9 -0
  492. data/source/javascripts/vendor/fixedsticky.js +185 -0
  493. data/source/javascripts/vendor/prism.js +13 -0
  494. data/source/javascripts/vendor/smooth-scroll.js +125 -0
  495. data/source/layouts/layout.haml +108 -0
  496. data/source/refills-hero.html.haml +15 -0
  497. data/source/refills-menu.html.haml +4 -0
  498. data/source/refills-page-scripts.html.haml +65 -0
  499. data/source/stylesheets/_bourbon-nav.sass +57 -0
  500. data/source/stylesheets/_refills-nav.sass +80 -0
  501. data/source/stylesheets/_refills-styles.sass +483 -0
  502. data/source/stylesheets/all.sass +66 -0
  503. data/source/stylesheets/breezeblocks/_accordion-tabs-minimal.sass +52 -0
  504. data/source/stylesheets/breezeblocks/_accordion-tabs.sass +76 -0
  505. data/source/stylesheets/breezeblocks/_accordion.sass +56 -0
  506. data/source/stylesheets/breezeblocks/_animate-info.sass +10 -0
  507. data/source/stylesheets/breezeblocks/_animate.sass +58 -0
  508. data/source/stylesheets/breezeblocks/_badges.sass +31 -0
  509. data/source/stylesheets/breezeblocks/_breadcrumbs.sass +74 -0
  510. data/source/stylesheets/breezeblocks/_button-group.sass +74 -0
  511. data/source/stylesheets/breezeblocks/_cards.sass +69 -0
  512. data/source/stylesheets/breezeblocks/_centered-navigation.sass +182 -0
  513. data/source/stylesheets/breezeblocks/_comment.sass +49 -0
  514. data/source/stylesheets/breezeblocks/_device.sass +67 -0
  515. data/source/stylesheets/breezeblocks/_dropdown.sass +112 -0
  516. data/source/stylesheets/breezeblocks/_expander.sass +40 -0
  517. data/source/stylesheets/breezeblocks/_fade-in.sass +30 -0
  518. data/source/stylesheets/breezeblocks/_flashes.sass +32 -0
  519. data/source/stylesheets/breezeblocks/_flex-boxes.sass +59 -0
  520. data/source/stylesheets/breezeblocks/_footer-2.sass +102 -0
  521. data/source/stylesheets/breezeblocks/_footer.sass +62 -0
  522. data/source/stylesheets/breezeblocks/_grid-items-lines.sass +76 -0
  523. data/source/stylesheets/breezeblocks/_grid-items.sass +80 -0
  524. data/source/stylesheets/breezeblocks/_hero.sass +44 -0
  525. data/source/stylesheets/breezeblocks/_hover-tile-animation.sass +40 -0
  526. data/source/stylesheets/breezeblocks/_icon-bullet-points.sass +49 -0
  527. data/source/stylesheets/breezeblocks/_image-gradient-dynamic.sass +43 -0
  528. data/source/stylesheets/breezeblocks/_maps.sass +20 -0
  529. data/source/stylesheets/breezeblocks/_modal.sass +119 -0
  530. data/source/stylesheets/breezeblocks/_navigation.sass +247 -0
  531. data/source/stylesheets/breezeblocks/_pagination.sass +51 -0
  532. data/source/stylesheets/breezeblocks/_parallax.sass +28 -0
  533. data/source/stylesheets/breezeblocks/_progress-bar-indication.sass +42 -0
  534. data/source/stylesheets/breezeblocks/_progress-bar.sass +70 -0
  535. data/source/stylesheets/breezeblocks/_ribbon.sass +28 -0
  536. data/source/stylesheets/breezeblocks/_scroll-on-page.sass +37 -0
  537. data/source/stylesheets/breezeblocks/_search-bar.sass +37 -0
  538. data/source/stylesheets/breezeblocks/_search-tools.sass +79 -0
  539. data/source/stylesheets/breezeblocks/_side-image.sass +58 -0
  540. data/source/stylesheets/breezeblocks/_sliding-menu.sass +63 -0
  541. data/source/stylesheets/breezeblocks/_stats.sass +27 -0
  542. data/source/stylesheets/breezeblocks/_switch.sass +61 -0
  543. data/source/stylesheets/breezeblocks/_tables-minimal.sass +59 -0
  544. data/source/stylesheets/breezeblocks/_tables.sass +78 -0
  545. data/source/stylesheets/breezeblocks/_texture-legend.sass +78 -0
  546. data/source/stylesheets/breezeblocks/_textures.sass +26 -0
  547. data/source/stylesheets/breezeblocks/_tooltip.sass +60 -0
  548. data/source/stylesheets/breezeblocks/_type-system-geometric.sass +100 -0
  549. data/source/stylesheets/breezeblocks/_type-system-rounded.sass +101 -0
  550. data/source/stylesheets/breezeblocks/_type-system-sans.sass +105 -0
  551. data/source/stylesheets/breezeblocks/_type-system-serif.sass +106 -0
  552. data/source/stylesheets/breezeblocks/_type-system-slab.sass +102 -0
  553. data/source/stylesheets/breezeblocks/_type-system-traditional.sass +107 -0
  554. data/source/stylesheets/breezeblocks/_vertical-tabs.sass +91 -0
  555. data/source/stylesheets/breezeblocks/_video.sass +11 -0
  556. data/source/stylesheets/vendor/fixedsticky.css +22 -0
  557. data/source/stylesheets/vendor/normalize.css +427 -0
  558. data/source/stylesheets/vendor/prism.css +126 -0
  559. data/source/type-systems.html.haml +54 -0
  560. data/spec/breezeblocks/import_generator_spec.rb +106 -0
  561. data/spec/spec_helper.rb +2 -0
  562. metadata +633 -0
@@ -0,0 +1,11 @@
1
+ (function() {
2
+ var breezeblocksMenuAnchor = $('.breezeblocks-menu-anchor');
3
+
4
+ $(window).scroll(function() {
5
+ if ($(this).scrollTop() > 50) {
6
+ breezeblocksMenuAnchor.addClass('breezeblocks-menu-anchor-moved');
7
+ } else if ($(this).scrollTop() <= 50) {
8
+ breezeblocksMenuAnchor.removeClass('breezeblocks-menu-anchor-moved');
9
+ }
10
+ });
11
+ })();
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * ZeroClipboard
3
+ * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
4
+ * Copyright (c) 2013 Jon Rohan, James M. Greene
5
+ * Licensed MIT
6
+ * http://zeroclipboard.org/
7
+ * v1.2.3
8
+ */
9
+ !function(){"use strict";var a,b=function(){var a=/\-([a-z])/g,b=function(a,b){return b.toUpperCase()};return function(c){return c.replace(a,b)}}(),c=function(a,c){var d,e,f,g,h,i;if(window.getComputedStyle?d=window.getComputedStyle(a,null).getPropertyValue(c):(e=b(c),d=a.currentStyle?a.currentStyle[e]:a.style[e]),"cursor"===c&&(!d||"auto"===d))for(f=a.tagName.toLowerCase(),g=["a"],h=0,i=g.length;i>h;h++)if(f===g[h])return"pointer";return d},d=function(a){if(p.prototype._singleton){a||(a=window.event);var b;this!==window?b=this:a.target?b=a.target:a.srcElement&&(b=a.srcElement),p.prototype._singleton.setCurrent(b)}},e=function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)},f=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c)},g=function(a,b){if(a.addClass)return a.addClass(b),a;if(b&&"string"==typeof b){var c=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(var d=" "+a.className+" ",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}else a.className=b}return a},h=function(a,b){if(a.removeClass)return a.removeClass(b),a;if(b&&"string"==typeof b||void 0===b){var c=(b||"").split(/\s+/);if(1===a.nodeType&&a.className)if(b){for(var d=(" "+a.className+" ").replace(/[\n\t]/g," "),e=0,f=c.length;f>e;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}else a.className=""}return a},i=function(){var a,b,c,d=1;return"function"==typeof document.body.getBoundingClientRect&&(a=document.body.getBoundingClientRect(),b=a.right-a.left,c=document.body.offsetWidth,d=Math.round(100*(b/c))/100),d},j=function(a){var b={left:0,top:0,width:0,height:0,zIndex:999999999},d=c(a,"z-index");if(d&&"auto"!==d&&(b.zIndex=parseInt(d,10)),a.getBoundingClientRect){var e,f,g,h=a.getBoundingClientRect();"pageXOffset"in window&&"pageYOffset"in window?(e=window.pageXOffset,f=window.pageYOffset):(g=i(),e=Math.round(document.documentElement.scrollLeft/g),f=Math.round(document.documentElement.scrollTop/g));var j=document.documentElement.clientLeft||0,k=document.documentElement.clientTop||0;b.left=h.left+e-j,b.top=h.top+f-k,b.width="width"in h?h.width:h.right-h.left,b.height="height"in h?h.height:h.bottom-h.top}return b},k=function(a,b){var c=!(b&&b.useNoCache===!1);return c?(-1===a.indexOf("?")?"?":"&")+"nocache="+(new Date).getTime():""},l=function(a){var b=[],c=[];return a.trustedOrigins&&("string"==typeof a.trustedOrigins?c.push(a.trustedOrigins):"object"==typeof a.trustedOrigins&&"length"in a.trustedOrigins&&(c=c.concat(a.trustedOrigins))),a.trustedDomains&&("string"==typeof a.trustedDomains?c.push(a.trustedDomains):"object"==typeof a.trustedDomains&&"length"in a.trustedDomains&&(c=c.concat(a.trustedDomains))),c.length&&b.push("trustedOrigins="+encodeURIComponent(c.join(","))),"string"==typeof a.amdModuleId&&a.amdModuleId&&b.push("amdModuleId="+encodeURIComponent(a.amdModuleId)),"string"==typeof a.cjsModuleId&&a.cjsModuleId&&b.push("cjsModuleId="+encodeURIComponent(a.cjsModuleId)),b.join("&")},m=function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;d>c;c++)if(b[c]===a)return c;return-1},n=function(a){if("string"==typeof a)throw new TypeError("ZeroClipboard doesn't accept query strings.");return a.length?a:[a]},o=function(a,b,c,d,e){e?window.setTimeout(function(){a.call(b,c,d)},0):a.call(b,c,d)},p=function(a,b){if(a&&(p.prototype._singleton||this).glue(a),p.prototype._singleton)return p.prototype._singleton;p.prototype._singleton=this,this.options={};for(var c in s)this.options[c]=s[c];for(var d in b)this.options[d]=b[d];this.handlers={},p.detectFlashSupport()&&v()},q=[];p.prototype.setCurrent=function(b){a=b,this.reposition();var d=b.getAttribute("title");d&&this.setTitle(d);var e=this.options.forceHandCursor===!0||"pointer"===c(b,"cursor");return r.call(this,e),this},p.prototype.setText=function(a){return a&&""!==a&&(this.options.text=a,this.ready()&&this.flashBridge.setText(a)),this},p.prototype.setTitle=function(a){return a&&""!==a&&this.htmlBridge.setAttribute("title",a),this},p.prototype.setSize=function(a,b){return this.ready()&&this.flashBridge.setSize(a,b),this},p.prototype.setHandCursor=function(a){return a="boolean"==typeof a?a:!!a,r.call(this,a),this.options.forceHandCursor=a,this};var r=function(a){this.ready()&&this.flashBridge.setHandCursor(a)};p.version="1.2.3";var s={moviePath:"ZeroClipboard.swf",trustedOrigins:null,text:null,hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",allowScriptAccess:"sameDomain",useNoCache:!0,forceHandCursor:!1};p.setDefaults=function(a){for(var b in a)s[b]=a[b]},p.destroy=function(){p.prototype._singleton.unglue(q);var a=p.prototype._singleton.htmlBridge;a.parentNode.removeChild(a),delete p.prototype._singleton},p.detectFlashSupport=function(){var a=!1;if("function"==typeof ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(a=!0)}catch(b){}return!a&&navigator.mimeTypes["application/x-shockwave-flash"]&&(a=!0),a};var t=null,u=null,v=function(){var a,b,c=p.prototype._singleton,d=document.getElementById("global-zeroclipboard-html-bridge");if(!d){var e={};for(var f in c.options)e[f]=c.options[f];e.amdModuleId=t,e.cjsModuleId=u;var g=l(e),h=' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="global-zeroclipboard-flash-bridge" width="100%" height="100%"> <param name="movie" value="'+c.options.moviePath+k(c.options.moviePath,c.options)+'"/> <param name="allowScriptAccess" value="'+c.options.allowScriptAccess+'"/> <param name="scale" value="exactfit"/> <param name="loop" value="false"/> <param name="menu" value="false"/> <param name="quality" value="best" /> <param name="bgcolor" value="#ffffff"/> <param name="wmode" value="transparent"/> <param name="flashvars" value="'+g+'"/> <embed src="'+c.options.moviePath+k(c.options.moviePath,c.options)+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="100%" height="100%" name="global-zeroclipboard-flash-bridge" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+g+'" scale="exactfit"> </embed> </object>';d=document.createElement("div"),d.id="global-zeroclipboard-html-bridge",d.setAttribute("class","global-zeroclipboard-container"),d.setAttribute("data-clipboard-ready",!1),d.style.position="absolute",d.style.left="-9999px",d.style.top="-9999px",d.style.width="15px",d.style.height="15px",d.style.zIndex="9999",d.innerHTML=h,document.body.appendChild(d)}c.htmlBridge=d,a=document["global-zeroclipboard-flash-bridge"],a&&(b=a.length)&&(a=a[b-1]),c.flashBridge=a||d.children[0].lastElementChild};p.prototype.resetBridge=function(){return this.htmlBridge.style.left="-9999px",this.htmlBridge.style.top="-9999px",this.htmlBridge.removeAttribute("title"),this.htmlBridge.removeAttribute("data-clipboard-text"),h(a,this.options.activeClass),a=null,this.options.text=null,this},p.prototype.ready=function(){var a=this.htmlBridge.getAttribute("data-clipboard-ready");return"true"===a||a===!0},p.prototype.reposition=function(){if(!a)return!1;var b=j(a);return this.htmlBridge.style.top=b.top+"px",this.htmlBridge.style.left=b.left+"px",this.htmlBridge.style.width=b.width+"px",this.htmlBridge.style.height=b.height+"px",this.htmlBridge.style.zIndex=b.zIndex+1,this.setSize(b.width,b.height),this},p.dispatch=function(a,b){p.prototype._singleton.receiveEvent(a,b)},p.prototype.on=function(a,b){for(var c=a.toString().split(/\s/g),d=0;d<c.length;d++)a=c[d].toLowerCase().replace(/^on/,""),this.handlers[a]||(this.handlers[a]=b);return this.handlers.noflash&&!p.detectFlashSupport()&&this.receiveEvent("onNoFlash",null),this},p.prototype.addEventListener=p.prototype.on,p.prototype.off=function(a,b){for(var c=a.toString().split(/\s/g),d=0;d<c.length;d++){a=c[d].toLowerCase().replace(/^on/,"");for(var e in this.handlers)e===a&&this.handlers[e]===b&&delete this.handlers[e]}return this},p.prototype.removeEventListener=p.prototype.off,p.prototype.receiveEvent=function(b,c){b=b.toString().toLowerCase().replace(/^on/,"");var d=a,e=!0;switch(b){case"load":if(c&&parseFloat(c.flashVersion.replace(",",".").replace(/[^0-9\.]/gi,""))<10)return this.receiveEvent("onWrongFlash",{flashVersion:c.flashVersion}),void 0;this.htmlBridge.setAttribute("data-clipboard-ready",!0);break;case"mouseover":g(d,this.options.hoverClass);break;case"mouseout":h(d,this.options.hoverClass),this.resetBridge();break;case"mousedown":g(d,this.options.activeClass);break;case"mouseup":h(d,this.options.activeClass);break;case"datarequested":var f=d.getAttribute("data-clipboard-target"),i=f?document.getElementById(f):null;if(i){var j=i.value||i.textContent||i.innerText;j&&this.setText(j)}else{var k=d.getAttribute("data-clipboard-text");k&&this.setText(k)}e=!1;break;case"complete":this.options.text=null}if(this.handlers[b]){var l=this.handlers[b];"string"==typeof l&&"function"==typeof window[l]&&(l=window[l]),"function"==typeof l&&o(l,d,this,c,e)}},p.prototype.glue=function(a){a=n(a);for(var b=0;b<a.length;b++)-1==m(a[b],q)&&(q.push(a[b]),e(a[b],"mouseover",d));return this},p.prototype.unglue=function(a){a=n(a);for(var b=0;b<a.length;b++){f(a[b],"mouseover",d);var c=m(a[b],q);-1!=c&&q.splice(c,1)}return this},"function"==typeof define&&define.amd?define(["require","exports","module"],function(a,b,c){return t=c&&c.id||null,p}):"object"==typeof module&&module&&"object"==typeof module.exports&&module.exports?(u=module.id||null,module.exports=p):window.ZeroClipboard=p}();
@@ -0,0 +1,185 @@
1
+ ;(function( win, $ ) {
2
+
3
+ function featureTest( property, value, noPrefixes ) {
4
+ // Thanks Modernizr! https://github.com/phistuck/Modernizr/commit/3fb7217f5f8274e2f11fe6cfeda7cfaf9948a1f5
5
+ var prop = property + ':',
6
+ el = document.createElement( 'test' ),
7
+ mStyle = el.style;
8
+
9
+ if( !noPrefixes ) {
10
+ mStyle.cssText = prop + [ '-webkit-', '-moz-', '-ms-', '-o-', '' ].join( value + ';' + prop ) + value + ';';
11
+ } else {
12
+ mStyle.cssText = prop + value;
13
+ }
14
+ return mStyle[ property ].indexOf( value ) !== -1;
15
+ }
16
+
17
+ function getPx( unit ) {
18
+ return parseInt( unit, 10 ) || 0;
19
+ }
20
+
21
+ var S = {
22
+ classes: {
23
+ plugin: 'fixedsticky',
24
+ active: 'fixedsticky-on',
25
+ inactive: 'fixedsticky-off',
26
+ clone: 'fixedsticky-dummy',
27
+ withoutFixedFixed: 'fixedsticky-withoutfixedfixed'
28
+ },
29
+ keys: {
30
+ offset: 'fixedStickyOffset',
31
+ position: 'fixedStickyPosition'
32
+ },
33
+ tests: {
34
+ sticky: featureTest( 'position', 'sticky' ),
35
+ fixed: featureTest( 'position', 'fixed', true )
36
+ },
37
+ // Thanks jQuery!
38
+ getScrollTop: function() {
39
+ var prop = 'pageYOffset',
40
+ method = 'scrollTop';
41
+ return win ? (prop in win) ? win[ prop ] :
42
+ win.document.documentElement[ method ] :
43
+ win.document.body[ method ];
44
+ },
45
+ bypass: function() {
46
+ // Check native sticky, check fixed and if fixed-fixed is also included on the page and is supported
47
+ return ( S.tests.sticky && !S.optOut ) ||
48
+ !S.tests.fixed ||
49
+ win.FixedFixed && !$( win.document.documentElement ).hasClass( 'fixed-supported' );
50
+ },
51
+ update: function( el ) {
52
+ if( !el.offsetWidth ) { return; }
53
+
54
+ var $el = $( el ),
55
+ height = $el.outerHeight(),
56
+ initialOffset = $el.data( S.keys.offset ),
57
+ scroll = S.getScrollTop(),
58
+ isAlreadyOn = $el.is( '.' + S.classes.active ),
59
+ toggle = function( turnOn ) {
60
+ $el[ turnOn ? 'addClass' : 'removeClass' ]( S.classes.active )
61
+ [ !turnOn ? 'addClass' : 'removeClass' ]( S.classes.inactive );
62
+ },
63
+ viewportHeight = $( window ).height(),
64
+ position = $el.data( S.keys.position ),
65
+ skipSettingToFixed,
66
+ elTop,
67
+ elBottom,
68
+ $parent = $el.parent(),
69
+ parentOffset = $parent.offset().top,
70
+ parentHeight = $parent.outerHeight();
71
+
72
+ if( initialOffset === undefined ) {
73
+ initialOffset = $el.offset().top;
74
+ $el.data( S.keys.offset, initialOffset );
75
+ $el.after( $( '<div>' ).addClass( S.classes.clone ).height( height ) );
76
+ }
77
+
78
+ if( !position ) {
79
+ // Some browsers require fixed/absolute to report accurate top/left values.
80
+ skipSettingToFixed = $el.css( 'top' ) !== 'auto' || $el.css( 'bottom' ) !== 'auto';
81
+
82
+ if( !skipSettingToFixed ) {
83
+ $el.css( 'position', 'fixed' );
84
+ }
85
+
86
+ position = {
87
+ top: $el.css( 'top' ) !== 'auto',
88
+ bottom: $el.css( 'bottom' ) !== 'auto'
89
+ };
90
+
91
+ if( !skipSettingToFixed ) {
92
+ $el.css( 'position', '' );
93
+ }
94
+
95
+ $el.data( S.keys.position, position );
96
+ }
97
+
98
+ function isFixedToTop() {
99
+ var offsetTop = scroll + elTop;
100
+
101
+ // Initial Offset Top
102
+ return initialOffset < offsetTop &&
103
+ // Container Bottom
104
+ offsetTop + height <= parentOffset + parentHeight;
105
+ }
106
+
107
+ function isFixedToBottom() {
108
+ // Initial Offset Top + Height
109
+ return initialOffset + ( height || 0 ) > scroll + viewportHeight - elBottom &&
110
+ // Container Top
111
+ scroll + viewportHeight - elBottom >= parentOffset + ( height || 0 );
112
+ }
113
+
114
+ elTop = getPx( $el.css( 'top' ) );
115
+ elBottom = getPx( $el.css( 'bottom' ) );
116
+
117
+ if( position.top && isFixedToTop() || position.bottom && isFixedToBottom() ) {
118
+ if( !isAlreadyOn ) {
119
+ toggle( true );
120
+ }
121
+ } else {
122
+ if( isAlreadyOn ) {
123
+ toggle( false );
124
+ }
125
+ }
126
+ },
127
+ destroy: function( el ) {
128
+ var $el = $( el );
129
+ if (S.bypass()) {
130
+ return;
131
+ }
132
+
133
+ $( win ).unbind( '.fixedsticky' );
134
+
135
+ return $el.each(function() {
136
+ $( this )
137
+ .removeData( [ S.keys.offset, S.keys.position ] )
138
+ .removeClass( S.classes.active )
139
+ .removeClass( S.classes.inactive )
140
+ .next( '.' + S.classes.clone ).remove();
141
+ });
142
+ },
143
+ init: function( el ) {
144
+ var $el = $( el );
145
+
146
+ if( S.bypass() ) {
147
+ return;
148
+ }
149
+
150
+ return $el.each(function() {
151
+ var _this = this;
152
+ $( win ).bind( 'scroll.fixedsticky', function() {
153
+ S.update( _this );
154
+ });
155
+
156
+ S.update( this );
157
+
158
+ $( win ).bind( 'resize.fixedsticky', function() {
159
+ if( $el.is( '.' + S.classes.active ) ) {
160
+ S.update( _this );
161
+ }
162
+ });
163
+ });
164
+ }
165
+ };
166
+
167
+ win.FixedSticky = S;
168
+
169
+ // Plugin
170
+ $.fn.fixedsticky = function( method ) {
171
+ if ( typeof S[ method ] === 'function') {
172
+ return S[ method ].call( S, this);
173
+ } else if ( typeof method === 'object' || ! method ) {
174
+ return S.init.call( S, this );
175
+ } else {
176
+ throw new Error( 'Method `' + method + '` does not exist on jQuery.fixedsticky' );
177
+ }
178
+ };
179
+
180
+ // Add fallback when fixed-fixed is not available.
181
+ if( !win.FixedFixed ) {
182
+ $( win.document.documentElement ).addClass( S.classes.withoutFixedFixed );
183
+ }
184
+
185
+ })( this, jQuery );
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Prism: Lightweight, robust, elegant syntax highlighting
3
+ * MIT license http://www.opensource.org/licenses/mit-license.php/
4
+ * @author Lea Verou http://lea.verou.me
5
+ */(function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=self.Prism={util:{type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},clone:function(e){var n=t.util.type(e);switch(n){case"Object":var r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]=t.util.clone(e[i]));return r;case"Array":return e.slice()}return e}},languages:{extend:function(e,n){var r=t.util.clone(t.languages[e]);for(var i in n)r[i]=n[i];return r},insertBefore:function(e,n,r,i){i=i||t.languages;var s=i[e],o={};for(var u in s)if(s.hasOwnProperty(u)){if(u==n)for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);o[u]=s[u]}return i[e]=o},DFS:function(e,n){for(var r in e){n.call(e,r,e[r]);t.util.type(e)==="Object"&&t.languages.DFS(e[r],n)}}},highlightAll:function(e,n){var r=document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code');for(var i=0,s;s=r[i++];)t.highlightElement(s,e===!0,n)},highlightElement:function(r,i,s){var o,u,a=r;while(a&&!e.test(a.className))a=a.parentNode;if(a){o=(a.className.match(e)||[,""])[1];u=t.languages[o]}if(!u)return;r.className=r.className.replace(e,"").replace(/\s+/g," ")+" language-"+o;a=r.parentNode;/pre/i.test(a.nodeName)&&(a.className=a.className.replace(e,"").replace(/\s+/g," ")+" language-"+o);var f=r.textContent;if(!f)return;f=f.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ");var l={element:r,language:o,grammar:u,code:f};t.hooks.run("before-highlight",l);if(i&&self.Worker){var c=new Worker(t.filename);c.onmessage=function(e){l.highlightedCode=n.stringify(JSON.parse(e.data),o);t.hooks.run("before-insert",l);l.element.innerHTML=l.highlightedCode;s&&s.call(l.element);t.hooks.run("after-highlight",l)};c.postMessage(JSON.stringify({language:l.language,code:l.code}))}else{l.highlightedCode=t.highlight(l.code,l.grammar,l.language);t.hooks.run("before-insert",l);l.element.innerHTML=l.highlightedCode;s&&s.call(r);t.hooks.run("after-highlight",l)}},highlight:function(e,r,i){return n.stringify(t.tokenize(e,r),i)},tokenize:function(e,n,r){var i=t.Token,s=[e],o=n.rest;if(o){for(var u in o)n[u]=o[u];delete n.rest}e:for(var u in n){if(!n.hasOwnProperty(u)||!n[u])continue;var a=n[u],f=a.inside,l=!!a.lookbehind,c=0;a=a.pattern||a;for(var h=0;h<s.length;h++){var p=s[h];if(s.length>e.length)break e;if(p instanceof i)continue;a.lastIndex=0;var d=a.exec(p);if(d){l&&(c=d[1].length);var v=d.index-1+c,d=d[0].slice(c),m=d.length,g=v+m,y=p.slice(0,v+1),b=p.slice(g+1),w=[h,1];y&&w.push(y);var E=new i(u,f?t.tokenize(d,f):d);w.push(E);b&&w.push(b);Array.prototype.splice.apply(s,w)}}}return s},hooks:{all:{},add:function(e,n){var r=t.hooks.all;r[e]=r[e]||[];r[e].push(n)},run:function(e,n){var r=t.hooks.all[e];if(!r||!r.length)return;for(var i=0,s;s=r[i++];)s(n)}}},n=t.Token=function(e,t){this.type=e;this.content=t};n.stringify=function(e,r,i){if(typeof e=="string")return e;if(Object.prototype.toString.call(e)=="[object Array]")return e.map(function(t){return n.stringify(t,r,e)}).join("");var s={type:e.type,content:n.stringify(e.content,r,i),tag:"span",classes:["token",e.type],attributes:{},language:r,parent:i};s.type=="comment"&&(s.attributes.spellcheck="true");t.hooks.run("wrap",s);var o="";for(var u in s.attributes)o+=u+'="'+(s.attributes[u]||"")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'" '+o+">"+s.content+"</"+s.tag+">"};if(!self.document){self.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,i=n.code;self.postMessage(JSON.stringify(t.tokenize(i,t.languages[r])));self.close()},!1);return}var r=document.getElementsByTagName("script");r=r[r.length-1];if(r){t.filename=r.src;document.addEventListener&&!r.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll)}})();;
6
+ Prism.languages.markup={comment:/&lt;!--[\w\W]*?-->/g,prolog:/&lt;\?.+?\?>/,doctype:/&lt;!DOCTYPE.+?>/,cdata:/&lt;!\[CDATA\[[\w\W]*?]]>/i,tag:{pattern:/&lt;\/?[\w:-]+\s*(?:\s+[\w:-]+(?:=(?:("|')(\\?[\w\W])*?\1|\w+))?\s*)*\/?>/gi,inside:{tag:{pattern:/^&lt;\/?[\w:-]+/i,inside:{punctuation:/^&lt;\/?/,namespace:/^[\w-]+?:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/gi,inside:{punctuation:/=|>|"/g}},punctuation:/\/?>/g,"attr-name":{pattern:/[\w:-]+/g,inside:{namespace:/^[\w-]+?:/}}}},entity:/&amp;#?[\da-z]{1,8};/gi};Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))});;
7
+ Prism.languages.css={comment:/\/\*[\w\W]*?\*\//g,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*{))/gi,inside:{punctuation:/[;:]/g}},url:/url\((["']?).*?\1\)/gi,selector:/[^\{\}\s][^\{\};]*(?=\s*\{)/g,property:/(\b|\B)[\w-]+(?=\s*:)/ig,string:/("|')(\\?.)*?\1/g,important:/\B!important\b/gi,ignore:/&(lt|gt|amp);/gi,punctuation:/[\{\};:]/g};Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{style:{pattern:/(&lt;|<)style[\w\W]*?(>|&gt;)[\w\W]*?(&lt;|<)\/style(>|&gt;)/ig,inside:{tag:{pattern:/(&lt;|<)style[\w\W]*?(>|&gt;)|(&lt;|<)\/style(>|&gt;)/ig,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.css}}});;
8
+ Prism.languages.clike={comment:{pattern:/(^|[^\\])(\/\*[\w\W]*?\*\/|(^|[^:])\/\/.*?(\r?\n|$))/g,lookbehind:!0},string:/("|')(\\?.)*?\1/g,"class-name":{pattern:/((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/ig,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/g,"boolean":/\b(true|false)\b/g,"function":{pattern:/[a-z0-9_]+\(/ig,inside:{punctuation:/\(/}}, number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/g,operator:/[-+]{1,2}|!|&lt;=?|>=?|={1,3}|(&amp;){1,2}|\|?\||\?|\*|\/|\~|\^|\%/g,ignore:/&(lt|gt|amp);/gi,punctuation:/[{}[\];(),.:]/g};
9
+ ;
10
+ Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(var|let|if|else|while|do|for|return|in|instanceof|function|new|with|typeof|try|throw|catch|finally|null|break|continue)\b/g,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?|NaN|-?Infinity)\b/g});Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/g,lookbehind:!0}});Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(&lt;|<)script[\w\W]*?(>|&gt;)[\w\W]*?(&lt;|<)\/script(>|&gt;)/ig,inside:{tag:{pattern:/(&lt;|<)script[\w\W]*?(>|&gt;)|(&lt;|<)\/script(>|&gt;)/ig,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.javascript}}});
11
+ ;
12
+ Prism.languages.sass=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(\/\*[\w\W]*?\*\/|\/\/.*?(\r?\n|$))/g,lookbehind:!0},atrule:/@[\w-]+(?=\s+(\(|\{|;))/gi,url:/([-a-z]+-)*url(?=\()/gi,selector:/([^@;\{\}\(\)]?([^@;\{\}\(\)]|&amp;|\#\{\$[-_\w]+\})+)(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/gm});Prism.languages.insertBefore("sass","atrule",{keyword:/@(if|else if|else|for|each|while|import|extend|debug|warn|mixin|include|function|return)|(?=@for\s+\$[-_\w]+\s)+from/i});Prism.languages.insertBefore("sass","property",{variable:/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i});Prism.languages.insertBefore("sass","ignore",{placeholder:/%[-_\w]+/i,statement:/\B!(default|optional)\b/gi,"boolean":/\b(true|false)\b/g,"null":/\b(null)\b/g,operator:/\s+([-+]{1,2}|={1,2}|!=|\|?\||\?|\*|\/|\%)\s+/g});
13
+ ;
@@ -0,0 +1,125 @@
1
+ /* =============================================================
2
+
3
+ Smooth Scroll 2.9
4
+ Animate scrolling to anchor links, by Chris Ferdinandi.
5
+ http://gomakethings.com
6
+
7
+ Easing support contributed by Willem Liu.
8
+ https://github.com/willemliu
9
+
10
+ Easing functions forked from Gaëtan Renaudeau.
11
+ https://gist.github.com/gre/1650294
12
+
13
+ Free to use under the MIT License.
14
+ http://gomakethings.com/mit/
15
+
16
+ * ============================================================= */
17
+
18
+ (function() {
19
+
20
+ 'use strict';
21
+
22
+ // Feature Test
23
+ if ( 'querySelector' in document && 'addEventListener' in window && Array.prototype.forEach ) {
24
+
25
+ // Function to animate the scroll
26
+ var smoothScroll = function (anchor, duration, easing) {
27
+
28
+ // Functions to control easing
29
+ var easingPattern = function (type, time) {
30
+ if ( type == 'easeInQuad' ) return time * time; // accelerating from zero velocity
31
+ if ( type == 'easeOutQuad' ) return time * (2 - time); // decelerating to zero velocity
32
+ if ( type == 'easeInOutQuad' ) return time < 0.5 ? 2 * time * time : -1 + (4 - 2 * time) * time; // acceleration until halfway, then deceleration
33
+ if ( type == 'easeInCubic' ) return time * time * time; // accelerating from zero velocity
34
+ if ( type == 'easeOutCubic' ) return (--time) * time * time + 1; // decelerating to zero velocity
35
+ if ( type == 'easeInOutCubic' ) return time < 0.5 ? 4 * time * time * time : (time - 1) * (2 * time - 2) * (2 * time - 2) + 1; // acceleration until halfway, then deceleration
36
+ if ( type == 'easeInQuart' ) return time * time * time * time; // accelerating from zero velocity
37
+ if ( type == 'easeOutQuart' ) return 1 - (--time) * time * time * time; // decelerating to zero velocity
38
+ if ( type == 'easeInOutQuart' ) return time < 0.5 ? 8 * time * time * time * time : 1 - 8 * (--time) * time * time * time; // acceleration until halfway, then deceleration
39
+ if ( type == 'easeInQuint' ) return time * time * time * time * time; // accelerating from zero velocity
40
+ if ( type == 'easeOutQuint' ) return 1 + (--time) * time * time * time * time; // decelerating to zero velocity
41
+ if ( type == 'easeInOutQuint' ) return time < 0.5 ? 16 * time * time * time * time * time : 1 + 16 * (--time) * time * time * time * time; // acceleration until halfway, then deceleration
42
+ return time; // no easing, no acceleration
43
+ };
44
+
45
+ // Calculate how far and how fast to scroll
46
+ // http://www.quirksmode.org/blog/archives/2008/01/using_the_assig.html
47
+ var startLocation = window.pageYOffset;
48
+ var endLocation = function (anchor) {
49
+ var distance = 0;
50
+ if (anchor.offsetParent) {
51
+ do {
52
+ distance += anchor.offsetTop;
53
+ anchor = anchor.offsetParent;
54
+ } while (anchor);
55
+ }
56
+ return distance;
57
+ };
58
+ var distance = endLocation(anchor) - startLocation;
59
+ var increments = distance / (duration / 16);
60
+ var timeLapsed = 0;
61
+ var percentage, position, stopAnimation;
62
+
63
+ // Scroll the page by an increment, and check if it's time to stop
64
+ var animateScroll = function () {
65
+ timeLapsed += 16;
66
+ percentage = ( timeLapsed / duration );
67
+ percentage = ( percentage > 1 ) ? 1 : percentage;
68
+ position = startLocation + ( distance * easingPattern(easing, percentage) );
69
+ window.scrollTo(0, position);
70
+ stopAnimation();
71
+ };
72
+
73
+ // Stop the animation
74
+ if ( increments >= 0 ) { // If scrolling down
75
+ // Stop animation when you reach the anchor OR the bottom of the page
76
+ stopAnimation = function () {
77
+ var travelled = window.pageYOffset;
78
+ if ( (travelled >= (endLocation(anchor) - increments)) || ((window.innerHeight + travelled) >= document.body.offsetHeight) ) {
79
+ clearInterval(runAnimation);
80
+ }
81
+ };
82
+ } else { // If scrolling up
83
+ // Stop animation when you reach the anchor OR the top of the page
84
+ stopAnimation = function () {
85
+ var travelled = window.pageYOffset;
86
+ if ( travelled <= endLocation(anchor) || travelled <= 0 ) {
87
+ clearInterval(runAnimation);
88
+ }
89
+ };
90
+ }
91
+
92
+ // Loop the animation function
93
+ var runAnimation = setInterval(animateScroll, 16);
94
+
95
+ };
96
+
97
+ // For each smooth scroll link
98
+ var scrollToggle = document.querySelectorAll('.scroll');
99
+ [].forEach.call(scrollToggle, function (toggle) {
100
+
101
+ // When the smooth scroll link is clicked
102
+ toggle.addEventListener('click', function(e) {
103
+
104
+ // Prevent the default link behavior
105
+ e.preventDefault();
106
+
107
+ // Get anchor link and calculate distance from the top
108
+ var dataID = toggle.getAttribute('href');
109
+ var dataTarget = document.querySelector(dataID);
110
+ var dataSpeed = toggle.getAttribute('data-speed');
111
+ var dataEasing = toggle.getAttribute('data-easing'); // WL: Added easing attribute support.
112
+
113
+ // If the anchor exists
114
+ if (dataTarget) {
115
+ // Scroll to the anchor
116
+ smoothScroll(dataTarget, dataSpeed || 500, dataEasing || 'easeInOutCubic');
117
+ }
118
+
119
+ }, false);
120
+
121
+ });
122
+
123
+ }
124
+
125
+ })();
@@ -0,0 +1,108 @@
1
+ !!!
2
+ %html{lang: "en"}
3
+ %head
4
+ %meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
5
+ %meta{charset: "utf-8"}/
6
+ %meta{content: "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
7
+ %meta{content: "width=device-width,initial-scale=1", name: "viewport"}/
8
+ %meta{content: "Breezeblocks are prepackaged patterns and components built with Bourbon, Neat and Bitters.", name: "description"}/
9
+ %title
10
+ Breezeblocks#{" - #{ current_page.data.title}" if current_page.data.title}
11
+ %link{href: "//fonts.googleapis.com/css?family=Oswald:400,300,700|Lusitana:400,700|Open+Sans:400,800", rel: "stylesheet"}/
12
+ = stylesheet_link_tag "all"
13
+ %script{src: "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"}
14
+ %script{src: "/javascripts/jquery.erToc.js"}
15
+ :javascript
16
+ !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","group","track","ready","alias","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="3.0.1";
17
+ analytics.load("zqKH1nPNSA5uCwV1XiBz3LvGfPH6Muq9");
18
+ analytics.page()
19
+ }}();
20
+ %body{class: page_classes}
21
+ %nav.bourbon
22
+ %ul
23
+ %li
24
+ %a.bourbon{href: "//bourbon.io"} Bourbon
25
+ %li
26
+ %a.neat{href: "//neat.bourbon.io"} Neat
27
+ %li
28
+ %a.bitters{href: "//bitters.bourbon.io"} Bitters
29
+ %li
30
+ %a.breezeblocks.current{href: "//breezeblocks.bourbon.io"} Breezeblocks
31
+ %h1
32
+ Maintained by the design team at
33
+ %a{href: "//thoughtbot.com"} thoughtbot
34
+ %section.container
35
+ %section.inner-content
36
+ = yield
37
+ %footer.breezeblocks-footer
38
+ %ul.footer-links
39
+ %li= link_to 'Patterns', '/index.html'
40
+ %li= link_to 'Components', '/components.html'
41
+ %li= link_to 'Type Systems', '/type-systems.html'
42
+ .breezeblocks-footer-logo
43
+ %img{alt: "thoughtbot Ralph logo mark", src: "/images/ralph-gray.png"}/
44
+ %p
45
+ Breezeblocks is maintained and funded by
46
+ = succeed "." do
47
+ %a{href: "//thoughtbot.com"} thoughtbot, inc
48
+ %p
49
+ Copyright © 2014–2015
50
+ = succeed "." do
51
+ %a{href: "//thoughtbot.com"} thoughtbot, inc
52
+ = succeed "." do
53
+ %a{href: "//github.com/thoughtbot/breezeblocks/blob/master/LICENSE.md"} license
54
+ %script{src: "https://maps.googleapis.com/maps/api/js"}
55
+ :javascript
56
+ var bittersMap = (function () {
57
+ var myLatlng = new google.maps.LatLng(59.342457, 18.057340),
58
+ mapCenter = new google.maps.LatLng(59.340458, 18.057340),
59
+ mapCanvas = document.getElementById('map_canvas'),
60
+ mapOptions = {
61
+ center: mapCenter,
62
+ zoom: 13,
63
+ scrollwheel: false,
64
+ draggable: true,
65
+ disableDefaultUI: true,
66
+ mapTypeId: google.maps.MapTypeId.ROADMAP
67
+ },
68
+ map = new google.maps.Map(mapCanvas, mapOptions),
69
+ contentString =
70
+ '<div id="content">'+
71
+ '<div id="siteNotice">'+
72
+ '</div>'+
73
+ '<h1 id="firstHeading" class="firstHeading">thoughtbot</h1>'+
74
+ '<div id="bodyContent"'+
75
+ '<p>Sveavägen 98</p>'+
76
+ '</div>'+
77
+ '</div>',
78
+ infowindow = new google.maps.InfoWindow({
79
+ content: contentString,
80
+ maxWidth: 300
81
+ }),
82
+ marker = new google.maps.Marker({
83
+ position: myLatlng,
84
+ map: map,
85
+ title: 'thoughtbot (Sweden)'
86
+ });
87
+
88
+ return {
89
+ init: function () {
90
+ map.set('styles', [{
91
+ featureType: 'landscape',
92
+ elementType: 'geometry',
93
+ stylers: [
94
+ { hue: '#ffff00' },
95
+ { saturation: 30 },
96
+ { lightness: 10}
97
+ ]}
98
+ ]);
99
+
100
+ google.maps.event.addListener(marker, 'click', function () {
101
+ infowindow.open(map,marker);
102
+ });
103
+ }
104
+ };
105
+ }());
106
+
107
+ bittersMap.init();
108
+ = javascript_include_tag "all"