foundation-rails 5.5.3.2 → 6.6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -2
- data/.ruby-version +1 -1
- data/.travis.yml +17 -4
- data/Appraisals +19 -0
- data/Gemfile +5 -2
- data/Gemfile.lock +210 -0
- data/LICENSE.txt +1 -1
- data/README.md +64 -28
- data/Rakefile +30 -0
- data/app/views/foundation/rails/styleguide/show.html.erb +10 -13
- data/bower.json +3 -2
- data/foundation-rails.gemspec +12 -7
- data/gemfiles/rails_4.1.gemfile +10 -0
- data/gemfiles/rails_4.1.gemfile.lock +181 -0
- data/gemfiles/rails_4.2.gemfile +10 -0
- data/gemfiles/rails_4.2.gemfile.lock +181 -0
- data/gemfiles/rails_5.0.gemfile +10 -0
- data/gemfiles/rails_5.0.gemfile.lock +196 -0
- data/gemfiles/rails_5.1.gemfile +10 -0
- data/gemfiles/rails_5.1.gemfile.lock +196 -0
- data/gemfiles/rails_5.2.gemfile +10 -0
- data/gemfiles/rails_5.2.gemfile.lock +196 -0
- data/lib/foundation/rails/engine.rb +2 -3
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/foundation-rails.rb +1 -0
- data/lib/generators/foundation/install_generator.rb +39 -27
- data/lib/generators/foundation/templates/_settings.scss +895 -0
- data/lib/generators/foundation/templates/application.html.erb +1 -2
- data/lib/generators/foundation/templates/application.html.haml +2 -4
- data/lib/generators/foundation/templates/application.html.slim +1 -3
- data/lib/generators/foundation/templates/browserslist +4 -0
- data/lib/generators/foundation/templates/foundation_and_overrides.scss +56 -0
- data/spec/features/generator_spec.rb +1 -1
- data/spec/support/helpers.rb +8 -2
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_contain.scss +31 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
- data/vendor/assets/js/foundation.cjs.js +12529 -0
- data/vendor/assets/js/foundation.cjs.js.map +1 -0
- data/vendor/assets/js/foundation.es6.js +11006 -0
- data/vendor/assets/js/foundation.es6.js.map +1 -0
- data/vendor/assets/js/foundation.esm.js +12490 -0
- data/vendor/assets/js/foundation.esm.js.map +1 -0
- data/vendor/assets/js/foundation.js +13897 -0
- data/vendor/assets/js/foundation.js.map +1 -0
- data/vendor/assets/js/foundation.min.js +2 -0
- data/vendor/assets/js/foundation.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.abide.js +1142 -0
- data/vendor/assets/js/plugins/foundation.abide.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.abide.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.accordion.js +661 -0
- data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.accordion.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.accordionMenu.js +616 -0
- data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.core.js +1180 -0
- data/vendor/assets/js/plugins/foundation.core.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.core.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.drilldown.js +968 -0
- data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.drilldown.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.dropdown.js +1328 -0
- data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.dropdown.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js +799 -0
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.equalizer.js +614 -0
- data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.equalizer.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.interchange.js +796 -0
- data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.interchange.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.magellan.js +850 -0
- data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.magellan.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.offcanvas.js +1318 -0
- data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.orbit.js +886 -0
- data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.orbit.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +585 -0
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js +413 -0
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js +394 -0
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.reveal.js +1275 -0
- data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.reveal.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.slider.js +1346 -0
- data/vendor/assets/js/plugins/foundation.slider.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.slider.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.smoothScroll.js +359 -0
- data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.sticky.js +1105 -0
- data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.sticky.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.tabs.js +792 -0
- data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.tabs.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.toggler.js +704 -0
- data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.toggler.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.tooltip.js +1333 -0
- data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.tooltip.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.box.js +354 -0
- data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.box.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js +218 -0
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.keyboard.js +341 -0
- data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +509 -0
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.motion.js +274 -0
- data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.motion.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.nest.js +240 -0
- data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.nest.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.timer.js +226 -0
- data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.timer.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.touch.js +365 -0
- data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.touch.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.triggers.js +470 -0
- data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -0
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js +2 -0
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -0
- data/vendor/assets/scss/_global.scss +244 -0
- data/vendor/assets/scss/components/_accordion-menu.scss +174 -0
- data/vendor/assets/scss/components/_accordion.scss +164 -0
- data/vendor/assets/scss/components/_badge.scss +63 -0
- data/vendor/assets/scss/components/_breadcrumbs.scss +119 -0
- data/vendor/assets/scss/components/_button-group.scss +304 -0
- data/vendor/assets/scss/components/_button.scss +428 -0
- data/vendor/assets/scss/components/_callout.scss +108 -0
- data/vendor/assets/scss/components/_card.scss +129 -0
- data/vendor/assets/scss/components/_close-button.scss +127 -0
- data/vendor/assets/scss/components/_drilldown.scss +140 -0
- data/vendor/assets/scss/components/_dropdown-menu.scss +279 -0
- data/vendor/assets/scss/components/_dropdown.scss +82 -0
- data/vendor/assets/scss/components/_flex-video.scss +1 -0
- data/vendor/assets/scss/components/_flex.scss +119 -0
- data/vendor/assets/scss/components/_float.scss +27 -0
- data/vendor/assets/scss/components/_label.scss +64 -0
- data/vendor/assets/scss/components/_media-object.scss +114 -0
- data/vendor/assets/scss/components/_menu-icon.scss +9 -0
- data/vendor/assets/scss/components/_menu.scss +495 -0
- data/vendor/assets/scss/components/_off-canvas.scss +511 -0
- data/vendor/assets/scss/components/_orbit.scss +197 -0
- data/vendor/assets/scss/components/_pagination.scss +201 -0
- data/vendor/assets/scss/components/_progress-bar.scss +63 -0
- data/vendor/assets/scss/components/_responsive-embed.scss +57 -0
- data/vendor/assets/scss/components/_reveal.scss +185 -0
- data/vendor/assets/scss/components/_slider.scss +137 -0
- data/vendor/assets/scss/components/_sticky.scss +39 -0
- data/vendor/assets/scss/components/_switch.scss +261 -0
- data/vendor/assets/scss/components/_table.scss +328 -0
- data/vendor/assets/scss/components/_tabs.scss +193 -0
- data/vendor/assets/scss/components/_thumbnail.scss +67 -0
- data/vendor/assets/scss/components/_title-bar.scss +84 -0
- data/vendor/assets/scss/components/_tooltip.scss +160 -0
- data/vendor/assets/scss/components/_top-bar.scss +175 -0
- data/vendor/assets/scss/components/_visibility.scss +135 -0
- data/vendor/assets/scss/forms/_checkbox.scss +41 -0
- data/vendor/assets/scss/forms/_error.scss +89 -0
- data/vendor/assets/scss/forms/_fieldset.scss +53 -0
- data/vendor/assets/scss/forms/_forms.scss +34 -0
- data/vendor/assets/scss/forms/_help-text.scss +30 -0
- data/vendor/assets/scss/forms/_input-group.scss +142 -0
- data/vendor/assets/scss/forms/_label.scss +50 -0
- data/vendor/assets/scss/forms/_meter.scss +116 -0
- data/vendor/assets/scss/forms/_progress.scss +94 -0
- data/vendor/assets/scss/forms/_range.scss +149 -0
- data/vendor/assets/scss/forms/_select.scss +90 -0
- data/vendor/assets/scss/forms/_text.scss +179 -0
- data/vendor/assets/scss/foundation.scss +155 -0
- data/vendor/assets/scss/grid/_classes.scss +189 -0
- data/vendor/assets/scss/grid/_column.scss +78 -0
- data/vendor/assets/scss/grid/_flex-grid.scss +260 -0
- data/vendor/assets/scss/grid/_grid.scss +48 -0
- data/vendor/assets/scss/grid/_gutter.scss +67 -0
- data/vendor/assets/scss/grid/_layout.scss +76 -0
- data/vendor/assets/scss/grid/_position.scss +100 -0
- data/vendor/assets/scss/grid/_row.scss +99 -0
- data/vendor/assets/scss/grid/_size.scss +24 -0
- data/vendor/assets/scss/motion-ui/_classes.scss +109 -0
- data/vendor/assets/scss/motion-ui/_settings.scss +62 -0
- data/vendor/assets/scss/motion-ui/effects/_fade.scss +29 -0
- data/vendor/assets/scss/motion-ui/effects/_hinge.scss +66 -0
- data/vendor/assets/scss/motion-ui/effects/_shake.scss +15 -0
- data/vendor/assets/scss/motion-ui/effects/_slide.scss +42 -0
- data/vendor/assets/scss/motion-ui/effects/_spin.scss +29 -0
- data/vendor/assets/scss/motion-ui/effects/_wiggle.scss +13 -0
- data/vendor/assets/scss/motion-ui/effects/_zoom.scss +15 -0
- data/vendor/assets/scss/motion-ui/motion-ui.scss +31 -0
- data/vendor/assets/scss/motion-ui/transitions/_fade.scss +30 -0
- data/vendor/assets/scss/motion-ui/transitions/_hinge.scss +44 -0
- data/vendor/assets/scss/motion-ui/transitions/_slide.scss +43 -0
- data/vendor/assets/scss/motion-ui/transitions/_spin.scss +40 -0
- data/vendor/assets/scss/motion-ui/transitions/_zoom.scss +41 -0
- data/vendor/assets/scss/motion-ui/util/_animation.scss +7 -0
- data/vendor/assets/scss/motion-ui/util/_args.scss +15 -0
- data/vendor/assets/scss/motion-ui/util/_function.scss +94 -0
- data/vendor/assets/scss/motion-ui/util/_keyframe.scss +136 -0
- data/vendor/assets/scss/motion-ui/util/_selector.scss +23 -0
- data/vendor/assets/scss/motion-ui/util/_series.scss +57 -0
- data/vendor/assets/scss/motion-ui/util/_string.scss +36 -0
- data/vendor/assets/scss/motion-ui/util/_transition.scss +45 -0
- data/vendor/assets/scss/motion-ui/util/_unit.scss +7 -0
- data/vendor/assets/scss/prototype/_arrow.scss +36 -0
- data/vendor/assets/scss/prototype/_border-box.scss +35 -0
- data/vendor/assets/scss/prototype/_border-none.scss +35 -0
- data/vendor/assets/scss/prototype/_bordered.scss +54 -0
- data/vendor/assets/scss/prototype/_box.scss +23 -0
- data/vendor/assets/scss/prototype/_display.scss +50 -0
- data/vendor/assets/scss/prototype/_font-styling.scss +95 -0
- data/vendor/assets/scss/prototype/_list-style-type.scss +95 -0
- data/vendor/assets/scss/prototype/_overflow.scss +72 -0
- data/vendor/assets/scss/prototype/_position.scss +114 -0
- data/vendor/assets/scss/prototype/_prototype.scss +87 -0
- data/vendor/assets/scss/prototype/_relation.scss +157 -0
- data/vendor/assets/scss/prototype/_rotate.scss +31 -0
- data/vendor/assets/scss/prototype/_rounded.scss +61 -0
- data/vendor/assets/scss/prototype/_separator.scss +96 -0
- data/vendor/assets/scss/prototype/_shadow.scss +43 -0
- data/vendor/assets/scss/prototype/_sizing.scss +73 -0
- data/vendor/assets/scss/prototype/_spacing.scss +179 -0
- data/vendor/assets/scss/prototype/_text-decoration.scss +48 -0
- data/vendor/assets/scss/prototype/_text-transformation.scss +48 -0
- data/vendor/assets/scss/prototype/_text-utilities.scss +88 -0
- data/vendor/assets/scss/settings/_settings.scss +895 -0
- data/vendor/assets/scss/typography/_alignment.scss +22 -0
- data/vendor/assets/scss/typography/_base.scss +474 -0
- data/vendor/assets/scss/typography/_helpers.scss +180 -0
- data/vendor/assets/scss/typography/_print.scss +96 -0
- data/vendor/assets/scss/typography/_typography.scss +26 -0
- data/vendor/assets/scss/util/_breakpoint.scss +435 -0
- data/vendor/assets/scss/util/_color.scss +139 -0
- data/vendor/assets/scss/util/_direction.scss +31 -0
- data/vendor/assets/scss/util/_flex.scss +90 -0
- data/vendor/assets/scss/util/_math.scss +147 -0
- data/vendor/assets/scss/util/_mixins.scss +373 -0
- data/vendor/assets/scss/util/_selector.scss +41 -0
- data/vendor/assets/scss/util/_typography.scss +26 -0
- data/vendor/assets/scss/util/_unit.scss +152 -0
- data/vendor/assets/scss/util/_util.scss +14 -0
- data/vendor/assets/scss/util/_value.scss +200 -0
- data/vendor/assets/scss/vendor/normalize.scss +281 -0
- data/vendor/assets/scss/xy-grid/_cell.scss +272 -0
- data/vendor/assets/scss/xy-grid/_classes.scss +493 -0
- data/vendor/assets/scss/xy-grid/_collapse.scss +75 -0
- data/vendor/assets/scss/xy-grid/_frame.scss +86 -0
- data/vendor/assets/scss/xy-grid/_grid.scss +37 -0
- data/vendor/assets/scss/xy-grid/_gutters.scss +45 -0
- data/vendor/assets/scss/xy-grid/_layout.scss +36 -0
- data/vendor/assets/scss/xy-grid/_position.scss +55 -0
- data/vendor/assets/scss/xy-grid/_xy-grid.scss +51 -0
- metadata +342 -83
- data/update-gem.sh +0 -20
- data/vendor/assets/javascripts/foundation/foundation.abide.js +0 -426
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +0 -125
- data/vendor/assets/javascripts/foundation/foundation.alert.js +0 -43
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +0 -586
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +0 -468
- data/vendor/assets/javascripts/foundation/foundation.equalizer.js +0 -104
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +0 -360
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +0 -935
- data/vendor/assets/javascripts/foundation/foundation.js +0 -732
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +0 -214
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +0 -225
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +0 -476
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +0 -522
- data/vendor/assets/javascripts/foundation/foundation.slider.js +0 -296
- data/vendor/assets/javascripts/foundation/foundation.tab.js +0 -247
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +0 -348
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +0 -458
- data/vendor/assets/javascripts/foundation.js +0 -17
- data/vendor/assets/javascripts/vendor/modernizr.js +0 -1406
- data/vendor/assets/stylesheets/foundation/_functions.scss +0 -156
- data/vendor/assets/stylesheets/foundation/_settings.scss +0 -1489
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +0 -161
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +0 -128
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +0 -133
- data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +0 -208
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +0 -261
- data/vendor/assets/stylesheets/foundation/components/_clearing.scss +0 -260
- data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +0 -130
- data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +0 -269
- data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +0 -51
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +0 -607
- data/vendor/assets/stylesheets/foundation/components/_global.scss +0 -566
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +0 -292
- data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +0 -460
- data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +0 -58
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +0 -220
- data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +0 -60
- data/vendor/assets/stylesheets/foundation/components/_labels.scss +0 -106
- data/vendor/assets/stylesheets/foundation/components/_magellan.scss +0 -34
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +0 -606
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +0 -388
- data/vendor/assets/stylesheets/foundation/components/_pagination.scss +0 -163
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +0 -107
- data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +0 -150
- data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +0 -85
- data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +0 -177
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +0 -212
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +0 -120
- data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +0 -203
- data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +0 -125
- data/vendor/assets/stylesheets/foundation/components/_switches.scss +0 -241
- data/vendor/assets/stylesheets/foundation/components/_tables.scss +0 -135
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +0 -142
- data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +0 -66
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +0 -142
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +0 -745
- data/vendor/assets/stylesheets/foundation/components/_type.scss +0 -525
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +0 -425
- data/vendor/assets/stylesheets/foundation.scss +0 -42
- data/vendor/assets/stylesheets/normalize.scss +0 -424
@@ -1,161 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import 'global';
|
6
|
-
|
7
|
-
//
|
8
|
-
// @variables
|
9
|
-
//
|
10
|
-
|
11
|
-
$include-html-accordion-classes: $include-html-classes !default;
|
12
|
-
|
13
|
-
$accordion-navigation-padding: rem-calc(16) !default;
|
14
|
-
$accordion-navigation-bg-color: $silver !default;
|
15
|
-
$accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%) !default;
|
16
|
-
$accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%) !default;
|
17
|
-
$accordion-navigation-active-font-color: $jet !default;
|
18
|
-
$accordion-navigation-font-color: $jet !default;
|
19
|
-
$accordion-navigation-font-size: rem-calc(16) !default;
|
20
|
-
$accordion-navigation-font-family: $body-font-family !default;
|
21
|
-
|
22
|
-
$accordion-content-padding: ($column-gutter/2) !default;
|
23
|
-
$accordion-content-active-bg-color: $white !default;
|
24
|
-
|
25
|
-
|
26
|
-
// Mixin: accordion-container()
|
27
|
-
// Decription: Responsible for the container component of accordions, generating styles relating to a margin of zero and a clearfix
|
28
|
-
// Explicit Dependencies: a clearfix mixin *is* defined.
|
29
|
-
// Implicit Dependencies: None
|
30
|
-
|
31
|
-
@mixin accordion-container() {
|
32
|
-
@include clearfix;
|
33
|
-
margin-bottom: 0;
|
34
|
-
}
|
35
|
-
|
36
|
-
// Mixin: accordion-navigation( $bg, $hover-bg, $active-bg, $padding, $active_class, $font-color, $font-size, $font-family) {
|
37
|
-
// @params $bg-color: [ color or string ]: Specify the background color for the navigation element
|
38
|
-
// @params $hover-bg-color [ color or string ]: Specify the background color for the navigation element when hovered
|
39
|
-
// @params $active-bg [ color or string ]: Specify the background color for the navigation element when clicked and not released.
|
40
|
-
// @params $active_class [ string ]: Specify the class name used to keep track of which accordion tab should be visible
|
41
|
-
// @params $font-color [ color or string ]: Color of the font for accordion
|
42
|
-
// @params $font-size [ number ]: Specifiy the font-size of the text inside the navigation element
|
43
|
-
// @params $font-family [ string ]: Specify the font family for the text of the navigation of the accorion
|
44
|
-
// @params $active-font [ color or string ]: Specify the font color for the navigation element when active.
|
45
|
-
|
46
|
-
@mixin accordion-navigation( $bg: $accordion-navigation-bg-color, $hover-bg: $accordion-navigation-hover-bg-color, $active-bg: $accordion-navigation-active-bg-color, $padding: $accordion-navigation-padding, $active_class: 'active', $font-color: $accordion-navigation-font-color, $font-size: $accordion-navigation-font-size, $font-family: $accordion-navigation-font-family, $active-font: $accordion-navigation-active-font-color ) {
|
47
|
-
display: block;
|
48
|
-
margin-bottom: 0 !important;
|
49
|
-
@if type-of($active_class) != "string" {
|
50
|
-
@warn "`#{$active_class}` isn't a valid string. A valid string is needed to correctly be interpolated as a CSS class. CSS classes cannot start with a number or consist of only numbers. CSS will not be generated for the active state of this navigation component."
|
51
|
-
}
|
52
|
-
@else {
|
53
|
-
&.#{ $active_class } > a {
|
54
|
-
background: $active-bg;
|
55
|
-
color: $active-font;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
> a {
|
59
|
-
background: $bg;
|
60
|
-
color: $font-color;
|
61
|
-
@if type-of($padding) != number {
|
62
|
-
@warn "`#{$padding}` was read as #{type-of($padding)}";
|
63
|
-
@if $accordion-navigation-padding != null {
|
64
|
-
@warn "#{$padding} was read as a #{type-of($padding)}";
|
65
|
-
@warn "`#{$padding}` isn't a valid number. $accordion-navigation-padding (#{$accordion-navigation-padding}) will be used instead.)";
|
66
|
-
padding: $accordion-navigation-padding;
|
67
|
-
}
|
68
|
-
@else {
|
69
|
-
@warn "`#{$padding}` isn't a valid number and $accordion-navigation-padding is missing. A value of `null` is returned to not output an invalid value for padding";
|
70
|
-
padding: null;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
@else {
|
74
|
-
padding: $padding;
|
75
|
-
}
|
76
|
-
display: block;
|
77
|
-
font-family: $font-family;
|
78
|
-
@if type-of($font-size) != number {
|
79
|
-
@warn "`#{$font-size}` was read as a #{type-of($font-size)}";
|
80
|
-
@if $accordion-navigation-font-size != null {
|
81
|
-
@warn "`#{$font-size}` is not a valid number. The value of $accordion-navigation-font-size will be used instead (#{$accordion-navigation-font-size}).";
|
82
|
-
font-size: $accordion-navigation-font-size;
|
83
|
-
}
|
84
|
-
@else{
|
85
|
-
@warn "`#{$font-size}` is not a valid number and the default value of $accordion-navigation-font-size is not defined. A value of `null` will be returned to not generate an invalid value for font-size.";
|
86
|
-
font-size: null;
|
87
|
-
|
88
|
-
}
|
89
|
-
}
|
90
|
-
@else {
|
91
|
-
font-size: $font-size;
|
92
|
-
}
|
93
|
-
&:hover {
|
94
|
-
background: $hover-bg;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
98
|
-
|
99
|
-
// Mixin: accordion-content($bg, $padding, $active-class)
|
100
|
-
// @params $padding [ number ]: Padding for the content of the container
|
101
|
-
// @params $bg [ color ]: Background color for the content when it's visible
|
102
|
-
// @params $active_class [ string ]: Class name used to keep track of which accordion tab should be visible.
|
103
|
-
|
104
|
-
@mixin accordion-content($bg: $accordion-content-active-bg-color, $padding: $accordion-content-padding, $active_class: 'active') {
|
105
|
-
display: none;
|
106
|
-
@if type-of($padding) != "number" {
|
107
|
-
@warn "#{$padding} was read as a #{type-of($padding)}";
|
108
|
-
@if $accordion-content-padding != null {
|
109
|
-
@warn "`#{$padding}` isn't a valid number. $accordion-content-padding used instead";
|
110
|
-
padding: $accordion-content-padding;
|
111
|
-
} @else {
|
112
|
-
@warn "`#{$padding}` isn't a valid number and the default value of $accordion-content-padding is not defined. A value of `null` is returned to not output an invalid value for padding.";
|
113
|
-
padding: null;
|
114
|
-
}
|
115
|
-
} @else {
|
116
|
-
padding: $padding;
|
117
|
-
}
|
118
|
-
|
119
|
-
@if type-of($active_class) != "string" {
|
120
|
-
@warn "`#{$active_class}` isn't a valid string. A valid string is needed to correctly be interpolated as a CSS class. CSS classes cannot start with a number or consist of only numbers. CSS will not be generated for the active state of the content. "
|
121
|
-
}
|
122
|
-
@else {
|
123
|
-
&.#{$active_class} {
|
124
|
-
background: $bg;
|
125
|
-
display: block;
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
@include exports("accordion") {
|
131
|
-
@if $include-html-accordion-classes {
|
132
|
-
.accordion {
|
133
|
-
@include clearfix;
|
134
|
-
margin-bottom: 0;
|
135
|
-
margin-left: 0;
|
136
|
-
.accordion-navigation, dd {
|
137
|
-
display: block;
|
138
|
-
margin-bottom: 0 !important;
|
139
|
-
&.active > a { background: $accordion-navigation-active-bg-color; color: $accordion-navigation-active-font-color; }
|
140
|
-
> a {
|
141
|
-
background: $accordion-navigation-bg-color;
|
142
|
-
color: $accordion-navigation-font-color;
|
143
|
-
display: block;
|
144
|
-
font-family: $accordion-navigation-font-family;
|
145
|
-
font-size: $accordion-navigation-font-size;
|
146
|
-
padding: $accordion-navigation-padding;
|
147
|
-
&:hover { background: $accordion-navigation-hover-bg-color; }
|
148
|
-
}
|
149
|
-
|
150
|
-
> .content {
|
151
|
-
display: none;
|
152
|
-
padding: $accordion-content-padding;
|
153
|
-
&.active {
|
154
|
-
background: $accordion-content-active-bg-color;
|
155
|
-
display: block;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
}
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
@@ -1,128 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import 'global';
|
6
|
-
|
7
|
-
//
|
8
|
-
// Alert Box Variables
|
9
|
-
//
|
10
|
-
$include-html-alert-classes: $include-html-classes !default;
|
11
|
-
|
12
|
-
// We use this to control alert padding.
|
13
|
-
$alert-padding-top: rem-calc(14) !default;
|
14
|
-
$alert-padding-default-float: $alert-padding-top !default;
|
15
|
-
$alert-padding-opposite-direction: $alert-padding-top + rem-calc(10) !default;
|
16
|
-
$alert-padding-bottom: $alert-padding-top !default;
|
17
|
-
|
18
|
-
// We use these to control text style.
|
19
|
-
$alert-font-weight: $font-weight-normal !default;
|
20
|
-
$alert-font-size: rem-calc(13) !default;
|
21
|
-
$alert-font-color: $white !default;
|
22
|
-
$alert-font-color-alt: scale-color($secondary-color, $lightness: -66%) !default;
|
23
|
-
|
24
|
-
// We use this for close hover effect.
|
25
|
-
$alert-function-factor: -14% !default;
|
26
|
-
|
27
|
-
// We use these to control border styles.
|
28
|
-
$alert-border-style: solid !default;
|
29
|
-
$alert-border-width: 1px !default;
|
30
|
-
$alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor) !default;
|
31
|
-
$alert-bottom-margin: rem-calc(20) !default;
|
32
|
-
|
33
|
-
// We use these to style the close buttons
|
34
|
-
$alert-close-color: $oil !default;
|
35
|
-
$alert-close-top: 50% !default;
|
36
|
-
$alert-close-position: rem-calc(4) !default;
|
37
|
-
$alert-close-font-size: rem-calc(22) !default;
|
38
|
-
$alert-close-opacity: .3 !default;
|
39
|
-
$alert-close-opacity-hover: .5 !default;
|
40
|
-
$alert-close-padding: 0 6px 4px !default;
|
41
|
-
$alert-close-background: inherit !default;
|
42
|
-
|
43
|
-
// We use this to control border radius
|
44
|
-
$alert-radius: $global-radius !default;
|
45
|
-
|
46
|
-
$alert-transition-speed: 300ms !default;
|
47
|
-
$alert-transition-ease: ease-out !default;
|
48
|
-
|
49
|
-
//
|
50
|
-
// Alert Mixins
|
51
|
-
//
|
52
|
-
|
53
|
-
// We use this mixin to create a default alert base.
|
54
|
-
@mixin alert-base {
|
55
|
-
border-style: $alert-border-style;
|
56
|
-
border-width: $alert-border-width;
|
57
|
-
display: block;
|
58
|
-
font-size: $alert-font-size;
|
59
|
-
font-weight: $alert-font-weight;
|
60
|
-
margin-bottom: $alert-bottom-margin;
|
61
|
-
padding: $alert-padding-top $alert-padding-opposite-direction $alert-padding-bottom $alert-padding-default-float;
|
62
|
-
position: relative;
|
63
|
-
@include single-transition(opacity, $alert-transition-speed, $alert-transition-ease)
|
64
|
-
}
|
65
|
-
|
66
|
-
// We use this mixin to add alert styles
|
67
|
-
//
|
68
|
-
// $bg - The background of the alert. Default: $primary-color.
|
69
|
-
@mixin alert-style($bg:$primary-color) {
|
70
|
-
|
71
|
-
// This finds the lightness percentage of the background color.
|
72
|
-
$bg-lightness: lightness($bg);
|
73
|
-
|
74
|
-
// We control which background color and border come through.
|
75
|
-
background-color: $bg;
|
76
|
-
border-color: scale-color($bg, $lightness: $alert-function-factor);
|
77
|
-
|
78
|
-
// We control the text color for you based on the background color.
|
79
|
-
@if $bg-lightness > 70% { color: $alert-font-color-alt; }
|
80
|
-
@else { color: $alert-font-color; }
|
81
|
-
|
82
|
-
}
|
83
|
-
|
84
|
-
// We use this to create the close button.
|
85
|
-
@mixin alert-close {
|
86
|
-
#{$opposite-direction}: $alert-close-position;
|
87
|
-
background: $alert-close-background;
|
88
|
-
color: $alert-close-color;
|
89
|
-
font-size: $alert-close-font-size;
|
90
|
-
line-height: .9;
|
91
|
-
margin-top: -($alert-close-font-size / 2);
|
92
|
-
opacity: $alert-close-opacity;
|
93
|
-
padding: $alert-close-padding;
|
94
|
-
position: absolute;
|
95
|
-
top: $alert-close-top;
|
96
|
-
&:hover,
|
97
|
-
&:focus { opacity: $alert-close-opacity-hover; }
|
98
|
-
}
|
99
|
-
|
100
|
-
// We use this to quickly create alerts with a single mixin.
|
101
|
-
//
|
102
|
-
// $bg - Background of alert. Default: $primary-color.
|
103
|
-
// $radius - Radius of alert box. Default: false.
|
104
|
-
@mixin alert($bg:$primary-color, $radius:false) {
|
105
|
-
@include alert-base;
|
106
|
-
@include alert-style($bg);
|
107
|
-
@include radius($radius);
|
108
|
-
}
|
109
|
-
|
110
|
-
@include exports("alert-box") {
|
111
|
-
@if $include-html-alert-classes {
|
112
|
-
.alert-box {
|
113
|
-
@include alert;
|
114
|
-
|
115
|
-
.close { @include alert-close; }
|
116
|
-
|
117
|
-
&.radius { @include radius($alert-radius); }
|
118
|
-
&.round { @include radius($global-rounded); }
|
119
|
-
|
120
|
-
&.success { @include alert-style($success-color); }
|
121
|
-
&.alert { @include alert-style($alert-color); }
|
122
|
-
&.secondary { @include alert-style($secondary-color); }
|
123
|
-
&.warning { @include alert-style($warning-color); }
|
124
|
-
&.info { @include alert-style($info-color); }
|
125
|
-
&.alert-close { opacity: 0}
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
@@ -1,133 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import 'global';
|
6
|
-
|
7
|
-
//
|
8
|
-
// Block Grid Variables
|
9
|
-
//
|
10
|
-
$include-html-block-grid-classes: $include-html-classes !default;
|
11
|
-
$include-xl-html-block-grid-classes: false !default;
|
12
|
-
|
13
|
-
// We use this to control the maximum number of block grid elements per row
|
14
|
-
$block-grid-elements: 12 !default;
|
15
|
-
$block-grid-default-spacing: rem-calc(20) !default;
|
16
|
-
|
17
|
-
$align-block-grid-to-grid: false !default;
|
18
|
-
@if $align-block-grid-to-grid {
|
19
|
-
$block-grid-default-spacing: $column-gutter;
|
20
|
-
}
|
21
|
-
|
22
|
-
// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
|
23
|
-
$block-grid-media-queries: true !default;
|
24
|
-
|
25
|
-
//
|
26
|
-
// Block Grid Mixins
|
27
|
-
//
|
28
|
-
|
29
|
-
// Create a custom block grid
|
30
|
-
//
|
31
|
-
// $per-row - # of items to display per row. Default: false.
|
32
|
-
// $spacing - # of ems to use as padding on each block item. Default: rem-calc(20).
|
33
|
-
// $include-spacing - Adds padding to our list item. Default: true.
|
34
|
-
// $base-style - Apply a base style to block grid. Default: true.
|
35
|
-
@mixin block-grid(
|
36
|
-
$per-row:false,
|
37
|
-
$spacing:$block-grid-default-spacing,
|
38
|
-
$include-spacing:true,
|
39
|
-
$base-style:true) {
|
40
|
-
|
41
|
-
@if $base-style {
|
42
|
-
display: block;
|
43
|
-
padding: 0;
|
44
|
-
@if $align-block-grid-to-grid {
|
45
|
-
margin: 0;
|
46
|
-
} @else {
|
47
|
-
margin: 0 (-$spacing/2);
|
48
|
-
}
|
49
|
-
@include clearfix;
|
50
|
-
|
51
|
-
> li {
|
52
|
-
display: block;
|
53
|
-
float: $default-float;
|
54
|
-
height: auto;
|
55
|
-
@if $include-spacing {
|
56
|
-
padding: 0 ($spacing/2) $spacing;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
@if $per-row {
|
62
|
-
> li {
|
63
|
-
list-style: none;
|
64
|
-
@if $include-spacing {
|
65
|
-
padding: 0 ($spacing/2) $spacing;
|
66
|
-
}
|
67
|
-
width: 100%/$per-row;
|
68
|
-
|
69
|
-
&:nth-of-type(1n) { clear: none; }
|
70
|
-
&:nth-of-type(#{$per-row}n+1) { clear: both; }
|
71
|
-
@if $align-block-grid-to-grid {
|
72
|
-
@include block-grid-aligned($per-row, $spacing);
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
@mixin block-grid-aligned($per-row, $spacing) {
|
79
|
-
@for $i from 1 through $block-grid-elements {
|
80
|
-
@if $per-row >= $i {
|
81
|
-
$grid-column: '+' + $i;
|
82
|
-
@if $per-row == $i {
|
83
|
-
$grid-column: '';
|
84
|
-
}
|
85
|
-
&:nth-of-type(#{$per-row}n#{unquote($grid-column)}) {
|
86
|
-
padding-left: ($spacing - (($spacing / $per-row) * ($per-row - ($i - 1))));
|
87
|
-
padding-right: ($spacing - (($spacing / $per-row) * $i));
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
// Generate presentational markup for block grid.
|
94
|
-
//
|
95
|
-
// $size - Name of class to use, i.e. "large" will generate .large-block-grid-1, .large-block-grid-2, etc.
|
96
|
-
@mixin block-grid-html-classes($size, $include-spacing) {
|
97
|
-
@for $i from 1 through $block-grid-elements {
|
98
|
-
.#{$size}-block-grid-#{($i)} {
|
99
|
-
@include block-grid($i, $block-grid-default-spacing, $include-spacing, false);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
@include exports("block-grid") {
|
105
|
-
@if $include-html-block-grid-classes {
|
106
|
-
|
107
|
-
[class*="block-grid-"] { @include block-grid; }
|
108
|
-
|
109
|
-
@if $block-grid-media-queries {
|
110
|
-
@media #{$small-up} {
|
111
|
-
@include block-grid-html-classes($size:small, $include-spacing:false);
|
112
|
-
}
|
113
|
-
|
114
|
-
@media #{$medium-up} {
|
115
|
-
@include block-grid-html-classes($size:medium, $include-spacing:false);
|
116
|
-
}
|
117
|
-
|
118
|
-
@media #{$large-up} {
|
119
|
-
@include block-grid-html-classes($size:large, $include-spacing:false);
|
120
|
-
}
|
121
|
-
|
122
|
-
@if $include-xl-html-block-grid-classes {
|
123
|
-
@media #{$xlarge-up} {
|
124
|
-
@include block-grid-html-classes($size:xlarge, $include-spacing:false);
|
125
|
-
}
|
126
|
-
|
127
|
-
@media #{$xxlarge-up} {
|
128
|
-
@include block-grid-html-classes($size:xxlarge, $include-spacing:false);
|
129
|
-
}
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
}
|
@@ -1,132 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import 'global';
|
6
|
-
|
7
|
-
//
|
8
|
-
// Breadcrumb Variables
|
9
|
-
//
|
10
|
-
$include-html-nav-classes: $include-html-classes !default;
|
11
|
-
|
12
|
-
// We use this to set the background color for the breadcrumb container.
|
13
|
-
$crumb-bg: scale-color($secondary-color, $lightness: 55%) !default;
|
14
|
-
|
15
|
-
// We use these to set the padding around the breadcrumbs.
|
16
|
-
$crumb-padding: rem-calc(9 14 9) !default;
|
17
|
-
$crumb-side-padding: rem-calc(12) !default;
|
18
|
-
|
19
|
-
// We use these to control border styles.
|
20
|
-
$crumb-function-factor: -10% !default;
|
21
|
-
$crumb-border-size: 1px !default;
|
22
|
-
$crumb-border-style: solid !default;
|
23
|
-
$crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor) !default;
|
24
|
-
$crumb-radius: $global-radius !default;
|
25
|
-
|
26
|
-
// We use these to set various text styles for breadcrumbs.
|
27
|
-
$crumb-font-size: rem-calc(11) !default;
|
28
|
-
$crumb-font-color: $primary-color !default;
|
29
|
-
$crumb-font-color-current: $oil !default;
|
30
|
-
$crumb-font-color-unavailable: $aluminum !default;
|
31
|
-
$crumb-font-transform: uppercase !default;
|
32
|
-
$crumb-link-decor: underline !default;
|
33
|
-
|
34
|
-
// We use these to control the slash between breadcrumbs
|
35
|
-
$crumb-slash-color: $base !default;
|
36
|
-
$crumb-slash: "/" !default;
|
37
|
-
$crumb-slash-position: 1px !default;
|
38
|
-
|
39
|
-
//
|
40
|
-
// Breadcrumb Mixins
|
41
|
-
//
|
42
|
-
|
43
|
-
// We use this mixin to create a container around our breadcrumbs
|
44
|
-
@mixin crumb-container {
|
45
|
-
border-style: $crumb-border-style;
|
46
|
-
border-width: $crumb-border-size;
|
47
|
-
display: block;
|
48
|
-
list-style: none;
|
49
|
-
margin-#{$default-float}: 0;
|
50
|
-
overflow: hidden;
|
51
|
-
padding: $crumb-padding;
|
52
|
-
|
53
|
-
// We control which background color and border come through.
|
54
|
-
background-color: $crumb-bg;
|
55
|
-
border-color: $crumb-border-color;
|
56
|
-
}
|
57
|
-
|
58
|
-
// We use this mixin to create breadcrumb styles from list items.
|
59
|
-
@mixin crumbs {
|
60
|
-
|
61
|
-
// A normal state will make the links look and act like clickable breadcrumbs.
|
62
|
-
color: $crumb-font-color;
|
63
|
-
float: $default-float;
|
64
|
-
font-size: $crumb-font-size;
|
65
|
-
line-height: $crumb-font-size;
|
66
|
-
margin: 0;
|
67
|
-
text-transform: $crumb-font-transform;
|
68
|
-
|
69
|
-
&:hover a, &:focus a { text-decoration: $crumb-link-decor; }
|
70
|
-
|
71
|
-
a {
|
72
|
-
color: $crumb-font-color;
|
73
|
-
}
|
74
|
-
|
75
|
-
// Current is for the link of the current page
|
76
|
-
&.current {
|
77
|
-
color: $crumb-font-color-current;
|
78
|
-
cursor: $cursor-default-value;
|
79
|
-
a {
|
80
|
-
color: $crumb-font-color-current;
|
81
|
-
cursor: $cursor-default-value;
|
82
|
-
}
|
83
|
-
|
84
|
-
&:hover, &:hover a,
|
85
|
-
&:focus, &:focus a { text-decoration: none; }
|
86
|
-
}
|
87
|
-
|
88
|
-
// Unavailable removed color and link styles so it looks inactive.
|
89
|
-
&.unavailable {
|
90
|
-
color: $crumb-font-color-unavailable;
|
91
|
-
a { color: $crumb-font-color-unavailable; }
|
92
|
-
|
93
|
-
&:hover,
|
94
|
-
&:hover a,
|
95
|
-
&:focus,
|
96
|
-
a:focus {
|
97
|
-
color: $crumb-font-color-unavailable;
|
98
|
-
cursor: $cursor-disabled-value;
|
99
|
-
text-decoration: none;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
&:before {
|
104
|
-
color: $crumb-slash-color;
|
105
|
-
content: "#{$crumb-slash}";
|
106
|
-
margin: 0 $crumb-side-padding;
|
107
|
-
position: relative;
|
108
|
-
top: $crumb-slash-position;
|
109
|
-
}
|
110
|
-
|
111
|
-
&:first-child:before {
|
112
|
-
content: " ";
|
113
|
-
margin: 0;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
|
117
|
-
@include exports("breadcrumbs") {
|
118
|
-
@if $include-html-nav-classes {
|
119
|
-
.breadcrumbs {
|
120
|
-
@include crumb-container;
|
121
|
-
@include radius($crumb-radius);
|
122
|
-
|
123
|
-
> * {
|
124
|
-
@include crumbs;
|
125
|
-
}
|
126
|
-
}
|
127
|
-
/* Accessibility - hides the forward slash */
|
128
|
-
[aria-label="breadcrumbs"] [aria-hidden="true"]:after {
|
129
|
-
content: "/";
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|