refills 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.buildpacks +2 -0
- data/.gitignore +7 -16
- data/.hound.yml +6 -0
- data/.ruby-version +1 -0
- data/.scss-lint.yml +173 -0
- data/.travis.yml +8 -0
- data/CONTRIBUTING.md +65 -0
- data/Gemfile +12 -10
- data/LICENSE.md +21 -0
- data/README.md +57 -70
- data/Rakefile +20 -0
- data/bin/deploy +12 -0
- data/bin/setup +13 -0
- data/config.rb +7 -88
- data/lib/refills/import_generator.rb +65 -2
- data/lib/refills/version.rb +1 -1
- data/lib/snippet_helpers.rb +89 -0
- data/refills.gemspec +14 -15
- data/sache.json +5 -0
- data/source/_accordion.html.erb +0 -9
- data/source/{_accordion-tabs.html.erb → _accordion_tabs.html.erb} +13 -35
- data/source/{_accordion-tabs-minimal.html.erb → _accordion_tabs_minimal.html.erb} +9 -31
- data/source/_animate.html.erb +4 -0
- data/source/_animate_info.html.erb +4 -0
- data/source/_badges.html.erb +7 -7
- data/source/_button_group.html.erb +18 -0
- data/source/_cards.html.erb +5 -27
- data/source/_centered_navigation.html.erb +40 -0
- data/source/{_snippets.html.erb → _code.html.erb} +5 -2
- data/source/_comment.html.erb +2 -2
- data/source/_device.html.erb +10 -0
- data/source/_dropdown.html.erb +12 -0
- data/source/_expander.html.erb +6 -0
- data/source/_fade_in.html.erb +7 -0
- data/source/_flashes.html.erb +15 -0
- data/source/_flex_boxes.html.erb +32 -0
- data/source/_footer.html.erb +2 -2
- data/source/_footer_2.html.erb +33 -0
- data/source/{_grid-items.html.erb → _grid_items.html.erb} +7 -7
- data/source/{_grid-items-lines.html.erb → _grid_items_lines.html.erb} +9 -9
- data/source/_hero.html.erb +4 -3
- data/source/_hover_tile_animation.html.erb +9 -0
- data/source/{_icon-bullet-points.html.erb → _icon_bullet_points.html.erb} +12 -11
- data/source/{_image-gradient-dynamic.html.erb → _image_gradient_dynamic.html.erb} +2 -2
- data/source/_maps.html.erb +74 -0
- data/source/_modal.html.erb +3 -3
- data/source/_navigation.html.erb +22 -37
- data/source/_pagination.html.erb +17 -0
- data/source/_parallax.html.erb +6 -0
- data/source/{_progress-bar.html.erb → _progress_bar.html.erb} +0 -0
- data/source/{_progress-bar-indication.html.erb → _progress_bar_indication.html.erb} +0 -0
- data/source/_ribbon.html.erb +5 -0
- data/source/_scroll_on_page.html.erb +24 -0
- data/source/_search_bar.html.erb +6 -0
- data/source/_search_tools.html.erb +58 -0
- data/source/_side_image.html.erb +10 -0
- data/source/_sliding_menu.html.erb +13 -0
- data/source/_snippet.html.erb +12 -3
- data/source/_stats.html.erb +8 -0
- data/source/_switch.html.erb +4 -7
- data/source/_tables.html.erb +2 -2
- data/source/{_tables-minimal.html.erb → _tables_minimal.html.erb} +0 -0
- data/source/_texture-legend.html.erb +24 -0
- data/source/_textures.html.erb +4 -0
- data/source/_tooltip.html.erb +2 -2
- data/source/_type_system_geometric.html.erb +18 -0
- data/source/_type_system_rounded.html.erb +18 -0
- data/source/_type_system_sans.html.erb +18 -0
- data/source/_type_system_serif.html.erb +19 -0
- data/source/_type_system_slab.html.erb +18 -0
- data/source/_type_system_traditional.html.erb +18 -0
- data/source/{_vertical-tabs.html.erb → _vertical_tabs.html.erb} +4 -39
- data/source/_video.html.erb +5 -0
- data/source/components.html.erb +222 -0
- data/source/images/EmeraldLake.jpg +0 -0
- data/source/images/bourbon-nav/bitters.png +0 -0
- data/source/images/bourbon-nav/bitters@2x.png +0 -0
- data/source/images/bourbon-nav/bourbon.png +0 -0
- data/source/images/bourbon-nav/bourbon@2x.png +0 -0
- data/source/images/bourbon-nav/neat.png +0 -0
- data/source/images/bourbon-nav/neat@2x.png +0 -0
- data/source/images/bourbon-nav/refills.png +0 -0
- data/source/images/bourbon-nav/refills@2x.png +0 -0
- data/source/images/cosmin_capitanu_screen.jpg +0 -0
- data/source/images/facebook-logo-circle-dark.png +0 -0
- data/source/images/facebook-logo-circle.png +0 -0
- data/source/images/indesign-logo-circle.png +0 -0
- data/source/images/lake-transparent.png +0 -0
- data/source/images/menu-white.png +0 -0
- data/source/images/menu.png +0 -0
- data/source/images/mountain-thin.png +0 -0
- data/source/images/mountains-2.png +0 -0
- data/source/images/mountains-3.png +0 -0
- data/source/images/mountains-4.png +0 -0
- data/source/images/mountains.png +0 -0
- data/source/images/placeholder_logo_1.png +0 -0
- data/source/images/placeholder_logo_1_dark.png +0 -0
- data/source/images/placeholder_logo_2.png +0 -0
- data/source/images/placeholder_logo_2_dark.png +0 -0
- data/source/images/placeholder_logo_3.png +0 -0
- data/source/images/placeholder_logo_3_dark.png +0 -0
- data/source/images/placeholder_logo_4.png +0 -0
- data/source/images/placeholder_logo_4_dark.png +0 -0
- data/source/images/ralph-gray.png +0 -0
- data/source/images/ralph.png +0 -0
- data/source/images/refills-logo.svg +18 -0
- data/source/images/refills-screenshot1.png +0 -0
- data/source/images/refills-screenshot2.jpg +0 -0
- data/source/images/refills-screenshot3.png +0 -0
- data/source/images/search-icon-black.png +0 -0
- data/source/images/search-icon.png +0 -0
- data/source/images/sliding-menu.png +0 -0
- data/source/images/textures/45degreee_fabric.png +0 -0
- data/source/images/textures/45degreee_fabric_@2X.png +0 -0
- data/source/images/textures/absurdidad.png +0 -0
- data/source/images/textures/absurdidad_@2X.png +0 -0
- data/source/images/textures/az_subtle.png +0 -0
- data/source/images/textures/az_subtle_@2X.png +0 -0
- data/source/images/textures/bgnoise_lg.png +0 -0
- data/source/images/textures/bgnoise_lg_@2X.png +0 -0
- data/source/images/textures/binding_light.png +0 -0
- data/source/images/textures/binding_light@2x.png +0 -0
- data/source/images/textures/brillant.png +0 -0
- data/source/images/textures/brillant_@2X.png +0 -0
- data/source/images/textures/brushed.png +0 -0
- data/source/images/textures/brushed_@2X.png +0 -0
- data/source/images/textures/brushed_alu.png +0 -0
- data/source/images/textures/brushed_alu_@2X.png +0 -0
- data/source/images/textures/chruch.png +0 -0
- data/source/images/textures/chruch_@2X.png +0 -0
- data/source/images/textures/circles.png +0 -0
- data/source/images/textures/circles_@2X.png +0 -0
- data/source/images/textures/concrete_wall_2.png +0 -0
- data/source/images/textures/concrete_wall_2_@2X.png +0 -0
- data/source/images/textures/concrete_wall_3.png +0 -0
- data/source/images/textures/concrete_wall_3_@2X.png +0 -0
- data/source/images/textures/corrugation.png +0 -0
- data/source/images/textures/corrugation_@2X.png +0 -0
- data/source/images/textures/cream_pixels.png +0 -0
- data/source/images/textures/cream_pixels@2x.png +0 -0
- data/source/images/textures/cross_scratches.png +0 -0
- data/source/images/textures/cross_scratches_@2X.png +0 -0
- data/source/images/textures/crosses.png +0 -0
- data/source/images/textures/crosses_@2X.png +0 -0
- data/source/images/textures/debut_light.png +0 -0
- data/source/images/textures/debut_light_@2X.png +0 -0
- data/source/images/textures/diagonal-noise.png +0 -0
- data/source/images/textures/diagonal-noise_@2X.png +0 -0
- data/source/images/textures/diagonal_waves.png +0 -0
- data/source/images/textures/diagonal_waves_@2X.png +0 -0
- data/source/images/textures/double_lined.png +0 -0
- data/source/images/textures/double_lined_@2X.png +0 -0
- data/source/images/textures/dust.png +0 -0
- data/source/images/textures/dust@2x.png +0 -0
- data/source/images/textures/dust_@2X.png +0 -0
- data/source/images/textures/fabric_plaid.png +0 -0
- data/source/images/textures/fabric_plaid_@2X.png +0 -0
- data/source/images/textures/fancy_deboss.png +0 -0
- data/source/images/textures/fancy_deboss_@2X.png +0 -0
- data/source/images/textures/farmer.png +0 -0
- data/source/images/textures/farmer_@2X.png +0 -0
- data/source/images/textures/first_aid_kit.png +0 -0
- data/source/images/textures/first_aid_kit_@2X.png +0 -0
- data/source/images/textures/graphy.png +0 -0
- data/source/images/textures/graphy_@2X.png +0 -0
- data/source/images/textures/grey.png +0 -0
- data/source/images/textures/grey_@2X.png +0 -0
- data/source/images/textures/grid.png +0 -0
- data/source/images/textures/grid_@2X.png +0 -0
- data/source/images/textures/grid_noise.png +0 -0
- data/source/images/textures/grid_noise_@2X.png +0 -0
- data/source/images/textures/gridme.png +0 -0
- data/source/images/textures/gridme_@2X.png +0 -0
- data/source/images/textures/grilled.png +0 -0
- data/source/images/textures/grilled_@2X.png +0 -0
- data/source/images/textures/groovepaper.png +0 -0
- data/source/images/textures/groovepaper_@2X.png +0 -0
- data/source/images/textures/honey_im_subtle.png +0 -0
- data/source/images/textures/honey_im_subtle_@2X.png +0 -0
- data/source/images/textures/husk.png +0 -0
- data/source/images/textures/husk_@2X.png +0 -0
- data/source/images/textures/inverted/45degreee_fabric.png +0 -0
- data/source/images/textures/inverted/45degreee_fabric_@2X.png +0 -0
- data/source/images/textures/inverted/absurdidad.png +0 -0
- data/source/images/textures/inverted/absurdidad_@2X.png +0 -0
- data/source/images/textures/inverted/az_subtle.png +0 -0
- data/source/images/textures/inverted/az_subtle_@2X.png +0 -0
- data/source/images/textures/inverted/bgnoise_lg.png +0 -0
- data/source/images/textures/inverted/bgnoise_lg_@2X.png +0 -0
- data/source/images/textures/inverted/binding_light.png +0 -0
- data/source/images/textures/inverted/binding_light@2x.png +0 -0
- data/source/images/textures/inverted/brillant.png +0 -0
- data/source/images/textures/inverted/brillant_@2X.png +0 -0
- data/source/images/textures/inverted/brushed.png +0 -0
- data/source/images/textures/inverted/brushed_@2X.png +0 -0
- data/source/images/textures/inverted/brushed_alu.png +0 -0
- data/source/images/textures/inverted/brushed_alu_@2X.png +0 -0
- data/source/images/textures/inverted/chruch.png +0 -0
- data/source/images/textures/inverted/chruch_@2X.png +0 -0
- data/source/images/textures/inverted/circles.png +0 -0
- data/source/images/textures/inverted/circles_@2X.png +0 -0
- data/source/images/textures/inverted/concrete_wall_2.png +0 -0
- data/source/images/textures/inverted/concrete_wall_2_@2X.png +0 -0
- data/source/images/textures/inverted/concrete_wall_3.png +0 -0
- data/source/images/textures/inverted/concrete_wall_3_@2X.png +0 -0
- data/source/images/textures/inverted/corrugation.png +0 -0
- data/source/images/textures/inverted/corrugation_@2X.png +0 -0
- data/source/images/textures/inverted/cream_pixels.png +0 -0
- data/source/images/textures/inverted/cream_pixels@2x.png +0 -0
- data/source/images/textures/inverted/cross_scratches.png +0 -0
- data/source/images/textures/inverted/cross_scratches_@2X.png +0 -0
- data/source/images/textures/inverted/crosses.png +0 -0
- data/source/images/textures/inverted/crosses_@2X.png +0 -0
- data/source/images/textures/inverted/debut_light.png +0 -0
- data/source/images/textures/inverted/debut_light_@2X.png +0 -0
- data/source/images/textures/inverted/diagonal-noise.png +0 -0
- data/source/images/textures/inverted/diagonal-noise_@2X.png +0 -0
- data/source/images/textures/inverted/diagonal_waves.png +0 -0
- data/source/images/textures/inverted/diagonal_waves_@2X.png +0 -0
- data/source/images/textures/inverted/double_lined.png +0 -0
- data/source/images/textures/inverted/double_lined_@2X.png +0 -0
- data/source/images/textures/inverted/dust.png +0 -0
- data/source/images/textures/inverted/dust@2x.png +0 -0
- data/source/images/textures/inverted/dust_@2X.png +0 -0
- data/source/images/textures/inverted/fabric_plaid.png +0 -0
- data/source/images/textures/inverted/fabric_plaid_@2X.png +0 -0
- data/source/images/textures/inverted/fancy_deboss.png +0 -0
- data/source/images/textures/inverted/fancy_deboss_@2X.png +0 -0
- data/source/images/textures/inverted/farmer.png +0 -0
- data/source/images/textures/inverted/farmer_@2X.png +0 -0
- data/source/images/textures/inverted/first_aid_kit.png +0 -0
- data/source/images/textures/inverted/first_aid_kit_@2X.png +0 -0
- data/source/images/textures/inverted/graphy.png +0 -0
- data/source/images/textures/inverted/graphy_@2X.png +0 -0
- data/source/images/textures/inverted/grey.png +0 -0
- data/source/images/textures/inverted/grey_@2X.png +0 -0
- data/source/images/textures/inverted/grid.png +0 -0
- data/source/images/textures/inverted/grid_@2X.png +0 -0
- data/source/images/textures/inverted/grid_noise.png +0 -0
- data/source/images/textures/inverted/grid_noise_@2X.png +0 -0
- data/source/images/textures/inverted/gridme.png +0 -0
- data/source/images/textures/inverted/gridme_@2X.png +0 -0
- data/source/images/textures/inverted/grilled.png +0 -0
- data/source/images/textures/inverted/grilled_@2X.png +0 -0
- data/source/images/textures/inverted/groovepaper.png +0 -0
- data/source/images/textures/inverted/groovepaper_@2X.png +0 -0
- data/source/images/textures/inverted/honey_im_subtle.png +0 -0
- data/source/images/textures/inverted/honey_im_subtle_@2X.png +0 -0
- data/source/images/textures/inverted/husk.png +0 -0
- data/source/images/textures/inverted/husk_@2X.png +0 -0
- data/source/images/textures/inverted/kindajean.png +0 -0
- data/source/images/textures/inverted/kindajean_@2X.png +0 -0
- data/source/images/textures/inverted/lghtmesh.png +0 -0
- data/source/images/textures/inverted/lghtmesh_@2X.png +0 -0
- data/source/images/textures/inverted/light_alu.png +0 -0
- data/source/images/textures/inverted/light_alu_@2X.png +0 -0
- data/source/images/textures/inverted/light_noise_diagonal.png +0 -0
- data/source/images/textures/inverted/light_noise_diagonal_@2X.png +0 -0
- data/source/images/textures/inverted/lil_fiber.png +0 -0
- data/source/images/textures/inverted/lil_fiber_@2X.png +0 -0
- data/source/images/textures/inverted/line_diagonal1.png +0 -0
- data/source/images/textures/inverted/line_diagonal2.png +0 -0
- data/source/images/textures/inverted/line_horizontal1.png +0 -0
- data/source/images/textures/inverted/line_horizontal2.png +0 -0
- data/source/images/textures/inverted/linen.png +0 -0
- data/source/images/textures/inverted/linen_@2X.png +0 -0
- data/source/images/textures/inverted/little_pluses.png +0 -0
- data/source/images/textures/inverted/little_pluses_@2X.png +0 -0
- data/source/images/textures/inverted/mooning.png +0 -0
- data/source/images/textures/inverted/mooning@2x.png +0 -0
- data/source/images/textures/inverted/noise_lines.png +0 -0
- data/source/images/textures/inverted/noise_lines_@2X.png +0 -0
- data/source/images/textures/inverted/noise_pattern_with_crosslines.png +0 -0
- data/source/images/textures/inverted/noise_pattern_with_crosslines_@2X.png +0 -0
- data/source/images/textures/inverted/noisy.png +0 -0
- data/source/images/textures/inverted/noisy_@2X.png +0 -0
- data/source/images/textures/inverted/noisy_grid.png +0 -0
- data/source/images/textures/inverted/noisy_grid_@2X.png +0 -0
- data/source/images/textures/inverted/noisy_grid_simple.png +0 -0
- data/source/images/textures/inverted/old_mathematics.png +0 -0
- data/source/images/textures/inverted/old_mathematics_@2X.png +0 -0
- data/source/images/textures/inverted/old_wall.png +0 -0
- data/source/images/textures/inverted/old_wall_@2X.png +0 -0
- data/source/images/textures/inverted/p5.png +0 -0
- data/source/images/textures/inverted/p5_@2X.png +0 -0
- data/source/images/textures/inverted/paper.png +0 -0
- data/source/images/textures/inverted/paper_@2X.png +0 -0
- data/source/images/textures/inverted/pinstripe.png +0 -0
- data/source/images/textures/inverted/pinstripe_@2X.png +0 -0
- data/source/images/textures/inverted/ps_neutral.png +0 -0
- data/source/images/textures/inverted/ps_neutral_@2X.png +0 -0
- data/source/images/textures/inverted/pw_maze_white.png +0 -0
- data/source/images/textures/inverted/pw_maze_white_@2X.png +0 -0
- data/source/images/textures/inverted/pw_pattern.png +0 -0
- data/source/images/textures/inverted/pw_pattern_@2X.png +0 -0
- data/source/images/textures/inverted/retina_dust.png +0 -0
- data/source/images/textures/inverted/retina_dust_@2X.png +0 -0
- data/source/images/textures/inverted/rice_paper.png +0 -0
- data/source/images/textures/inverted/rice_paper@2x.png +0 -0
- data/source/images/textures/inverted/rough_diagonal.png +0 -0
- data/source/images/textures/inverted/rough_diagonal_@2X.png +0 -0
- data/source/images/textures/inverted/shinedotted.png +0 -0
- data/source/images/textures/inverted/shinedotted_@2X.png +0 -0
- data/source/images/textures/inverted/skin_side_up.png +0 -0
- data/source/images/textures/inverted/skin_side_up_@2X.png +0 -0
- data/source/images/textures/inverted/squairy_light.png +0 -0
- data/source/images/textures/inverted/squairy_light_@2X.png +0 -0
- data/source/images/textures/inverted/stacked_circles.png +0 -0
- data/source/images/textures/inverted/stacked_circles_@2X.png +0 -0
- data/source/images/textures/inverted/striped_lens.png +0 -0
- data/source/images/textures/inverted/striped_lens_@2X.png +0 -0
- data/source/images/textures/inverted/struckaxiom.png +0 -0
- data/source/images/textures/inverted/struckaxiom_@2X.png +0 -0
- data/source/images/textures/inverted/stucco.png +0 -0
- data/source/images/textures/inverted/stucco_@2X.png +0 -0
- data/source/images/textures/inverted/subtle_dots.png +0 -0
- data/source/images/textures/inverted/subtle_dots_@2X.png +0 -0
- data/source/images/textures/inverted/subtle_freckles.png +0 -0
- data/source/images/textures/inverted/subtle_freckles_@2X.png +0 -0
- data/source/images/textures/inverted/subtle_grunge.png +0 -0
- data/source/images/textures/inverted/subtle_grunge_@2X.png +0 -0
- data/source/images/textures/inverted/subtle_surface.png +0 -0
- data/source/images/textures/inverted/subtle_surface_@2X.png +0 -0
- data/source/images/textures/inverted/subtle_zebra_3d.png +0 -0
- data/source/images/textures/inverted/subtle_zebra_3d_@2X.png +0 -0
- data/source/images/textures/inverted/subtlenet2.png +0 -0
- data/source/images/textures/inverted/subtlenet2_@2X.png +0 -0
- data/source/images/textures/inverted/tex2res5.png +0 -0
- data/source/images/textures/inverted/tex2res5_@2X.png +0 -0
- data/source/images/textures/inverted/texturetastic_gray.png +0 -0
- data/source/images/textures/inverted/texturetastic_gray_@2X.png +0 -0
- data/source/images/textures/inverted/tiny_grid.png +0 -0
- data/source/images/textures/inverted/tiny_grid_@2X.png +0 -0
- data/source/images/textures/inverted/vichy.png +0 -0
- data/source/images/textures/inverted/vichy_@2X.png +0 -0
- data/source/images/textures/inverted/vintage_speckles.png +0 -0
- data/source/images/textures/inverted/vintage_speckles_@2X.png +0 -0
- data/source/images/textures/inverted/wavecut.png +0 -0
- data/source/images/textures/inverted/wavecut_@2X.png +0 -0
- data/source/images/textures/inverted/wavegrid.png +0 -0
- data/source/images/textures/inverted/wavegrid_@2X.png +0 -0
- data/source/images/textures/inverted/white_carbon.png +0 -0
- data/source/images/textures/inverted/white_carbon_@2X.png +0 -0
- data/source/images/textures/inverted/white_texture.png +0 -0
- data/source/images/textures/inverted/white_texture_@2X.png +0 -0
- data/source/images/textures/inverted/white_wave.png +0 -0
- data/source/images/textures/inverted/white_wave_@2X.png +0 -0
- data/source/images/textures/inverted/whitey.png +0 -0
- data/source/images/textures/inverted/whitey_@2X.png +0 -0
- data/source/images/textures/inverted/worn_dots.png +0 -0
- data/source/images/textures/inverted/worn_dots_@2X.png +0 -0
- data/source/images/textures/kindajean.png +0 -0
- data/source/images/textures/kindajean_@2X.png +0 -0
- data/source/images/textures/lghtmesh.png +0 -0
- data/source/images/textures/lghtmesh_@2X.png +0 -0
- data/source/images/textures/light_alu.png +0 -0
- data/source/images/textures/light_alu_@2X.png +0 -0
- data/source/images/textures/light_noise_diagonal.png +0 -0
- data/source/images/textures/light_noise_diagonal_@2X.png +0 -0
- data/source/images/textures/lil_fiber.png +0 -0
- data/source/images/textures/lil_fiber_@2X.png +0 -0
- data/source/images/textures/line_diagonal1.png +0 -0
- data/source/images/textures/line_diagonal2.png +0 -0
- data/source/images/textures/line_horizontal1.png +0 -0
- data/source/images/textures/line_horizontal2.png +0 -0
- data/source/images/textures/linen.png +0 -0
- data/source/images/textures/linen_@2X.png +0 -0
- data/source/images/textures/little_pluses.png +0 -0
- data/source/images/textures/little_pluses_@2X.png +0 -0
- data/source/images/textures/mooning.png +0 -0
- data/source/images/textures/mooning@2x.png +0 -0
- data/source/images/textures/noise_lines.png +0 -0
- data/source/images/textures/noise_lines_@2X.png +0 -0
- data/source/images/textures/noise_pattern_with_crosslines.png +0 -0
- data/source/images/textures/noise_pattern_with_crosslines_@2X.png +0 -0
- data/source/images/textures/noisy.png +0 -0
- data/source/images/textures/noisy_@2X.png +0 -0
- data/source/images/textures/noisy_grid.png +0 -0
- data/source/images/textures/noisy_grid_@2X.png +0 -0
- data/source/images/textures/noisy_grid_simple.png +0 -0
- data/source/images/textures/old_mathematics.png +0 -0
- data/source/images/textures/old_mathematics_@2X.png +0 -0
- data/source/images/textures/old_wall.png +0 -0
- data/source/images/textures/old_wall_@2X.png +0 -0
- data/source/images/textures/p5.png +0 -0
- data/source/images/textures/p5_@2X.png +0 -0
- data/source/images/textures/paper.png +0 -0
- data/source/images/textures/paper_@2X.png +0 -0
- data/source/images/textures/pinstripe.png +0 -0
- data/source/images/textures/pinstripe_@2X.png +0 -0
- data/source/images/textures/ps_neutral.png +0 -0
- data/source/images/textures/ps_neutral_@2X.png +0 -0
- data/source/images/textures/pw_maze_white.png +0 -0
- data/source/images/textures/pw_maze_white_@2X.png +0 -0
- data/source/images/textures/pw_pattern.png +0 -0
- data/source/images/textures/pw_pattern_@2X.png +0 -0
- data/source/images/textures/retina_dust.png +0 -0
- data/source/images/textures/retina_dust_@2X.png +0 -0
- data/source/images/textures/rice_paper.png +0 -0
- data/source/images/textures/rice_paper@2x.png +0 -0
- data/source/images/textures/rough_diagonal.png +0 -0
- data/source/images/textures/rough_diagonal_@2X.png +0 -0
- data/source/images/textures/shinedotted.png +0 -0
- data/source/images/textures/shinedotted_@2X.png +0 -0
- data/source/images/textures/skin_side_up.png +0 -0
- data/source/images/textures/skin_side_up_@2X.png +0 -0
- data/source/images/textures/squairy_light.png +0 -0
- data/source/images/textures/squairy_light_@2X.png +0 -0
- data/source/images/textures/stacked_circles.png +0 -0
- data/source/images/textures/stacked_circles_@2X.png +0 -0
- data/source/images/textures/striped_lens.png +0 -0
- data/source/images/textures/striped_lens_@2X.png +0 -0
- data/source/images/textures/struckaxiom.png +0 -0
- data/source/images/textures/struckaxiom_@2X.png +0 -0
- data/source/images/textures/stucco.png +0 -0
- data/source/images/textures/stucco_@2X.png +0 -0
- data/source/images/textures/subtle_dots.png +0 -0
- data/source/images/textures/subtle_dots_@2X.png +0 -0
- data/source/images/textures/subtle_freckles.png +0 -0
- data/source/images/textures/subtle_freckles_@2X.png +0 -0
- data/source/images/textures/subtle_grunge.png +0 -0
- data/source/images/textures/subtle_grunge_@2X.png +0 -0
- data/source/images/textures/subtle_surface.png +0 -0
- data/source/images/textures/subtle_surface_@2X.png +0 -0
- data/source/images/textures/subtle_zebra_3d.png +0 -0
- data/source/images/textures/subtle_zebra_3d_@2X.png +0 -0
- data/source/images/textures/subtlenet2.png +0 -0
- data/source/images/textures/subtlenet2_@2X.png +0 -0
- data/source/images/textures/tex2res5.png +0 -0
- data/source/images/textures/tex2res5_@2X.png +0 -0
- data/source/images/textures/texturetastic_gray.png +0 -0
- data/source/images/textures/texturetastic_gray_@2X.png +0 -0
- data/source/images/textures/tiny_grid.png +0 -0
- data/source/images/textures/tiny_grid_@2X.png +0 -0
- data/source/images/textures/vichy.png +0 -0
- data/source/images/textures/vichy_@2X.png +0 -0
- data/source/images/textures/vintage_speckles.png +0 -0
- data/source/images/textures/vintage_speckles_@2X.png +0 -0
- data/source/images/textures/wavecut.png +0 -0
- data/source/images/textures/wavecut_@2X.png +0 -0
- data/source/images/textures/wavegrid.png +0 -0
- data/source/images/textures/wavegrid_@2X.png +0 -0
- data/source/images/textures/white_carbon.png +0 -0
- data/source/images/textures/white_carbon_@2X.png +0 -0
- data/source/images/textures/white_texture.png +0 -0
- data/source/images/textures/white_texture_@2X.png +0 -0
- data/source/images/textures/white_wave.png +0 -0
- data/source/images/textures/white_wave_@2X.png +0 -0
- data/source/images/textures/whitey.png +0 -0
- data/source/images/textures/whitey_@2X.png +0 -0
- data/source/images/textures/worn_dots.png +0 -0
- data/source/images/textures/worn_dots_@2X.png +0 -0
- data/source/images/twitter-logo-circle-dark.png +0 -0
- data/source/images/twitter-logo-circle.png +0 -0
- data/source/images/youtube-logo-circle-dark.png +0 -0
- data/source/images/youtube-logo-circle.png +0 -0
- data/source/index.html.erb +164 -293
- data/source/javascripts/all.js +7 -8
- data/source/javascripts/menuAnchorAnimation.js +11 -0
- data/source/javascripts/refills/accordion.js +5 -0
- data/source/javascripts/refills/accordion_tabs.js +19 -0
- data/source/javascripts/refills/accordion_tabs_minimal.js +19 -0
- data/source/javascripts/refills/animate.js +10 -0
- data/source/javascripts/refills/centered_navigation.js +13 -0
- data/source/javascripts/refills/coffeescript/accordion.coffee +6 -0
- data/source/javascripts/refills/coffeescript/accordion_tabs.coffee +19 -0
- data/source/javascripts/refills/coffeescript/accordion_tabs_minimal.coffee +19 -0
- data/source/javascripts/refills/coffeescript/animate.coffee +12 -0
- data/source/javascripts/refills/coffeescript/centered_navigation.coffee +13 -0
- data/source/javascripts/refills/coffeescript/dropdown.coffee +15 -0
- data/source/javascripts/refills/coffeescript/expander.coffee +9 -0
- data/source/javascripts/refills/coffeescript/fade_in.coffee +20 -0
- data/source/javascripts/refills/coffeescript/modal.coffee +18 -0
- data/source/javascripts/refills/coffeescript/navigation.coffee +13 -0
- data/source/javascripts/refills/coffeescript/parallax.coffee +22 -0
- data/source/javascripts/refills/coffeescript/scroll_on_page.coffee +23 -0
- data/source/javascripts/refills/coffeescript/search_tools.coffee +85 -0
- data/source/javascripts/refills/coffeescript/sliding_menu.coffee +8 -0
- data/source/javascripts/refills/coffeescript/vertical_tabs.coffee +28 -0
- data/source/javascripts/refills/dropdown.js +12 -0
- data/source/javascripts/refills/expander.js +8 -0
- data/source/javascripts/refills/fade_in.js +23 -0
- data/source/javascripts/refills/modal.js +17 -0
- data/source/javascripts/refills/navigation.js +13 -0
- data/source/javascripts/refills/parallax.js +30 -0
- data/source/javascripts/refills/scroll_on_page.js +26 -0
- data/source/javascripts/refills/search_tools.js +110 -0
- data/source/javascripts/refills/sliding_menu.js +6 -0
- data/source/javascripts/refills/vertical_tabs.js +32 -0
- data/source/{vendor/javascripts → javascripts/vendor}/ZeroClipboard.min.js +0 -0
- data/source/javascripts/vendor/fixedsticky.js +185 -0
- data/source/{vendor/javascripts → javascripts/vendor}/prism.js +0 -0
- data/source/{vendor/javascripts → javascripts/vendor}/smooth-scroll.js +0 -0
- data/source/layouts/layout.erb +90 -17
- data/source/refills-hero.html.erb +7 -0
- data/source/refills-menu.html.erb +5 -0
- data/source/refills-page-scripts.html.erb +72 -0
- data/source/stylesheets/_bourbon-nav.scss +87 -0
- data/source/stylesheets/_refills-nav.scss +48 -31
- data/source/stylesheets/_refills-styles.scss +411 -264
- data/source/stylesheets/all.scss +45 -23
- data/source/stylesheets/refills/_accordion-tabs-minimal.scss +27 -49
- data/source/stylesheets/refills/_accordion-tabs.scss +44 -37
- data/source/stylesheets/refills/_accordion.scss +43 -10
- data/source/stylesheets/refills/_animate-info.scss +14 -0
- data/source/stylesheets/refills/_animate.scss +78 -0
- data/source/stylesheets/refills/_badges.scss +30 -37
- data/source/stylesheets/refills/_breadcrumbs.scss +33 -22
- data/source/stylesheets/refills/_button-group.scss +79 -40
- data/source/stylesheets/refills/_cards.scss +32 -71
- data/source/stylesheets/refills/_centered-navigation.scss +267 -0
- data/source/stylesheets/refills/_comment.scss +23 -14
- data/source/stylesheets/refills/_device.scss +101 -0
- data/source/stylesheets/refills/_dropdown.scss +146 -0
- data/source/stylesheets/refills/_expander.scss +56 -0
- data/source/stylesheets/refills/_fade-in.scss +38 -0
- data/source/stylesheets/refills/_flashes.scss +40 -0
- data/source/stylesheets/refills/_flex-boxes.scss +84 -0
- data/source/stylesheets/refills/_footer-2.scss +62 -9
- data/source/stylesheets/refills/_footer.scss +32 -11
- data/source/stylesheets/refills/_grid-items-lines.scss +38 -18
- data/source/stylesheets/refills/_grid-items.scss +38 -19
- data/source/stylesheets/refills/_hero.scss +63 -55
- data/source/stylesheets/refills/_hover-tile-animation.scss +31 -23
- data/source/stylesheets/refills/_icon-bullet-points.scss +44 -32
- data/source/stylesheets/refills/_image-gradient-dynamic.scss +19 -22
- data/source/stylesheets/refills/_maps.scss +24 -0
- data/source/stylesheets/refills/_modal.scss +66 -46
- data/source/stylesheets/refills/_navigation.scss +162 -69
- data/source/stylesheets/refills/_pagination.scss +76 -0
- data/source/stylesheets/refills/_parallax.scss +31 -0
- data/source/stylesheets/refills/_progress-bar-indication.scss +22 -10
- data/source/stylesheets/refills/_progress-bar.scss +11 -3
- data/source/stylesheets/refills/_ribbon.scss +33 -0
- data/source/stylesheets/refills/_scroll-on-page.scss +57 -0
- data/source/stylesheets/refills/_search-bar.scss +35 -28
- data/source/stylesheets/refills/_search-tools.scss +114 -0
- data/source/stylesheets/refills/_side-image.scss +80 -0
- data/source/stylesheets/refills/_sliding-menu.scss +45 -23
- data/source/stylesheets/refills/_stats.scss +39 -0
- data/source/stylesheets/refills/_switch.scss +63 -51
- data/source/stylesheets/refills/_tables-minimal.scss +43 -15
- data/source/stylesheets/refills/_tables.scss +55 -23
- data/source/stylesheets/refills/_texture-legend.scss +193 -0
- data/source/stylesheets/refills/_textures.scss +123 -0
- data/source/stylesheets/refills/_tooltip.scss +44 -21
- data/source/stylesheets/refills/_type-system-geometric.scss +58 -14
- data/source/stylesheets/refills/_type-system-rounded.scss +61 -15
- data/source/stylesheets/refills/_type-system-sans.scss +59 -14
- data/source/stylesheets/refills/_type-system-serif.scss +58 -13
- data/source/stylesheets/refills/_type-system-slab.scss +60 -16
- data/source/stylesheets/refills/_type-system-traditional.scss +58 -11
- data/source/stylesheets/refills/_vertical-tabs.scss +41 -8
- data/source/stylesheets/refills/_video.scss +13 -0
- data/source/stylesheets/vendor/fixedsticky.css +22 -0
- data/source/stylesheets/vendor/normalize.css +427 -0
- data/source/{vendor/stylesheets → stylesheets/vendor}/prism.css +0 -0
- data/source/type-systems.html.erb +79 -0
- data/spec/refills/import_generator_spec.rb +106 -0
- data/spec/spec_helper.rb +2 -0
- metadata +520 -281
- data/Gemfile.lock +0 -103
- data/LICENSE.txt +0 -22
- data/NEWS.md +0 -12
- data/pkg/refills-0.0.1.gem +0 -0
- data/source/_button-group.html.erb +0 -6
- data/source/_dropdown-menu.html.erb +0 -45
- data/source/_footer-2.html.erb +0 -29
- data/source/_hover-tile-animation.html.erb +0 -11
- data/source/_image-gradient.html.erb +0 -6
- data/source/_search-bar.html.erb +0 -8
- data/source/_sliding-menu.html.erb +0 -30
- data/source/_type-system-content.html.erb +0 -11
- data/source/_type-system-geometric.html.erb +0 -8
- data/source/_type-system-rounded.html.erb +0 -8
- data/source/_type-system-sans.html.erb +0 -8
- data/source/_type-system-serif.html.erb +0 -9
- data/source/_type-system-slab.html.erb +0 -8
- data/source/_type-system-traditional.html.erb +0 -8
- data/source/fonts/Fairview_Regular.otf +0 -0
- data/source/fonts/Fairview_SmallCaps.otf +0 -0
- data/source/fonts/PoetsenOne-Regular.ttf +0 -0
- data/source/images/Octocat.png +0 -0
- data/source/images/background.png +0 -0
- data/source/images/middleman.png +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_deprecated-webkit-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_gradient-positions-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_linear-positions-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_radial-arg-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_radial-positions-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_render-gradients.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_shape-size-stripper.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_fill-parent.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_media.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_omega.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_outer-container.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_pad.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_private.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_reset.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_row.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_shift.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_span-columns.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_to-deprecate.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_visual-grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/3c5af5c36664454ea95f8284b8f46c4539020663/_neat-helpers.scssc +0 -0
- data/source/stylesheets/.sass-cache/3c5af5c36664454ea95f8284b8f46c4539020663/_neat.scssc +0 -0
- data/source/stylesheets/.sass-cache/5d5301b1b4de0f4b931a707c7390ccdbbf02bc5c/_bourbon-deprecated-upcoming.scssc +0 -0
- data/source/stylesheets/.sass-cache/5d5301b1b4de0f4b931a707c7390ccdbbf02bc5c/_bourbon.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_bitters.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_flashes.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_forms.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_grid-settings.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_lists.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_tables.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_typography.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_variables.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_accordion-tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_accordion.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_badges.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_breadcrumbs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_button-group.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_buttons.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_cards.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_dashboard.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_dropdown-menu.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_footer.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_header-nav.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_hero.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_image-cards.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_image-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_info-section.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_item-list.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_master-detail.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_modal.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_navigation.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_overlap.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_progress-bar.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_search-bar.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_sidebar-layout.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_sliding-menu.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_switch-toggle.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_table-borders.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_table.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tables.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_toggle-cards.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tooltip.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_vertical-tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/vertical-tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_new-breakpoint.scssc +0 -0
- data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_private.scssc +0 -0
- data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_px-to-em.scssc +0 -0
- data/source/stylesheets/.sass-cache/9c3cd587ffeef0d147804cf4a2177df69c325021/_grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/9c3cd587ffeef0d147804cf4a2177df69c325021/_visual-grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_button.scssc +0 -820
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_clearfix.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_font-family.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_hide-text.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_html5-input-types.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_position.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_prefixer.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_retina-image.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_size.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_timing-functions.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_triangle.scssc +0 -0
- data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/_layout.scssc +0 -0
- data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/_normalize.scssc +0 -0
- data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/_refills-styles.scssc +0 -0
- data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/all.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_animation.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_appearance.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_backface-visibility.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_background-image.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_background.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_border-image.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_border-radius.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_box-sizing.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_columns.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_flex-box.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_font-face.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_hidpi-media-query.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_image-rendering.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_inline-block.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_keyframes.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_linear-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_perspective.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_placeholder.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_radial-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_transform.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_transition.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_user-select.scssc +0 -0
- data/source/stylesheets/.sass-cache/e04a546d656fd6d36e1f48c3953beece343e5456/_base.scssc +0 -0
- data/source/stylesheets/.sass-cache/e04a546d656fd6d36e1f48c3953beece343e5456/_button.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_compact.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_flex-grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_grid-width.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_linear-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_modular-scale.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_px-to-em.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_radial-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_tint-shade.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_transition-property-name.scssc +0 -0
- data/source/stylesheets/_normalize.scss +0 -402
- data/source/stylesheets/bitters/_bitters.scss +0 -16
- data/source/stylesheets/bitters/_flashes.scss +0 -11
- data/source/stylesheets/bitters/_forms.scss +0 -95
- data/source/stylesheets/bitters/_grid-settings.scss +0 -14
- data/source/stylesheets/bitters/_lists.scss +0 -31
- data/source/stylesheets/bitters/_tables.scss +0 -22
- data/source/stylesheets/bitters/_typography.scss +0 -104
- data/source/stylesheets/bitters/_variables.scss +0 -43
- data/source/stylesheets/bitters/extends/_base.scss +0 -1
- data/source/stylesheets/bitters/extends/_button.scss +0 -7
- data/source/stylesheets/bitters/mixins/_base.scss +0 -1
- data/source/stylesheets/bitters/mixins/_flash.scss +0 -15
- data/source/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +0 -13
- data/source/stylesheets/bourbon/_bourbon.scss +0 -59
- data/source/stylesheets/bourbon/addons/_button.scss +0 -273
- data/source/stylesheets/bourbon/addons/_clearfix.scss +0 -29
- data/source/stylesheets/bourbon/addons/_directional-values.scss +0 -114
- data/source/stylesheets/bourbon/addons/_ellipsis.scss +0 -7
- data/source/stylesheets/bourbon/addons/_font-family.scss +0 -5
- data/source/stylesheets/bourbon/addons/_hide-text.scss +0 -5
- data/source/stylesheets/bourbon/addons/_html5-input-types.scss +0 -56
- data/source/stylesheets/bourbon/addons/_position.scss +0 -42
- data/source/stylesheets/bourbon/addons/_prefixer.scss +0 -49
- data/source/stylesheets/bourbon/addons/_rem.scss +0 -33
- data/source/stylesheets/bourbon/addons/_retina-image.scss +0 -32
- data/source/stylesheets/bourbon/addons/_size.scss +0 -44
- data/source/stylesheets/bourbon/addons/_timing-functions.scss +0 -32
- data/source/stylesheets/bourbon/addons/_triangle.scss +0 -45
- data/source/stylesheets/bourbon/css3/_animation.scss +0 -52
- data/source/stylesheets/bourbon/css3/_appearance.scss +0 -3
- data/source/stylesheets/bourbon/css3/_backface-visibility.scss +0 -6
- data/source/stylesheets/bourbon/css3/_background-image.scss +0 -48
- data/source/stylesheets/bourbon/css3/_background.scss +0 -103
- data/source/stylesheets/bourbon/css3/_border-image.scss +0 -55
- data/source/stylesheets/bourbon/css3/_border-radius.scss +0 -22
- data/source/stylesheets/bourbon/css3/_box-sizing.scss +0 -4
- data/source/stylesheets/bourbon/css3/_calc.scss +0 -4
- data/source/stylesheets/bourbon/css3/_columns.scss +0 -47
- data/source/stylesheets/bourbon/css3/_filter.scss +0 -5
- data/source/stylesheets/bourbon/css3/_flex-box.scss +0 -52
- data/source/stylesheets/bourbon/css3/_font-face.scss +0 -23
- data/source/stylesheets/bourbon/css3/_font-feature-settings.scss +0 -10
- data/source/stylesheets/bourbon/css3/_hidpi-media-query.scss +0 -10
- data/source/stylesheets/bourbon/css3/_hyphens.scss +0 -4
- data/source/stylesheets/bourbon/css3/_image-rendering.scss +0 -13
- data/source/stylesheets/bourbon/css3/_inline-block.scss +0 -8
- data/source/stylesheets/bourbon/css3/_keyframes.scss +0 -43
- data/source/stylesheets/bourbon/css3/_linear-gradient.scss +0 -41
- data/source/stylesheets/bourbon/css3/_perspective.scss +0 -8
- data/source/stylesheets/bourbon/css3/_placeholder.scss +0 -29
- data/source/stylesheets/bourbon/css3/_radial-gradient.scss +0 -44
- data/source/stylesheets/bourbon/css3/_transform.scss +0 -15
- data/source/stylesheets/bourbon/css3/_transition.scss +0 -34
- data/source/stylesheets/bourbon/css3/_user-select.scss +0 -3
- data/source/stylesheets/bourbon/functions/_assign.scss +0 -11
- data/source/stylesheets/bourbon/functions/_color-lightness.scss +0 -13
- data/source/stylesheets/bourbon/functions/_compact.scss +0 -11
- data/source/stylesheets/bourbon/functions/_flex-grid.scss +0 -39
- data/source/stylesheets/bourbon/functions/_golden-ratio.scss +0 -3
- data/source/stylesheets/bourbon/functions/_grid-width.scss +0 -13
- data/source/stylesheets/bourbon/functions/_linear-gradient.scss +0 -13
- data/source/stylesheets/bourbon/functions/_modular-scale.scss +0 -40
- data/source/stylesheets/bourbon/functions/_px-to-em.scss +0 -8
- data/source/stylesheets/bourbon/functions/_radial-gradient.scss +0 -23
- data/source/stylesheets/bourbon/functions/_strip-units.scss +0 -5
- data/source/stylesheets/bourbon/functions/_tint-shade.scss +0 -9
- data/source/stylesheets/bourbon/functions/_transition-property-name.scss +0 -22
- data/source/stylesheets/bourbon/functions/_unpack.scss +0 -17
- data/source/stylesheets/bourbon/helpers/_convert-units.scss +0 -15
- data/source/stylesheets/bourbon/helpers/_deprecated-webkit-gradient.scss +0 -39
- data/source/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +0 -13
- data/source/stylesheets/bourbon/helpers/_is-num.scss +0 -8
- data/source/stylesheets/bourbon/helpers/_linear-angle-parser.scss +0 -25
- data/source/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +0 -41
- data/source/stylesheets/bourbon/helpers/_linear-positions-parser.scss +0 -61
- data/source/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
- data/source/stylesheets/bourbon/helpers/_radial-arg-parser.scss +0 -69
- data/source/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +0 -50
- data/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss +0 -18
- data/source/stylesheets/bourbon/helpers/_render-gradients.scss +0 -26
- data/source/stylesheets/bourbon/helpers/_shape-size-stripper.scss +0 -10
- data/source/stylesheets/bourbon/helpers/_str-to-num.scss +0 -50
- data/source/stylesheets/bourbon/settings/_prefixer.scss +0 -6
- data/source/stylesheets/bourbon/settings/_px-to-em.scss +0 -1
- data/source/stylesheets/neat/_neat-helpers.scss +0 -7
- data/source/stylesheets/neat/_neat.scss +0 -21
- data/source/stylesheets/neat/functions/_new-breakpoint.scss +0 -16
- data/source/stylesheets/neat/functions/_private.scss +0 -125
- data/source/stylesheets/neat/grid/_fill-parent.scss +0 -7
- data/source/stylesheets/neat/grid/_grid.scss +0 -5
- data/source/stylesheets/neat/grid/_media.scss +0 -51
- data/source/stylesheets/neat/grid/_omega.scss +0 -79
- data/source/stylesheets/neat/grid/_outer-container.scss +0 -8
- data/source/stylesheets/neat/grid/_pad.scss +0 -8
- data/source/stylesheets/neat/grid/_private.scss +0 -50
- data/source/stylesheets/neat/grid/_reset.scss +0 -12
- data/source/stylesheets/neat/grid/_row.scss +0 -17
- data/source/stylesheets/neat/grid/_shift.scss +0 -16
- data/source/stylesheets/neat/grid/_span-columns.scss +0 -45
- data/source/stylesheets/neat/grid/_to-deprecate.scss +0 -57
- data/source/stylesheets/neat/grid/_visual-grid.scss +0 -41
- data/source/stylesheets/neat/settings/_grid.scss +0 -7
- data/source/stylesheets/neat/settings/_visual-grid.scss +0 -5
- data/source/stylesheets/normalize.css +0 -375
- 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
|
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
|
-
|
86
|
-
|
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
|
-
|
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
|
-
|
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
|
data/lib/refills/version.rb
CHANGED
@@ -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 |
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
17
|
-
|
18
|
-
|
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
|
-
|
22
|
-
|
20
|
+
s.add_development_dependency 'bundler', '~> 1.3'
|
21
|
+
s.add_development_dependency 'rake'
|
23
22
|
end
|
data/sache.json
ADDED
data/source/_accordion.html.erb
CHANGED
@@ -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="
|
4
|
-
<
|
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
|
-
</
|
6
|
+
</div>
|
7
7
|
</li>
|
8
8
|
<li class="tab-header-and-content">
|
9
|
-
<a href="
|
10
|
-
<
|
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
|
-
</
|
12
|
+
</div>
|
13
13
|
</li>
|
14
14
|
<li class="tab-header-and-content">
|
15
|
-
<a href="
|
16
|
-
<
|
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
|
-
</
|
18
|
+
</div>
|
19
19
|
</li>
|
20
20
|
<li class="tab-header-and-content">
|
21
|
-
<a href="
|
22
|
-
<
|
23
|
-
<p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna
|
24
|
-
</
|
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>
|