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
@@ -0,0 +1,119 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group breadcrumbs
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Margin around a breadcrumbs container.
|
10
|
+
/// @type Number
|
11
|
+
$breadcrumbs-margin: 0 0 $global-margin 0 !default;
|
12
|
+
|
13
|
+
/// Font size of breadcrumb links.
|
14
|
+
/// @type Number
|
15
|
+
$breadcrumbs-item-font-size: rem-calc(11) !default;
|
16
|
+
|
17
|
+
/// Color of breadcrumb links.
|
18
|
+
/// @type Color
|
19
|
+
$breadcrumbs-item-color: $primary-color !default;
|
20
|
+
|
21
|
+
/// Color of the active breadcrumb link.
|
22
|
+
/// @type Color
|
23
|
+
$breadcrumbs-item-color-current: $black !default;
|
24
|
+
|
25
|
+
/// Opacity of disabled breadcrumb links.
|
26
|
+
/// @type Number
|
27
|
+
$breadcrumbs-item-color-disabled: $medium-gray !default;
|
28
|
+
|
29
|
+
/// Margin between breadcrumb items.
|
30
|
+
/// @type Number
|
31
|
+
$breadcrumbs-item-margin: 0.75rem !default;
|
32
|
+
|
33
|
+
/// If `true`, makes breadcrumb links uppercase.
|
34
|
+
/// @type Boolean
|
35
|
+
$breadcrumbs-item-uppercase: true !default;
|
36
|
+
|
37
|
+
/// If `true`, adds a seperator between breadcrumb links.
|
38
|
+
/// @type Boolean
|
39
|
+
$breadcrumbs-item-separator: true !default;
|
40
|
+
|
41
|
+
// If it exists $breadcrumbs-item-slash is used to build $breadcrumbs-item-separator. See the documentation.
|
42
|
+
@if variable-exists(breadcrumbs-item-slash) {
|
43
|
+
$breadcrumbs-item-separator: $breadcrumbs-item-slash;
|
44
|
+
}
|
45
|
+
|
46
|
+
/// Used character for the breadcrumb separator.
|
47
|
+
/// @type Content
|
48
|
+
$breadcrumbs-item-separator-item: '/' !default;
|
49
|
+
|
50
|
+
/// Used character for the breadcrumb separator in rtl mode.
|
51
|
+
/// @type Content
|
52
|
+
$breadcrumbs-item-separator-item-rtl: '\\' !default;
|
53
|
+
|
54
|
+
/// Color of breadcrumb item.
|
55
|
+
/// @type Color
|
56
|
+
$breadcrumbs-item-separator-color: $medium-gray !default;
|
57
|
+
|
58
|
+
// If it exists $breadcrumbs-item-slash-color is used to build $breadcrumbs-item-separator-color. See the documentation.
|
59
|
+
@if variable-exists(breadcrumbs-item-slash-color) {
|
60
|
+
$breadcrumbs-item-separator-color: $breadcrumbs-item-slash-color;
|
61
|
+
}
|
62
|
+
|
63
|
+
/// Adds styles for a breadcrumbs container, along with the styles for the `<li>` and `<a>` elements inside of it.
|
64
|
+
@mixin breadcrumbs-container {
|
65
|
+
@include clearfix;
|
66
|
+
margin: $breadcrumbs-margin;
|
67
|
+
list-style: none;
|
68
|
+
|
69
|
+
// Item wrapper
|
70
|
+
li {
|
71
|
+
float: #{$global-left};
|
72
|
+
|
73
|
+
font-size: $breadcrumbs-item-font-size;
|
74
|
+
color: $breadcrumbs-item-color-current;
|
75
|
+
cursor: default;
|
76
|
+
|
77
|
+
@if $breadcrumbs-item-uppercase {
|
78
|
+
text-transform: uppercase;
|
79
|
+
}
|
80
|
+
|
81
|
+
@if $breadcrumbs-item-separator {
|
82
|
+
// Need to escape the backslash
|
83
|
+
$separator: if($global-text-direction == 'ltr', $breadcrumbs-item-separator-item, $breadcrumbs-item-separator-item-rtl);
|
84
|
+
|
85
|
+
&:not(:last-child) {
|
86
|
+
&::after {
|
87
|
+
position: relative;
|
88
|
+
margin: 0 $breadcrumbs-item-margin;
|
89
|
+
opacity: 1;
|
90
|
+
content: $separator;
|
91
|
+
color: $breadcrumbs-item-separator-color;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
@else {
|
96
|
+
margin-#{$global-right}: $breadcrumbs-item-margin;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
// Page links
|
101
|
+
a {
|
102
|
+
color: $breadcrumbs-item-color;
|
103
|
+
|
104
|
+
&:hover {
|
105
|
+
text-decoration: underline;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
@mixin foundation-breadcrumbs {
|
111
|
+
.breadcrumbs {
|
112
|
+
@include breadcrumbs-container;
|
113
|
+
|
114
|
+
.disabled {
|
115
|
+
color: $breadcrumbs-item-color-disabled;
|
116
|
+
cursor: not-allowed;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,304 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group button-group
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Margin for button groups.
|
10
|
+
/// @type Number
|
11
|
+
$buttongroup-margin: 1rem !default;
|
12
|
+
|
13
|
+
/// Margin between buttons in a button group.
|
14
|
+
/// @type Number
|
15
|
+
$buttongroup-spacing: 1px !default;
|
16
|
+
|
17
|
+
/// Selector for the buttons inside a button group.
|
18
|
+
/// @type String
|
19
|
+
$buttongroup-child-selector: '.button' !default;
|
20
|
+
|
21
|
+
/// Maximum number of buttons that can be in an even-width button group. (Only needed when $global-flexbox: false;)
|
22
|
+
/// @type Number
|
23
|
+
$buttongroup-expand-max: 6 !default;
|
24
|
+
|
25
|
+
/// Determines if $button-radius is applied to each button or the button group as a whole. Use $global-radius in _settings.scss to change radius.
|
26
|
+
/// @type Boolean
|
27
|
+
$buttongroup-radius-on-each: true !default;
|
28
|
+
|
29
|
+
/// Add styles for a button group container.
|
30
|
+
/// @param {String} $child-selector [$buttongroup-child-selector] - Selector for the buttons inside a button group.
|
31
|
+
/// @param {Number} $spacing [$buttongroup-spacing] - Spacing between buttons in a button group.
|
32
|
+
@mixin button-group(
|
33
|
+
$child-selector: $buttongroup-child-selector,
|
34
|
+
$spacing: $buttongroup-spacing
|
35
|
+
) {
|
36
|
+
@include clearfix;
|
37
|
+
margin-bottom: $buttongroup-margin;
|
38
|
+
|
39
|
+
@if $global-flexbox {
|
40
|
+
display: flex;
|
41
|
+
flex-wrap: wrap;
|
42
|
+
align-items: stretch;
|
43
|
+
flex-grow: 1;
|
44
|
+
|
45
|
+
&::before,
|
46
|
+
&::after {
|
47
|
+
display: none; // Disable clearfix
|
48
|
+
}
|
49
|
+
}
|
50
|
+
@else {
|
51
|
+
font-size: 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
#{$child-selector} {
|
55
|
+
margin: 0;
|
56
|
+
margin-#{$global-right}: $spacing;
|
57
|
+
margin-bottom: $spacing;
|
58
|
+
font-size: map-get($button-sizes, default);
|
59
|
+
|
60
|
+
@if $global-flexbox {
|
61
|
+
flex: 0 0 auto;
|
62
|
+
}
|
63
|
+
|
64
|
+
&:last-child {
|
65
|
+
margin-#{$global-right}: 0;
|
66
|
+
}
|
67
|
+
|
68
|
+
@if not $buttongroup-radius-on-each {
|
69
|
+
border-radius: 0;
|
70
|
+
|
71
|
+
&:first-child {
|
72
|
+
border-top-#{$global-left}-radius: $button-radius;
|
73
|
+
border-bottom-#{$global-left}-radius: $button-radius;
|
74
|
+
}
|
75
|
+
|
76
|
+
&:last-child {
|
77
|
+
border-top-#{$global-right}-radius: $button-radius;
|
78
|
+
border-bottom-#{$global-right}-radius: $button-radius;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
/// Make buttons bonded without gap between them. Borders between buttons are merged
|
85
|
+
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside a button group.
|
86
|
+
@mixin button-group-no-gaps(
|
87
|
+
$selector: $buttongroup-child-selector,
|
88
|
+
$border-width: $button-hollow-border-width
|
89
|
+
) {
|
90
|
+
#{$selector} {
|
91
|
+
margin-#{$global-right}: rem-calc(-$border-width);
|
92
|
+
|
93
|
+
+ #{$selector} {
|
94
|
+
border-#{$global-left}-color: transparent;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
/// Creates a full-width button group, making each button equal width.
|
100
|
+
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside a button group.
|
101
|
+
/// @param {Number} $spacing [$buttongroup-spacing] - Spacing between buttons in a button group.
|
102
|
+
@mixin button-group-expand(
|
103
|
+
$selector: $buttongroup-child-selector,
|
104
|
+
$spacing: $buttongroup-spacing,
|
105
|
+
$count: null
|
106
|
+
) {
|
107
|
+
@if not $global-flexbox {
|
108
|
+
margin-#{$global-right}: -$spacing;
|
109
|
+
|
110
|
+
&::before,
|
111
|
+
&::after {
|
112
|
+
display: none; // Disable clearfix
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
#{$selector} {
|
117
|
+
@if $global-flexbox {
|
118
|
+
flex: 1 1 0px; // sass-lint:disable-line zero-unit
|
119
|
+
margin-right: 0;
|
120
|
+
}
|
121
|
+
@else {
|
122
|
+
// One child
|
123
|
+
&:first-child {
|
124
|
+
&:last-child {
|
125
|
+
width: calc(100% - #{$spacing});
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
// Two or more childreen
|
130
|
+
@for $i from 2 through $buttongroup-expand-max {
|
131
|
+
&:first-child:nth-last-child(#{$i}) {
|
132
|
+
&, &:first-child:nth-last-child(#{$i}) ~ #{$selector} {
|
133
|
+
display: inline-block;
|
134
|
+
width: calc(#{percentage(1 / $i)} - #{$spacing});
|
135
|
+
margin-#{$global-right}: $spacing;
|
136
|
+
|
137
|
+
&:last-child {
|
138
|
+
margin-#{$global-right}: $spacing * -$buttongroup-expand-max;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
/// Stacks the buttons in a button group.
|
148
|
+
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside the button group.
|
149
|
+
@mixin button-group-stack(
|
150
|
+
$selector: $buttongroup-child-selector
|
151
|
+
) {
|
152
|
+
@if $global-flexbox {
|
153
|
+
flex-wrap: wrap;
|
154
|
+
}
|
155
|
+
|
156
|
+
#{$selector} {
|
157
|
+
@if $global-flexbox {
|
158
|
+
flex: 0 0 100%;
|
159
|
+
}
|
160
|
+
@else {
|
161
|
+
width: 100%;
|
162
|
+
}
|
163
|
+
|
164
|
+
&:last-child {
|
165
|
+
margin-bottom: 0;
|
166
|
+
}
|
167
|
+
|
168
|
+
@if not $buttongroup-radius-on-each {
|
169
|
+
border-radius: 0;
|
170
|
+
|
171
|
+
&:first-child {
|
172
|
+
border-top-#{$global-left}-radius: $global-radius;
|
173
|
+
border-top-#{$global-right}-radius: $global-radius;
|
174
|
+
}
|
175
|
+
|
176
|
+
&:last-child {
|
177
|
+
margin-bottom: 0;
|
178
|
+
border-bottom-#{$global-left}-radius: $global-radius;
|
179
|
+
border-bottom-#{$global-right}-radius: $global-radius;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
/// Un-stacks the buttons in a button group.
|
186
|
+
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside the button group.
|
187
|
+
@mixin button-group-unstack(
|
188
|
+
$selector: $buttongroup-child-selector
|
189
|
+
) {
|
190
|
+
#{$selector} {
|
191
|
+
@if $global-flexbox {
|
192
|
+
flex: 0 0 auto;
|
193
|
+
}
|
194
|
+
@else {
|
195
|
+
width: auto;
|
196
|
+
}
|
197
|
+
margin-bottom: 0;
|
198
|
+
|
199
|
+
@if not $buttongroup-radius-on-each {
|
200
|
+
&:first-child {
|
201
|
+
border-top-#{$global-left}-radius: $global-radius;
|
202
|
+
border-top-#{$global-right}-radius: 0;
|
203
|
+
border-bottom-#{$global-left}-radius: $global-radius;
|
204
|
+
}
|
205
|
+
|
206
|
+
&:last-child {
|
207
|
+
border-top-#{$global-right}-radius: $global-radius;
|
208
|
+
border-bottom-#{$global-right}-radius: $global-radius;
|
209
|
+
border-bottom-#{$global-left}-radius: 0;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
@mixin foundation-button-group {
|
217
|
+
.button-group {
|
218
|
+
@include button-group;
|
219
|
+
|
220
|
+
// Sizes
|
221
|
+
@each $size, $value in map-remove($button-sizes, default) {
|
222
|
+
&.#{$size} #{$buttongroup-child-selector} {
|
223
|
+
font-size: $value;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
// Even-width Group
|
228
|
+
&.expanded {
|
229
|
+
@include button-group-expand;
|
230
|
+
}
|
231
|
+
|
232
|
+
// Solid, hollow & clear styles
|
233
|
+
@each $filling in (solid hollow clear) {
|
234
|
+
$base-selector: if($button-fill == $filling, null, '.#{$filling}');
|
235
|
+
|
236
|
+
&#{$base-selector} {
|
237
|
+
// Do not generate button base styles for the default filling
|
238
|
+
@if($button-fill != $filling) {
|
239
|
+
#{$buttongroup-child-selector} {
|
240
|
+
@include button-fill($filling);
|
241
|
+
@include button-fill-style($filling);
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
@each $name, $color in $button-palette {
|
246
|
+
$individual-selector: if($button-fill == $filling, null, ' #{$buttongroup-child-selector}.#{$name}');
|
247
|
+
|
248
|
+
&.#{$name} #{$buttongroup-child-selector}, #{$individual-selector} {
|
249
|
+
@include button-fill-style($filling, $color, auto, auto);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
|
254
|
+
}
|
255
|
+
|
256
|
+
&.no-gaps {
|
257
|
+
@include button-group-no-gaps;
|
258
|
+
}
|
259
|
+
|
260
|
+
&.stacked,
|
261
|
+
&.stacked-for-small,
|
262
|
+
&.stacked-for-medium {
|
263
|
+
@include button-group-stack;
|
264
|
+
|
265
|
+
&.expanded {
|
266
|
+
@include button-group-expand;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
&.stacked-for-small {
|
271
|
+
@include breakpoint(medium) {
|
272
|
+
@include button-group-unstack;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
&.stacked-for-medium {
|
277
|
+
@include breakpoint(large) {
|
278
|
+
@include button-group-unstack;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
&.stacked-for-small.expanded {
|
283
|
+
@include breakpoint(small only) {
|
284
|
+
display: block;
|
285
|
+
|
286
|
+
#{$buttongroup-child-selector} {
|
287
|
+
display: block;
|
288
|
+
margin-#{$global-right}: 0;
|
289
|
+
}
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
&.stacked-for-medium.expanded {
|
294
|
+
@include breakpoint(medium down) {
|
295
|
+
display: block;
|
296
|
+
|
297
|
+
#{$buttongroup-child-selector} {
|
298
|
+
display: block;
|
299
|
+
margin-#{$global-right}: 0;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
}
|
304
|
+
}
|