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,261 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group switch
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Background color of a switch.
|
10
|
+
/// @type Color
|
11
|
+
$switch-background: $medium-gray !default;
|
12
|
+
|
13
|
+
/// Background active color of a switch.
|
14
|
+
/// @type Color
|
15
|
+
$switch-background-active: $primary-color !default;
|
16
|
+
|
17
|
+
/// Height of a switch, with no class applied.
|
18
|
+
/// @type Number
|
19
|
+
$switch-height: 2rem !default;
|
20
|
+
|
21
|
+
/// Height of a switch with .tiny class.
|
22
|
+
/// @type Number
|
23
|
+
$switch-height-tiny: 1.5rem !default;
|
24
|
+
|
25
|
+
/// Height of a switch with .small class.
|
26
|
+
/// @type Number
|
27
|
+
$switch-height-small: 1.75rem !default;
|
28
|
+
|
29
|
+
/// Height of a switch with .large class.
|
30
|
+
/// @type Number
|
31
|
+
$switch-height-large: 2.5rem !default;
|
32
|
+
|
33
|
+
/// Border radius of the switch
|
34
|
+
/// @type Number
|
35
|
+
$switch-radius: $global-radius !default;
|
36
|
+
|
37
|
+
/// border around a modal.
|
38
|
+
/// @type Number
|
39
|
+
$switch-margin: $global-margin !default;
|
40
|
+
|
41
|
+
/// Background color for the switch container and paddle.
|
42
|
+
/// @type Color
|
43
|
+
$switch-paddle-background: $white !default;
|
44
|
+
|
45
|
+
/// Spacing between a switch paddle and the edge of the body.
|
46
|
+
/// @type Number
|
47
|
+
$switch-paddle-offset: 0.25rem !default;
|
48
|
+
|
49
|
+
/// border radius of the switch paddle
|
50
|
+
/// @type Number
|
51
|
+
$switch-paddle-radius: $global-radius !default;
|
52
|
+
|
53
|
+
/// switch transition.
|
54
|
+
/// @type Number
|
55
|
+
$switch-paddle-transition: all 0.25s ease-out !default;
|
56
|
+
|
57
|
+
/// Opacity of a disabled switch.
|
58
|
+
/// @type Number
|
59
|
+
$switch-opacity-disabled: .5 !default;
|
60
|
+
|
61
|
+
/// Cursor for a disabled switch.
|
62
|
+
/// @type Cursor
|
63
|
+
$switch-cursor-disabled: not-allowed !default;
|
64
|
+
|
65
|
+
// make them variables
|
66
|
+
// ask about accessibility on label
|
67
|
+
// change class name for text
|
68
|
+
|
69
|
+
/// Adds styles for a switch container. Apply this to a container class.
|
70
|
+
@mixin switch-container {
|
71
|
+
position: relative;
|
72
|
+
margin-bottom: $switch-margin;
|
73
|
+
outline: 0;
|
74
|
+
|
75
|
+
// These properties cascade down to the switch text
|
76
|
+
font-size: rem-calc(14);
|
77
|
+
font-weight: bold;
|
78
|
+
color: $white;
|
79
|
+
|
80
|
+
user-select: none;
|
81
|
+
}
|
82
|
+
|
83
|
+
/// Adds styles for a switch input. Apply this to an `<input>` within a switch.
|
84
|
+
@mixin switch-input {
|
85
|
+
position: absolute;
|
86
|
+
margin-bottom: 0;
|
87
|
+
opacity: 0;
|
88
|
+
}
|
89
|
+
|
90
|
+
/// Adds styles for the background and paddle of a switch. Apply this to a `<label>` within a switch.
|
91
|
+
@mixin switch-paddle {
|
92
|
+
$switch-width: $switch-height * 2;
|
93
|
+
$paddle-height: $switch-height - ($switch-paddle-offset * 2);
|
94
|
+
$paddle-width: $switch-height - ($switch-paddle-offset * 2);
|
95
|
+
$paddle-active-offest: $switch-width - $paddle-width - $switch-paddle-offset;
|
96
|
+
|
97
|
+
position: relative;
|
98
|
+
display: block;
|
99
|
+
width: $switch-width;
|
100
|
+
height: $switch-height;
|
101
|
+
|
102
|
+
border-radius: $switch-radius;
|
103
|
+
background: $switch-background;
|
104
|
+
transition: $switch-paddle-transition;
|
105
|
+
|
106
|
+
// Resetting these <label> presets so type styles cascade down
|
107
|
+
font-weight: inherit;
|
108
|
+
color: inherit;
|
109
|
+
|
110
|
+
cursor: pointer;
|
111
|
+
|
112
|
+
// Needed to override specificity
|
113
|
+
input + & {
|
114
|
+
margin: 0;
|
115
|
+
}
|
116
|
+
|
117
|
+
// The paddle itself
|
118
|
+
&::after {
|
119
|
+
position: absolute;
|
120
|
+
top: $switch-paddle-offset;
|
121
|
+
#{$global-left}: $switch-paddle-offset;
|
122
|
+
|
123
|
+
display: block;
|
124
|
+
width: $paddle-width;
|
125
|
+
height: $paddle-height;
|
126
|
+
|
127
|
+
transform: translate3d(0, 0, 0);
|
128
|
+
border-radius: $switch-paddle-radius;
|
129
|
+
background: $switch-paddle-background;
|
130
|
+
transition: $switch-paddle-transition;
|
131
|
+
content: '';
|
132
|
+
}
|
133
|
+
|
134
|
+
// Change the visual style when the switch is active
|
135
|
+
input:checked ~ & {
|
136
|
+
background: $switch-background-active;
|
137
|
+
|
138
|
+
&::after {
|
139
|
+
#{$global-left}: $paddle-active-offest;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
// indicate a disabled switch
|
144
|
+
input:disabled ~ & {
|
145
|
+
cursor: $switch-cursor-disabled;
|
146
|
+
opacity: $switch-opacity-disabled;
|
147
|
+
}
|
148
|
+
|
149
|
+
input:focus ~ & {
|
150
|
+
@include disable-mouse-outline;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
/// Adds base styles for active/inactive text inside a switch. Apply this to text elements inside the switch `<label>`.
|
155
|
+
@mixin switch-text {
|
156
|
+
position: absolute;
|
157
|
+
top: 50%;
|
158
|
+
transform: translateY(-50%);
|
159
|
+
}
|
160
|
+
|
161
|
+
/// Adds styles for the active state text within a switch.
|
162
|
+
@mixin switch-text-active {
|
163
|
+
#{$global-left}: 8%;
|
164
|
+
display: none;
|
165
|
+
|
166
|
+
input:checked + label > & {
|
167
|
+
display: block;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
/// Adds styles for the inactive state text within a switch.
|
172
|
+
@mixin switch-text-inactive {
|
173
|
+
#{$global-right}: 15%;
|
174
|
+
|
175
|
+
input:checked + label > & {
|
176
|
+
display: none;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
/// Changes the size of a switch by modifying the size of the body and paddle. Apply this to a switch container.
|
181
|
+
/// @param {Number} $font-size [1rem] - Font size of label text within the switch.
|
182
|
+
/// @param {Number} $switch-height [2rem] - Height of the switch body.
|
183
|
+
/// @param {Number} $paddle-offset [0.25rem] - Spacing between the switch paddle and the edge of the switch body.
|
184
|
+
@mixin switch-size(
|
185
|
+
$font-size: 1rem,
|
186
|
+
$switch-height: 2rem,
|
187
|
+
$paddle-offset: 0.25rem
|
188
|
+
) {
|
189
|
+
|
190
|
+
$switch-width: $switch-height * 2;
|
191
|
+
$paddle-width: $switch-height - ($paddle-offset * 2);
|
192
|
+
$paddle-height: $switch-height - ($paddle-offset * 2);
|
193
|
+
$paddle-active-offest: $switch-width - $paddle-width - $paddle-offset;
|
194
|
+
|
195
|
+
height: $switch-height;
|
196
|
+
|
197
|
+
.switch-paddle {
|
198
|
+
width: $switch-width;
|
199
|
+
height: $switch-height;
|
200
|
+
font-size: $font-size;
|
201
|
+
}
|
202
|
+
|
203
|
+
.switch-paddle::after {
|
204
|
+
top: $paddle-offset;
|
205
|
+
#{$global-left}: $paddle-offset;
|
206
|
+
width: $paddle-width;
|
207
|
+
height: $paddle-height;
|
208
|
+
}
|
209
|
+
|
210
|
+
input:checked ~ .switch-paddle::after {
|
211
|
+
#{$global-left}: $paddle-active-offest;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
@mixin foundation-switch {
|
216
|
+
// Container class
|
217
|
+
.switch {
|
218
|
+
height: $switch-height;
|
219
|
+
@include switch-container;
|
220
|
+
}
|
221
|
+
|
222
|
+
// <input> element
|
223
|
+
.switch-input {
|
224
|
+
@include switch-input;
|
225
|
+
}
|
226
|
+
|
227
|
+
// <label> element
|
228
|
+
.switch-paddle {
|
229
|
+
@include switch-paddle;
|
230
|
+
}
|
231
|
+
|
232
|
+
// Base label text styles
|
233
|
+
%switch-text {
|
234
|
+
@include switch-text;
|
235
|
+
}
|
236
|
+
|
237
|
+
// Active label text styles
|
238
|
+
.switch-active {
|
239
|
+
@extend %switch-text;
|
240
|
+
@include switch-text-active;
|
241
|
+
}
|
242
|
+
|
243
|
+
// Inactive label text styles
|
244
|
+
.switch-inactive {
|
245
|
+
@extend %switch-text;
|
246
|
+
@include switch-text-inactive;
|
247
|
+
}
|
248
|
+
|
249
|
+
// Switch sizes
|
250
|
+
.switch.tiny {
|
251
|
+
@include switch-size(rem-calc(10), $switch-height-tiny, $switch-paddle-offset);
|
252
|
+
}
|
253
|
+
|
254
|
+
.switch.small {
|
255
|
+
@include switch-size(rem-calc(12), $switch-height-small, $switch-paddle-offset);
|
256
|
+
}
|
257
|
+
|
258
|
+
.switch.large {
|
259
|
+
@include switch-size(rem-calc(16), $switch-height-large, $switch-paddle-offset);
|
260
|
+
}
|
261
|
+
}
|
@@ -0,0 +1,328 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
// sass-lint:disable no-qualifying-elements
|
6
|
+
|
7
|
+
////
|
8
|
+
/// @group table
|
9
|
+
////
|
10
|
+
|
11
|
+
/// Default color for table background.
|
12
|
+
/// @type Color
|
13
|
+
$table-background: $white !default;
|
14
|
+
|
15
|
+
/// Default scale for darkening the striped table rows and the table border.
|
16
|
+
/// @type Number
|
17
|
+
$table-color-scale: 5% !default;
|
18
|
+
|
19
|
+
/// Default style for table border.
|
20
|
+
/// @type List
|
21
|
+
$table-border: 1px solid smart-scale($table-background, $table-color-scale) !default;
|
22
|
+
|
23
|
+
/// Default padding for table.
|
24
|
+
/// @type Number
|
25
|
+
$table-padding: rem-calc(8 10 10) !default;
|
26
|
+
|
27
|
+
/// Default scale for darkening the table rows on hover.
|
28
|
+
/// @type Number
|
29
|
+
$table-hover-scale: 2% !default;
|
30
|
+
|
31
|
+
/// Default color of standard rows on hover.
|
32
|
+
/// @type List
|
33
|
+
$table-row-hover: darken($table-background, $table-hover-scale) !default;
|
34
|
+
|
35
|
+
/// Default color of striped rows on hover.
|
36
|
+
/// @type List
|
37
|
+
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale) !default;
|
38
|
+
|
39
|
+
/// If `true`, tables are striped by default and an .unstriped class is created. If `false`, a .striped class is created.
|
40
|
+
/// @type Boolean
|
41
|
+
$table-is-striped: true !default;
|
42
|
+
|
43
|
+
/// Default background color for striped rows.
|
44
|
+
/// @type Color
|
45
|
+
$table-striped-background: smart-scale($table-background, $table-color-scale) !default;
|
46
|
+
|
47
|
+
/// Default value for showing the stripe on rows of the tables, excluding the header and footer. If even, the even rows will have a background color. If odd, the odd rows will have a background color. If empty, or any other value, the table rows will have no striping.
|
48
|
+
/// @type Keyword
|
49
|
+
$table-stripe: even !default;
|
50
|
+
|
51
|
+
/// Default color for header background.
|
52
|
+
/// @type Color
|
53
|
+
$table-head-background: smart-scale($table-background, $table-color-scale / 2) !default;
|
54
|
+
|
55
|
+
/// Default color of header rows on hover.
|
56
|
+
/// @type List
|
57
|
+
$table-head-row-hover: darken($table-head-background, $table-hover-scale) !default;
|
58
|
+
|
59
|
+
/// Default color for footer background.
|
60
|
+
/// @type Color
|
61
|
+
$table-foot-background: smart-scale($table-background, $table-color-scale) !default;
|
62
|
+
|
63
|
+
/// Default color of footer rows on hover.
|
64
|
+
/// @type List
|
65
|
+
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale) !default;
|
66
|
+
|
67
|
+
/// Default font color for header.
|
68
|
+
/// @type Color
|
69
|
+
$table-head-font-color: $body-font-color !default;
|
70
|
+
|
71
|
+
/// Default font color for footer.
|
72
|
+
/// @type Color
|
73
|
+
$table-foot-font-color: $body-font-color !default;
|
74
|
+
|
75
|
+
/// Default value for showing the header when using stacked tables.
|
76
|
+
/// @type Boolean
|
77
|
+
$show-header-for-stacked: false !default;
|
78
|
+
|
79
|
+
/// Breakpoint at which stacked table switches from mobile to desktop view.
|
80
|
+
/// @type Breakpoint
|
81
|
+
$table-stack-breakpoint: medium !default;
|
82
|
+
|
83
|
+
@mixin -zf-table-stripe($stripe: $table-stripe) {
|
84
|
+
tr {
|
85
|
+
// If stripe is set to even, darken the even rows.
|
86
|
+
@if $stripe == even {
|
87
|
+
&:nth-child(even) {
|
88
|
+
border-bottom: 0;
|
89
|
+
background-color: $table-striped-background;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// If stripe is set to odd, darken the odd rows.
|
94
|
+
@else if $stripe == odd {
|
95
|
+
&:nth-child(odd) {
|
96
|
+
background-color: $table-striped-background;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
@mixin -zf-table-unstripe() {
|
103
|
+
tr {
|
104
|
+
border-bottom: 0;
|
105
|
+
border-bottom: $table-border;
|
106
|
+
background-color: $table-background;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
@mixin -zf-table-children-styles($stripe: $table-stripe, $is-striped: $table-is-striped) {
|
111
|
+
thead,
|
112
|
+
tbody,
|
113
|
+
tfoot {
|
114
|
+
border: $table-border;
|
115
|
+
background-color: $table-background;
|
116
|
+
}
|
117
|
+
|
118
|
+
// Caption
|
119
|
+
caption {
|
120
|
+
padding: $table-padding;
|
121
|
+
font-weight: $global-weight-bold;
|
122
|
+
}
|
123
|
+
|
124
|
+
// Table head
|
125
|
+
thead {
|
126
|
+
background: $table-head-background;
|
127
|
+
color: $table-head-font-color;
|
128
|
+
}
|
129
|
+
|
130
|
+
// Table foot
|
131
|
+
tfoot {
|
132
|
+
background: $table-foot-background;
|
133
|
+
color: $table-foot-font-color;
|
134
|
+
}
|
135
|
+
|
136
|
+
// Table head and foot
|
137
|
+
thead,
|
138
|
+
tfoot {
|
139
|
+
// Rows within head and foot
|
140
|
+
tr {
|
141
|
+
background: transparent;
|
142
|
+
}
|
143
|
+
|
144
|
+
// Cells within head and foot
|
145
|
+
th,
|
146
|
+
td {
|
147
|
+
padding: $table-padding;
|
148
|
+
font-weight: $global-weight-bold;
|
149
|
+
text-align: #{$global-left};
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
// Table rows
|
154
|
+
tbody {
|
155
|
+
th,
|
156
|
+
td {
|
157
|
+
padding: $table-padding;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
// If tables are striped
|
162
|
+
@if $is-striped == true {
|
163
|
+
tbody {
|
164
|
+
@include -zf-table-stripe($stripe);
|
165
|
+
}
|
166
|
+
|
167
|
+
&.unstriped {
|
168
|
+
tbody {
|
169
|
+
@include -zf-table-unstripe();
|
170
|
+
background-color: $table-background;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
// If tables are not striped
|
176
|
+
@else if $is-striped == false {
|
177
|
+
tbody {
|
178
|
+
@include -zf-table-unstripe();
|
179
|
+
}
|
180
|
+
|
181
|
+
&.striped {
|
182
|
+
tbody {
|
183
|
+
@include -zf-table-stripe($stripe);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
/// Adds the general styles for tables.
|
190
|
+
/// @param {Keyword} $stripe [$table-stripe] - Uses keywords even, odd, or none to darken rows of the table. The default value is even.
|
191
|
+
/// @param {Boolean} $nest [false] - Needed if you only want to apply this to a specific table.
|
192
|
+
@mixin table(
|
193
|
+
$stripe: $table-stripe,
|
194
|
+
$nest: false
|
195
|
+
) {
|
196
|
+
border-collapse: collapse;
|
197
|
+
width: 100%;
|
198
|
+
margin-bottom: $global-margin;
|
199
|
+
border-radius: $global-radius;
|
200
|
+
|
201
|
+
@if $nest {
|
202
|
+
@include -zf-table-children-styles($stripe);
|
203
|
+
}
|
204
|
+
@else {
|
205
|
+
@at-root {
|
206
|
+
@include -zf-table-children-styles($stripe);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
/// Adds the ability to horizontally scroll the table when the content overflows horizontally.
|
212
|
+
@mixin table-scroll {
|
213
|
+
display: block;
|
214
|
+
width: 100%;
|
215
|
+
overflow-x: auto;
|
216
|
+
}
|
217
|
+
|
218
|
+
/// Slightly darkens the table rows on hover.
|
219
|
+
@mixin table-hover {
|
220
|
+
thead tr {
|
221
|
+
//Darkens the table header rows on hover.
|
222
|
+
&:hover {
|
223
|
+
background-color: $table-head-row-hover;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
tfoot tr {
|
228
|
+
//Darkens the table footer rows on hover.
|
229
|
+
&:hover {
|
230
|
+
background-color: $table-foot-row-hover;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
tbody tr {
|
235
|
+
//Darkens the non-striped table rows on hover.
|
236
|
+
&:hover {
|
237
|
+
background-color: $table-row-hover;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
@if $table-is-striped == true {
|
242
|
+
// Darkens the even striped table rows.
|
243
|
+
@if($table-stripe == even) {
|
244
|
+
&:not(.unstriped) tr:nth-of-type(even):hover {
|
245
|
+
background-color: $table-row-stripe-hover;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
// Darkens the odd striped table rows.
|
250
|
+
@else if($table-stripe == odd) {
|
251
|
+
&:not(.unstriped) tr:nth-of-type(odd):hover {
|
252
|
+
background-color: $table-row-stripe-hover;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
@else if $table-is-striped == false {
|
258
|
+
// Darkens the even striped table rows.
|
259
|
+
@if($table-stripe == even) {
|
260
|
+
&.striped tr:nth-of-type(even):hover {
|
261
|
+
background-color: $table-row-stripe-hover;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
// Darkens the odd striped table rows.
|
266
|
+
@else if($table-stripe == odd) {
|
267
|
+
&.striped tr:nth-of-type(odd):hover {
|
268
|
+
background-color: $table-row-stripe-hover;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
/// Adds styles for a stacked table. Useful for small-screen layouts.
|
275
|
+
/// @param {Boolean} $header [$show-header-for-stacked] - Show the first th of header when stacked.
|
276
|
+
@mixin table-stack($header: $show-header-for-stacked) {
|
277
|
+
@if $header {
|
278
|
+
thead {
|
279
|
+
th {
|
280
|
+
display: block;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
@else {
|
285
|
+
thead {
|
286
|
+
display: none;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
tfoot {
|
291
|
+
display: none;
|
292
|
+
}
|
293
|
+
|
294
|
+
tr,
|
295
|
+
th,
|
296
|
+
td {
|
297
|
+
display: block;
|
298
|
+
}
|
299
|
+
|
300
|
+
td {
|
301
|
+
border-top: 0;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
|
305
|
+
@mixin foundation-table($nest: false) {
|
306
|
+
table {
|
307
|
+
@include table($nest: $nest);
|
308
|
+
}
|
309
|
+
|
310
|
+
table.stack {
|
311
|
+
@include breakpoint($table-stack-breakpoint down) {
|
312
|
+
@include table-stack;
|
313
|
+
}
|
314
|
+
}
|
315
|
+
|
316
|
+
table.scroll {
|
317
|
+
@include table-scroll;
|
318
|
+
}
|
319
|
+
|
320
|
+
table.hover {
|
321
|
+
@include table-hover;
|
322
|
+
}
|
323
|
+
|
324
|
+
.table-scroll {
|
325
|
+
overflow-x: auto;
|
326
|
+
|
327
|
+
}
|
328
|
+
}
|