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,511 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group off-canvas
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Width map of a left/right off-canvas panel.
|
10
|
+
/// @type Map
|
11
|
+
$offcanvas-sizes: (
|
12
|
+
small: 250px,
|
13
|
+
) !default;
|
14
|
+
|
15
|
+
/// Height map of a top/bottom off-canvas panel.
|
16
|
+
/// @type Map
|
17
|
+
$offcanvas-vertical-sizes: (
|
18
|
+
small: 250px,
|
19
|
+
) !default;
|
20
|
+
|
21
|
+
/// Background color of an off-canvas panel.
|
22
|
+
/// @type Color
|
23
|
+
$offcanvas-background: $light-gray !default;
|
24
|
+
|
25
|
+
/// Box shadow for the off-canvas overlap panel.
|
26
|
+
/// @type Shadow
|
27
|
+
$offcanvas-shadow: 0 0 10px rgba($black, 0.7) !default;
|
28
|
+
|
29
|
+
/// Inner box shadow size for the off-canvas push panel.
|
30
|
+
/// @type Number
|
31
|
+
$offcanvas-inner-shadow-size: 20px !default;
|
32
|
+
|
33
|
+
/// Inner box shadow color for the off-canvas push panel.
|
34
|
+
/// @type Color
|
35
|
+
$offcanvas-inner-shadow-color: rgba($black, 0.25) !default;
|
36
|
+
|
37
|
+
/// Z-index of an off-canvas content overlay.
|
38
|
+
/// @type Number
|
39
|
+
$offcanvas-overlay-zindex: 11 !default;
|
40
|
+
|
41
|
+
/// Z-index of an off-canvas panel with the `push` transition.
|
42
|
+
/// @type Number
|
43
|
+
$offcanvas-push-zindex: 12 !default;
|
44
|
+
|
45
|
+
/// Z-index of an off-canvas panel with the `overlap` transition.
|
46
|
+
/// @type Number
|
47
|
+
$offcanvas-overlap-zindex: 13 !default;
|
48
|
+
|
49
|
+
/// Z-index of an off-canvas panel using the `reveal-for-*` classes or mixin.
|
50
|
+
/// @type Number
|
51
|
+
$offcanvas-reveal-zindex: 12 !default;
|
52
|
+
|
53
|
+
/// Length of the animation on an off-canvas panel.
|
54
|
+
/// @type Number
|
55
|
+
$offcanvas-transition-length: 0.5s !default;
|
56
|
+
|
57
|
+
/// Timing function of the animation on an off-canvas panel.
|
58
|
+
/// @type Keyword
|
59
|
+
$offcanvas-transition-timing: ease !default;
|
60
|
+
|
61
|
+
/// If `true`, a revealed off-canvas will be fixed-position, and scroll with the screen.
|
62
|
+
/// @type Bool
|
63
|
+
$offcanvas-fixed-reveal: true !default;
|
64
|
+
|
65
|
+
/// Background color for the overlay that appears when an off-canvas panel is open.
|
66
|
+
/// @type Color
|
67
|
+
$offcanvas-exit-background: rgba($white, 0.25) !default;
|
68
|
+
|
69
|
+
/// CSS class used for the main content area. The off-canvas mixins use this to target the page content.
|
70
|
+
$maincontent-class: 'off-canvas-content' !default;
|
71
|
+
|
72
|
+
/// Adds baseline styles for off-canvas. This CSS is required to make the other pieces work.
|
73
|
+
@mixin off-canvas-basics {
|
74
|
+
|
75
|
+
/// Transform deprecated size settings into map & show warning
|
76
|
+
@if variable-exists(offcanvas-size) {
|
77
|
+
$offcanvas-sizes: (small: $offcanvas-size, medium: $offcanvas-size) !global;
|
78
|
+
@warn '$offcanvas-size is deprecated and not used anymore! Please update your settings and use the map $offcanvas-sizes instead';
|
79
|
+
}
|
80
|
+
@if variable-exists(offcanvas-vertical-size) {
|
81
|
+
$offcanvas-vertical-sizes: (small: $offcanvas-vertical-size, medium: $offcanvas-vertical-size) !global;
|
82
|
+
@warn '$offcanvas-vertical-size is deprecated and not used anymore! Please update your settings and use the map $offcanvas-vertical-sizes instead';
|
83
|
+
}
|
84
|
+
|
85
|
+
// Checks the z-indexes and increase them due to backwards compatibility.
|
86
|
+
// This is necessary because the overlay's z-index is new since v6.4 and may be identical to the user custom settings of the push z-index.
|
87
|
+
@if $offcanvas-push-zindex <= $offcanvas-overlay-zindex { $offcanvas-push-zindex: $offcanvas-overlay-zindex + 1 !global; }
|
88
|
+
@if $offcanvas-overlap-zindex <= $offcanvas-push-zindex { $offcanvas-overlap-zindex: $offcanvas-push-zindex + 1 !global; }
|
89
|
+
@if $offcanvas-reveal-zindex <= $offcanvas-overlay-zindex { $offcanvas-reveal-zindex: $offcanvas-overlay-zindex + 1 !global; }
|
90
|
+
|
91
|
+
// Hides overflow on body when an off-canvas panel is open.
|
92
|
+
.is-off-canvas-open {
|
93
|
+
overflow: hidden;
|
94
|
+
}
|
95
|
+
|
96
|
+
// Off-canvas overlay (generated by JavaScript)
|
97
|
+
.js-off-canvas-overlay {
|
98
|
+
position: absolute;
|
99
|
+
top: 0;
|
100
|
+
left: 0;
|
101
|
+
z-index: $offcanvas-overlay-zindex;
|
102
|
+
|
103
|
+
width: 100%;
|
104
|
+
height: 100%;
|
105
|
+
|
106
|
+
transition: opacity $offcanvas-transition-length $offcanvas-transition-timing, visibility $offcanvas-transition-length $offcanvas-transition-timing;
|
107
|
+
|
108
|
+
background: $offcanvas-exit-background;
|
109
|
+
|
110
|
+
opacity: 0;
|
111
|
+
visibility: hidden;
|
112
|
+
|
113
|
+
overflow: hidden;
|
114
|
+
|
115
|
+
&.is-visible {
|
116
|
+
opacity: 1;
|
117
|
+
visibility: visible;
|
118
|
+
}
|
119
|
+
|
120
|
+
&.is-closable {
|
121
|
+
cursor: pointer;
|
122
|
+
}
|
123
|
+
|
124
|
+
&.is-overlay-absolute {
|
125
|
+
position: absolute;
|
126
|
+
}
|
127
|
+
|
128
|
+
&.is-overlay-fixed {
|
129
|
+
position: fixed;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
// Adds basic styles for an off-canvas wrapper.
|
135
|
+
@mixin off-canvas-wrapper() {
|
136
|
+
position: relative;
|
137
|
+
overflow: hidden;
|
138
|
+
}
|
139
|
+
|
140
|
+
/// Adds basic styles for an off-canvas panel.
|
141
|
+
@mixin off-canvas-base(
|
142
|
+
$background: $offcanvas-background,
|
143
|
+
$transition: $offcanvas-transition-length $offcanvas-transition-timing,
|
144
|
+
$fixed: true
|
145
|
+
) {
|
146
|
+
@include disable-mouse-outline;
|
147
|
+
|
148
|
+
@if $fixed == true {
|
149
|
+
position: fixed;
|
150
|
+
}
|
151
|
+
@else {
|
152
|
+
position: absolute;
|
153
|
+
}
|
154
|
+
|
155
|
+
// Set the off-canvas z-index.
|
156
|
+
z-index: $offcanvas-push-zindex;
|
157
|
+
|
158
|
+
// Increase CSS specificity
|
159
|
+
&.is-transition-push {
|
160
|
+
z-index: $offcanvas-push-zindex;
|
161
|
+
}
|
162
|
+
|
163
|
+
transition: transform $transition;
|
164
|
+
backface-visibility: hidden;
|
165
|
+
|
166
|
+
background: $background;
|
167
|
+
|
168
|
+
// Hide inactive off-canvas within the content that have the same position
|
169
|
+
&.is-closed {
|
170
|
+
visibility: hidden;
|
171
|
+
}
|
172
|
+
|
173
|
+
// Overlap only styles.
|
174
|
+
&.is-transition-overlap {
|
175
|
+
z-index: $offcanvas-overlap-zindex;
|
176
|
+
|
177
|
+
&.is-open {
|
178
|
+
box-shadow: $offcanvas-shadow;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
// Sets transform to 0 to show an off-canvas panel.
|
183
|
+
&.is-open {
|
184
|
+
transform: translate(0, 0);
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
/// Adds styles to position an off-canvas panel to the left/right/top/bottom.
|
189
|
+
@mixin off-canvas-position(
|
190
|
+
$position: left,
|
191
|
+
$orientation: horizontal,
|
192
|
+
$sizes: if($orientation == horizontal, $offcanvas-sizes, $offcanvas-vertical-sizes)
|
193
|
+
) {
|
194
|
+
@if $position == left {
|
195
|
+
top: 0;
|
196
|
+
left: 0;
|
197
|
+
height: 100%;
|
198
|
+
overflow-y: auto;
|
199
|
+
|
200
|
+
@each $name, $size in $sizes {
|
201
|
+
@include breakpoint($name) {
|
202
|
+
width: $size;
|
203
|
+
transform: translateX(-$size);
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
// Sets the position for nested off-canvas element
|
208
|
+
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
|
209
|
+
|
210
|
+
@each $name, $size in $sizes {
|
211
|
+
@include breakpoint($name) {
|
212
|
+
transform: translateX(-$size);
|
213
|
+
}
|
214
|
+
}
|
215
|
+
&.is-transition-overlap.is-open {
|
216
|
+
transform: translate(0, 0);
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
// Sets the open position for the content
|
221
|
+
@at-root .#{$maincontent-class}.is-open-#{$position} {
|
222
|
+
&.has-transition-push {
|
223
|
+
@each $name, $size in $sizes {
|
224
|
+
@include breakpoint($name) {
|
225
|
+
transform: translateX($size);
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
230
|
+
}
|
231
|
+
@else if $position == right {
|
232
|
+
top: 0;
|
233
|
+
right: 0;
|
234
|
+
height: 100%;
|
235
|
+
overflow-y: auto;
|
236
|
+
|
237
|
+
@each $name, $size in $sizes {
|
238
|
+
@include breakpoint($name) {
|
239
|
+
width: $size;
|
240
|
+
transform: translateX($size);
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
// Sets the position for nested off-canvas element
|
245
|
+
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
|
246
|
+
|
247
|
+
@each $name, $size in $sizes {
|
248
|
+
@include breakpoint($name) {
|
249
|
+
transform: translateX($size);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
&.is-transition-overlap.is-open {
|
253
|
+
transform: translate(0, 0);
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
// Sets the open position for the content
|
258
|
+
@at-root .#{$maincontent-class}.is-open-#{$position} {
|
259
|
+
&.has-transition-push {
|
260
|
+
@each $name, $size in $sizes {
|
261
|
+
@include breakpoint($name) {
|
262
|
+
transform: translateX(-$size);
|
263
|
+
}
|
264
|
+
}
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
@else if $position == top {
|
269
|
+
top: 0;
|
270
|
+
left: 0;
|
271
|
+
width: 100%;
|
272
|
+
overflow-x: auto;
|
273
|
+
|
274
|
+
@each $name, $size in $sizes {
|
275
|
+
@include breakpoint($name) {
|
276
|
+
height: $size;
|
277
|
+
transform: translateY(-$size);
|
278
|
+
}
|
279
|
+
}
|
280
|
+
|
281
|
+
// Sets the position for nested off-canvas element
|
282
|
+
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
|
283
|
+
@each $name, $size in $sizes {
|
284
|
+
@include breakpoint($name) {
|
285
|
+
transform: translateY(-$size);
|
286
|
+
}
|
287
|
+
}
|
288
|
+
&.is-transition-overlap.is-open {
|
289
|
+
transform: translate(0, 0);
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
// Sets the open position for the content
|
294
|
+
@at-root .#{$maincontent-class}.is-open-#{$position} {
|
295
|
+
&.has-transition-push {
|
296
|
+
@each $name, $size in $sizes {
|
297
|
+
@include breakpoint($name) {
|
298
|
+
transform: translateY($size);
|
299
|
+
}
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
}
|
304
|
+
@else if $position == bottom {
|
305
|
+
bottom: 0;
|
306
|
+
left: 0;
|
307
|
+
width: 100%;
|
308
|
+
overflow-x: auto;
|
309
|
+
|
310
|
+
@each $name, $size in $sizes {
|
311
|
+
@include breakpoint($name) {
|
312
|
+
height: $size;
|
313
|
+
transform: translateY($size);
|
314
|
+
}
|
315
|
+
}
|
316
|
+
|
317
|
+
// Sets the position for nested off-canvas element
|
318
|
+
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
|
319
|
+
@each $name, $size in $sizes {
|
320
|
+
@include breakpoint($name) {
|
321
|
+
transform: translateY($size);
|
322
|
+
}
|
323
|
+
}
|
324
|
+
&.is-transition-overlap.is-open {
|
325
|
+
transform: translate(0, 0);
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
// Sets the open position for the content
|
330
|
+
@at-root .#{$maincontent-class}.is-open-#{$position} {
|
331
|
+
&.has-transition-push {
|
332
|
+
@each $name, $size in $sizes {
|
333
|
+
@include breakpoint($name) {
|
334
|
+
transform: translateY(-$size);
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
}
|
339
|
+
}
|
340
|
+
|
341
|
+
// If $offcanvas-inner-shadow-size is set, add inner box-shadow.
|
342
|
+
// This mimics the off-canvas panel having a lower z-index, without having to have one.
|
343
|
+
@if $offcanvas-inner-shadow-size {
|
344
|
+
&.is-transition-push {
|
345
|
+
@if $position == left {
|
346
|
+
@include inner-side-shadow(right, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
|
347
|
+
}
|
348
|
+
@else if $position == right {
|
349
|
+
@include inner-side-shadow(left, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
|
350
|
+
}
|
351
|
+
@else if $position == top {
|
352
|
+
@include inner-side-shadow(bottom, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
|
353
|
+
}
|
354
|
+
@else if $position == bottom {
|
355
|
+
@include inner-side-shadow(top, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
|
356
|
+
}
|
357
|
+
}
|
358
|
+
}
|
359
|
+
|
360
|
+
}
|
361
|
+
|
362
|
+
/// Sets the styles for the content container.
|
363
|
+
@mixin off-canvas-content() {
|
364
|
+
transform: none;
|
365
|
+
backface-visibility: hidden;
|
366
|
+
|
367
|
+
// Bind to has-transition-X class to prevent transition for transform:none
|
368
|
+
&.has-transition-overlap,
|
369
|
+
&.has-transition-push {
|
370
|
+
transition: transform $offcanvas-transition-length $offcanvas-transition-timing;
|
371
|
+
}
|
372
|
+
|
373
|
+
// Transform scope until the element is closed (makes sure transitionend gets triggered)
|
374
|
+
&.has-transition-push {
|
375
|
+
transform: translate(0, 0);
|
376
|
+
}
|
377
|
+
|
378
|
+
// Consider element & content, nested in another content
|
379
|
+
.off-canvas.is-open {
|
380
|
+
transform: translate(0, 0);
|
381
|
+
}
|
382
|
+
}
|
383
|
+
|
384
|
+
/// Adds styles that reveal an off-canvas panel.
|
385
|
+
@mixin off-canvas-reveal(
|
386
|
+
$position: left,
|
387
|
+
$zindex: $offcanvas-reveal-zindex,
|
388
|
+
$content: $maincontent-class,
|
389
|
+
$breakpoint: small
|
390
|
+
) {
|
391
|
+
transform: none;
|
392
|
+
z-index: $zindex;
|
393
|
+
transition: none;
|
394
|
+
visibility: visible;
|
395
|
+
|
396
|
+
@if not $offcanvas-fixed-reveal {
|
397
|
+
position: absolute;
|
398
|
+
}
|
399
|
+
|
400
|
+
.close-button {
|
401
|
+
display: none;
|
402
|
+
}
|
403
|
+
|
404
|
+
// Consider revealed element is nested in content
|
405
|
+
.#{$maincontent-class} & {
|
406
|
+
transform: none;
|
407
|
+
}
|
408
|
+
|
409
|
+
@at-root .#{$content}.has-reveal-#{$position} {
|
410
|
+
margin-#{$position}: -zf-get-bp-val($offcanvas-sizes, $breakpoint);
|
411
|
+
}
|
412
|
+
|
413
|
+
// backwards compatibility (prior to v6.4)
|
414
|
+
& ~ .#{$content} {
|
415
|
+
margin-#{$position}: -zf-get-bp-val($offcanvas-sizes, $breakpoint);
|
416
|
+
}
|
417
|
+
}
|
418
|
+
|
419
|
+
/// Overrides the off-canvas styles
|
420
|
+
@mixin in-canvas() {
|
421
|
+
visibility: visible;
|
422
|
+
height: auto;
|
423
|
+
position: static;
|
424
|
+
background: none;
|
425
|
+
width: auto;
|
426
|
+
overflow: visible;
|
427
|
+
transition: none;
|
428
|
+
|
429
|
+
// Increase CSS specificity
|
430
|
+
&.position-left,
|
431
|
+
&.position-right,
|
432
|
+
&.position-top,
|
433
|
+
&.position-bottom {
|
434
|
+
box-shadow: none;
|
435
|
+
transform: none;
|
436
|
+
}
|
437
|
+
|
438
|
+
.close-button {
|
439
|
+
display: none;
|
440
|
+
}
|
441
|
+
}
|
442
|
+
|
443
|
+
@mixin foundation-off-canvas {
|
444
|
+
@include off-canvas-basics;
|
445
|
+
|
446
|
+
// Off-canvas wrapper
|
447
|
+
.off-canvas-wrapper {
|
448
|
+
@include off-canvas-wrapper;
|
449
|
+
}
|
450
|
+
|
451
|
+
// Off-canvas container
|
452
|
+
.off-canvas {
|
453
|
+
@include off-canvas-base;
|
454
|
+
|
455
|
+
// Force position absolute for nested off-canvas because fixed doesn't work for push transition within the transform scope.
|
456
|
+
@at-root .#{$maincontent-class} & {
|
457
|
+
// NOTE: since overlap transition is currently forced if nested, there's no need to force position absolute until nested push transition is supported.
|
458
|
+
// position: absolute;
|
459
|
+
}
|
460
|
+
}
|
461
|
+
|
462
|
+
// Off-canvas container with absolute position
|
463
|
+
.off-canvas-absolute {
|
464
|
+
@include off-canvas-base($fixed: false);
|
465
|
+
}
|
466
|
+
|
467
|
+
// Off-canvas position classes
|
468
|
+
.position-left { @include off-canvas-position(left, horizontal); }
|
469
|
+
.position-right { @include off-canvas-position(right, horizontal); }
|
470
|
+
.position-top { @include off-canvas-position(top, vertical); }
|
471
|
+
.position-bottom { @include off-canvas-position(bottom, vertical); }
|
472
|
+
|
473
|
+
.off-canvas-content {
|
474
|
+
@include off-canvas-content;
|
475
|
+
}
|
476
|
+
|
477
|
+
// Reveal off-canvas panel on larger screens
|
478
|
+
@each $name, $value in $breakpoint-classes {
|
479
|
+
@if $name != $-zf-zero-breakpoint {
|
480
|
+
@include breakpoint($name) {
|
481
|
+
.position-left.reveal-for-#{$name} {
|
482
|
+
@include off-canvas-reveal(left, $offcanvas-reveal-zindex, $maincontent-class, $name);
|
483
|
+
}
|
484
|
+
|
485
|
+
.position-right.reveal-for-#{$name} {
|
486
|
+
@include off-canvas-reveal(right, $offcanvas-reveal-zindex, $maincontent-class, $name);
|
487
|
+
}
|
488
|
+
|
489
|
+
.position-top.reveal-for-#{$name} {
|
490
|
+
@include off-canvas-reveal(top, $offcanvas-reveal-zindex, $maincontent-class, $name);
|
491
|
+
}
|
492
|
+
|
493
|
+
.position-bottom.reveal-for-#{$name} {
|
494
|
+
@include off-canvas-reveal(bottom, $offcanvas-reveal-zindex, $maincontent-class, $name);
|
495
|
+
}
|
496
|
+
}
|
497
|
+
}
|
498
|
+
}
|
499
|
+
|
500
|
+
// Move in-canvas for larger screens
|
501
|
+
@each $name, $value in $breakpoint-classes {
|
502
|
+
@if $name != $-zf-zero-breakpoint {
|
503
|
+
@include breakpoint($name) {
|
504
|
+
.off-canvas.in-canvas-for-#{$name} {
|
505
|
+
@include in-canvas;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
}
|
509
|
+
}
|
510
|
+
}
|
511
|
+
|
@@ -0,0 +1,197 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group orbit
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Default color for Orbit's bullets.
|
10
|
+
/// @type Color
|
11
|
+
$orbit-bullet-background: $medium-gray !default;
|
12
|
+
|
13
|
+
/// Default active color for Orbit's bullets.
|
14
|
+
/// @type Color
|
15
|
+
$orbit-bullet-background-active: $dark-gray !default;
|
16
|
+
|
17
|
+
/// Default diameter for Orbit's bullets.
|
18
|
+
/// @type Number
|
19
|
+
$orbit-bullet-diameter: 1.2rem !default;
|
20
|
+
|
21
|
+
/// Default margin between Orbit's bullets.
|
22
|
+
/// @type Number
|
23
|
+
$orbit-bullet-margin: 0.1rem !default;
|
24
|
+
|
25
|
+
/// Default distance from slide region for Orbit's bullets.
|
26
|
+
/// @type Number
|
27
|
+
$orbit-bullet-margin-top: 0.8rem !default;
|
28
|
+
|
29
|
+
/// Default bottom margin from Orbit's bullets to whatever content may lurk below it.
|
30
|
+
/// @type Number
|
31
|
+
$orbit-bullet-margin-bottom: 0.8rem !default;
|
32
|
+
|
33
|
+
/// Default background color for Orbit's caption.
|
34
|
+
/// @type Color
|
35
|
+
$orbit-caption-background: rgba($black, 0.5) !default;
|
36
|
+
|
37
|
+
/// Default padding for Orbit's caption.
|
38
|
+
/// @type Number
|
39
|
+
$orbit-caption-padding: 1rem !default;
|
40
|
+
|
41
|
+
/// Default background color for Orbit's controls when hovered.
|
42
|
+
/// @type Color
|
43
|
+
$orbit-control-background-hover: rgba($black, 0.5) !default;
|
44
|
+
|
45
|
+
/// Default padding for Orbit's controls.
|
46
|
+
/// @type Number
|
47
|
+
$orbit-control-padding: 1rem !default;
|
48
|
+
|
49
|
+
/// Default z-index for Orbit's controls.
|
50
|
+
/// @type Number
|
51
|
+
$orbit-control-zindex: 10 !default;
|
52
|
+
|
53
|
+
/// Adds styles for the outer Orbit wrapper. These styles are used on the `.orbit` class.
|
54
|
+
@mixin orbit-wrapper {
|
55
|
+
position: relative;
|
56
|
+
}
|
57
|
+
|
58
|
+
/// Adds styles for the inner Orbit slide container. These styles are used on the `.orbit-container` class.
|
59
|
+
@mixin orbit-container {
|
60
|
+
position: relative;
|
61
|
+
height: 0; // Prevent FOUC by not showing until JS sets height
|
62
|
+
margin: 0;
|
63
|
+
list-style: none;
|
64
|
+
overflow: hidden;
|
65
|
+
}
|
66
|
+
|
67
|
+
/// Adds styles for the individual slides of an Orbit slider. These styles are used on the `.orbit-slide` class.
|
68
|
+
@mixin orbit-slide {
|
69
|
+
width: 100%;
|
70
|
+
position: absolute;
|
71
|
+
|
72
|
+
&.no-motionui {
|
73
|
+
&.is-active {
|
74
|
+
top: 0;
|
75
|
+
left: 0;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
@mixin orbit-figure {
|
81
|
+
margin: 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
/// Adds styles for a slide containing an image. These styles are used on the `.orbit-image` class.
|
85
|
+
@mixin orbit-image {
|
86
|
+
width: 100%;
|
87
|
+
max-width: 100%;
|
88
|
+
margin: 0;
|
89
|
+
}
|
90
|
+
|
91
|
+
/// Adds styles for an orbit slide caption. These styles are used on the `.orbit-caption` class.
|
92
|
+
@mixin orbit-caption {
|
93
|
+
position: absolute;
|
94
|
+
bottom: 0;
|
95
|
+
width: 100%;
|
96
|
+
margin-bottom: 0;
|
97
|
+
padding: $orbit-caption-padding;
|
98
|
+
|
99
|
+
background-color: $orbit-caption-background;
|
100
|
+
color: color-pick-contrast($orbit-caption-background);
|
101
|
+
}
|
102
|
+
|
103
|
+
/// Adds base styles for the next/previous buttons in an Orbit slider. These styles are shared between the `.orbit-next` and `.orbit-previous` classes in the default CSS.
|
104
|
+
@mixin orbit-control {
|
105
|
+
@include disable-mouse-outline;
|
106
|
+
@include vertical-center;
|
107
|
+
z-index: $orbit-control-zindex;
|
108
|
+
padding: $orbit-control-padding;
|
109
|
+
color: $white;
|
110
|
+
|
111
|
+
&:hover,
|
112
|
+
&:active,
|
113
|
+
&:focus {
|
114
|
+
background-color: $orbit-control-background-hover;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
/// Adds styles for the Orbit previous button. These styles are used on the `.orbit-previous` class.
|
119
|
+
@mixin orbit-previous {
|
120
|
+
#{$global-left}: 0;
|
121
|
+
}
|
122
|
+
|
123
|
+
/// Adds styles for the Orbit next button. These styles are used on the `.orbit-next` class.
|
124
|
+
@mixin orbit-next {
|
125
|
+
#{$global-left}: auto;
|
126
|
+
#{$global-right}: 0;
|
127
|
+
}
|
128
|
+
|
129
|
+
/// Adds styles for a container of Orbit bullets. /// Adds styles for the Orbit previous button. These styles are used on the `.orbit-bullets` class.
|
130
|
+
@mixin orbit-bullets {
|
131
|
+
@include disable-mouse-outline;
|
132
|
+
position: relative;
|
133
|
+
margin-top: $orbit-bullet-margin-top;
|
134
|
+
margin-bottom: $orbit-bullet-margin-bottom;
|
135
|
+
text-align: center;
|
136
|
+
|
137
|
+
button {
|
138
|
+
width: $orbit-bullet-diameter;
|
139
|
+
height: $orbit-bullet-diameter;
|
140
|
+
margin: $orbit-bullet-margin;
|
141
|
+
|
142
|
+
border-radius: 50%;
|
143
|
+
background-color: $orbit-bullet-background;
|
144
|
+
|
145
|
+
&:hover {
|
146
|
+
background-color: $orbit-bullet-background-active;
|
147
|
+
}
|
148
|
+
|
149
|
+
&.is-active {
|
150
|
+
background-color: $orbit-bullet-background-active;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
@mixin foundation-orbit {
|
156
|
+
.orbit {
|
157
|
+
@include orbit-wrapper;
|
158
|
+
}
|
159
|
+
|
160
|
+
.orbit-container {
|
161
|
+
@include orbit-container;
|
162
|
+
}
|
163
|
+
|
164
|
+
.orbit-slide {
|
165
|
+
@include orbit-slide;
|
166
|
+
}
|
167
|
+
|
168
|
+
.orbit-figure {
|
169
|
+
@include orbit-figure;
|
170
|
+
}
|
171
|
+
|
172
|
+
.orbit-image {
|
173
|
+
@include orbit-image;
|
174
|
+
}
|
175
|
+
|
176
|
+
.orbit-caption {
|
177
|
+
@include orbit-caption;
|
178
|
+
}
|
179
|
+
|
180
|
+
%orbit-control {
|
181
|
+
@include orbit-control;
|
182
|
+
}
|
183
|
+
|
184
|
+
.orbit-previous {
|
185
|
+
@extend %orbit-control;
|
186
|
+
@include orbit-previous;
|
187
|
+
}
|
188
|
+
|
189
|
+
.orbit-next {
|
190
|
+
@extend %orbit-control;
|
191
|
+
@include orbit-next;
|
192
|
+
}
|
193
|
+
|
194
|
+
.orbit-bullets {
|
195
|
+
@include orbit-bullets;
|
196
|
+
}
|
197
|
+
}
|