breezeblocks 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.ruby-version +1 -0
- data/Gemfile +11 -0
- data/README.md +55 -0
- data/Rakefile +22 -0
- data/bin/deploy +12 -0
- data/bin/setup +13 -0
- data/breezeblocks.gemspec +22 -0
- data/config.rb +24 -0
- data/lib/breezeblocks.rb +2 -0
- data/lib/breezeblocks/import_generator.rb +80 -0
- data/lib/breezeblocks/list_generator.rb +22 -0
- data/lib/breezeblocks/version.rb +3 -0
- data/lib/snippet_helpers.rb +89 -0
- data/source/_accordion.html.haml +15 -0
- data/source/_accordion_tabs.html.haml +17 -0
- data/source/_accordion_tabs_minimal.html.haml +17 -0
- data/source/_animate.html.haml +3 -0
- data/source/_animate_info.html.haml +7 -0
- data/source/_badges.html.haml +6 -0
- data/source/_breadcrumbs.html.haml +6 -0
- data/source/_button_group.html.haml +13 -0
- data/source/_cards.html.haml +23 -0
- data/source/_centered_navigation.html.haml +42 -0
- data/source/_code.html.haml +6 -0
- data/source/_comment.html.haml +14 -0
- data/source/_device.html.haml +7 -0
- data/source/_dropdown.html.haml +9 -0
- data/source/_expander.html.haml +4 -0
- data/source/_fade_in.html.haml +10 -0
- data/source/_flashes.html.haml +16 -0
- data/source/_flex_boxes.html.haml +25 -0
- data/source/_footer.html.haml +31 -0
- data/source/_footer_2.html.haml +30 -0
- data/source/_grid_items.html.haml +29 -0
- data/source/_grid_items_lines.html.haml +35 -0
- data/source/_hero.html.haml +8 -0
- data/source/_hover_tile_animation.html.haml +6 -0
- data/source/_icon_bullet_points.html.haml +19 -0
- data/source/_image_gradient_dynamic.html.haml +5 -0
- data/source/_maps.html.haml +70 -0
- data/source/_modal.html.haml +10 -0
- data/source/_navigation.html.haml +42 -0
- data/source/_pagination.html.haml +22 -0
- data/source/_parallax.html.haml +4 -0
- data/source/_progress_bar.html.haml +2 -0
- data/source/_progress_bar_indication.html.haml +3 -0
- data/source/_ribbon.html.haml +3 -0
- data/source/_scroll_on_page.html.haml +17 -0
- data/source/_search_bar.html.haml +4 -0
- data/source/_search_tools.html.haml +39 -0
- data/source/_side_image.html.haml +9 -0
- data/source/_sliding_menu.html.haml +11 -0
- data/source/_snippet.html.haml +11 -0
- data/source/_stats.html.haml +14 -0
- data/source/_switch.html.haml +3 -0
- data/source/_tables.html.haml +31 -0
- data/source/_tables_minimal.html.haml +31 -0
- data/source/_texture-legend.html.haml +20 -0
- data/source/_textures.html.haml +3 -0
- data/source/_tooltip.html.haml +4 -0
- data/source/_type_system_geometric.html.haml +30 -0
- data/source/_type_system_rounded.html.haml +30 -0
- data/source/_type_system_sans.html.haml +30 -0
- data/source/_type_system_serif.html.haml +31 -0
- data/source/_type_system_slab.html.haml +30 -0
- data/source/_type_system_traditional.html.haml +30 -0
- data/source/_vertical_tabs.html.haml +19 -0
- data/source/_video.html.haml +3 -0
- data/source/components.html.haml +162 -0
- data/source/images/EmeraldLake.jpg +0 -0
- data/source/images/ZeroClipboard.swf +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/cat.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.haml +127 -0
- data/source/javascripts/all.js +10 -0
- data/source/javascripts/breezeblocks/accordion.js +5 -0
- data/source/javascripts/breezeblocks/accordion_tabs.js +19 -0
- data/source/javascripts/breezeblocks/accordion_tabs_minimal.js +19 -0
- data/source/javascripts/breezeblocks/animate.js +10 -0
- data/source/javascripts/breezeblocks/centered_navigation.js +13 -0
- data/source/javascripts/breezeblocks/coffeescript/accordion.coffee +6 -0
- data/source/javascripts/breezeblocks/coffeescript/accordion_tabs.coffee +19 -0
- data/source/javascripts/breezeblocks/coffeescript/accordion_tabs_minimal.coffee +19 -0
- data/source/javascripts/breezeblocks/coffeescript/animate.coffee +12 -0
- data/source/javascripts/breezeblocks/coffeescript/centered_navigation.coffee +13 -0
- data/source/javascripts/breezeblocks/coffeescript/dropdown.coffee +15 -0
- data/source/javascripts/breezeblocks/coffeescript/expander.coffee +9 -0
- data/source/javascripts/breezeblocks/coffeescript/fade_in.coffee +20 -0
- data/source/javascripts/breezeblocks/coffeescript/modal.coffee +18 -0
- data/source/javascripts/breezeblocks/coffeescript/navigation.coffee +13 -0
- data/source/javascripts/breezeblocks/coffeescript/parallax.coffee +22 -0
- data/source/javascripts/breezeblocks/coffeescript/scroll_on_page.coffee +23 -0
- data/source/javascripts/breezeblocks/coffeescript/search_tools.coffee +85 -0
- data/source/javascripts/breezeblocks/coffeescript/sliding_menu.coffee +8 -0
- data/source/javascripts/breezeblocks/coffeescript/vertical_tabs.coffee +28 -0
- data/source/javascripts/breezeblocks/dropdown.js +12 -0
- data/source/javascripts/breezeblocks/expander.js +8 -0
- data/source/javascripts/breezeblocks/fade_in.js +23 -0
- data/source/javascripts/breezeblocks/modal.js +17 -0
- data/source/javascripts/breezeblocks/navigation.js +13 -0
- data/source/javascripts/breezeblocks/parallax.js +30 -0
- data/source/javascripts/breezeblocks/scroll_on_page.js +26 -0
- data/source/javascripts/breezeblocks/search_tools.js +110 -0
- data/source/javascripts/breezeblocks/sliding_menu.js +6 -0
- data/source/javascripts/breezeblocks/vertical_tabs.js +32 -0
- data/source/javascripts/jquery.erToc.js +477 -0
- data/source/javascripts/jquery.glide.js +941 -0
- data/source/javascripts/menuAnchorAnimation.js +11 -0
- data/source/javascripts/vendor/ZeroClipboard.min.js +9 -0
- data/source/javascripts/vendor/fixedsticky.js +185 -0
- data/source/javascripts/vendor/prism.js +13 -0
- data/source/javascripts/vendor/smooth-scroll.js +125 -0
- data/source/layouts/layout.haml +108 -0
- data/source/refills-hero.html.haml +15 -0
- data/source/refills-menu.html.haml +4 -0
- data/source/refills-page-scripts.html.haml +65 -0
- data/source/stylesheets/_bourbon-nav.sass +57 -0
- data/source/stylesheets/_refills-nav.sass +80 -0
- data/source/stylesheets/_refills-styles.sass +483 -0
- data/source/stylesheets/all.sass +66 -0
- data/source/stylesheets/breezeblocks/_accordion-tabs-minimal.sass +52 -0
- data/source/stylesheets/breezeblocks/_accordion-tabs.sass +76 -0
- data/source/stylesheets/breezeblocks/_accordion.sass +56 -0
- data/source/stylesheets/breezeblocks/_animate-info.sass +10 -0
- data/source/stylesheets/breezeblocks/_animate.sass +58 -0
- data/source/stylesheets/breezeblocks/_badges.sass +31 -0
- data/source/stylesheets/breezeblocks/_breadcrumbs.sass +74 -0
- data/source/stylesheets/breezeblocks/_button-group.sass +74 -0
- data/source/stylesheets/breezeblocks/_cards.sass +69 -0
- data/source/stylesheets/breezeblocks/_centered-navigation.sass +182 -0
- data/source/stylesheets/breezeblocks/_comment.sass +49 -0
- data/source/stylesheets/breezeblocks/_device.sass +67 -0
- data/source/stylesheets/breezeblocks/_dropdown.sass +112 -0
- data/source/stylesheets/breezeblocks/_expander.sass +40 -0
- data/source/stylesheets/breezeblocks/_fade-in.sass +30 -0
- data/source/stylesheets/breezeblocks/_flashes.sass +32 -0
- data/source/stylesheets/breezeblocks/_flex-boxes.sass +59 -0
- data/source/stylesheets/breezeblocks/_footer-2.sass +102 -0
- data/source/stylesheets/breezeblocks/_footer.sass +62 -0
- data/source/stylesheets/breezeblocks/_grid-items-lines.sass +76 -0
- data/source/stylesheets/breezeblocks/_grid-items.sass +80 -0
- data/source/stylesheets/breezeblocks/_hero.sass +44 -0
- data/source/stylesheets/breezeblocks/_hover-tile-animation.sass +40 -0
- data/source/stylesheets/breezeblocks/_icon-bullet-points.sass +49 -0
- data/source/stylesheets/breezeblocks/_image-gradient-dynamic.sass +43 -0
- data/source/stylesheets/breezeblocks/_maps.sass +20 -0
- data/source/stylesheets/breezeblocks/_modal.sass +119 -0
- data/source/stylesheets/breezeblocks/_navigation.sass +247 -0
- data/source/stylesheets/breezeblocks/_pagination.sass +51 -0
- data/source/stylesheets/breezeblocks/_parallax.sass +28 -0
- data/source/stylesheets/breezeblocks/_progress-bar-indication.sass +42 -0
- data/source/stylesheets/breezeblocks/_progress-bar.sass +70 -0
- data/source/stylesheets/breezeblocks/_ribbon.sass +28 -0
- data/source/stylesheets/breezeblocks/_scroll-on-page.sass +37 -0
- data/source/stylesheets/breezeblocks/_search-bar.sass +37 -0
- data/source/stylesheets/breezeblocks/_search-tools.sass +79 -0
- data/source/stylesheets/breezeblocks/_side-image.sass +58 -0
- data/source/stylesheets/breezeblocks/_sliding-menu.sass +63 -0
- data/source/stylesheets/breezeblocks/_stats.sass +27 -0
- data/source/stylesheets/breezeblocks/_switch.sass +61 -0
- data/source/stylesheets/breezeblocks/_tables-minimal.sass +59 -0
- data/source/stylesheets/breezeblocks/_tables.sass +78 -0
- data/source/stylesheets/breezeblocks/_texture-legend.sass +78 -0
- data/source/stylesheets/breezeblocks/_textures.sass +26 -0
- data/source/stylesheets/breezeblocks/_tooltip.sass +60 -0
- data/source/stylesheets/breezeblocks/_type-system-geometric.sass +100 -0
- data/source/stylesheets/breezeblocks/_type-system-rounded.sass +101 -0
- data/source/stylesheets/breezeblocks/_type-system-sans.sass +105 -0
- data/source/stylesheets/breezeblocks/_type-system-serif.sass +106 -0
- data/source/stylesheets/breezeblocks/_type-system-slab.sass +102 -0
- data/source/stylesheets/breezeblocks/_type-system-traditional.sass +107 -0
- data/source/stylesheets/breezeblocks/_vertical-tabs.sass +91 -0
- data/source/stylesheets/breezeblocks/_video.sass +11 -0
- data/source/stylesheets/vendor/fixedsticky.css +22 -0
- data/source/stylesheets/vendor/normalize.css +427 -0
- data/source/stylesheets/vendor/prism.css +126 -0
- data/source/type-systems.html.haml +54 -0
- data/spec/breezeblocks/import_generator_spec.rb +106 -0
- data/spec/spec_helper.rb +2 -0
- metadata +633 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
$(document).ready(function () {
|
2
|
+
$('.accordion-tabs-minimal').each(function(index) {
|
3
|
+
$(this).children('li').first().children('a').addClass('is-active').next().addClass('is-open').show();
|
4
|
+
});
|
5
|
+
|
6
|
+
$('.accordion-tabs-minimal').on('click', 'li > a', function(event) {
|
7
|
+
if (!$(this).hasClass('is-active')) {
|
8
|
+
event.preventDefault();
|
9
|
+
var accordionTabs = $(this).closest('.accordion-tabs-minimal');
|
10
|
+
accordionTabs.find('.is-open').removeClass('is-open').hide();
|
11
|
+
|
12
|
+
$(this).next().toggleClass('is-open').toggle();
|
13
|
+
accordionTabs.find('.is-active').removeClass('is-active');
|
14
|
+
$(this).addClass('is-active');
|
15
|
+
} else {
|
16
|
+
event.preventDefault();
|
17
|
+
}
|
18
|
+
});
|
19
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
$(function() {
|
2
|
+
var animationClasses = 'animated alternate iteration zoomOut';
|
3
|
+
var animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
|
4
|
+
|
5
|
+
$('.animate-trigger').on('click',function() {
|
6
|
+
$('.animate-target').addClass(animationClasses).one(animationEnd,function() {
|
7
|
+
$(this).removeClass(animationClasses);
|
8
|
+
});
|
9
|
+
});
|
10
|
+
});
|
@@ -0,0 +1,13 @@
|
|
1
|
+
$(document).ready(function() {
|
2
|
+
var menuToggle = $('#js-centered-navigation-mobile-menu').unbind();
|
3
|
+
$('#js-centered-navigation-menu').removeClass("show");
|
4
|
+
|
5
|
+
menuToggle.on('click', function(e) {
|
6
|
+
e.preventDefault();
|
7
|
+
$('#js-centered-navigation-menu').slideToggle(function(){
|
8
|
+
if($('#js-centered-navigation-menu').is(':hidden')) {
|
9
|
+
$('#js-centered-navigation-menu').removeAttr('style');
|
10
|
+
}
|
11
|
+
});
|
12
|
+
});
|
13
|
+
});
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$(document).ready ->
|
2
|
+
$(".accordion-tabs").each (index) ->
|
3
|
+
$(this).children("li").first().children("a").addClass("is-active").next().addClass("is-open").show()
|
4
|
+
return
|
5
|
+
|
6
|
+
$(".accordion-tabs").on "click", "li > a", (event) ->
|
7
|
+
unless $(this).hasClass("is-active")
|
8
|
+
event.preventDefault()
|
9
|
+
accordionTabs = $(this).closest(".accordion-tabs")
|
10
|
+
accordionTabs.find(".is-open").removeClass("is-open").hide()
|
11
|
+
$(this).next().toggleClass("is-open").toggle()
|
12
|
+
accordionTabs.find(".is-active").removeClass "is-active"
|
13
|
+
$(this).addClass "is-active"
|
14
|
+
else
|
15
|
+
event.preventDefault()
|
16
|
+
return
|
17
|
+
|
18
|
+
return
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$(document).ready ->
|
2
|
+
$(".accordion-tabs-minimal").each (index) ->
|
3
|
+
$(this).children("li").first().children("a").addClass("is-active").next().addClass("is-open").show()
|
4
|
+
return
|
5
|
+
|
6
|
+
$(".accordion-tabs-minimal").on "click", "li > a", (event) ->
|
7
|
+
unless $(this).hasClass("is-active")
|
8
|
+
event.preventDefault()
|
9
|
+
accordionTabs = $(this).closest(".accordion-tabs-minimal")
|
10
|
+
accordionTabs.find(".is-open").removeClass("is-open").hide()
|
11
|
+
$(this).next().toggleClass("is-open").toggle()
|
12
|
+
accordionTabs.find(".is-active").removeClass "is-active"
|
13
|
+
$(this).addClass "is-active"
|
14
|
+
else
|
15
|
+
event.preventDefault()
|
16
|
+
return
|
17
|
+
|
18
|
+
return
|
19
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
$ ->
|
2
|
+
animationClasses = "animated alternate iteration zoomOut"
|
3
|
+
animationEnd = "webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend"
|
4
|
+
$(".animate-trigger").on "click", ->
|
5
|
+
$(".animate-target").addClass(animationClasses).one animationEnd, ->
|
6
|
+
$(this).removeClass animationClasses
|
7
|
+
return
|
8
|
+
|
9
|
+
return
|
10
|
+
|
11
|
+
return
|
12
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
$(document).ready ->
|
2
|
+
menuToggle = $("#js-centered-navigation-mobile-menu").unbind()
|
3
|
+
$("#js-centered-navigation-menu").removeClass "show"
|
4
|
+
menuToggle.on "click", (e) ->
|
5
|
+
e.preventDefault()
|
6
|
+
$("#js-centered-navigation-menu").slideToggle ->
|
7
|
+
$("#js-centered-navigation-menu").removeAttr "style" if $("#js-centered-navigation-menu").is(":hidden")
|
8
|
+
return
|
9
|
+
|
10
|
+
return
|
11
|
+
|
12
|
+
return
|
13
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
$(document).ready ->
|
2
|
+
$(".dropdown-button").click ->
|
3
|
+
$(".dropdown-menu").toggleClass "show-menu"
|
4
|
+
$(".dropdown-menu > li").click ->
|
5
|
+
$(".dropdown-menu").removeClass "show-menu"
|
6
|
+
return
|
7
|
+
|
8
|
+
$(".dropdown-menu.dropdown-select > li").click ->
|
9
|
+
$(".dropdown-button").html $(this).html()
|
10
|
+
return
|
11
|
+
|
12
|
+
return
|
13
|
+
|
14
|
+
return
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
$(document).ready ->
|
2
|
+
element = document.getElementById("js-fadeInElement")
|
3
|
+
$(element).addClass "js-fade-element-hide"
|
4
|
+
$(window).scroll ->
|
5
|
+
if $("#js-fadeInElement").length > 0
|
6
|
+
elementTopToPageTop = $(element).offset().top
|
7
|
+
windowTopToPageTop = $(window).scrollTop()
|
8
|
+
windowInnerHeight = window.innerHeight
|
9
|
+
elementTopToWindowTop = elementTopToPageTop - windowTopToPageTop
|
10
|
+
elementTopToWindowBottom = windowInnerHeight - elementTopToWindowTop
|
11
|
+
distanceFromBottomToAppear = 300
|
12
|
+
if elementTopToWindowBottom > distanceFromBottomToAppear
|
13
|
+
$(element).addClass "js-fade-element-show"
|
14
|
+
else if elementTopToWindowBottom < 0
|
15
|
+
$(element).removeClass "js-fade-element-show"
|
16
|
+
$(element).addClass "js-fade-element-hide"
|
17
|
+
return
|
18
|
+
|
19
|
+
return
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
$ ->
|
2
|
+
$("#modal-1").on "change", ->
|
3
|
+
if $(this).is(":checked")
|
4
|
+
$("body").addClass "modal-open"
|
5
|
+
else
|
6
|
+
$("body").removeClass "modal-open"
|
7
|
+
return
|
8
|
+
|
9
|
+
$(".modal-window").on "click", ->
|
10
|
+
$(".modal-state:checked").prop("checked", false).change()
|
11
|
+
return
|
12
|
+
|
13
|
+
$(".modal-inner").on "click", (e) ->
|
14
|
+
e.stopPropagation()
|
15
|
+
return
|
16
|
+
|
17
|
+
return
|
18
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
$(document).ready ->
|
2
|
+
menuToggle = $("#js-mobile-menu").unbind()
|
3
|
+
$("#js-navigation-menu").removeClass "show"
|
4
|
+
menuToggle.on "click", (e) ->
|
5
|
+
e.preventDefault()
|
6
|
+
$("#js-navigation-menu").slideToggle ->
|
7
|
+
$("#js-navigation-menu").removeAttr "style" if $("#js-navigation-menu").is(":hidden")
|
8
|
+
return
|
9
|
+
|
10
|
+
return
|
11
|
+
|
12
|
+
return
|
13
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
parallax = ->
|
2
|
+
if $("#js-parallax-window").length > 0
|
3
|
+
plxBackground = $("#js-parallax-background")
|
4
|
+
plxWindow = $("#js-parallax-window")
|
5
|
+
plxWindowTopToPageTop = $(plxWindow).offset().top
|
6
|
+
windowTopToPageTop = $(window).scrollTop()
|
7
|
+
plxWindowTopToWindowTop = plxWindowTopToPageTop - windowTopToPageTop
|
8
|
+
plxBackgroundTopToPageTop = $(plxBackground).offset().top
|
9
|
+
windowInnerHeight = window.innerHeight
|
10
|
+
plxBackgroundTopToWindowTop = plxBackgroundTopToPageTop - windowTopToPageTop
|
11
|
+
plxBackgroundTopToWindowBottom = windowInnerHeight - plxBackgroundTopToWindowTop
|
12
|
+
plxSpeed = 0.35
|
13
|
+
plxBackground.css "top", -(plxWindowTopToWindowTop * plxSpeed) + "px"
|
14
|
+
return
|
15
|
+
$(document).ready ->
|
16
|
+
parallax() if $("#js-parallax-window").length
|
17
|
+
return
|
18
|
+
|
19
|
+
$(window).scroll (e) ->
|
20
|
+
parallax() if $("#js-parallax-window").length
|
21
|
+
return
|
22
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
((jQuery) ->
|
2
|
+
jQuery.mark = jump: (options) ->
|
3
|
+
defaults = selector: "a.scroll-on-page-link"
|
4
|
+
defaults.selector = options if typeof options is "string"
|
5
|
+
options = jQuery.extend(defaults, options)
|
6
|
+
jQuery(options.selector).click (e) ->
|
7
|
+
jumpobj = jQuery(this)
|
8
|
+
target = jumpobj.attr("href")
|
9
|
+
thespeed = 1000
|
10
|
+
offset = jQuery(target).offset().top
|
11
|
+
jQuery("html,body").animate
|
12
|
+
scrollTop: offset
|
13
|
+
, thespeed, "swing"
|
14
|
+
e.preventDefault()
|
15
|
+
return
|
16
|
+
|
17
|
+
|
18
|
+
return
|
19
|
+
) jQuery
|
20
|
+
jQuery ->
|
21
|
+
jQuery.mark.jump()
|
22
|
+
return
|
23
|
+
|
@@ -0,0 +1,85 @@
|
|
1
|
+
Filter = (->
|
2
|
+
Filter = (element) ->
|
3
|
+
@_element = $(element)
|
4
|
+
@_optionsContainer = @_element.find(@constructor.optionsContainerSelector)
|
5
|
+
return
|
6
|
+
Filter.selector = ".filter"
|
7
|
+
Filter.optionsContainerSelector = "> div"
|
8
|
+
Filter.hideOptionsClass = "hide-options"
|
9
|
+
Filter.enhance = ->
|
10
|
+
klass = this
|
11
|
+
$(klass.selector).each ->
|
12
|
+
new klass(this).enhance()
|
13
|
+
|
14
|
+
|
15
|
+
Filter::enhance = ->
|
16
|
+
@_buildUI()
|
17
|
+
@_bindEvents()
|
18
|
+
return
|
19
|
+
|
20
|
+
Filter::_buildUI = ->
|
21
|
+
@_summaryElement = $("<label></label>").addClass("summary").attr("data-role", "summary").prependTo(@_optionsContainer)
|
22
|
+
@_clearSelectionButton = $("<button></button>").text("Clear").attr("type", "button").insertAfter(@_summaryElement)
|
23
|
+
@_optionsContainer.addClass @constructor.hideOptionsClass
|
24
|
+
@_updateSummary()
|
25
|
+
return
|
26
|
+
|
27
|
+
Filter::_bindEvents = ->
|
28
|
+
self = this
|
29
|
+
@_summaryElement.click ->
|
30
|
+
self._toggleOptions()
|
31
|
+
return
|
32
|
+
|
33
|
+
@_clearSelectionButton.click ->
|
34
|
+
self._clearSelection()
|
35
|
+
return
|
36
|
+
|
37
|
+
@_checkboxes().change ->
|
38
|
+
self._updateSummary()
|
39
|
+
return
|
40
|
+
|
41
|
+
$("body").click (e) ->
|
42
|
+
inFilter = $(e.target).closest(self.constructor.selector).length > 0
|
43
|
+
self._allOptionsContainers().addClass self.constructor.hideOptionsClass unless inFilter
|
44
|
+
return
|
45
|
+
|
46
|
+
return
|
47
|
+
|
48
|
+
Filter::_toggleOptions = ->
|
49
|
+
@_allOptionsContainers().not(@_optionsContainer).addClass @constructor.hideOptionsClass
|
50
|
+
@_optionsContainer.toggleClass @constructor.hideOptionsClass
|
51
|
+
return
|
52
|
+
|
53
|
+
Filter::_updateSummary = ->
|
54
|
+
summary = "All"
|
55
|
+
checked = @_checkboxes().filter(":checked")
|
56
|
+
summary = @_labelsFor(checked).join(", ") if checked.length > 0
|
57
|
+
@_summaryElement.text summary
|
58
|
+
return
|
59
|
+
|
60
|
+
Filter::_clearSelection = ->
|
61
|
+
@_checkboxes().each ->
|
62
|
+
$(this).prop "checked", false
|
63
|
+
return
|
64
|
+
|
65
|
+
@_updateSummary()
|
66
|
+
return
|
67
|
+
|
68
|
+
Filter::_checkboxes = ->
|
69
|
+
@_element.find ":checkbox"
|
70
|
+
|
71
|
+
Filter::_labelsFor = (inputs) ->
|
72
|
+
inputs.map(->
|
73
|
+
id = $(this).attr("id")
|
74
|
+
$("label[for='" + id + "']").text()
|
75
|
+
).get()
|
76
|
+
|
77
|
+
Filter::_allOptionsContainers = ->
|
78
|
+
$ @constructor.selector + " " + @constructor.optionsContainerSelector
|
79
|
+
|
80
|
+
Filter
|
81
|
+
)()
|
82
|
+
$ ->
|
83
|
+
Filter.enhance()
|
84
|
+
return
|
85
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
$(".js-vertical-tab-content").hide()
|
2
|
+
$(".js-vertical-tab-content:first").show()
|
3
|
+
|
4
|
+
# if in tab mode
|
5
|
+
$(".js-vertical-tab").click (event) ->
|
6
|
+
event.preventDefault()
|
7
|
+
$(".js-vertical-tab-content").hide()
|
8
|
+
activeTab = $(this).attr("rel")
|
9
|
+
$("#" + activeTab).show()
|
10
|
+
$(".js-vertical-tab").removeClass "is-active"
|
11
|
+
$(this).addClass "is-active"
|
12
|
+
$(".js-vertical-tab-accordion-heading").removeClass "is-active"
|
13
|
+
$(".js-vertical-tab-accordion-heading[rel^='" + activeTab + "']").addClass "is-active"
|
14
|
+
return
|
15
|
+
|
16
|
+
|
17
|
+
# if in accordion mode
|
18
|
+
$(".js-vertical-tab-accordion-heading").click (event) ->
|
19
|
+
event.preventDefault()
|
20
|
+
$(".js-vertical-tab-content").hide()
|
21
|
+
accordion_activeTab = $(this).attr("rel")
|
22
|
+
$("#" + accordion_activeTab).show()
|
23
|
+
$(".js-vertical-tab-accordion-heading").removeClass "is-active"
|
24
|
+
$(this).addClass "is-active"
|
25
|
+
$(".js-vertical-tab").removeClass "is-active"
|
26
|
+
$(".js-vertical-tab[rel^='" + accordion_activeTab + "']").addClass "is-active"
|
27
|
+
return
|
28
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
$(document).ready(function(){
|
2
|
+
$(".dropdown-button").click(function() {
|
3
|
+
$(".dropdown-menu").toggleClass("show-menu");
|
4
|
+
$(".dropdown-menu > li").click(function(){
|
5
|
+
$(".dropdown-menu").removeClass("show-menu");
|
6
|
+
});
|
7
|
+
$(".dropdown-menu.dropdown-select > li").click(function() {
|
8
|
+
$(".dropdown-button").html($(this).html());
|
9
|
+
});
|
10
|
+
});
|
11
|
+
});
|
12
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
$(document).ready(function() {
|
2
|
+
var expanderTrigger = document.getElementById("js-expander-trigger");
|
3
|
+
var expanderContent = document.getElementById("js-expander-content");
|
4
|
+
|
5
|
+
$('#js-expander-trigger').click(function(){
|
6
|
+
$(this).toggleClass("expander-hidden");
|
7
|
+
});
|
8
|
+
});
|
@@ -0,0 +1,23 @@
|
|
1
|
+
$(document).ready(function() {
|
2
|
+
var element = document.getElementById("js-fadeInElement");
|
3
|
+
$(element).addClass('js-fade-element-hide');
|
4
|
+
|
5
|
+
$(window).scroll(function() {
|
6
|
+
if( $("#js-fadeInElement").length > 0 ) {
|
7
|
+
var elementTopToPageTop = $(element).offset().top;
|
8
|
+
var windowTopToPageTop = $(window).scrollTop();
|
9
|
+
var windowInnerHeight = window.innerHeight;
|
10
|
+
var elementTopToWindowTop = elementTopToPageTop - windowTopToPageTop;
|
11
|
+
var elementTopToWindowBottom = windowInnerHeight - elementTopToWindowTop;
|
12
|
+
var distanceFromBottomToAppear = 300;
|
13
|
+
|
14
|
+
if(elementTopToWindowBottom > distanceFromBottomToAppear) {
|
15
|
+
$(element).addClass('js-fade-element-show');
|
16
|
+
}
|
17
|
+
else if(elementTopToWindowBottom < 0) {
|
18
|
+
$(element).removeClass('js-fade-element-show');
|
19
|
+
$(element).addClass('js-fade-element-hide');
|
20
|
+
}
|
21
|
+
}
|
22
|
+
});
|
23
|
+
});
|
@@ -0,0 +1,17 @@
|
|
1
|
+
$(function() {
|
2
|
+
$("#modal-1").on("change", function() {
|
3
|
+
if ($(this).is(":checked")) {
|
4
|
+
$("body").addClass("modal-open");
|
5
|
+
} else {
|
6
|
+
$("body").removeClass("modal-open");
|
7
|
+
}
|
8
|
+
});
|
9
|
+
|
10
|
+
$(".modal-window").on("click", function() {
|
11
|
+
$(".modal-state:checked").prop("checked", false).change();
|
12
|
+
});
|
13
|
+
|
14
|
+
$(".modal-inner").on("click", function(e) {
|
15
|
+
e.stopPropagation();
|
16
|
+
});
|
17
|
+
});
|