refills 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.gitignore +17 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +103 -0
- data/LICENSE.txt +22 -0
- data/README.md +26 -0
- data/Rakefile +2 -0
- data/config.rb +101 -0
- data/lib/refills.rb +2 -0
- data/lib/refills/import_generator.rb +15 -0
- data/lib/refills/list_generator.rb +20 -0
- data/lib/refills/version.rb +3 -0
- data/refills.gemspec +23 -0
- data/source/_accordion-tabs.html.erb +48 -0
- data/source/_accordion.html.erb +33 -0
- data/source/_badges.html.erb +5 -0
- data/source/_breadcrumbs.html.erb +8 -0
- data/source/_button-group.html.erb +7 -0
- data/source/_cards.html.erb +26 -0
- data/source/_dashboard.html.erb +18 -0
- data/source/_dropdown-menu.html.erb +45 -0
- data/source/_footer.html.erb +29 -0
- data/source/_hero.html.erb +11 -0
- data/source/_html_snippet.html.erb +5 -0
- data/source/_image-cards.html.erb +28 -0
- data/source/_info-section.html.erb +25 -0
- data/source/_item-list.html.erb +25 -0
- data/source/_master-detail.html.erb +35 -0
- data/source/_modal.html.erb +34 -0
- data/source/_navigation.html.erb +36 -0
- data/source/_overlap.html.erb +9 -0
- data/source/_progress-bar.html.erb +3 -0
- data/source/_search-bar.html.erb +8 -0
- data/source/_sidebar-layout.html.erb +28 -0
- data/source/_sliding-menu.html.erb +20 -0
- data/source/_snippet.html.erb +5 -0
- data/source/_stylesheet_snippet.html.erb +7 -0
- data/source/_switch-toggle.html.erb +15 -0
- data/source/_tables.html.erb +31 -0
- data/source/_toggle-cards.html.erb +64 -0
- data/source/_tooltip.html.erb +4 -0
- data/source/_vertical-tabs.html.erb +66 -0
- data/source/favicon.ico +0 -0
- data/source/favicon.png +0 -0
- data/source/images/background.png +0 -0
- data/source/images/middleman.png +0 -0
- data/source/index.html.erb +202 -0
- data/source/javascripts/all.js +2 -0
- data/source/layouts/layout.erb +19 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_deprecated-webkit-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_gradient-positions-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_linear-positions-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_radial-arg-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_radial-positions-parser.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_render-gradients.scssc +0 -0
- data/source/stylesheets/.sass-cache/0d88bab3f6439409671efc65a29de3058595a20c/_shape-size-stripper.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_fill-parent.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_media.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_omega.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_outer-container.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_pad.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_private.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_reset.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_row.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_shift.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_span-columns.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_to-deprecate.scssc +0 -0
- data/source/stylesheets/.sass-cache/2356a63beb71504ccf2fa539939afe219243ac3f/_visual-grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/3c5af5c36664454ea95f8284b8f46c4539020663/_neat-helpers.scssc +0 -0
- data/source/stylesheets/.sass-cache/3c5af5c36664454ea95f8284b8f46c4539020663/_neat.scssc +0 -0
- data/source/stylesheets/.sass-cache/5d5301b1b4de0f4b931a707c7390ccdbbf02bc5c/_bourbon-deprecated-upcoming.scssc +0 -0
- data/source/stylesheets/.sass-cache/5d5301b1b4de0f4b931a707c7390ccdbbf02bc5c/_bourbon.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_bitters.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_flashes.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_forms.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_grid-settings.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_lists.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_tables.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_typography.scssc +0 -0
- data/source/stylesheets/.sass-cache/6e4f3bf0a0a6393f142470646a965aa11120b82c/_variables.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_accordion-tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_breadcrumbs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_button-group.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_buttons.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_cards.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_dashboard.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_dropdown-menu.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_footer.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_header-nav.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_hero.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_image-cards.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_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/_table-borders.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_table.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tables.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_toggle-cards.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tooltip.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_vertical-tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/vertical-tabs.scssc +0 -0
- data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_new-breakpoint.scssc +0 -0
- data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_private.scssc +0 -0
- data/source/stylesheets/.sass-cache/949f49000f6a509c8c1d8b10cc864f41440f4640/_px-to-em.scssc +0 -0
- data/source/stylesheets/.sass-cache/9c3cd587ffeef0d147804cf4a2177df69c325021/_grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/9c3cd587ffeef0d147804cf4a2177df69c325021/_visual-grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/c6006dae2021685cda21dbc1d56c98b49b399e89/_button.scssc +820 -0
- 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/_normalize.scssc +0 -0
- data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/_refills-styles.scssc +0 -0
- data/source/stylesheets/.sass-cache/d215ab98db0764a70113a4b69eb12099c4a4b951/all.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_animation.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_appearance.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_backface-visibility.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_background-image.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_background.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_border-image.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_border-radius.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_box-sizing.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_columns.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_flex-box.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_font-face.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_hidpi-media-query.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_image-rendering.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_inline-block.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_keyframes.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_linear-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_perspective.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_placeholder.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_radial-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_transform.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_transition.scssc +0 -0
- data/source/stylesheets/.sass-cache/d834f47169fec4be6d5fa92ad35541754895d07f/_user-select.scssc +0 -0
- data/source/stylesheets/.sass-cache/e04a546d656fd6d36e1f48c3953beece343e5456/_base.scssc +0 -0
- data/source/stylesheets/.sass-cache/e04a546d656fd6d36e1f48c3953beece343e5456/_button.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_compact.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_flex-grid.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_grid-width.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_linear-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_modular-scale.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_px-to-em.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_radial-gradient.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_tint-shade.scssc +0 -0
- data/source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_transition-property-name.scssc +0 -0
- data/source/stylesheets/_normalize.scss +402 -0
- data/source/stylesheets/_refills-styles.scss +269 -0
- data/source/stylesheets/all.scss +36 -0
- data/source/stylesheets/bitters/_bitters.scss +7 -0
- data/source/stylesheets/bitters/_flashes.scss +50 -0
- data/source/stylesheets/bitters/_forms.scss +87 -0
- data/source/stylesheets/bitters/_grid-settings.scss +14 -0
- data/source/stylesheets/bitters/_lists.scss +31 -0
- data/source/stylesheets/bitters/_tables.scss +22 -0
- data/source/stylesheets/bitters/_typography.scss +103 -0
- data/source/stylesheets/bitters/_variables.scss +47 -0
- data/source/stylesheets/bitters/extends/_base.scss +1 -0
- data/source/stylesheets/bitters/extends/_button.scss +5 -0
- data/source/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +13 -0
- data/source/stylesheets/bourbon/_bourbon.scss +59 -0
- data/source/stylesheets/bourbon/addons/_button.scss +343 -0
- data/source/stylesheets/bourbon/addons/_clearfix.scss +29 -0
- data/source/stylesheets/bourbon/addons/_font-family.scss +5 -0
- data/source/stylesheets/bourbon/addons/_hide-text.scss +5 -0
- data/source/stylesheets/bourbon/addons/_html5-input-types.scss +56 -0
- data/source/stylesheets/bourbon/addons/_position.scss +42 -0
- data/source/stylesheets/bourbon/addons/_prefixer.scss +49 -0
- data/source/stylesheets/bourbon/addons/_retina-image.scss +32 -0
- data/source/stylesheets/bourbon/addons/_size.scss +44 -0
- data/source/stylesheets/bourbon/addons/_timing-functions.scss +32 -0
- data/source/stylesheets/bourbon/addons/_triangle.scss +45 -0
- data/source/stylesheets/bourbon/css3/_animation.scss +52 -0
- data/source/stylesheets/bourbon/css3/_appearance.scss +3 -0
- data/source/stylesheets/bourbon/css3/_backface-visibility.scss +6 -0
- data/source/stylesheets/bourbon/css3/_background-image.scss +48 -0
- data/source/stylesheets/bourbon/css3/_background.scss +103 -0
- data/source/stylesheets/bourbon/css3/_border-image.scss +55 -0
- data/source/stylesheets/bourbon/css3/_border-radius.scss +22 -0
- data/source/stylesheets/bourbon/css3/_box-sizing.scss +4 -0
- data/source/stylesheets/bourbon/css3/_columns.scss +47 -0
- data/source/stylesheets/bourbon/css3/_flex-box.scss +52 -0
- data/source/stylesheets/bourbon/css3/_font-face.scss +23 -0
- data/source/stylesheets/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/source/stylesheets/bourbon/css3/_image-rendering.scss +13 -0
- data/source/stylesheets/bourbon/css3/_inline-block.scss +8 -0
- data/source/stylesheets/bourbon/css3/_keyframes.scss +43 -0
- data/source/stylesheets/bourbon/css3/_linear-gradient.scss +41 -0
- data/source/stylesheets/bourbon/css3/_perspective.scss +8 -0
- data/source/stylesheets/bourbon/css3/_placeholder.scss +29 -0
- data/source/stylesheets/bourbon/css3/_radial-gradient.scss +44 -0
- data/source/stylesheets/bourbon/css3/_transform.scss +15 -0
- data/source/stylesheets/bourbon/css3/_transition.scss +34 -0
- data/source/stylesheets/bourbon/css3/_user-select.scss +3 -0
- data/source/stylesheets/bourbon/functions/_compact.scss +11 -0
- data/source/stylesheets/bourbon/functions/_flex-grid.scss +39 -0
- data/source/stylesheets/bourbon/functions/_grid-width.scss +13 -0
- data/source/stylesheets/bourbon/functions/_linear-gradient.scss +13 -0
- data/source/stylesheets/bourbon/functions/_modular-scale.scss +40 -0
- data/source/stylesheets/bourbon/functions/_px-to-em.scss +8 -0
- data/source/stylesheets/bourbon/functions/_radial-gradient.scss +23 -0
- data/source/stylesheets/bourbon/functions/_tint-shade.scss +9 -0
- data/source/stylesheets/bourbon/functions/_transition-property-name.scss +22 -0
- data/source/stylesheets/bourbon/helpers/_deprecated-webkit-gradient.scss +39 -0
- data/source/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/source/stylesheets/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/source/stylesheets/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/source/stylesheets/bourbon/helpers/_render-gradients.scss +26 -0
- data/source/stylesheets/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/source/stylesheets/neat/_neat-helpers.scss +7 -0
- data/source/stylesheets/neat/_neat.scss +21 -0
- data/source/stylesheets/neat/functions/_new-breakpoint.scss +16 -0
- data/source/stylesheets/neat/functions/_private.scss +125 -0
- data/source/stylesheets/neat/grid/_fill-parent.scss +7 -0
- data/source/stylesheets/neat/grid/_grid.scss +5 -0
- data/source/stylesheets/neat/grid/_media.scss +51 -0
- data/source/stylesheets/neat/grid/_omega.scss +79 -0
- data/source/stylesheets/neat/grid/_outer-container.scss +8 -0
- data/source/stylesheets/neat/grid/_pad.scss +8 -0
- data/source/stylesheets/neat/grid/_private.scss +50 -0
- data/source/stylesheets/neat/grid/_reset.scss +12 -0
- data/source/stylesheets/neat/grid/_row.scss +17 -0
- data/source/stylesheets/neat/grid/_shift.scss +16 -0
- data/source/stylesheets/neat/grid/_span-columns.scss +45 -0
- data/source/stylesheets/neat/grid/_to-deprecate.scss +57 -0
- data/source/stylesheets/neat/grid/_visual-grid.scss +41 -0
- data/source/stylesheets/neat/settings/_grid.scss +7 -0
- data/source/stylesheets/neat/settings/_visual-grid.scss +5 -0
- data/source/stylesheets/normalize.css +375 -0
- data/source/stylesheets/refills/_accordion-tabs.scss +101 -0
- data/source/stylesheets/refills/_accordion.scss +51 -0
- data/source/stylesheets/refills/_badges.scss +37 -0
- data/source/stylesheets/refills/_breadcrumbs.scss +77 -0
- data/source/stylesheets/refills/_button-group.scss +33 -0
- data/source/stylesheets/refills/_cards.scss +64 -0
- data/source/stylesheets/refills/_dashboard.scss +33 -0
- data/source/stylesheets/refills/_dropdown-menu.scss +65 -0
- data/source/stylesheets/refills/_footer.scss +55 -0
- data/source/stylesheets/refills/_hero.scss +35 -0
- data/source/stylesheets/refills/_image-cards.scss +102 -0
- data/source/stylesheets/refills/_info-section.scss +49 -0
- data/source/stylesheets/refills/_item-list.scss +37 -0
- data/source/stylesheets/refills/_master-detail.scss +54 -0
- data/source/stylesheets/refills/_modal.scss +160 -0
- data/source/stylesheets/refills/_navigation.scss +168 -0
- data/source/stylesheets/refills/_overlap.scss +42 -0
- data/source/stylesheets/refills/_progress-bar.scss +83 -0
- data/source/stylesheets/refills/_search-bar.scss +43 -0
- data/source/stylesheets/refills/_sidebar-layout.scss +56 -0
- data/source/stylesheets/refills/_sliding-menu.scss +58 -0
- data/source/stylesheets/refills/_switch-toggle.scss +73 -0
- data/source/stylesheets/refills/_tables.scss +80 -0
- data/source/stylesheets/refills/_toggle-cards.scss +104 -0
- data/source/stylesheets/refills/_tooltip.scss +81 -0
- data/source/stylesheets/refills/_vertical-tabs.scss +113 -0
- data/source/vendor/javascripts/prism.js +13 -0
- data/source/vendor/stylesheets/prism.css +126 -0
- metadata +349 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import "neat/neat-helpers"; // or "neat/neat-helpers" when not in Rails
|
|
2
|
+
|
|
3
|
+
// Neat Overrides
|
|
4
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
5
|
+
// $column: 90px;
|
|
6
|
+
// $gutter: 30px;
|
|
7
|
+
// $grid-columns: 12;
|
|
8
|
+
// $max-width: em(1088);
|
|
9
|
+
|
|
10
|
+
// Neat Breakpoints
|
|
11
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
12
|
+
$small-screen: new-breakpoint(min-width em(540));
|
|
13
|
+
$medium-screen: new-breakpoint(min-width em(760));
|
|
14
|
+
$large-screen: new-breakpoint(min-width em(920));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
ul, ol {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
list-style-type: none;
|
|
5
|
+
|
|
6
|
+
&%default-ul {
|
|
7
|
+
list-style-type: disc;
|
|
8
|
+
margin-bottom: $base-line-height / 2;
|
|
9
|
+
padding-left: $base-line-height;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&%default-ol {
|
|
13
|
+
list-style-type: decimal;
|
|
14
|
+
margin-bottom: $base-line-height / 2;
|
|
15
|
+
padding-left: $base-line-height;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
dl {
|
|
20
|
+
line-height: $base-line-height;
|
|
21
|
+
margin-bottom: $base-line-height / 2;
|
|
22
|
+
|
|
23
|
+
dt {
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
margin-top: $base-line-height / 2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
dd {
|
|
29
|
+
margin: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$subtle-gray: lighten($light-gray, 10);
|
|
2
|
+
|
|
3
|
+
table {
|
|
4
|
+
margin: ($base-line-height / 2) 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
th {
|
|
9
|
+
border-bottom: 1px solid darken($base-border-color, 15%);
|
|
10
|
+
font-weight: bold;
|
|
11
|
+
padding: ($base-line-height / 2) 0;
|
|
12
|
+
text-align: left;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
td {
|
|
16
|
+
border-bottom: 1px solid $base-border-color;
|
|
17
|
+
padding: ($base-line-height / 2) 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
tr, td, th {
|
|
21
|
+
vertical-align: middle;
|
|
22
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
body {
|
|
2
|
+
color: $base-font-color;
|
|
3
|
+
font-family: $base-font-family;
|
|
4
|
+
font-size: $base-font-size;
|
|
5
|
+
-webkit-font-smoothing: antialiased;
|
|
6
|
+
line-height: $base-line-height;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
h1, h2, h3, h4, h5, h6 {
|
|
10
|
+
text-rendering: optimizeLegibility; // Fix the character spacing for headings
|
|
11
|
+
margin: 0;
|
|
12
|
+
line-height: 1.25em;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
h1 {
|
|
16
|
+
font-size: $base-font-size * 2.25; // 16 * 2.25 = 36px
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
h2 {
|
|
20
|
+
font-size: $base-font-size * 2; // 16 * 2 = 32px
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
h3 {
|
|
24
|
+
font-size: $base-font-size * 1.75; // 16 * 1.75 = 28px
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h4 {
|
|
28
|
+
font-size: $base-font-size * 1.5; // 16 * 1.5 = 24px
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
h5 {
|
|
32
|
+
font-size: $base-font-size * 1.25; // 16 * 1.25 = 20px
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
h6 {
|
|
36
|
+
font-size: $base-font-size;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
p {
|
|
40
|
+
margin: 0 0 ($base-line-height * .5);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
a {
|
|
44
|
+
color: $base-link-color;
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
@include transition(color 0.1s linear);
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
color: $hover-link-color;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:active, &:focus {
|
|
53
|
+
color: $hover-link-color;
|
|
54
|
+
outline: none;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
hr {
|
|
59
|
+
border-bottom: 1px solid $base-border-color;
|
|
60
|
+
border-left: none;
|
|
61
|
+
border-right: none;
|
|
62
|
+
border-top: none;
|
|
63
|
+
margin: $base-line-height 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
img {
|
|
67
|
+
margin: 0;
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
abbr, acronym {
|
|
72
|
+
border-bottom: 1px dotted $base-border-color;
|
|
73
|
+
cursor: help;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
address {
|
|
77
|
+
display: block;
|
|
78
|
+
margin: 0 0 ($base-line-height / 2);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
hgroup {
|
|
82
|
+
margin-bottom: $base-line-height / 2;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
del {
|
|
86
|
+
color: lighten($base-font-color, 15);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
blockquote {
|
|
90
|
+
border-left: 2px solid $base-border-color;
|
|
91
|
+
color: lighten($base-font-color, 15);
|
|
92
|
+
margin: $base-line-height 0;
|
|
93
|
+
padding-left: $base-line-height / 2;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
cite {
|
|
97
|
+
color: lighten($base-font-color, 25);
|
|
98
|
+
font-style: italic;
|
|
99
|
+
|
|
100
|
+
&:before {
|
|
101
|
+
content: '\2014 \00A0';
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Typography
|
|
2
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
3
|
+
$sans-serif: $helvetica;
|
|
4
|
+
$serif: $georgia;
|
|
5
|
+
|
|
6
|
+
$base-font-family: $sans-serif;
|
|
7
|
+
$header-font-family: $base-font-family;
|
|
8
|
+
|
|
9
|
+
// Sizes
|
|
10
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
11
|
+
$base-font-size: 1em;
|
|
12
|
+
$base-line-height: $base-font-size * 1.5;
|
|
13
|
+
$base-border-radius: em(3);
|
|
14
|
+
|
|
15
|
+
// Colors
|
|
16
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
17
|
+
|
|
18
|
+
$blue: #477DCA;
|
|
19
|
+
$dark-gray: #333;
|
|
20
|
+
$medium-gray: #999;
|
|
21
|
+
$light-gray: #DDD;
|
|
22
|
+
$light-red: #FBE3E4;
|
|
23
|
+
$light-yellow: #FFF6BF;
|
|
24
|
+
$light-green: #E6EFC2;
|
|
25
|
+
|
|
26
|
+
// Font Colors
|
|
27
|
+
$base-font-color: $dark-gray;
|
|
28
|
+
$base-accent-color: $blue;
|
|
29
|
+
|
|
30
|
+
// Text Link Colors
|
|
31
|
+
$base-link-color: $base-accent-color;
|
|
32
|
+
$hover-link-color: darken($base-accent-color, 15);
|
|
33
|
+
|
|
34
|
+
// Border color
|
|
35
|
+
$base-border-color: $light-gray;
|
|
36
|
+
|
|
37
|
+
// Flash Colors
|
|
38
|
+
$error-color: $light-red;
|
|
39
|
+
$notice-color: $light-yellow;
|
|
40
|
+
$success-color: $light-green;
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
// for bitters:
|
|
47
|
+
// $base-body-inset-color: darken($base-body-color, 5);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "button";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//************************************************************************//
|
|
2
|
+
// These mixins/functions are deprecated
|
|
3
|
+
// They will be removed in the next MAJOR version release
|
|
4
|
+
//************************************************************************//
|
|
5
|
+
@mixin box-shadow ($shadows...) {
|
|
6
|
+
@include prefixer(box-shadow, $shadows, spec);
|
|
7
|
+
@warn "box-shadow is deprecated and will be removed in the next major version release";
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin background-size ($lengths...) {
|
|
11
|
+
@include prefixer(background-size, $lengths, spec);
|
|
12
|
+
@warn "background-size is deprecated and will be removed in the next major version release";
|
|
13
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Custom Helpers
|
|
2
|
+
@import "helpers/deprecated-webkit-gradient";
|
|
3
|
+
@import "helpers/gradient-positions-parser";
|
|
4
|
+
@import "helpers/linear-positions-parser";
|
|
5
|
+
@import "helpers/radial-arg-parser";
|
|
6
|
+
@import "helpers/radial-positions-parser";
|
|
7
|
+
@import "helpers/render-gradients";
|
|
8
|
+
@import "helpers/shape-size-stripper";
|
|
9
|
+
|
|
10
|
+
// Custom Functions
|
|
11
|
+
@import "functions/compact";
|
|
12
|
+
@import "functions/flex-grid";
|
|
13
|
+
@import "functions/grid-width";
|
|
14
|
+
@import "functions/linear-gradient";
|
|
15
|
+
@import "functions/modular-scale";
|
|
16
|
+
@import "functions/px-to-em";
|
|
17
|
+
@import "functions/radial-gradient";
|
|
18
|
+
@import "functions/tint-shade";
|
|
19
|
+
@import "functions/transition-property-name";
|
|
20
|
+
|
|
21
|
+
// CSS3 Mixins
|
|
22
|
+
@import "css3/animation";
|
|
23
|
+
@import "css3/appearance";
|
|
24
|
+
@import "css3/backface-visibility";
|
|
25
|
+
@import "css3/background";
|
|
26
|
+
@import "css3/background-image";
|
|
27
|
+
@import "css3/border-image";
|
|
28
|
+
@import "css3/border-radius";
|
|
29
|
+
@import "css3/box-sizing";
|
|
30
|
+
@import "css3/columns";
|
|
31
|
+
@import "css3/flex-box";
|
|
32
|
+
@import "css3/font-face";
|
|
33
|
+
@import "css3/hidpi-media-query";
|
|
34
|
+
@import "css3/image-rendering";
|
|
35
|
+
@import "css3/inline-block";
|
|
36
|
+
@import "css3/keyframes";
|
|
37
|
+
@import "css3/linear-gradient";
|
|
38
|
+
@import "css3/perspective";
|
|
39
|
+
@import "css3/radial-gradient";
|
|
40
|
+
@import "css3/transform";
|
|
41
|
+
@import "css3/transition";
|
|
42
|
+
@import "css3/user-select";
|
|
43
|
+
@import "css3/placeholder";
|
|
44
|
+
|
|
45
|
+
// Addons & other mixins
|
|
46
|
+
@import "addons/button";
|
|
47
|
+
@import "addons/clearfix";
|
|
48
|
+
@import "addons/font-family";
|
|
49
|
+
@import "addons/hide-text";
|
|
50
|
+
@import "addons/html5-input-types";
|
|
51
|
+
@import "addons/position";
|
|
52
|
+
@import "addons/prefixer";
|
|
53
|
+
@import "addons/retina-image";
|
|
54
|
+
@import "addons/size";
|
|
55
|
+
@import "addons/timing-functions";
|
|
56
|
+
@import "addons/triangle";
|
|
57
|
+
|
|
58
|
+
// Soon to be deprecated Mixins
|
|
59
|
+
@import "bourbon-deprecated-upcoming";
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
@mixin button ($style: simple, $base-color: #4294f0) {
|
|
2
|
+
|
|
3
|
+
@if type-of($style) == color {
|
|
4
|
+
$base-color: $style;
|
|
5
|
+
$style: simple;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Grayscale button
|
|
9
|
+
@if $base-color == grayscale($base-color) {
|
|
10
|
+
@if $style == simple {
|
|
11
|
+
@include simple($base-color, $grayscale: true);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@else if $style == shiny {
|
|
15
|
+
@include shiny($base-color, $grayscale: true);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@else if $style == pill {
|
|
19
|
+
@include pill($base-color, $grayscale: true);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@else if $style == simple {
|
|
23
|
+
@include simple($base-color, $grayscale: true);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Colored button
|
|
28
|
+
@else {
|
|
29
|
+
@if $style == simple {
|
|
30
|
+
@include simple($base-color);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@else if $style == shiny {
|
|
34
|
+
@include shiny($base-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@else if $style == pill {
|
|
38
|
+
@include pill($base-color);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@else if $style == simple {
|
|
42
|
+
@include simple($base-color);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:disabled {
|
|
47
|
+
opacity: 0.5;
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
// Simple Button
|
|
54
|
+
//************************************************************************//
|
|
55
|
+
@mixin simple($base-color, $grayscale: false) {
|
|
56
|
+
$color: hsl(0, 0, 100%);
|
|
57
|
+
$border: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
|
58
|
+
$inset-shadow: adjust-color($base-color, $saturation: -8%, $lightness: 15%);
|
|
59
|
+
$stop-gradient: adjust-color($base-color, $saturation: 9%, $lightness: -11%);
|
|
60
|
+
$text-shadow: adjust-color($base-color, $saturation: 15%, $lightness: -18%);
|
|
61
|
+
|
|
62
|
+
@if lightness($base-color) > 70% {
|
|
63
|
+
$color: hsl(0, 0, 20%);
|
|
64
|
+
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@if $grayscale == true {
|
|
68
|
+
$border: grayscale($border);
|
|
69
|
+
$inset-shadow: grayscale($inset-shadow);
|
|
70
|
+
$stop-gradient: grayscale($stop-gradient);
|
|
71
|
+
$text-shadow: grayscale($text-shadow);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
border: 1px solid $border;
|
|
75
|
+
border-radius: 3px;
|
|
76
|
+
box-shadow: inset 0 1px 0 0 $inset-shadow;
|
|
77
|
+
color: $color;
|
|
78
|
+
display: inline-block;
|
|
79
|
+
font-size: inherit;
|
|
80
|
+
font-weight: bold;
|
|
81
|
+
@include linear-gradient ($base-color, $stop-gradient);
|
|
82
|
+
padding: 7px 18px;
|
|
83
|
+
text-decoration: none;
|
|
84
|
+
text-shadow: 0 1px 0 $text-shadow;
|
|
85
|
+
background-clip: padding-box;
|
|
86
|
+
|
|
87
|
+
&:hover:not(:disabled) {
|
|
88
|
+
$base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
|
|
89
|
+
$inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%);
|
|
90
|
+
$stop-gradient-hover: adjust-color($base-color, $saturation: 8%, $lightness: -14%);
|
|
91
|
+
|
|
92
|
+
@if $grayscale == true {
|
|
93
|
+
$base-color-hover: grayscale($base-color-hover);
|
|
94
|
+
$inset-shadow-hover: grayscale($inset-shadow-hover);
|
|
95
|
+
$stop-gradient-hover: grayscale($stop-gradient-hover);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:active:not(:disabled) {
|
|
104
|
+
$border-active: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
|
105
|
+
$inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -17%);
|
|
106
|
+
|
|
107
|
+
@if $grayscale == true {
|
|
108
|
+
$border-active: grayscale($border-active);
|
|
109
|
+
$inset-shadow-active: grayscale($inset-shadow-active);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
border: 1px solid $border-active;
|
|
113
|
+
box-shadow: inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active, 0 1px 1px 0 #eee;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
// Shiny Button
|
|
119
|
+
//************************************************************************//
|
|
120
|
+
@mixin shiny($base-color, $grayscale: false) {
|
|
121
|
+
$color: hsl(0, 0, 100%);
|
|
122
|
+
$border: adjust-color($base-color, $red: -117, $green: -111, $blue: -81);
|
|
123
|
+
$border-bottom: adjust-color($base-color, $red: -126, $green: -127, $blue: -122);
|
|
124
|
+
$fourth-stop: adjust-color($base-color, $red: -79, $green: -70, $blue: -46);
|
|
125
|
+
$inset-shadow: adjust-color($base-color, $red: 37, $green: 29, $blue: 12);
|
|
126
|
+
$second-stop: adjust-color($base-color, $red: -56, $green: -50, $blue: -33);
|
|
127
|
+
$text-shadow: adjust-color($base-color, $red: -140, $green: -141, $blue: -114);
|
|
128
|
+
$third-stop: adjust-color($base-color, $red: -86, $green: -75, $blue: -48);
|
|
129
|
+
|
|
130
|
+
@if lightness($base-color) > 70% {
|
|
131
|
+
$color: hsl(0, 0, 20%);
|
|
132
|
+
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@if $grayscale == true {
|
|
136
|
+
$border: grayscale($border);
|
|
137
|
+
$border-bottom: grayscale($border-bottom);
|
|
138
|
+
$fourth-stop: grayscale($fourth-stop);
|
|
139
|
+
$inset-shadow: grayscale($inset-shadow);
|
|
140
|
+
$second-stop: grayscale($second-stop);
|
|
141
|
+
$text-shadow: grayscale($text-shadow);
|
|
142
|
+
$third-stop: grayscale($third-stop);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
border: 1px solid $border;
|
|
146
|
+
border-bottom: 1px solid $border-bottom;
|
|
147
|
+
border-radius: 5px;
|
|
148
|
+
box-shadow: inset 0 1px 0 0 $inset-shadow;
|
|
149
|
+
color: $color;
|
|
150
|
+
display: inline-block;
|
|
151
|
+
font-size: inherit;
|
|
152
|
+
font-weight: bold;
|
|
153
|
+
@include linear-gradient(top, $base-color 0%, $second-stop 50%, $third-stop 50%, $fourth-stop 100%);
|
|
154
|
+
padding: 8px 20px;
|
|
155
|
+
text-align: center;
|
|
156
|
+
text-decoration: none;
|
|
157
|
+
text-shadow: 0 -1px 1px $text-shadow;
|
|
158
|
+
|
|
159
|
+
&:hover:not(:disabled) {
|
|
160
|
+
$first-stop-hover: adjust-color($base-color, $red: -13, $green: -15, $blue: -18);
|
|
161
|
+
$second-stop-hover: adjust-color($base-color, $red: -66, $green: -62, $blue: -51);
|
|
162
|
+
$third-stop-hover: adjust-color($base-color, $red: -93, $green: -85, $blue: -66);
|
|
163
|
+
$fourth-stop-hover: adjust-color($base-color, $red: -86, $green: -80, $blue: -63);
|
|
164
|
+
|
|
165
|
+
@if $grayscale == true {
|
|
166
|
+
$first-stop-hover: grayscale($first-stop-hover);
|
|
167
|
+
$second-stop-hover: grayscale($second-stop-hover);
|
|
168
|
+
$third-stop-hover: grayscale($third-stop-hover);
|
|
169
|
+
$fourth-stop-hover: grayscale($fourth-stop-hover);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
@include linear-gradient(top, $first-stop-hover 0%,
|
|
174
|
+
$second-stop-hover 50%,
|
|
175
|
+
$third-stop-hover 50%,
|
|
176
|
+
$fourth-stop-hover 100%);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&:active:not(:disabled) {
|
|
180
|
+
$inset-shadow-active: adjust-color($base-color, $red: -111, $green: -116, $blue: -122);
|
|
181
|
+
|
|
182
|
+
@if $grayscale == true {
|
|
183
|
+
$inset-shadow-active: grayscale($inset-shadow-active);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
box-shadow: inset 0 0 20px 0 $inset-shadow-active, 0 1px 0 #fff;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
// Pill Button
|
|
192
|
+
//************************************************************************//
|
|
193
|
+
@mixin pill($base-color, $grayscale: false) {
|
|
194
|
+
$color: hsl(0, 0, 100%);
|
|
195
|
+
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: -11%, $lightness: -26%);
|
|
196
|
+
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -21%, $lightness: -21%);
|
|
197
|
+
$border-top: adjust-color($base-color, $hue: -1, $saturation: -30%, $lightness: -15%);
|
|
198
|
+
$inset-shadow: adjust-color($base-color, $hue: -1, $saturation: -1%, $lightness: 7%);
|
|
199
|
+
$stop-gradient: adjust-color($base-color, $hue: 8, $saturation: 14%, $lightness: -10%);
|
|
200
|
+
$text-shadow: adjust-color($base-color, $hue: 5, $saturation: -19%, $lightness: -15%);
|
|
201
|
+
|
|
202
|
+
@if lightness($base-color) > 70% {
|
|
203
|
+
$color: hsl(0, 0, 20%);
|
|
204
|
+
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@if $grayscale == true {
|
|
208
|
+
$border-bottom: grayscale($border-bottom);
|
|
209
|
+
$border-sides: grayscale($border-sides);
|
|
210
|
+
$border-top: grayscale($border-top);
|
|
211
|
+
$inset-shadow: grayscale($inset-shadow);
|
|
212
|
+
$stop-gradient: grayscale($stop-gradient);
|
|
213
|
+
$text-shadow: grayscale($text-shadow);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
border: 1px solid $border-top;
|
|
217
|
+
border-color: $border-top $border-sides $border-bottom;
|
|
218
|
+
border-radius: 16px;
|
|
219
|
+
box-shadow: inset 0 1px 0 0 $inset-shadow, 0 1px 2px 0 #b3b3b3;
|
|
220
|
+
color: $color;
|
|
221
|
+
display: inline-block;
|
|
222
|
+
font-size: inherit;
|
|
223
|
+
font-weight: normal;
|
|
224
|
+
line-height: 1;
|
|
225
|
+
@include linear-gradient ($base-color, $stop-gradient);
|
|
226
|
+
padding: 5px 16px;
|
|
227
|
+
text-align: center;
|
|
228
|
+
text-decoration: none;
|
|
229
|
+
text-shadow: 0 -1px 1px $text-shadow;
|
|
230
|
+
background-clip: padding-box;
|
|
231
|
+
|
|
232
|
+
&:hover:not(:disabled) {
|
|
233
|
+
$base-color-hover: adjust-color($base-color, $lightness: -4.5%);
|
|
234
|
+
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: 13.5%, $lightness: -32%);
|
|
235
|
+
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -2%, $lightness: -27%);
|
|
236
|
+
$border-top: adjust-color($base-color, $hue: -1, $saturation: -17%, $lightness: -21%);
|
|
237
|
+
$inset-shadow-hover: adjust-color($base-color, $saturation: -1%, $lightness: 3%);
|
|
238
|
+
$stop-gradient-hover: adjust-color($base-color, $hue: 8, $saturation: -4%, $lightness: -15.5%);
|
|
239
|
+
$text-shadow-hover: adjust-color($base-color, $hue: 5, $saturation: -5%, $lightness: -22%);
|
|
240
|
+
|
|
241
|
+
@if $grayscale == true {
|
|
242
|
+
$base-color-hover: grayscale($base-color-hover);
|
|
243
|
+
$border-bottom: grayscale($border-bottom);
|
|
244
|
+
$border-sides: grayscale($border-sides);
|
|
245
|
+
$border-top: grayscale($border-top);
|
|
246
|
+
$inset-shadow-hover: grayscale($inset-shadow-hover);
|
|
247
|
+
$stop-gradient-hover: grayscale($stop-gradient-hover);
|
|
248
|
+
$text-shadow-hover: grayscale($text-shadow-hover);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
border: 1px solid $border-top;
|
|
252
|
+
border-color: $border-top $border-sides $border-bottom;
|
|
253
|
+
box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
|
|
254
|
+
cursor: pointer;
|
|
255
|
+
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
|
|
256
|
+
text-shadow: 0 -1px 1px $text-shadow-hover;
|
|
257
|
+
background-clip: padding-box;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&:active:not(:disabled) {
|
|
261
|
+
$active-color: adjust-color($base-color, $hue: 4, $saturation: -12%, $lightness: -10%);
|
|
262
|
+
$border-active: adjust-color($base-color, $hue: 6, $saturation: -2.5%, $lightness: -30%);
|
|
263
|
+
$border-bottom-active: adjust-color($base-color, $hue: 11, $saturation: 6%, $lightness: -31%);
|
|
264
|
+
$inset-shadow-active: adjust-color($base-color, $hue: 9, $saturation: 2%, $lightness: -21.5%);
|
|
265
|
+
$text-shadow-active: adjust-color($base-color, $hue: 5, $saturation: -12%, $lightness: -21.5%);
|
|
266
|
+
|
|
267
|
+
@if $grayscale == true {
|
|
268
|
+
$active-color: grayscale($active-color);
|
|
269
|
+
$border-active: grayscale($border-active);
|
|
270
|
+
$border-bottom-active: grayscale($border-bottom-active);
|
|
271
|
+
$inset-shadow-active: grayscale($inset-shadow-active);
|
|
272
|
+
$text-shadow-active: grayscale($text-shadow-active);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
background: $active-color;
|
|
276
|
+
border: 1px solid $border-active;
|
|
277
|
+
border-bottom: 1px solid $border-bottom-active;
|
|
278
|
+
box-shadow: inset 0 0 6px 3px $inset-shadow-active, 0 1px 0 0 #fff;
|
|
279
|
+
text-shadow: 0 -1px 1px $text-shadow-active;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
// simple Button
|
|
285
|
+
//************************************************************************//
|
|
286
|
+
@mixin simple($base-color, $grayscale: false) {
|
|
287
|
+
$color: hsl(0, 0, 100%);
|
|
288
|
+
$border: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
|
289
|
+
$inset-shadow: adjust-color($base-color, $saturation: -8%, $lightness: 10%);
|
|
290
|
+
$text-shadow: adjust-color($base-color, $saturation: 15%, $lightness: -18%);
|
|
291
|
+
|
|
292
|
+
@if lightness($base-color) > 70% {
|
|
293
|
+
$color: hsl(0, 0, 20%);
|
|
294
|
+
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@if $grayscale == true {
|
|
298
|
+
$border: grayscale($border);
|
|
299
|
+
$inset-shadow: grayscale($inset-shadow);
|
|
300
|
+
$text-shadow: grayscale($text-shadow);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
border: 1px solid $border;
|
|
304
|
+
border-radius: 3px;
|
|
305
|
+
box-shadow: inset 0 1px 0 0 $inset-shadow;
|
|
306
|
+
color: $color;
|
|
307
|
+
display: inline-block;
|
|
308
|
+
font-size: 11px;
|
|
309
|
+
font-weight: bold;
|
|
310
|
+
text-shadow: none;
|
|
311
|
+
@include linear-gradient($base-color, $base-color);
|
|
312
|
+
padding: 7px 18px;
|
|
313
|
+
text-decoration: none;
|
|
314
|
+
background-clip: padding-box;
|
|
315
|
+
|
|
316
|
+
&:hover:not(:disabled) {
|
|
317
|
+
$base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
|
|
318
|
+
$inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%);
|
|
319
|
+
|
|
320
|
+
@if $grayscale == true {
|
|
321
|
+
$base-color-hover: grayscale($base-color-hover);
|
|
322
|
+
$inset-shadow-hover: grayscale($inset-shadow-hover);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@include linear-gradient(darken($base-color, 4), darken($base-color, 4));
|
|
326
|
+
box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
|
|
327
|
+
cursor: pointer;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&:active:not(:disabled) {
|
|
331
|
+
$border-active: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
|
332
|
+
$inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -10%);
|
|
333
|
+
|
|
334
|
+
@if $grayscale == true {
|
|
335
|
+
$border-active: grayscale($border-active);
|
|
336
|
+
$inset-shadow-active: grayscale($inset-shadow-active);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
@include linear-gradient(darken($base-color, 4), darken($base-color, 4));
|
|
340
|
+
border: 1px solid $border-active;
|
|
341
|
+
box-shadow: inset 0 0 1px 1px $inset-shadow-active, inset 0 0 1px 1px $inset-shadow-active, 0 1px 1px 0 transparentize(white, 0.8);
|
|
342
|
+
}
|
|
343
|
+
}
|