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
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
YzZhYmMzMjI1MjU2ZGExMGY1MzhhOWJkNTI1ZGU1MGIxZTU2YzQ3OWZmMzY2
|
10
|
-
NjVjNGE4YWYzNGU5MGExZjNiOTNlY2I3NmQ5MDg4MGMxOTA5NTk1NDk5ODRi
|
11
|
-
YTQ5ZTE5MDE5M2ViYWQ4ZDg0NTkwYTRhNzJkYzZiM2VhNWMwYWU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZThmMThiY2M5NmJkMDI1YmQxZmJlODVkMWYzYjVhYTIzMTNlN2VlYmNiZDg0
|
14
|
-
MzZjNTRlMDkxZWU2MDAyM2VmYzEwMGVlNjIwMDAyNGUzZGE3ODcxN2FiYTg0
|
15
|
-
MGY3M2IwMGNkOWYyYzVlZDNhOGI4NjRiZWU2MDQwNWU1NjBlNjU=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e8f585461e3904428122b7557bcf892e441ee2a2
|
4
|
+
data.tar.gz: da61d3234fc77682851be8510b525fdd8ae0dc6c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d5cd76b20751322f29bebb84daa095873c22c339d78cb54a0c7c8a784c2c729e82078b365b5144243c720bc0c9034bd60c4b30a17d77e7ebaa3faa2dcc74a26a
|
7
|
+
data.tar.gz: 609b48e8ab4feda91dbd524e6addaeeccbede4f0beb2b171c28b1f595be9aefbaeb8de7692782c211c82cb2b159277bb5c90ca43c2d0d8b4f51463569ef4561c
|
data/NEWS.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
## HEAD
|
2
|
+
|
3
|
+
## 0.0.2
|
4
|
+
|
5
|
+
- Fix errors caused by missing generator dependency in list generator
|
6
|
+
- Navigation refill: Keep search and sign up visible on mobile screens
|
7
|
+
- Navigation refill: Add dropdown menu
|
8
|
+
- Navigation refill: Add indication on currently selected nav item
|
9
|
+
|
10
|
+
## 0.0.1
|
11
|
+
|
12
|
+
- Initial release
|
data/README.md
CHANGED
@@ -1,11 +1,50 @@
|
|
1
|
-
Refills
|
2
|
-
|
1
|
+
# Refills
|
2
|
+
|
3
|
+
## Prepackaged patterns and components, built on top of Bourbon, Bitters, and Neat
|
4
|
+
|
5
|
+
|
6
|
+
[Bourbon](http://bourbon.io/) provides Sass mixins and eliminates vendor prefixes, for faster CSS coding.
|
7
|
+
|
8
|
+
[Neat](http://neat.bourbon.io/) provides a lightweight grid framework.
|
9
|
+
|
10
|
+
[Bitters](http://bitters.bourbon.io/) provides basic variables and structure to a Bourbon/Neat project.
|
11
|
+
|
12
|
+
[Refills](http://thoughtbot.github.io/refills/) provides "copy-paste" components and patterns based on Bourbon, Neat and Bitters.
|
3
13
|
|
4
|
-
Copy-paste style components for any Bourbon/Neat/Bitters project.
|
5
14
|
|
6
15
|
See examples and get the code snippets [here](http://thoughtbot.github.io/refills/)
|
7
16
|
|
8
|
-
|
17
|
+
# Installing Dependencies
|
18
|
+
|
19
|
+
[Install Bourbon](http://bourbon.io/)
|
20
|
+
|
21
|
+
[Install Neat](http://neat.bourbon.io/)
|
22
|
+
|
23
|
+
[Install Bitters](http://bitters.bourbon.io/)
|
24
|
+
|
25
|
+
|
26
|
+
Make sure the following lines in "_bitters.scss" are uncommented:
|
27
|
+
|
28
|
+
```scss
|
29
|
+
@import "neat-helpers"; // or "neat/neat-helpers" when not in Rails
|
30
|
+
@import "grid-settings";
|
31
|
+
```
|
32
|
+
|
33
|
+
|
34
|
+
[Install jQuery](http://www.w3schools.com/jquery/jquery_install.asp) (if you are using any of the components/patterns that require Javascript. Javascript, when used, can be found at the bottom of the HTML file.)
|
35
|
+
|
36
|
+
Click "Show Code" under the component/pattern you want in [Refills](http://thoughtbot.github.io/refills/) and paste it into your project.
|
37
|
+
If a component/pattern has javascript it is placed in the HTML.erb file. Feel free to place it somewhere else in your project.
|
38
|
+
|
39
|
+
# Using Refills
|
40
|
+
|
41
|
+
* Click the "Show Code" link under the component/pattern you want to copy to your project and use the "copy" buttons to get the code to your clipboard.
|
42
|
+
* If a component uses Javascript, that code will be included at the bottom of the HTML file.
|
43
|
+
* Each component/pattern has a set of variables at the very top of its Scss file. These pull out the most important properties of the component/pattern to enable quick changes of color, size and general appearance.
|
44
|
+
|
45
|
+
|
46
|
+
#### Using Refills with a Rails project
|
47
|
+
Refills can be used by simply copy-pasting components/patterns from the site but if you prefer adding them via rake tasks, follow these steps:
|
9
48
|
|
10
49
|
Add gem to your Gemfile
|
11
50
|
|
@@ -20,7 +59,46 @@ Lists all the available snippets
|
|
20
59
|
Copies partials to `app/views/refills` and stylesheets to
|
21
60
|
`app/assets/stylesheets/refills`
|
22
61
|
|
62
|
+
# Submitting components or patterns
|
63
|
+
|
64
|
+
You are more than welcome to submit any component or pattern you can't find in the library, or feel free to send requests for content you'd like to see. When submitting a pull request, please think of these style guides:
|
65
|
+
|
66
|
+
#### HTML.erb
|
67
|
+
|
68
|
+
* Make sure that each component/pattern is independent of other components/patterns in the Refills library. There should be no dependencies between different components/patterns.
|
69
|
+
|
70
|
+
#### Scss
|
71
|
+
|
72
|
+
All components/pattern should be fully responsive and follow the [Neat examples](http://neat.bourbon.io/examples/).
|
73
|
+
|
74
|
+
Avoid more than 2 levels of nesting for clarity and legibility of code.
|
75
|
+
|
76
|
+
Try to use as little styling as possible. Use the styles that come with Bitters to keep everything consistent.
|
77
|
+
|
78
|
+
Put media queries inline, don't separate them since that will create a lot of repetitions of class names. If needed, for the sake of clarity, create a specific variable for a media query if a certain breakpoint changes the component/pattern drastically:
|
79
|
+
|
80
|
+
$tab-mode: $medium-screen;
|
81
|
+
|
82
|
+
@include media($tab-mode) { // $tab-mode is the same as $medium-screen here
|
83
|
+
border-radius: 0;
|
84
|
+
}
|
85
|
+
|
86
|
+
Create variables for any color or size that might appear in a refill, Especially if it appears more than once in the component/pattern.
|
87
|
+
|
88
|
+
Declare the variables inside of the component/pattern's class like below. Note that variables should be interdependent to enable quick restyling.
|
89
|
+
|
90
|
+
.card {
|
91
|
+
$card-border-color: $base-border-color;
|
92
|
+
$card-border: 1px solid $card-border-color;
|
93
|
+
$card-background: lighten($card-border-color, 10);
|
94
|
+
...
|
95
|
+
|
96
|
+
# Credits
|
97
|
+
|
98
|
+
![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
|
99
|
+
|
100
|
+
Refills is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community). Whenever a code snippet is borrowed or inspired by existing code, we try to credit the original developer/designer in our source code. Let us know if you think we have missed to do this.
|
23
101
|
|
24
|
-
|
102
|
+
# License
|
25
103
|
|
26
|
-
|
104
|
+
Refills is Copyright © 2014 thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
|
data/config.rb
CHANGED
@@ -57,19 +57,23 @@ set :js_dir, 'javascripts'
|
|
57
57
|
set :images_dir, 'images'
|
58
58
|
|
59
59
|
helpers do
|
60
|
-
def
|
61
|
-
partial '
|
60
|
+
def snippets(snippet_name)
|
61
|
+
partial 'snippets', locals: { snippet_name: snippet_name }
|
62
62
|
end
|
63
63
|
|
64
64
|
def html_snippet(partial_name)
|
65
|
-
|
65
|
+
snippet = partial(partial_name)
|
66
|
+
|
67
|
+
partial 'snippet', locals: { snippet: snippet, language: 'markup' }
|
66
68
|
end
|
67
69
|
|
68
|
-
def stylesheet_snippet(
|
70
|
+
def stylesheet_snippet(snippet_name)
|
69
71
|
source_dir = File.expand_path('../source', __FILE__)
|
70
|
-
snippet_filename = "_#{
|
72
|
+
snippet_filename = "_#{snippet_name}.scss"
|
71
73
|
snippet_path = File.join(source_dir, 'stylesheets', 'refills', snippet_filename)
|
72
|
-
|
74
|
+
snippet = File.read(snippet_path)
|
75
|
+
|
76
|
+
partial 'snippet', locals: { snippet: snippet, language: 'scss' }
|
73
77
|
end
|
74
78
|
end
|
75
79
|
|
data/lib/refills/version.rb
CHANGED
Binary file
|
data/refills.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["magnus@thoughtbot.com"]
|
11
11
|
spec.description = %q{Refills}
|
12
12
|
spec.summary = %q{Refills}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "http://thoughtbot.github.io/refills/"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
data/source/CNAME
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
refills.bourbon.io
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<ul class="accordion-tabs-minimal">
|
2
|
+
<li class="tab-header-and-content">
|
3
|
+
<a href="#" class="tab-link is-active">Tab Item</a>
|
4
|
+
<section>
|
5
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt pellentesque lorem, id suscipit dolor rutrum id. Morbi facilisis porta volutpat. Fusce adipiscing, mauris quis congue tincidunt, sapien purus suscipit odio, quis dictum odio tortor in sem. Ut sit amet libero nec orci mattis fringilla. Praesent eu ipsum in sapien tincidunt molestie sed ut magna. Nam accumsan dui at orci rhoncus pharetra tincidunt elit ullamcorper. Sed ac mauris ipsum. Nullam imperdiet sapien id purus pretium id aliquam mi ullamcorper.</p>
|
6
|
+
</section>
|
7
|
+
</li>
|
8
|
+
<li class="tab-header-and-content">
|
9
|
+
<a href="#" class="tab-link">Another Tab</a>
|
10
|
+
<section>
|
11
|
+
<p>Ut laoreet augue et neque pretium non sagittis nibh pulvinar. Etiam ornare tincidunt orci quis ultrices. Pellentesque ac sapien ac purus gravida ullamcorper. Duis rhoncus sodales lacus, vitae adipiscing tellus pharetra sed. Praesent bibendum lacus quis metus condimentum ac accumsan orci vulputate. Aenean fringilla massa vitae metus facilisis congue. Morbi placerat eros ac sapien semper pulvinar. Vestibulum facilisis, ligula a molestie venenatis, metus justo ullamcorper ipsum, congue aliquet dolor tortor eu neque. Sed imperdiet, nibh ut vestibulum tempor, nibh dui volutpat lacus, vel gravida magna justo sit amet quam. Quisque tincidunt ligula at nisl imperdiet sagittis. Morbi rutrum tempor arcu, non ultrices sem semper a. Aliquam quis sem mi.</p>
|
12
|
+
</section>
|
13
|
+
</li>
|
14
|
+
<li class="tab-header-and-content">
|
15
|
+
<a href="#" class="tab-link">Third</a>
|
16
|
+
<section>
|
17
|
+
<p>Donec mattis mauris gravida metus laoreet non rutrum sem viverra. Aenean nibh libero, viverra vel vestibulum in, porttitor ut sapien. Phasellus tempor lorem id justo ornare tincidunt. Nulla faucibus, purus eu placerat fermentum, velit mi iaculis nunc, bibendum tincidunt ipsum justo eu mauris. Nulla facilisi. Vestibulum vel lectus ac purus tempus suscipit nec sit amet eros. Nullam fringilla, enim eu lobortis dapibus, quam magna tincidunt nibh, sit amet imperdiet dolor justo congue turpis.</p>
|
18
|
+
</section>
|
19
|
+
</li>
|
20
|
+
<li class="tab-header-and-content">
|
21
|
+
<a href="#" class="tab-link">Last Item</a>
|
22
|
+
<section>
|
23
|
+
<p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna, mollis vel suscipit in, pharetra at ligula. Pellentesque a est vel est fermentum pellentesque sed sit amet dolor. Nunc in dapibus nibh. Aliquam erat volutpat. Phasellus vel dui sed nibh iaculis convallis id sit amet urna. Proin nec tellus quis justo consequat accumsan. Vivamus turpis enim, auctor eget placerat eget, aliquam ut sapien.</p
|
24
|
+
</section>
|
25
|
+
</li>
|
26
|
+
</ul>
|
27
|
+
|
28
|
+
<script>
|
29
|
+
$(document).ready(function () {
|
30
|
+
$('.accordion-tabs-minimal').each(function(index) {
|
31
|
+
$(this).children('li').first().children('a').addClass('is-active').next().addClass('is-open').show();
|
32
|
+
});
|
33
|
+
|
34
|
+
$('.accordion-tabs-minimal').on('click', 'li > a', function(event) {
|
35
|
+
if (!$(this).hasClass('is-active')) {
|
36
|
+
event.preventDefault();
|
37
|
+
var accordionTabs = $(this).closest('.accordion-tabs-minimal')
|
38
|
+
accordionTabs.find('.is-open').removeClass('is-open').hide();
|
39
|
+
|
40
|
+
$(this).next().toggleClass('is-open').toggle();
|
41
|
+
accordionTabs.find('.is-active').removeClass('is-active');
|
42
|
+
$(this).addClass('is-active');
|
43
|
+
} else {
|
44
|
+
event.preventDefault();
|
45
|
+
}
|
46
|
+
});
|
47
|
+
});
|
48
|
+
</script>
|
@@ -1,20 +1,24 @@
|
|
1
1
|
<ul class="accordion-tabs">
|
2
|
-
<li
|
2
|
+
<li class="tab-header-and-content">
|
3
|
+
<a href="#" class="is-active tab-link">Tab Item</a>
|
3
4
|
<section>
|
4
5
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt pellentesque lorem, id suscipit dolor rutrum id. Morbi facilisis porta volutpat. Fusce adipiscing, mauris quis congue tincidunt, sapien purus suscipit odio, quis dictum odio tortor in sem. Ut sit amet libero nec orci mattis fringilla. Praesent eu ipsum in sapien tincidunt molestie sed ut magna. Nam accumsan dui at orci rhoncus pharetra tincidunt elit ullamcorper. Sed ac mauris ipsum. Nullam imperdiet sapien id purus pretium id aliquam mi ullamcorper.</p>
|
5
6
|
</section>
|
6
7
|
</li>
|
7
|
-
<li
|
8
|
+
<li class="tab-header-and-content">
|
9
|
+
<a href="#" class="tab-link">Another Tab</a>
|
8
10
|
<section>
|
9
11
|
<p>Ut laoreet augue et neque pretium non sagittis nibh pulvinar. Etiam ornare tincidunt orci quis ultrices. Pellentesque ac sapien ac purus gravida ullamcorper. Duis rhoncus sodales lacus, vitae adipiscing tellus pharetra sed. Praesent bibendum lacus quis metus condimentum ac accumsan orci vulputate. Aenean fringilla massa vitae metus facilisis congue. Morbi placerat eros ac sapien semper pulvinar. Vestibulum facilisis, ligula a molestie venenatis, metus justo ullamcorper ipsum, congue aliquet dolor tortor eu neque. Sed imperdiet, nibh ut vestibulum tempor, nibh dui volutpat lacus, vel gravida magna justo sit amet quam. Quisque tincidunt ligula at nisl imperdiet sagittis. Morbi rutrum tempor arcu, non ultrices sem semper a. Aliquam quis sem mi.</p>
|
10
12
|
</section>
|
11
13
|
</li>
|
12
|
-
<li
|
14
|
+
<li class="tab-header-and-content">
|
15
|
+
<a href="#" class="tab-link">Third</a>
|
13
16
|
<section>
|
14
17
|
<p>Donec mattis mauris gravida metus laoreet non rutrum sem viverra. Aenean nibh libero, viverra vel vestibulum in, porttitor ut sapien. Phasellus tempor lorem id justo ornare tincidunt. Nulla faucibus, purus eu placerat fermentum, velit mi iaculis nunc, bibendum tincidunt ipsum justo eu mauris. Nulla facilisi. Vestibulum vel lectus ac purus tempus suscipit nec sit amet eros. Nullam fringilla, enim eu lobortis dapibus, quam magna tincidunt nibh, sit amet imperdiet dolor justo congue turpis.</p>
|
15
18
|
</section>
|
16
19
|
</li>
|
17
|
-
<li
|
20
|
+
<li class="tab-header-and-content">
|
21
|
+
<a href="#" class="tab-link">Last Item</a>
|
18
22
|
<section>
|
19
23
|
<p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna, mollis vel suscipit in, pharetra at ligula. Pellentesque a est vel est fermentum pellentesque sed sit amet dolor. Nunc in dapibus nibh. Aliquam erat volutpat. Phasellus vel dui sed nibh iaculis convallis id sit amet urna. Proin nec tellus quis justo consequat accumsan. Vivamus turpis enim, auctor eget placerat eget, aliquam ut sapien.</p
|
20
24
|
</section>
|
@@ -22,27 +26,23 @@
|
|
22
26
|
</ul>
|
23
27
|
|
24
28
|
<script>
|
25
|
-
$(document).ready(function () {
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
else {
|
44
|
-
event.preventDefault()
|
45
|
-
}
|
29
|
+
$(document).ready(function () {
|
30
|
+
$('.accordion-tabs').each(function(index) {
|
31
|
+
$(this).children('li').first().children('a').addClass('is-active').next().addClass('is-open').show();
|
32
|
+
});
|
33
|
+
|
34
|
+
$('.accordion-tabs').on('click', 'li > a', function(event) {
|
35
|
+
if (!$(this).hasClass('is-active')) {
|
36
|
+
event.preventDefault();
|
37
|
+
var accordionTabs = $(this).closest('.accordion-tabs')
|
38
|
+
accordionTabs.find('.is-open').removeClass('is-open').hide();
|
39
|
+
|
40
|
+
$(this).next().toggleClass('is-open').toggle();
|
41
|
+
accordionTabs.find('.is-active').removeClass('is-active');
|
42
|
+
$(this).addClass('is-active');
|
43
|
+
} else {
|
44
|
+
event.preventDefault();
|
45
|
+
}
|
46
|
+
});
|
46
47
|
});
|
47
|
-
});
|
48
48
|
</script>
|
data/source/_accordion.html.erb
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
<ul class="accordion
|
1
|
+
<ul class="accordion">
|
2
2
|
<li>
|
3
|
-
<a href="
|
3
|
+
<a href="javascript:void(0)" class="js-accordion-trigger">Accordion Item</a>
|
4
4
|
<ul class="submenu">
|
5
5
|
<li>
|
6
|
-
<a href="">Sub Item 1</a>
|
6
|
+
<a href="javascript:void(0)">Sub Item 1</a>
|
7
7
|
</li>
|
8
8
|
<li>
|
9
|
-
<a href="">Sub Item 2</a>
|
9
|
+
<a href="javascript:void(0)">Sub Item 2</a>
|
10
10
|
</li>
|
11
11
|
</ul>
|
12
12
|
</li>
|
13
13
|
<li>
|
14
|
-
<a href="
|
14
|
+
<a href="javascript:void(0)" class="js-accordion-trigger">Another Item</a>
|
15
15
|
<ul class="submenu">
|
16
16
|
<li>
|
17
|
-
<a href="">Sub Item 1</a>
|
17
|
+
<a href="javascript:void(0)">Sub Item 1</a>
|
18
18
|
</li>
|
19
19
|
<li>
|
20
|
-
<a href="">Sub Item 2</a>
|
20
|
+
<a href="javascript:void(0)">Sub Item 2</a>
|
21
21
|
</li>
|
22
22
|
</ul>
|
23
23
|
</li>
|
@@ -25,8 +25,8 @@
|
|
25
25
|
|
26
26
|
<script>
|
27
27
|
jQuery('.js-accordion-trigger') // find the trigger
|
28
|
-
.bind('click
|
29
|
-
jQuery(this).parent().find('
|
28
|
+
.bind('click', function(){
|
29
|
+
jQuery(this).parent().find('.submenu').slideToggle('fast'); // apply the toggle to the ul
|
30
30
|
jQuery(this).parent().toggleClass('is-expanded');
|
31
31
|
event.preventDefault();
|
32
32
|
});
|
data/source/_badges.html.erb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
<
|
2
|
-
<span class="badge
|
3
|
-
<span class="badge
|
4
|
-
<span class="badge
|
5
|
-
<span class="badge
|
1
|
+
<div class="badges">
|
2
|
+
<span class="badge">4</span>
|
3
|
+
<span class="badge dark">4</span>
|
4
|
+
<span class="badge error">4</span>
|
5
|
+
<span class="badge notice">4</span>
|
6
|
+
<span class="badge success">4</span>
|
7
|
+
</div>
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<div class="breadcrumb">
|
2
|
-
<a href="
|
3
|
-
<a href="
|
4
|
-
<a href="
|
5
|
-
<a href="
|
6
|
-
<a href="
|
7
|
-
|
8
|
-
</div>
|
2
|
+
<a href="javascript:void(0)">One</a>
|
3
|
+
<a href="javascript:void(0)">Two</a>
|
4
|
+
<a href="javascript:void(0)">Three</a>
|
5
|
+
<a href="javascript:void(0)">Four</a>
|
6
|
+
<a href="javascript:void(0)">Five</a>
|
7
|
+
</div>
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<div class="button-group">
|
2
2
|
<button class="active">Item</button>
|
3
|
-
<button>Item</button>
|
4
|
-
<button>Item</button>
|
5
|
-
<button>Item</button>
|
6
|
-
<button>Item</button>
|
3
|
+
<button>Button Group Item</button>
|
4
|
+
<button>Another Item</button>
|
5
|
+
<button>Last Item</button>
|
7
6
|
</div>
|
data/source/_cards.html.erb
CHANGED
@@ -1,26 +1,59 @@
|
|
1
1
|
<div class="cards">
|
2
2
|
<div class="card">
|
3
|
+
<div class="card-image">
|
4
|
+
<img src="https://raw.github.com/Magnus-G/Random/master/mountains.png" alt="">
|
5
|
+
</div>
|
3
6
|
<div class="card-header">
|
4
|
-
|
7
|
+
First Card
|
8
|
+
</div>
|
9
|
+
<div class="card-copy">
|
10
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, officiis sunt neque facilis culpa molestiae necessitatibus delectus veniam provident.</p>
|
5
11
|
</div>
|
6
|
-
<div class="card-
|
7
|
-
<
|
12
|
+
<div class="card-stats">
|
13
|
+
<ul>
|
14
|
+
<li>98<span>Items</span></li>
|
15
|
+
<li>298<span>Things</span></li>
|
16
|
+
<li>923<span>Objects</span></li>
|
17
|
+
</ul>
|
8
18
|
</div>
|
9
19
|
</div>
|
20
|
+
|
10
21
|
<div class="card">
|
22
|
+
<div class="ribbon-wrapper"><div class="ribbon">RIBBON</div></div>
|
23
|
+
<div class="card-image">
|
24
|
+
<img src="https://raw.github.com/Magnus-G/Random/master/mountains-4.png" alt="">
|
25
|
+
</div>
|
11
26
|
<div class="card-header">
|
12
|
-
|
27
|
+
Another Card
|
13
28
|
</div>
|
14
|
-
<div class="card-
|
15
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, officiis sunt neque facilis culpa molestiae necessitatibus delectus veniam provident
|
29
|
+
<div class="card-copy">
|
30
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, officiis sunt neque facilis culpa molestiae necessitatibus delectus veniam provident.</p>
|
31
|
+
</div>
|
32
|
+
<div class="card-stats">
|
33
|
+
<ul>
|
34
|
+
<li>98<span>Items</span></li>
|
35
|
+
<li>298<span>Things</span></li>
|
36
|
+
<li>923<span>Objects</span></li>
|
37
|
+
</ul>
|
16
38
|
</div>
|
17
39
|
</div>
|
40
|
+
|
18
41
|
<div class="card">
|
42
|
+
<div class="card-image">
|
43
|
+
<img src="https://raw.github.com/Magnus-G/Random/master/mountains-3.png" alt="">
|
44
|
+
</div>
|
19
45
|
<div class="card-header">
|
20
|
-
|
46
|
+
The Last Card
|
47
|
+
</div>
|
48
|
+
<div class="card-copy">
|
49
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, officiis sunt neque facilis culpa molestiae necessitatibus delectus veniam provident.</p>
|
21
50
|
</div>
|
22
|
-
<div class="card-
|
23
|
-
<
|
51
|
+
<div class="card-stats">
|
52
|
+
<ul>
|
53
|
+
<li>98<span>Items</span></li>
|
54
|
+
<li>298<span>Things</span></li>
|
55
|
+
<li>923<span>Objects</span></li>
|
56
|
+
</ul>
|
24
57
|
</div>
|
25
58
|
</div>
|
26
59
|
</div>
|