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,36 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-arrow
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Map containing all the `arrow` direction
|
10
|
+
/// @type Map
|
11
|
+
$prototype-arrow-directions: (
|
12
|
+
down,
|
13
|
+
up,
|
14
|
+
right,
|
15
|
+
left
|
16
|
+
) !default;
|
17
|
+
|
18
|
+
/// Width of the Arrow, `0.4375rem` by default.
|
19
|
+
/// @type Number
|
20
|
+
$prototype-arrow-size: 0.4375rem;
|
21
|
+
|
22
|
+
/// Color of the Arrow, `$black` by default.
|
23
|
+
/// @type Color
|
24
|
+
$prototype-arrow-color: $black;
|
25
|
+
|
26
|
+
@mixin foundation-prototype-arrow {
|
27
|
+
@each $prototype-arrow-direction in $prototype-arrow-directions {
|
28
|
+
.arrow-#{$prototype-arrow-direction} {
|
29
|
+
@include css-triangle(
|
30
|
+
$prototype-arrow-size,
|
31
|
+
$prototype-arrow-color,
|
32
|
+
$prototype-arrow-direction
|
33
|
+
);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-border-box
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for border box.
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-border-box-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Border box utility
|
14
|
+
@mixin border-box {
|
15
|
+
box-sizing: border-box !important;
|
16
|
+
}
|
17
|
+
|
18
|
+
@mixin foundation-prototype-border-box {
|
19
|
+
.border-box {
|
20
|
+
@include border-box;
|
21
|
+
}
|
22
|
+
|
23
|
+
@if ($prototype-border-box-breakpoints) {
|
24
|
+
// Loop through Responsive Breakpoints
|
25
|
+
@each $size in $breakpoint-classes {
|
26
|
+
@include breakpoint($size) {
|
27
|
+
@if $size != $-zf-zero-breakpoint {
|
28
|
+
.#{$size}-border-box {
|
29
|
+
@include border-box;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-border-none
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for border none.
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-border-none-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Border none utility
|
14
|
+
@mixin border-none {
|
15
|
+
border: none !important;
|
16
|
+
}
|
17
|
+
|
18
|
+
@mixin foundation-prototype-border-none {
|
19
|
+
.border-none {
|
20
|
+
@include border-none;
|
21
|
+
}
|
22
|
+
|
23
|
+
@if ($prototype-border-none-breakpoints) {
|
24
|
+
// Loop through Responsive Breakpoints
|
25
|
+
@each $size in $breakpoint-classes {
|
26
|
+
@include breakpoint($size) {
|
27
|
+
@if $size != $-zf-zero-breakpoint {
|
28
|
+
.#{$size}-border-none {
|
29
|
+
@include border-none;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-bordered
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for bordered utility.
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-bordered-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Default value for `prototype-border-width`
|
14
|
+
/// @type Number
|
15
|
+
$prototype-border-width: rem-calc(1) !default;
|
16
|
+
|
17
|
+
/// Default value for `prototype-border-type`
|
18
|
+
/// @type String
|
19
|
+
$prototype-border-type: solid !default;
|
20
|
+
|
21
|
+
/// Default value for `prototype-border-color` defaulted to `medium-gray`
|
22
|
+
/// @type Color
|
23
|
+
$prototype-border-color: $medium-gray !default;
|
24
|
+
|
25
|
+
/// Bordered Utility: Adds a light border to an element by default.
|
26
|
+
/// @param {Number} $width [$prototype-border-width] Width of the border
|
27
|
+
/// @param {String} $type [$prototype-border-type] Type of the border
|
28
|
+
/// @param {Color} $color [$prototype-border-color] Color of the border
|
29
|
+
@mixin bordered(
|
30
|
+
$width: $prototype-border-width,
|
31
|
+
$type: $prototype-border-type,
|
32
|
+
$color: $prototype-border-color
|
33
|
+
) {
|
34
|
+
border: $width $type $color;
|
35
|
+
}
|
36
|
+
|
37
|
+
@mixin foundation-prototype-bordered {
|
38
|
+
.bordered {
|
39
|
+
@include bordered;
|
40
|
+
}
|
41
|
+
|
42
|
+
@if ($prototype-bordered-breakpoints) {
|
43
|
+
// Loop through Responsive Breakpoints
|
44
|
+
@each $size in $breakpoint-classes {
|
45
|
+
@include breakpoint($size) {
|
46
|
+
@if $size != $-zf-zero-breakpoint {
|
47
|
+
.#{$size}-bordered {
|
48
|
+
@include bordered;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-box
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Box Mixin: Easily create a square, rectangle or a circle
|
10
|
+
/// @param {Number} $width[] Width of the box
|
11
|
+
/// @param {Number} $height[$width] Height of the box, defaults to `$width` to easily make a square
|
12
|
+
/// @param {Boolean} $circle[false] Makes the box a circle, by default `false`.
|
13
|
+
@mixin box(
|
14
|
+
$width,
|
15
|
+
$height: $width,
|
16
|
+
$circle: false
|
17
|
+
) {
|
18
|
+
width: $width;
|
19
|
+
height: $height;
|
20
|
+
@if $circle {
|
21
|
+
border-radius: 50% !important;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-display
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for display classes
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-display-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Map containing all the `display` classes
|
14
|
+
/// @type Map
|
15
|
+
$prototype-display: (
|
16
|
+
inline,
|
17
|
+
inline-block,
|
18
|
+
block,
|
19
|
+
table,
|
20
|
+
table-cell
|
21
|
+
) !default;
|
22
|
+
|
23
|
+
/// Display classes, by default coming through a map `$prototype-display`
|
24
|
+
/// @param {String} $display [] Display classes
|
25
|
+
@mixin display($display) {
|
26
|
+
display: $display !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
@mixin foundation-prototype-display {
|
30
|
+
@each $display in $prototype-display {
|
31
|
+
.display-#{$display} {
|
32
|
+
@include display($display);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
@if ($prototype-display-breakpoints) {
|
37
|
+
// Loop through Responsive Breakpoints
|
38
|
+
@each $size in $breakpoint-classes {
|
39
|
+
@include breakpoint($size) {
|
40
|
+
@each $display in $prototype-display {
|
41
|
+
@if $size != $-zf-zero-breakpoint {
|
42
|
+
.#{$size}-display-#{$display} {
|
43
|
+
@include display($display);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-font-styling
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for font styling types
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-font-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Letter spacing for `.font-wide`
|
14
|
+
/// @type Number
|
15
|
+
$prototype-wide-letter-spacing: rem-calc(4) !default;
|
16
|
+
|
17
|
+
/// Default weight for `.font-normal`, defaulted to `global-weight-normal`
|
18
|
+
/// @type Number
|
19
|
+
$prototype-font-normal: $global-weight-normal !default;
|
20
|
+
|
21
|
+
/// Default weight for `.font-bold`, defaulted to `global-weight-bold`
|
22
|
+
/// @type Number
|
23
|
+
$prototype-font-bold: $global-weight-bold !default;
|
24
|
+
|
25
|
+
/// Font wide letter spacing!
|
26
|
+
/// @param {Number} $letter-spacing [$prototype-wide-letter-spacing] Wide letter spacing for the font
|
27
|
+
@mixin font-wide(
|
28
|
+
$letter-spacing: $prototype-wide-letter-spacing
|
29
|
+
) {
|
30
|
+
letter-spacing: $letter-spacing;
|
31
|
+
}
|
32
|
+
|
33
|
+
/// Font Weight Normal, default value coming through `global-weight-normal`
|
34
|
+
/// @param {Number} $weight [$prototype-font-normal] Weight of the font (normal)
|
35
|
+
@mixin font-normal(
|
36
|
+
$weight: $prototype-font-normal
|
37
|
+
) {
|
38
|
+
font-weight: $weight;
|
39
|
+
}
|
40
|
+
|
41
|
+
/// Font Weight Bold, default value coming through `global-weight-bold`
|
42
|
+
/// @param {Number} $weight [$prototype-font-bold] Weight of the font (bold)
|
43
|
+
@mixin font-bold(
|
44
|
+
$weight: $prototype-font-bold
|
45
|
+
) {
|
46
|
+
font-weight: $weight;
|
47
|
+
}
|
48
|
+
|
49
|
+
/// Font Style Italic
|
50
|
+
@mixin font-italic {
|
51
|
+
font-style: italic !important;
|
52
|
+
}
|
53
|
+
|
54
|
+
@mixin foundation-prototype-font-styling {
|
55
|
+
.font-wide{
|
56
|
+
@include font-wide;
|
57
|
+
}
|
58
|
+
|
59
|
+
.font-normal {
|
60
|
+
@include font-normal;
|
61
|
+
}
|
62
|
+
|
63
|
+
.font-bold {
|
64
|
+
@include font-bold;
|
65
|
+
}
|
66
|
+
|
67
|
+
.font-italic {
|
68
|
+
@include font-italic;
|
69
|
+
}
|
70
|
+
|
71
|
+
@if ($prototype-font-breakpoints) {
|
72
|
+
// Loop through Responsive Breakpoints
|
73
|
+
@each $size in $breakpoint-classes {
|
74
|
+
@include breakpoint($size) {
|
75
|
+
@if $size != $-zf-zero-breakpoint {
|
76
|
+
.#{$size}-font-wide{
|
77
|
+
@include font-wide;
|
78
|
+
}
|
79
|
+
|
80
|
+
.#{$size}-font-normal {
|
81
|
+
@include font-normal;
|
82
|
+
}
|
83
|
+
|
84
|
+
.#{$size}-font-bold {
|
85
|
+
@include font-bold;
|
86
|
+
}
|
87
|
+
|
88
|
+
.#{$size}-font-italic {
|
89
|
+
@include font-italic;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-list-style-type
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for list styling types
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-list-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Map containing all the `style-type-unordered` classes
|
14
|
+
/// @type Map
|
15
|
+
$prototype-style-type-unordered: (
|
16
|
+
disc,
|
17
|
+
circle,
|
18
|
+
square
|
19
|
+
) !default;
|
20
|
+
|
21
|
+
/// Map containing all the `style-type-ordered` classes
|
22
|
+
/// @type Map
|
23
|
+
$prototype-style-type-ordered: (
|
24
|
+
decimal,
|
25
|
+
lower-alpha,
|
26
|
+
lower-latin,
|
27
|
+
lower-roman,
|
28
|
+
upper-alpha,
|
29
|
+
upper-latin,
|
30
|
+
upper-roman
|
31
|
+
) !default;
|
32
|
+
|
33
|
+
|
34
|
+
/// Style type for unordered Lists, by default coming through a map `$prototype-style-type-unordered`
|
35
|
+
/// @param {String} $style-type-unordered [] Style type for unordered Lists
|
36
|
+
@mixin style-type-unordered($style-type-unordered) {
|
37
|
+
list-style-type: $style-type-unordered !important;
|
38
|
+
}
|
39
|
+
|
40
|
+
/// Style type for ordered Lists, by default coming through a map `$prototype-style-type-ordered`
|
41
|
+
/// @param {String} $style-type-ordered [] Style type for ordered Lists
|
42
|
+
@mixin style-type-ordered($style-type-ordered) {
|
43
|
+
list-style-type: $style-type-ordered !important;
|
44
|
+
}
|
45
|
+
|
46
|
+
@mixin list-unordered {
|
47
|
+
@each $style-type-unordered in $prototype-style-type-unordered {
|
48
|
+
ul.list-#{$style-type-unordered} {
|
49
|
+
@include style-type-unordered($style-type-unordered);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
@if ($prototype-list-breakpoints) {
|
54
|
+
// Loop through Responsive Breakpoints
|
55
|
+
@each $size in $breakpoint-classes {
|
56
|
+
@include breakpoint($size) {
|
57
|
+
@each $style-type-unordered in $prototype-style-type-unordered {
|
58
|
+
@if $size != $-zf-zero-breakpoint {
|
59
|
+
ul.#{$size}-list-#{$style-type-unordered} {
|
60
|
+
@include style-type-unordered($style-type-unordered);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
@mixin list-ordered {
|
70
|
+
@each $style-type-ordered in $prototype-style-type-ordered {
|
71
|
+
ol.list-#{$style-type-ordered} {
|
72
|
+
@include style-type-ordered($style-type-ordered);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
@if ($prototype-list-breakpoints) {
|
77
|
+
// Loop through Responsive Breakpoints
|
78
|
+
@each $size in $breakpoint-classes {
|
79
|
+
@include breakpoint($size) {
|
80
|
+
@each $style-type-ordered in $prototype-style-type-ordered {
|
81
|
+
@if $size != $-zf-zero-breakpoint {
|
82
|
+
ol.#{$size}-list-#{$style-type-ordered} {
|
83
|
+
@include style-type-ordered($style-type-ordered);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
@mixin foundation-prototype-list-style-type {
|
93
|
+
@include list-unordered;
|
94
|
+
@include list-ordered;
|
95
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-overflow
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for overflow helper classes
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-overflow-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Map containing all the `overflow` classes
|
14
|
+
/// @type Map
|
15
|
+
$prototype-overflow: (
|
16
|
+
visible,
|
17
|
+
hidden,
|
18
|
+
scroll
|
19
|
+
) !default;
|
20
|
+
|
21
|
+
/// Overflow classes, by default coming through a map `$prototype-overflow`
|
22
|
+
/// @param {String} $overflow [] Overflow classes
|
23
|
+
@mixin overflow($overflow) {
|
24
|
+
overflow: $overflow !important;
|
25
|
+
}
|
26
|
+
|
27
|
+
/// Overflow classes on horizontal axis, by default coming through a map `$prototype-overflow`
|
28
|
+
/// @param {String} $overflow [] Overflow classes (horizontal axis)
|
29
|
+
@mixin overflow-x($overflow) {
|
30
|
+
overflow-x: $overflow !important;
|
31
|
+
}
|
32
|
+
|
33
|
+
/// Overflow classes on vertical axis, by default coming through a map `$prototype-overflow`
|
34
|
+
/// @param {String} $overflow [] Overflow classes (vertical axis)
|
35
|
+
@mixin overflow-y($overflow) {
|
36
|
+
overflow-y: $overflow !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
@mixin foundation-prototype-overflow {
|
40
|
+
@each $overflow in $prototype-overflow {
|
41
|
+
.overflow-#{$overflow} {
|
42
|
+
@include overflow($overflow);
|
43
|
+
}
|
44
|
+
.overflow-x-#{$overflow} {
|
45
|
+
@include overflow-x($overflow);
|
46
|
+
}
|
47
|
+
.overflow-y-#{$overflow} {
|
48
|
+
@include overflow-y($overflow);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
@if ($prototype-overflow-breakpoints) {
|
53
|
+
// Loop through Responsive Breakpoints
|
54
|
+
@each $size in $breakpoint-classes {
|
55
|
+
@include breakpoint($size) {
|
56
|
+
@each $overflow in $prototype-overflow {
|
57
|
+
@if $size != $-zf-zero-breakpoint {
|
58
|
+
.#{$size}-overflow-#{$overflow} {
|
59
|
+
@include overflow($overflow);
|
60
|
+
}
|
61
|
+
.#{$size}-overflow-x-#{$overflow} {
|
62
|
+
@include overflow-x($overflow);
|
63
|
+
}
|
64
|
+
.#{$size}-overflow-y-#{$overflow} {
|
65
|
+
@include overflow-y($overflow);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-position
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for position helpers
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-position-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Map containing all the `position` classes
|
14
|
+
/// @type Map
|
15
|
+
$prototype-position: (
|
16
|
+
static,
|
17
|
+
relative,
|
18
|
+
absolute,
|
19
|
+
fixed
|
20
|
+
) !default;
|
21
|
+
|
22
|
+
/// z-index for fixed positioning
|
23
|
+
/// @type Number
|
24
|
+
$prototype-position-z-index: 975 !default;
|
25
|
+
|
26
|
+
/// Position classes, by default coming through a map `$prototype-position`, whereas all the offset values are multiplied by `$global-position` which by default is equal to `1rem`.
|
27
|
+
/// @param {String} $position [] Position classes, Either `static`, `relative`, `absolute` or `fixed`
|
28
|
+
/// @param {Number} $top [null] - Top offset
|
29
|
+
/// @param {Number} $right [null] - Right offset
|
30
|
+
/// @param {Number} $bottom [null] - Bottom offset
|
31
|
+
/// @param {Number} $left [null] - Left offset
|
32
|
+
@mixin position(
|
33
|
+
$position,
|
34
|
+
$top: null,
|
35
|
+
$right: null,
|
36
|
+
$bottom: null,
|
37
|
+
$left: null
|
38
|
+
) {
|
39
|
+
position: $position !important;
|
40
|
+
@if $top != null {
|
41
|
+
top: $top * $global-position !important;
|
42
|
+
}
|
43
|
+
@if $right != null {
|
44
|
+
right: $right * $global-position !important;
|
45
|
+
}
|
46
|
+
@if $bottom != null {
|
47
|
+
bottom: $bottom * $global-position !important;
|
48
|
+
}
|
49
|
+
@if $left != null {
|
50
|
+
left: $left * $global-position !important;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
/// Position Fixed on top corners
|
55
|
+
/// @param {Number} $z-index [$prototype-position-z-index] z-index for `position-fixed-top`
|
56
|
+
@mixin position-fixed-top(
|
57
|
+
$z-index: $prototype-position-z-index
|
58
|
+
) {
|
59
|
+
@include position(fixed, 0, 0, null, 0);
|
60
|
+
z-index: $z-index;
|
61
|
+
}
|
62
|
+
|
63
|
+
/// Position Fixed on bottom corners
|
64
|
+
/// @param {Number} $z-index [$prototype-position-z-index] z-index for `position-fixed-bottom`
|
65
|
+
@mixin position-fixed-bottom(
|
66
|
+
$z-index: $prototype-position-z-index
|
67
|
+
) {
|
68
|
+
@include position(fixed, null, 0, 0, 0);
|
69
|
+
z-index: $z-index;
|
70
|
+
}
|
71
|
+
|
72
|
+
@mixin foundation-prototype-position {
|
73
|
+
// Position: Static, Relative, Fixed, Absolute
|
74
|
+
@each $position in $prototype-position {
|
75
|
+
.position-#{$position} {
|
76
|
+
@include position($position);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
// Position: Fixed Top, Fixed Bottom
|
81
|
+
.position-fixed-top {
|
82
|
+
@include position-fixed-top;
|
83
|
+
}
|
84
|
+
.position-fixed-bottom {
|
85
|
+
@include position-fixed-bottom;
|
86
|
+
}
|
87
|
+
|
88
|
+
@if ($prototype-position-breakpoints) {
|
89
|
+
// Loop through Responsive Breakpoints
|
90
|
+
@each $size in $breakpoint-classes {
|
91
|
+
@include breakpoint($size) {
|
92
|
+
// Position: Static, Relative, Fixed, Absolute
|
93
|
+
@each $position in $prototype-position {
|
94
|
+
@if $size != $-zf-zero-breakpoint {
|
95
|
+
.#{$size}-position-#{$position} {
|
96
|
+
@include position($position);
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
// Position: Fixed Top, Fixed Bottom
|
102
|
+
@if $size != $-zf-zero-breakpoint {
|
103
|
+
.#{$size}-position-fixed-top {
|
104
|
+
@include position-fixed-top;
|
105
|
+
}
|
106
|
+
|
107
|
+
.#{$size}-position-fixed-bottom {
|
108
|
+
@include position-fixed-bottom;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype
|
7
|
+
////
|
8
|
+
|
9
|
+
// Relational Mixins
|
10
|
+
@import 'relation';
|
11
|
+
|
12
|
+
// Box Mixin
|
13
|
+
@import 'box';
|
14
|
+
|
15
|
+
// Rotate Mixin
|
16
|
+
@import 'rotate';
|
17
|
+
|
18
|
+
// Text utilities
|
19
|
+
@import 'text-utilities';
|
20
|
+
|
21
|
+
// Text transformation classes
|
22
|
+
@import 'text-transformation';
|
23
|
+
|
24
|
+
// Text Decoration classes
|
25
|
+
@import 'text-decoration';
|
26
|
+
|
27
|
+
// Font Styling
|
28
|
+
@import 'font-styling';
|
29
|
+
|
30
|
+
// List Style type
|
31
|
+
@import 'list-style-type';
|
32
|
+
|
33
|
+
// Rounded Utility
|
34
|
+
@import 'rounded';
|
35
|
+
|
36
|
+
// Bordered Utility
|
37
|
+
@import 'bordered';
|
38
|
+
|
39
|
+
// Shadow Utility
|
40
|
+
@import 'shadow';
|
41
|
+
|
42
|
+
// Arrow Utility
|
43
|
+
@import 'arrow';
|
44
|
+
|
45
|
+
// Separator Utility
|
46
|
+
@import 'separator';
|
47
|
+
|
48
|
+
// Overflow helper classes
|
49
|
+
@import 'overflow';
|
50
|
+
|
51
|
+
// Display classes
|
52
|
+
@import 'display';
|
53
|
+
|
54
|
+
// Position Helpers
|
55
|
+
@import 'position';
|
56
|
+
|
57
|
+
// Border box
|
58
|
+
@import 'border-box';
|
59
|
+
|
60
|
+
// Border none Utilty
|
61
|
+
@import 'border-none';
|
62
|
+
|
63
|
+
// Sizing Utilities
|
64
|
+
@import 'sizing';
|
65
|
+
|
66
|
+
// Spacing Utilities
|
67
|
+
@import 'spacing';
|
68
|
+
|
69
|
+
@mixin foundation-prototype-classes {
|
70
|
+
@include foundation-prototype-text-utilities;
|
71
|
+
@include foundation-prototype-text-transformation;
|
72
|
+
@include foundation-prototype-text-decoration;
|
73
|
+
@include foundation-prototype-font-styling;
|
74
|
+
@include foundation-prototype-list-style-type;
|
75
|
+
@include foundation-prototype-rounded;
|
76
|
+
@include foundation-prototype-bordered;
|
77
|
+
@include foundation-prototype-shadow;
|
78
|
+
@include foundation-prototype-arrow;
|
79
|
+
@include foundation-prototype-separator;
|
80
|
+
@include foundation-prototype-overflow;
|
81
|
+
@include foundation-prototype-display;
|
82
|
+
@include foundation-prototype-position;
|
83
|
+
@include foundation-prototype-border-box;
|
84
|
+
@include foundation-prototype-border-none;
|
85
|
+
@include foundation-prototype-sizing;
|
86
|
+
@include foundation-prototype-spacing;
|
87
|
+
}
|