refills 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/NEWS.md +12 -0
- data/README.md +84 -6
- data/config.rb +10 -6
- data/lib/refills/import_generator.rb +2 -0
- data/lib/refills/list_generator.rb +2 -0
- data/lib/refills/version.rb +1 -1
- data/pkg/refills-0.0.1.gem +0 -0
- data/refills.gemspec +1 -1
- data/source/CNAME +1 -0
- data/source/_accordion-tabs-minimal.html.erb +48 -0
- data/source/_accordion-tabs.html.erb +26 -26
- data/source/_accordion.html.erb +9 -9
- data/source/_badges.html.erb +7 -5
- data/source/_breadcrumbs.html.erb +6 -7
- data/source/_button-group.html.erb +3 -4
- data/source/_cards.html.erb +42 -9
- data/source/_comment.html.erb +21 -0
- data/source/_footer-2.html.erb +29 -0
- data/source/_footer.html.erb +26 -27
- data/source/_grid-items-lines.html.erb +44 -0
- data/source/_grid-items.html.erb +37 -0
- data/source/_hero.html.erb +4 -5
- data/source/_hover-tile-animation.html.erb +11 -0
- data/source/_icon-bullet-points.html.erb +29 -0
- data/source/_image-gradient-dynamic.html.erb +7 -0
- data/source/_image-gradient.html.erb +6 -0
- data/source/_modal.html.erb +5 -25
- data/source/_navigation.html.erb +38 -15
- data/source/_progress-bar-indication.html.erb +5 -0
- data/source/_search-bar.html.erb +4 -4
- data/source/_sliding-menu.html.erb +23 -13
- data/source/_snippet.html.erb +4 -5
- data/source/_snippets.html.erb +7 -0
- data/source/_switch.html.erb +7 -0
- data/source/_tables-minimal.html.erb +31 -0
- data/source/_tooltip.html.erb +5 -3
- data/source/_type-system-content.html.erb +11 -0
- data/source/_type-system-geometric.html.erb +8 -0
- data/source/_type-system-rounded.html.erb +8 -0
- data/source/_type-system-sans.html.erb +8 -0
- data/source/_type-system-serif.html.erb +9 -0
- data/source/_type-system-slab.html.erb +8 -0
- data/source/_type-system-traditional.html.erb +8 -0
- data/source/_vertical-tabs.html.erb +39 -40
- 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/ZeroClipboard.swf +0 -0
- data/source/images/cat.png +0 -0
- data/source/images/menu.png +0 -0
- data/source/index.html.erb +243 -141
- data/source/javascripts/all.js +9 -0
- data/source/javascripts/jquery.erToc.js +477 -0
- data/source/javascripts/jquery.glide.js +941 -0
- data/source/layouts/layout.erb +16 -3
- 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/_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/_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/_tables.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/949f49000f6a509c8c1d8b10cc864f41440f4640/_new-breakpoint.scssc +0 -0
- data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_private.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 +314 -314
- 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/_refills-nav.scss +91 -0
- data/source/stylesheets/_refills-styles.scss +419 -170
- data/source/stylesheets/all.scss +19 -11
- data/source/stylesheets/bitters/_bitters.scss +9 -0
- data/source/stylesheets/bitters/_flashes.scss +6 -45
- data/source/stylesheets/bitters/_forms.scss +11 -3
- data/source/stylesheets/bitters/_grid-settings.scss +5 -5
- data/source/stylesheets/bitters/_tables.scss +2 -2
- data/source/stylesheets/bitters/_typography.scss +3 -2
- data/source/stylesheets/bitters/_variables.scss +3 -7
- data/source/stylesheets/bitters/extends/_button.scss +4 -2
- data/source/stylesheets/bitters/mixins/_base.scss +1 -0
- data/source/stylesheets/bitters/mixins/_flash.scss +15 -0
- data/source/stylesheets/bourbon/addons/_button.scss +3 -73
- data/source/stylesheets/bourbon/addons/_directional-values.scss +114 -0
- data/source/stylesheets/bourbon/addons/_ellipsis.scss +7 -0
- data/source/stylesheets/bourbon/addons/_rem.scss +33 -0
- data/source/stylesheets/bourbon/css3/_calc.scss +4 -0
- data/source/stylesheets/bourbon/css3/_filter.scss +5 -0
- data/source/stylesheets/bourbon/css3/_font-feature-settings.scss +10 -0
- data/source/stylesheets/bourbon/css3/_hyphens.scss +4 -0
- data/source/stylesheets/bourbon/functions/_assign.scss +11 -0
- data/source/stylesheets/bourbon/functions/_color-lightness.scss +13 -0
- data/source/stylesheets/bourbon/functions/_golden-ratio.scss +3 -0
- data/source/stylesheets/bourbon/functions/_strip-units.scss +5 -0
- data/source/stylesheets/bourbon/functions/_unpack.scss +17 -0
- data/source/stylesheets/bourbon/helpers/_convert-units.scss +15 -0
- data/source/stylesheets/bourbon/helpers/_is-num.scss +8 -0
- data/source/stylesheets/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/source/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/source/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/source/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/source/stylesheets/bourbon/helpers/_str-to-num.scss +50 -0
- data/source/stylesheets/bourbon/settings/_prefixer.scss +6 -0
- data/source/stylesheets/bourbon/settings/_px-to-em.scss +1 -0
- data/source/stylesheets/refills/_accordion-tabs-minimal.scss +96 -0
- data/source/stylesheets/refills/_accordion-tabs.scss +97 -100
- data/source/stylesheets/refills/_accordion.scss +4 -2
- data/source/stylesheets/refills/_badges.scss +37 -30
- data/source/stylesheets/refills/_breadcrumbs.scss +31 -24
- data/source/stylesheets/refills/_button-group.scss +38 -14
- data/source/stylesheets/refills/_cards.scss +111 -43
- data/source/stylesheets/refills/_comment.scss +60 -0
- data/source/stylesheets/refills/_footer-2.scss +91 -0
- data/source/stylesheets/refills/_footer.scss +75 -54
- data/source/stylesheets/refills/_grid-items-lines.scss +86 -0
- data/source/stylesheets/refills/_grid-items.scss +97 -0
- data/source/stylesheets/refills/_hero.scss +31 -11
- data/source/stylesheets/refills/_hover-tile-animation.scss +52 -0
- data/source/stylesheets/refills/_icon-bullet-points.scss +63 -0
- data/source/stylesheets/refills/_image-gradient-dynamic.scss +60 -0
- data/source/stylesheets/refills/_image-gradient.scss +56 -0
- data/source/stylesheets/refills/_modal.scss +81 -91
- data/source/stylesheets/refills/_navigation.scss +205 -114
- data/source/stylesheets/refills/_progress-bar-indication.scss +39 -0
- data/source/stylesheets/refills/_progress-bar.scss +4 -4
- data/source/stylesheets/refills/_search-bar.scss +13 -17
- data/source/stylesheets/refills/_sliding-menu.scss +37 -31
- data/source/stylesheets/refills/{_switch-toggle.scss → _switch.scss} +17 -23
- data/source/stylesheets/refills/_tables-minimal.scss +54 -0
- data/source/stylesheets/refills/_tables.scss +12 -9
- data/source/stylesheets/refills/_tooltip.scss +33 -65
- data/source/stylesheets/refills/_type-system-geometric.scss +93 -0
- data/source/stylesheets/refills/_type-system-rounded.scss +95 -0
- data/source/stylesheets/refills/_type-system-sans.scss +99 -0
- data/source/stylesheets/refills/_type-system-serif.scss +100 -0
- data/source/stylesheets/refills/_type-system-slab.scss +97 -0
- data/source/stylesheets/refills/_type-system-traditional.scss +101 -0
- data/source/stylesheets/refills/_vertical-tabs.scss +69 -82
- data/source/vendor/javascripts/ZeroClipboard.min.js +9 -0
- data/source/vendor/javascripts/smooth-scroll.js +125 -0
- metadata +89 -29
- data/source/_dashboard.html.erb +0 -18
- data/source/_html_snippet.html.erb +0 -5
- data/source/_image-cards.html.erb +0 -28
- data/source/_info-section.html.erb +0 -25
- data/source/_item-list.html.erb +0 -25
- data/source/_master-detail.html.erb +0 -35
- data/source/_overlap.html.erb +0 -9
- data/source/_sidebar-layout.html.erb +0 -28
- data/source/_stylesheet_snippet.html.erb +0 -7
- data/source/_switch-toggle.html.erb +0 -15
- data/source/_toggle-cards.html.erb +0 -64
- data/source/stylesheets/refills/_dashboard.scss +0 -33
- data/source/stylesheets/refills/_dropdown-menu.scss +0 -65
- data/source/stylesheets/refills/_image-cards.scss +0 -102
- data/source/stylesheets/refills/_info-section.scss +0 -49
- data/source/stylesheets/refills/_item-list.scss +0 -37
- data/source/stylesheets/refills/_master-detail.scss +0 -54
- data/source/stylesheets/refills/_overlap.scss +0 -42
- data/source/stylesheets/refills/_sidebar-layout.scss +0 -56
- data/source/stylesheets/refills/_toggle-cards.scss +0 -104
data/source/_snippet.html.erb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
<
|
2
|
-
<a href="#" class="
|
3
|
-
|
4
|
-
|
5
|
-
<%= stylesheet_snippet snippet %>
|
1
|
+
<div class="snippet">
|
2
|
+
<a href="#" class="copy-source">Copy</a>
|
3
|
+
<pre><code class="language-<%= language %>"><%== snippet %></code></pre>
|
4
|
+
</div>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<div class="switch-container">
|
2
|
+
<input type="checkbox" id="switch-toggle-1" name="switch-toggle" class="switch-checkbox" checked/>
|
3
|
+
<label class="switch-label" for="switch-toggle-1">
|
4
|
+
<div class="switch-inner"></div>
|
5
|
+
<div class="switch-toggle-switch"></div>
|
6
|
+
</label>
|
7
|
+
</div>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<table class="table-minimal">
|
2
|
+
<thead>
|
3
|
+
<tr>
|
4
|
+
<th>Header Cell 1</th>
|
5
|
+
<th>Header Cell 2</th>
|
6
|
+
<th>Header Cell 3</th>
|
7
|
+
</tr>
|
8
|
+
</thead>
|
9
|
+
<tbody>
|
10
|
+
<tr>
|
11
|
+
<td>Row 1 Cell 1</td>
|
12
|
+
<td>Row 1 Cell 2</td>
|
13
|
+
<td><button>Confirm</button><button>Reject</button></td>
|
14
|
+
</tr>
|
15
|
+
<tr>
|
16
|
+
<td>Row 2 Cell 1</td>
|
17
|
+
<td>Row 2 Cell 2</td>
|
18
|
+
<td><button>Confirm</button><button>Reject</button></td>
|
19
|
+
</tr>
|
20
|
+
<tr>
|
21
|
+
<td>Row 3 Cell 1</td>
|
22
|
+
<td>Row 3 Cell 2</td>
|
23
|
+
<td><button>Confirm</button><button>Reject</button></td>
|
24
|
+
</tr>
|
25
|
+
<tr>
|
26
|
+
<td>Row 4 Cell 1</td>
|
27
|
+
<td>Row 4 Cell 2</td>
|
28
|
+
<td><button>Confirm</button><button>Reject</button></td>
|
29
|
+
</tr>
|
30
|
+
</tbody>
|
31
|
+
</table>
|
data/source/_tooltip.html.erb
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
<p class="type">Article Type</p>
|
2
|
+
<h1>Article Heading</h1>
|
3
|
+
<h2>These override some of the styles specified in the Scss files "variables" and "typography" in Bitters. You can replace the typography variables and the header font specifications in Bitters with these styles. Then you won't need the wrapping class "type-system-name".</h2>
|
4
|
+
<p class="date">30 Mar 2014</p>
|
5
|
+
<p><span>Lorem ipsum dolor sit amet</span>, consectetur adipisicing elit. Consequatur, a, ullam, voluptatum incidunt neque doloremque vel inventore distinctio laudantium harum</a> illo quam nulla dolor alias iure impedit! Accusamus! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequatur, a, ullam, voluptatum incidunt neque porro numquam doloremque vel inventore distinctio laudantium harum illo quam nulla dolor alias iure impedit.
|
6
|
+
<a href="javascript:void(0)" class="read-more">Read More <span>›</span></a>
|
7
|
+
</p>
|
8
|
+
<h3>Subheading lorem</h3>
|
9
|
+
<p><span>Consequatur ullam, voluptatum</span> incidunt neque porro numquam doloremque vel inventore distinctio laudantium harum illo quam nulla dolor alias iure impedit. Accusamus. Consequatur, a, ullam, voluptatum incidunt neque porro numquam doloremque vel inventore distinctio laudantium harum illo quam nulla dolor alias iure impedit! Accusamus.</p>
|
10
|
+
<hr>
|
11
|
+
<p class="author">Author Name</p>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<head>
|
2
|
+
<link href='http://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'>
|
3
|
+
<link href='http://fonts.googleapis.com/css?family=Sanchez:400italic,400' rel='stylesheet' type='text/css'>
|
4
|
+
</head>
|
5
|
+
|
6
|
+
<article class="type-system-geometric">
|
7
|
+
<%= partial "type-system-content" %>
|
8
|
+
</article>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<head>
|
2
|
+
<link href='http://fonts.googleapis.com/css?family=Nunito:400,700,300' rel='stylesheet' type='text/css'>
|
3
|
+
<link href='http://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
|
4
|
+
</head>
|
5
|
+
|
6
|
+
<article class="type-system-rounded">
|
7
|
+
<%= partial "type-system-content" %>
|
8
|
+
</article>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<head>
|
2
|
+
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
3
|
+
<link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,400italic,600italic,600,700,700italic,900,300italic,300,200italic,200' rel='stylesheet' type='text/css'>
|
4
|
+
</head>
|
5
|
+
|
6
|
+
<article class="type-system-sans">
|
7
|
+
<%= partial "type-system-content" %>
|
8
|
+
</article>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<head>
|
2
|
+
<link href='http://fonts.googleapis.com/css?family=Lusitana:400,700' rel='stylesheet' type='text/css'>
|
3
|
+
<link href='http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
|
4
|
+
<link href='http://fonts.googleapis.com/css?family=Merriweather+Sans:400,300,300italic,400italic,700italic,700,800,800italic' rel='stylesheet' type='text/css'>
|
5
|
+
</head>
|
6
|
+
|
7
|
+
<article class="type-system-serif">
|
8
|
+
<%= partial "type-system-content" %>
|
9
|
+
</article>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<head>
|
2
|
+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,800,700,600,300' rel='stylesheet' type='text/css'>
|
3
|
+
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,300,100,700' rel='stylesheet' type='text/css'>
|
4
|
+
</head>
|
5
|
+
|
6
|
+
<article class="type-system-slab">
|
7
|
+
<%= partial "type-system-content" %>
|
8
|
+
</article>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<head>
|
2
|
+
<link href='http://fonts.googleapis.com/css?family=Radley:400,400italic' rel='stylesheet' type='text/css'>
|
3
|
+
<link href='http://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
4
|
+
</head>
|
5
|
+
|
6
|
+
<article class="type-system-traditional">
|
7
|
+
<%= partial "type-system-content" %>
|
8
|
+
</article>
|
@@ -1,66 +1,65 @@
|
|
1
|
-
<div class="vertical-tabs">
|
2
|
-
<div class="tabs">
|
3
|
-
<a href="" class="tab active" rel="tab1">Item 1</a
|
4
|
-
<a href="" class="tab" rel="tab2">Item 2</a
|
5
|
-
<a href="" class="tab" rel="tab3">Item 3</a
|
6
|
-
<a href="" class="tab" rel="tab4">Item 4</a
|
1
|
+
<div class="vertical-tabs-container">
|
2
|
+
<div class="vertical-tabs">
|
3
|
+
<a href="#" class="js-vertical-tab vertical-tab is-active" rel="tab1">Item 1</a>
|
4
|
+
<a href="#" class="js-vertical-tab vertical-tab" rel="tab2">Item 2</a>
|
5
|
+
<a href="#" class="js-vertical-tab vertical-tab" rel="tab3">Item 3</a>
|
6
|
+
<a href="#" class="js-vertical-tab vertical-tab" rel="tab4">Item 4</a>
|
7
7
|
</div>
|
8
8
|
|
9
|
-
<div class="tab-container">
|
10
|
-
<a href="" class="accordion-
|
11
|
-
<div id="tab1" class="tab-content">
|
9
|
+
<div class="vertical-tab-content-container">
|
10
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading is-active" rel="tab1">Item 1</a>
|
11
|
+
<div id="tab1" class="js-vertical-tab-content vertical-tab-content">
|
12
12
|
<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>
|
13
13
|
</div>
|
14
14
|
|
15
|
-
<a href="" class="accordion-heading" rel="tab2">Item 2</a>
|
16
|
-
<div id="tab2" class="tab-content">
|
15
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading" rel="tab2">Item 2</a>
|
16
|
+
<div id="tab2" class="js-vertical-tab-content vertical-tab-content">
|
17
17
|
<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.</p>
|
18
18
|
</div>
|
19
19
|
|
20
|
-
<a href="" class="accordion-heading" rel="tab3">Item 3</a>
|
21
|
-
<div id="tab3" class="tab-content">
|
20
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading" rel="tab3">Item 3</a>
|
21
|
+
<div id="tab3" class="js-vertical-tab-content vertical-tab-content">
|
22
22
|
<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>
|
23
23
|
</div>
|
24
24
|
|
25
|
-
<a href="" class="accordion-heading" rel="tab4">Item 4</a>
|
26
|
-
<div id="tab4" class="tab-content">
|
25
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading" rel="tab4">Item 4</a>
|
26
|
+
<div id="tab4" class="js-vertical-tab-content vertical-tab-content">
|
27
27
|
<p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna, mollis vel suscipit in, pharetra at ligula. Pellentesque a est vel est fermentum pellentesque sed sit amet dolor. Nunc in dapibus nibh. Aliquam erat volutpat. Phasellus vel dui sed nibh iaculis convallis id sit amet urna. Proin nec tellus quis justo consequat accumsan. Vivamus turpis enim, auctor eget placerat eget, aliquam ut sapien.</p>
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
</div>
|
31
31
|
|
32
32
|
<script>
|
33
|
-
$(".tab-content").hide();
|
34
|
-
$(".tab-content:first").show();
|
33
|
+
$(".js-vertical-tab-content").hide();
|
34
|
+
$(".js-vertical-tab-content:first").show();
|
35
35
|
|
36
36
|
/* if in tab mode */
|
37
|
-
$(".
|
38
|
-
event.preventDefault()
|
39
|
-
|
40
|
-
$(".tab-content").hide();
|
41
|
-
var activeTab = $(this).attr("rel");
|
42
|
-
$("#"+activeTab).show();
|
43
|
-
|
44
|
-
$(".
|
45
|
-
$(this).addClass("active");
|
37
|
+
$(".js-vertical-tab").click(function(event) {
|
38
|
+
event.preventDefault();
|
39
|
+
|
40
|
+
$(".js-vertical-tab-content").hide();
|
41
|
+
var activeTab = $(this).attr("rel");
|
42
|
+
$("#"+activeTab).show();
|
43
|
+
|
44
|
+
$(".js-vertical-tab").removeClass("is-active");
|
45
|
+
$(this).addClass("is-active");
|
46
46
|
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
$(".js-vertical-tab-accordion-heading").removeClass("is-active");
|
48
|
+
$(".js-vertical-tab-accordion-heading[rel^='"+activeTab+"']").addClass("is-active");
|
50
49
|
});
|
51
50
|
|
52
51
|
/* if in accordion mode */
|
53
|
-
$(".accordion-heading").click(function() {
|
52
|
+
$(".js-vertical-tab-accordion-heading").click(function(event) {
|
54
53
|
event.preventDefault()
|
55
|
-
|
56
|
-
$(".tab-content").hide();
|
57
|
-
var accordion_activeTab = $(this).attr("rel");
|
54
|
+
|
55
|
+
$(".js-vertical-tab-content").hide();
|
56
|
+
var accordion_activeTab = $(this).attr("rel");
|
58
57
|
$("#"+accordion_activeTab).show();
|
59
|
-
|
60
|
-
|
61
|
-
$(this).addClass("
|
62
|
-
|
63
|
-
|
64
|
-
|
58
|
+
|
59
|
+
$(".js-vertical-tab-accordion-heading").removeClass("is-active");
|
60
|
+
$(this).addClass("is-active");
|
61
|
+
|
62
|
+
$(".js-vertical-tab").removeClass("is-active");
|
63
|
+
$(".js-vertical-tab[rel^='"+accordion_activeTab+"']").addClass("is-active");
|
65
64
|
});
|
66
|
-
</script>
|
65
|
+
</script>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/source/index.html.erb
CHANGED
@@ -2,201 +2,303 @@
|
|
2
2
|
title: Refills
|
3
3
|
---
|
4
4
|
|
5
|
-
<div class="refills-
|
6
|
-
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
5
|
+
<div class="refills-header">
|
6
|
+
<h1>Refills</h1>
|
7
|
+
<h2><span>Refills</span> are prepackaged patterns and components, built on top of <a href="http://www.bourbon.io">Bourbon</a>, <a href="http://bitters.bourbon.io/">Bitters</a>, and <a href="http://neat.bourbon.io/">Neat</a>.</h2>
|
8
|
+
<p>Managed by <a href="http://www.thoughtbot.com">thoughtbot</a>, instructions at <a href="https://github.com/thoughtbot/refills">Github</a></p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<div id="example1" class="refills-wrapper">
|
12
|
+
|
13
|
+
<a class="js-menu-trigger-refills refills-menu-anchor">
|
14
|
+
<img src="images/menu.png" alt="">
|
15
|
+
</a>
|
16
|
+
<div class="js-menu-screen-refills refills-menu-screen"></div>
|
17
|
+
|
18
|
+
<h5>Patterns</h5>
|
19
|
+
|
20
|
+
<div id="navigation" class="refill">
|
21
|
+
<div class="line-behind-text"><h6>Navigation</h6></div>
|
22
|
+
<%= partial "navigation" %>
|
23
|
+
<div class="refill-snippet"><%= snippets('navigation') %></div>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<div id="hero" class="refill">
|
27
|
+
<div class="line-behind-text"><h6>Hero Unit</h6> </div>
|
28
|
+
<%= partial "hero" %>
|
29
|
+
<div class="refill-snippet"><%= snippets('hero') %></div>
|
18
30
|
</div>
|
19
31
|
|
20
|
-
<div class="refill">
|
21
|
-
<
|
22
|
-
<%= partial "
|
23
|
-
|
32
|
+
<div id="icon-bullet-points" class="refill">
|
33
|
+
<div class="line-behind-text"><h6>Icon Bullet Points</h6></div>
|
34
|
+
<%= partial "icon-bullet-points" %>
|
35
|
+
<div class="refill-snippet"><%= snippets('icon-bullet-points') %></div>
|
24
36
|
</div>
|
25
37
|
|
26
|
-
<div class="refill">
|
27
|
-
<
|
28
|
-
|
29
|
-
|
30
|
-
|
38
|
+
<div id="type-systems" class="refill">
|
39
|
+
<div class="line-behind-text"><h6>Typographic Systems</h6></div>
|
40
|
+
<div class="refill-smaller">
|
41
|
+
<ul class="accordion-tabs-type-systems">
|
42
|
+
|
43
|
+
<li class="tab js-is-active" data-role="tab">
|
44
|
+
<a href="#" class="tab-link-type-system" data-role="link">Serif</a>
|
45
|
+
<section>
|
46
|
+
<div class="tab-content">
|
47
|
+
<div class="refill-centering"><%= partial "type-system-serif" %></div>
|
48
|
+
<div class="refill-snippet"><%= snippets('type-system-serif') %></div>
|
49
|
+
</div>
|
50
|
+
</section>
|
51
|
+
</li>
|
52
|
+
|
53
|
+
<li class="tab" data-role="tab">
|
54
|
+
<a href="#" class="tab-link-type-system" data-role="link">Sans</a>
|
55
|
+
<section>
|
56
|
+
<div class="tab-content">
|
57
|
+
<div class="refill-centering"><%= partial "type-system-sans" %></div>
|
58
|
+
<div class="refill-snippet"><%= snippets('type-system-sans') %></div>
|
59
|
+
</div>
|
60
|
+
</section>
|
61
|
+
</li>
|
31
62
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
63
|
+
<li class="tab" data-role="tab">
|
64
|
+
<a href="#" class="tab-link-type-system" data-role="link">Slab</a>
|
65
|
+
<section>
|
66
|
+
<div class="tab-content">
|
67
|
+
<div class="refill-centering"><%= partial "type-system-slab" %></div>
|
68
|
+
<div class="refill-snippet"><%= snippets('type-system-slab') %></div>
|
69
|
+
</div>
|
70
|
+
</section>
|
71
|
+
</li>
|
72
|
+
|
73
|
+
<li class="tab" data-role="tab">
|
74
|
+
<a href="#" class="tab-link-type-system" data-role="link">Rounded</a>
|
75
|
+
<section>
|
76
|
+
<div class="tab-content">
|
77
|
+
<div class="refill-centering"><%= partial "type-system-rounded" %></div>
|
78
|
+
<div class="refill-snippet"><%= snippets('type-system-rounded') %></div>
|
79
|
+
</div>
|
80
|
+
</section>
|
81
|
+
</li>
|
82
|
+
|
83
|
+
<li class="tab" data-role="tab">
|
84
|
+
<a href="#" class="tab-link-type-system" data-role="link">Traditional</a>
|
85
|
+
<section>
|
86
|
+
<div class="tab-content">
|
87
|
+
<div class="refill-centering"><%= partial "type-system-traditional" %></div>
|
88
|
+
<div class="refill-snippet"><%= snippets('type-system-traditional') %></div>
|
89
|
+
</div>
|
90
|
+
</section>
|
91
|
+
</li>
|
92
|
+
|
93
|
+
<li class="tab" data-role="tab">
|
94
|
+
<a href="#" class="tab-link-type-system" data-role="link">Geometric</a>
|
95
|
+
<section>
|
96
|
+
<div class="tab-content">
|
97
|
+
<div class="refill-centering"><%= partial "type-system-geometric" %></div>
|
98
|
+
<div class="refill-snippet"><%= snippets('type-system-geometric') %></div>
|
99
|
+
</div>
|
100
|
+
</section>
|
101
|
+
</li>
|
102
|
+
|
103
|
+
</ul>
|
104
|
+
</div>
|
36
105
|
</div>
|
37
|
-
|
38
106
|
|
39
|
-
<div class="refill">
|
40
|
-
<
|
41
|
-
|
42
|
-
|
107
|
+
<div id="cards" class="refill">
|
108
|
+
<div class="line-behind-text"><h6>Cards</h6></div>
|
109
|
+
<div class="refill-centering"><%= partial "cards" %></div>
|
110
|
+
<div class="refill-snippet"><%= snippets('cards') %></div>
|
43
111
|
</div>
|
44
|
-
|
45
112
|
|
46
|
-
<div class="refill">
|
47
|
-
<
|
48
|
-
|
49
|
-
|
113
|
+
<div id="comment" class="refill">
|
114
|
+
<div class="line-behind-text"><h6>Comments</h6></div>
|
115
|
+
<div class="refill-centering">
|
116
|
+
<div class="refill-smaller"><%= partial "comment" %></div>
|
117
|
+
</div>
|
118
|
+
<div class="refill-snippet"><%= snippets('comment') %></div>
|
50
119
|
</div>
|
51
|
-
|
52
120
|
|
53
|
-
<div class="refill">
|
54
|
-
<
|
121
|
+
<div id="accordion-tabs" class="refill">
|
122
|
+
<div class="line-behind-text"><h6>Accordion / Tabs</h6></div>
|
55
123
|
<%= partial "accordion-tabs" %>
|
56
|
-
|
124
|
+
<div class="refill-snippet"><%= snippets('accordion-tabs') %></div>
|
125
|
+
<%= partial "accordion-tabs-minimal" %>
|
126
|
+
<div class="refill-snippet"><%= snippets('accordion-tabs-minimal') %></div>
|
57
127
|
</div>
|
58
|
-
|
59
128
|
|
60
|
-
<div class="refill">
|
61
|
-
<
|
62
|
-
<%= partial "
|
63
|
-
|
129
|
+
<div id="tables" class="refill">
|
130
|
+
<div class="line-behind-text"><h6>Tables</h6></div>
|
131
|
+
<%= partial "tables" %>
|
132
|
+
<div class="refill-snippet"><%= snippets('tables') %></div>
|
133
|
+
<%= partial "tables-minimal" %>
|
134
|
+
<div class="refill-snippet"><%= snippets('tables-minimal') %></div>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<div id="vertical-tabs" class="refill">
|
138
|
+
<div class="line-behind-text"><h6>Vertical Tabs</h6></div>
|
139
|
+
<%= partial "vertical-tabs" %>
|
140
|
+
<div class="refill-snippet"><%= snippets('vertical-tabs') %></div>
|
64
141
|
</div>
|
65
|
-
|
66
142
|
|
67
|
-
<div class="refill">
|
68
|
-
<
|
69
|
-
|
70
|
-
|
143
|
+
<div id="grid-items" class="refill">
|
144
|
+
<div class="line-behind-text"><h6>Grid Items</h6></div>
|
145
|
+
<div class="refill-centering"><%= partial "grid-items" %></div>
|
146
|
+
<div class="refill-snippet"><%= snippets('grid-items') %></div>
|
147
|
+
<div class="refill-centering"><%= partial "grid-items-lines" %></div>
|
148
|
+
<div class="refill-snippet"><%= snippets('grid-items-lines') %></div>
|
71
149
|
</div>
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
150
|
+
|
151
|
+
<div class="refills-wrapper">
|
152
|
+
<div id="footer" class="refill">
|
153
|
+
<div class="line-behind-text"><h6>Footers</h6></div>
|
154
|
+
<div class="refill-centering"><%= partial "footer" %></div>
|
155
|
+
<div class="refill-snippet"><%= snippets('footer') %></div>
|
156
|
+
<div class="refill-centering"><%= partial "footer-2" %></div>
|
157
|
+
<div class="refill-snippet"><%= snippets('footer-2') %></div>
|
158
|
+
</div>
|
78
159
|
</div>
|
79
|
-
|
80
160
|
|
81
|
-
<
|
82
|
-
|
83
|
-
|
84
|
-
|
161
|
+
<h5>Components</h5>
|
162
|
+
|
163
|
+
<div id="modal" class="refill">
|
164
|
+
<div class="line-behind-text"><h6>Modal</h6></div>
|
165
|
+
<div class="refill-centering"><%= partial "modal" %></div>
|
166
|
+
<div class="refill-snippet"><%= snippets('modal') %></div>
|
85
167
|
</div>
|
86
|
-
|
87
168
|
|
88
|
-
<div class="refill">
|
89
|
-
<
|
90
|
-
|
91
|
-
|
169
|
+
<div id="sliding-menu" class="refill">
|
170
|
+
<div class="line-behind-text"><h6>Sliding Menu</h6></div>
|
171
|
+
<div class="refill-centering"><%= partial "sliding-menu" %></div>
|
172
|
+
<div class="refill-snippet"><%= snippets('sliding-menu') %></div>
|
92
173
|
</div>
|
93
|
-
|
94
174
|
|
95
|
-
<div class="refill">
|
96
|
-
<
|
97
|
-
|
98
|
-
|
175
|
+
<div id="badges" class="refill">
|
176
|
+
<div class="line-behind-text"><h6>Badges</h6></div>
|
177
|
+
<div class="refill-centering"><%= partial "badges" %></div>
|
178
|
+
<div class="refill-snippet"><%= snippets('badges') %></div>
|
99
179
|
</div>
|
100
|
-
|
101
180
|
|
102
|
-
<div class="refill">
|
103
|
-
<
|
104
|
-
|
105
|
-
|
181
|
+
<div id="breadcrumbs" class="refill">
|
182
|
+
<div class="line-behind-text"><h6>Breadcrumbs</h6></div>
|
183
|
+
<div class="refill-centering"><%= partial "breadcrumbs" %></div>
|
184
|
+
<div class="refill-snippet"><%= snippets('breadcrumbs') %></div>
|
106
185
|
</div>
|
107
|
-
|
108
186
|
|
109
|
-
<div class="refill">
|
110
|
-
<
|
111
|
-
|
112
|
-
|
187
|
+
<div id="hover-tile-animation" class="refill">
|
188
|
+
<div class="line-behind-text"><h6>Hover Tile Animation</h6></div>
|
189
|
+
<div class="refill-centering"><%= partial "hover-tile-animation" %></div>
|
190
|
+
<div class="refill-snippet"><%= snippets('hover-tile-animation') %></div>
|
113
191
|
</div>
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
<
|
118
|
-
|
119
|
-
<%= snippet('tables') %>
|
120
|
-
</div>
|
121
|
-
|
122
|
-
|
123
|
-
<div class="refill">
|
124
|
-
<h3>Breadcrumbs</h3>
|
125
|
-
<%= partial "breadcrumbs" %>
|
126
|
-
<%= snippet('breadcrumbs') %>
|
127
|
-
</div>
|
128
|
-
|
129
|
-
|
130
|
-
<div class="refill">
|
131
|
-
<h3>Button Group</h3>
|
132
|
-
<%= partial "button-group" %>
|
133
|
-
<%= snippet('button-group') %>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
|
137
|
-
<div class="refill">
|
138
|
-
<h3>Navigation</h3>
|
139
|
-
<%= partial "navigation" %>
|
140
|
-
<%= snippet('navigation') %>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<div class="refill">
|
144
|
-
<h3>Item List</h3>
|
145
|
-
<%= snippet('item-list') %>
|
192
|
+
|
193
|
+
<div id="accordion" class="refill">
|
194
|
+
<div class="line-behind-text"><h6>Accordion</h6></div>
|
195
|
+
<div class="refill-centering"><%= partial "accordion" %></div>
|
196
|
+
<div class="refill-snippet"><%= snippets('accordion') %></div>
|
146
197
|
</div>
|
147
|
-
<%= partial "item-list" %>
|
148
198
|
|
149
|
-
|
150
|
-
|
151
|
-
<
|
152
|
-
|
153
|
-
</div>
|
154
|
-
<%= partial "master-detail" %>
|
199
|
+
<div id="search-bar" class="refill">
|
200
|
+
<div class="line-behind-text"><h6>Search bar</h6></div>
|
201
|
+
<div class="refill-centering"><%= partial "search-bar" %></div>
|
202
|
+
<div class="refill-snippet"><%= snippets('search-bar') %></div>
|
203
|
+
</div>
|
155
204
|
|
156
|
-
<div class="refill">
|
157
|
-
<
|
158
|
-
|
205
|
+
<div id="switch" class="refill">
|
206
|
+
<div class="line-behind-text"><h6>Switch</h6></div>
|
207
|
+
<div class="refill-centering"><%= partial "switch" %></div>
|
208
|
+
<div class="refill-snippet"><%= snippets('switch') %></div>
|
159
209
|
</div>
|
160
|
-
<%= partial "sidebar-layout" %>
|
161
210
|
|
162
|
-
<div class="refill">
|
163
|
-
<
|
164
|
-
|
211
|
+
<div id="image-gradient" class="refill">
|
212
|
+
<div class="line-behind-text"><h6>Image with gradient overlays</h6></div>
|
213
|
+
<div class="refill-centering"><%= partial "image-gradient" %></div>
|
214
|
+
<div class="refill-snippet"><%= snippets('image-gradient') %></div>
|
215
|
+
<div class="refill-centering"><%= partial "image-gradient-dynamic" %></div>
|
216
|
+
<div class="refill-snippet"><%= snippets('image-gradient-dynamic') %></div>
|
165
217
|
</div>
|
166
|
-
<%= partial "info-section" %>
|
167
218
|
|
168
|
-
<div class="refill">
|
169
|
-
<
|
170
|
-
|
171
|
-
|
219
|
+
<div id="button-group" class="refill">
|
220
|
+
<div class="line-behind-text"><h6>Button Group</h6></div>
|
221
|
+
<div class="refill-centering"><%= partial "button-group" %></div>
|
222
|
+
<div class="refill-snippet"><%= snippets('button-group') %></div>
|
172
223
|
</div>
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
224
|
+
|
225
|
+
|
226
|
+
<div id="progress-bar" class="refill">
|
227
|
+
<div class="line-behind-text"><h6>Progress Bars</h6></div>
|
228
|
+
<div class="refill-centering"><%= partial "progress-bar" %></div>
|
229
|
+
<div class="refill-snippet"><%= snippets('progress-bar') %></div>
|
230
|
+
<div class="refill-centering"><%= partial "progress-bar-indication" %></div>
|
231
|
+
<div class="refill-snippet"><%= snippets('progress-bar-indication') %></div>
|
178
232
|
</div>
|
179
233
|
|
234
|
+
<div id="tooltip" class="refill">
|
235
|
+
<div class="line-behind-text"><h6>Tooltip</h6></div>
|
236
|
+
<div class="refill-centering"><%= partial "tooltip" %></div>
|
237
|
+
<div class="refill-snippet"><%= snippets('tooltip') %></div>
|
238
|
+
</div>
|
180
239
|
</div>
|
181
240
|
|
241
|
+
<!-- for the type-system tabs -->
|
242
|
+
<script>
|
243
|
+
var $tabs, $toggles, ACTIVE_CLASS;
|
182
244
|
|
245
|
+
ACTIVE_CLASS = 'js-is-active';
|
183
246
|
|
247
|
+
$tabs = $("[data-role='tab']");
|
184
248
|
|
249
|
+
$toggles = $tabs.find("[data-role='link']");
|
250
|
+
|
251
|
+
$toggles.on('click', function(event) {
|
252
|
+
var $tab, $toggle;
|
253
|
+
event.preventDefault();
|
254
|
+
$toggle = $(this);
|
255
|
+
$tab = $toggle.closest($tabs);
|
256
|
+
if (!$tab.hasClass(ACTIVE_CLASS)) {
|
257
|
+
$tabs.removeClass(ACTIVE_CLASS);
|
258
|
+
return $tab.addClass(ACTIVE_CLASS);
|
259
|
+
}
|
260
|
+
});
|
261
|
+
</script>
|
185
262
|
|
186
263
|
<script>
|
187
264
|
$('a.js-show-code').on('click', function(e){
|
188
265
|
$(this).hide();
|
189
|
-
$(this).siblings('.js-hide-code').css('display', 'block');
|
190
|
-
$(this).siblings('
|
266
|
+
$(this).siblings('.js-hide-code').css('display', 'inline-block');
|
267
|
+
$(this).parent().siblings('.snippet').show();
|
191
268
|
e.preventDefault();
|
192
269
|
})
|
193
270
|
|
194
271
|
$('a.js-hide-code').on('click', function(e) {
|
195
272
|
$(this).hide();
|
196
|
-
$(this).siblings('.js-show-code').css("display", "block");
|
197
|
-
$(this).siblings('
|
273
|
+
$(this).siblings('.js-show-code').css("display", "inline-block");
|
274
|
+
$(this).parent().siblings('.snippet').hide();
|
198
275
|
e.preventDefault();
|
199
276
|
});
|
200
277
|
</script>
|
201
278
|
|
279
|
+
<script>
|
280
|
+
$(document).ready( function() {
|
281
|
+
client = new ZeroClipboard($('.copy-source'), {moviePath: 'images/ZeroClipboard.swf'})
|
282
|
+
client.on('dataRequested', function(client, args) {
|
283
|
+
code = $(this).siblings('pre').text();
|
284
|
+
client.setText(code);
|
285
|
+
});
|
286
|
+
});
|
287
|
+
</script>
|
202
288
|
|
289
|
+
<script>
|
290
|
+
$(document).ready(function(){
|
291
|
+
|
292
|
+
$('.js-menu-trigger-refills').on('click touchstart', function(e){
|
293
|
+
$('.er_toc').toggleClass('is-visible');
|
294
|
+
$('.js-menu-screen-refills').toggleClass('is-visible');
|
295
|
+
e.preventDefault();
|
296
|
+
});
|
297
|
+
|
298
|
+
$('.js-menu-screen-refills').on('click touchstart', function(e){
|
299
|
+
$('.er_toc').toggleClass('is-visible');
|
300
|
+
$('.js-menu-screen-refills').toggleClass('is-visible');
|
301
|
+
e.preventDefault();
|
302
|
+
});
|
303
|
+
});
|
304
|
+
</script>
|