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,157 @@
|
|
1
|
+
/// Select all children from the first to `$num`.
|
2
|
+
/// @param {Number} $num[] First `n` numbers of total children
|
3
|
+
@mixin first($num) {
|
4
|
+
@if $num == 1 {
|
5
|
+
&:first-child {
|
6
|
+
@content;
|
7
|
+
}
|
8
|
+
} @else {
|
9
|
+
&:nth-child(-n + #{$num}) {
|
10
|
+
@content;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
/// Select the first exact child
|
16
|
+
@mixin first-child {
|
17
|
+
&:first-of-type {
|
18
|
+
@content;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
/// Select all children from the last to `$num`.
|
23
|
+
/// @param {Number} $num[] Last `n` numbers of total children
|
24
|
+
@mixin last($num) {
|
25
|
+
&:nth-last-child(-n + #{$num}) {
|
26
|
+
@content;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
/// Select the last exact child
|
31
|
+
@mixin last-child {
|
32
|
+
&:last-of-type {
|
33
|
+
@content;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
/// Select children every `$num`.
|
38
|
+
/// @param {Number} $num[] Every `n` number of all children
|
39
|
+
@mixin every($num) {
|
40
|
+
&:nth-child(#{$num}n) {
|
41
|
+
@content;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
/// Select only the first and last child.
|
46
|
+
@mixin first-last {
|
47
|
+
&:first-child,
|
48
|
+
&:last-child {
|
49
|
+
@content;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
/// Select all children after the first to `$num`.
|
54
|
+
/// @param {Number} $num[] After First `n` numbers of total children
|
55
|
+
@mixin after-first($num) {
|
56
|
+
&:nth-child(n + #{$num + 1}) {
|
57
|
+
@content;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
/// Select all children before `$num` from the last.
|
62
|
+
/// @param {Number} $num[] From Last `n` numbers of total children
|
63
|
+
@mixin from-last($num) {
|
64
|
+
&:nth-last-child(#{$num}) {
|
65
|
+
@content;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
/// Select the `$num` child from the first and the `$num` child from the last.
|
70
|
+
/// @param {Number} $num[] `n` number called from first and last
|
71
|
+
@mixin from-first-last($num) {
|
72
|
+
&:nth-child(#{$num}),
|
73
|
+
&:nth-last-child(#{$num}) {
|
74
|
+
@content;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
/// Select all children but `$num`.
|
79
|
+
/// @param {Number} $num[] `n` number that should be excluded from all other children
|
80
|
+
@mixin all-but($num) {
|
81
|
+
&:not(:nth-child(#{$num})) {
|
82
|
+
@content;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
/// Select all children between the `$num` first and the `$num` last.
|
87
|
+
/// @param {Number} $num[] `n` number excluded from first and last from all other children
|
88
|
+
@mixin all-but-first-last($num) {
|
89
|
+
&:nth-child(n + #{$num}):nth-last-child(n + #{$num}) {
|
90
|
+
@content;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
/// Will only select the child if it's unique. That means that if there are at least 2 children, the style will not be applied.
|
95
|
+
@mixin unique {
|
96
|
+
&:only-child {
|
97
|
+
@content;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
/// Will only select children if they are not unique. That means that if there are at least 2 children, the style will be applied.
|
102
|
+
@mixin not-unique() {
|
103
|
+
&:not(:only-child) {
|
104
|
+
@content;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
/// Select all children between `$first` and `$last`.
|
109
|
+
/// @param {Number} $first[] First `nth` number
|
110
|
+
/// @param {Number} $last[] Last `nth` number
|
111
|
+
@mixin between($first, $last) {
|
112
|
+
&:nth-child(n + #{$first}):nth-child(-n + #{$last}) {
|
113
|
+
@content;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
/// Select all even children.
|
118
|
+
@mixin even {
|
119
|
+
&:nth-child(even) {
|
120
|
+
@content;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
/// Select all even children between `$first` and `$last`.
|
125
|
+
/// @param {Number} $first[] First `nth` number
|
126
|
+
/// @param {Number} $last[] Last `nth` number
|
127
|
+
@mixin even-between($first, $last) {
|
128
|
+
&:nth-child(even):nth-child(n + #{$first}):nth-child(-n + #{$last}) {
|
129
|
+
@content;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
/// Select all odd children.
|
134
|
+
@mixin odd {
|
135
|
+
&:nth-child(odd) {
|
136
|
+
@content;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
/// Select all odd children between `$first` and `$last`.
|
141
|
+
/// @param {Number} $first[] First `nth` number
|
142
|
+
/// @param {Number} $last[] Last `nth` number
|
143
|
+
@mixin odd-between($first, $last) {
|
144
|
+
&:nth-child(odd):nth-child(n + #{$first}):nth-child(-n + #{$last}) {
|
145
|
+
@content;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
/// Select all `$num` children between `$first` and `$last`.
|
150
|
+
/// @param {Number} $num[] Every `n` number between `$first` and `$last`.
|
151
|
+
/// @param {Number} $first[] First `n` number
|
152
|
+
/// @param {Number} $last[] Last `n` number
|
153
|
+
@mixin number-between($num, $first, $last) {
|
154
|
+
&:nth-child(#{$num}n):nth-child(n + #{$first}):nth-child(-n + #{$last}) {
|
155
|
+
@content;
|
156
|
+
}
|
157
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-rotate
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Rotate Mixin: Rotate an element to a certain deg
|
10
|
+
/// @param {Number} $deg[] Degree of rotation
|
11
|
+
@mixin rotate($deg) {
|
12
|
+
transform:rotate($deg + deg);
|
13
|
+
}
|
14
|
+
|
15
|
+
/// RotateX Mixin: Rotate an element to a certain deg on X-Axis
|
16
|
+
/// @param {Number} $deg[] Degree of rotation
|
17
|
+
@mixin rotateX($deg) {
|
18
|
+
transform:rotateX($deg + deg);
|
19
|
+
}
|
20
|
+
|
21
|
+
/// RotateY Mixin: Rotate an element to a certain deg on Y-Axis
|
22
|
+
/// @param {Number} $deg[] Degree of rotation
|
23
|
+
@mixin rotateY($deg) {
|
24
|
+
transform:rotateY($deg + deg);
|
25
|
+
}
|
26
|
+
|
27
|
+
/// RotateZ Mixin: Rotate an element to a certain deg on Z-Axis
|
28
|
+
/// @param {Number} $deg[] Degree of rotation
|
29
|
+
@mixin rotateZ($deg) {
|
30
|
+
transform:rotateZ($deg + deg);
|
31
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-rounded
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for rounded utility.
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-rounded-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Default value for `prototype-border-radius`
|
14
|
+
/// @type Number
|
15
|
+
$prototype-border-radius: rem-calc(3) !default;
|
16
|
+
|
17
|
+
/// Rounded utility (all corners): Adds radius corners (all corners) to an element by default.
|
18
|
+
/// @param {Number} $radius [$prototype-border-radius] Border radius (all corners)
|
19
|
+
@mixin border-radius(
|
20
|
+
$radius: $prototype-border-radius
|
21
|
+
) {
|
22
|
+
border-radius: $radius;
|
23
|
+
}
|
24
|
+
|
25
|
+
/// Rounded square utility or rectangle utility (all corners): Rounds all corners to an element by default to make a pill shape.
|
26
|
+
@mixin border-rounded {
|
27
|
+
border-radius: 5000px !important;
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin foundation-prototype-rounded {
|
31
|
+
.rounded {
|
32
|
+
@include border-rounded;
|
33
|
+
|
34
|
+
.switch-paddle {
|
35
|
+
@include border-rounded;
|
36
|
+
&:after {
|
37
|
+
border-radius: 50%; // For switches
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.radius {
|
43
|
+
@include border-radius;
|
44
|
+
}
|
45
|
+
|
46
|
+
@if ($prototype-rounded-breakpoints) {
|
47
|
+
// Loop through Responsive Breakpoints
|
48
|
+
@each $size in $breakpoint-classes {
|
49
|
+
@include breakpoint($size) {
|
50
|
+
@if $size != $-zf-zero-breakpoint {
|
51
|
+
.#{$size}-rounded {
|
52
|
+
@include border-rounded;
|
53
|
+
}
|
54
|
+
.#{$size}-radius {
|
55
|
+
@include border-radius;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-separator
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for separator.
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-separator-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Default alignment of a separator.
|
14
|
+
/// @type String
|
15
|
+
$prototype-separator-align: center !default;
|
16
|
+
|
17
|
+
/// Height of a separator.
|
18
|
+
/// @type Number
|
19
|
+
$prototype-separator-height: rem-calc(2) !default;
|
20
|
+
|
21
|
+
/// Width of a separator.
|
22
|
+
/// @type Number
|
23
|
+
$prototype-separator-width: 3rem !default;
|
24
|
+
|
25
|
+
/// Default color of a separator.
|
26
|
+
/// @type Color
|
27
|
+
$prototype-separator-background: $primary-color !default;
|
28
|
+
|
29
|
+
/// Top Margin of a separator.
|
30
|
+
/// @type Number
|
31
|
+
$prototype-separator-margin-top: $global-margin !default;
|
32
|
+
|
33
|
+
/// Title separator Utility, mostly used to style the main heading of a section
|
34
|
+
/// @param {String} $align [$prototype-separator-align] - separator Alignment
|
35
|
+
/// @param {Number} $height [$prototype-separator-height] - Width
|
36
|
+
/// @param {Number} $width [$prototype-separator-width] - Height
|
37
|
+
/// @param {Color} $background [$prototype-separator-background] - Background
|
38
|
+
/// @param {Number} $top [$prototype-separator-margin-top] - Margin Top
|
39
|
+
@mixin separator (
|
40
|
+
$align: $prototype-separator-align,
|
41
|
+
$height: $prototype-separator-height,
|
42
|
+
$width: $prototype-separator-width,
|
43
|
+
$background: $prototype-separator-background,
|
44
|
+
$top: $prototype-separator-margin-top
|
45
|
+
) {
|
46
|
+
text-align: $align !important;
|
47
|
+
@include clearfix;
|
48
|
+
|
49
|
+
&::after {
|
50
|
+
@include position(relative);
|
51
|
+
width: $width;
|
52
|
+
border-bottom: $height solid $background;
|
53
|
+
margin: $top auto 0;
|
54
|
+
|
55
|
+
@if $align == left {
|
56
|
+
margin-left: 0 !important;
|
57
|
+
}
|
58
|
+
|
59
|
+
@if $align == right {
|
60
|
+
margin-right: 0 !important;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
@mixin foundation-prototype-separator {
|
66
|
+
.separator-center {
|
67
|
+
@include separator(center);
|
68
|
+
}
|
69
|
+
|
70
|
+
.separator-left {
|
71
|
+
@include separator(left);
|
72
|
+
}
|
73
|
+
|
74
|
+
.separator-right {
|
75
|
+
@include separator(right);
|
76
|
+
}
|
77
|
+
|
78
|
+
@if ($prototype-separator-breakpoints) {
|
79
|
+
// Loop through Responsive Breakpoints
|
80
|
+
@each $size in $breakpoint-classes {
|
81
|
+
@include breakpoint($size) {
|
82
|
+
@if $size != $-zf-zero-breakpoint {
|
83
|
+
.#{$size}-separator-center {
|
84
|
+
@include separator(center);
|
85
|
+
}
|
86
|
+
.#{$size}-separator-left {
|
87
|
+
@include separator(left);
|
88
|
+
}
|
89
|
+
.#{$size}-separator-right {
|
90
|
+
@include separator(right);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-shadow
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for shadow utility.
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-shadow-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Default value for `prototype-box-shadow`
|
14
|
+
/// @type Number
|
15
|
+
$prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
|
16
|
+
0 2px 10px 0 rgba(0,0,0,.12) !default;
|
17
|
+
|
18
|
+
/// Shadow Utility: Adds a light box shadow to an element by default.
|
19
|
+
/// @param {Number} $shadow [$prototype-box-shadow] Box Shadow of a component
|
20
|
+
@mixin shadow(
|
21
|
+
$shadow: $prototype-box-shadow
|
22
|
+
) {
|
23
|
+
box-shadow: $shadow;
|
24
|
+
}
|
25
|
+
|
26
|
+
@mixin foundation-prototype-shadow {
|
27
|
+
.shadow {
|
28
|
+
@include shadow;
|
29
|
+
}
|
30
|
+
|
31
|
+
@if ($prototype-shadow-breakpoints) {
|
32
|
+
// Loop through Responsive Breakpoints
|
33
|
+
@each $size in $breakpoint-classes {
|
34
|
+
@include breakpoint($size) {
|
35
|
+
@if $size != $-zf-zero-breakpoint {
|
36
|
+
.#{$size}-shadow {
|
37
|
+
@include shadow;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-sizing
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for spacing classes (margin and padding)
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-sizing-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Map containing all the `sizing` classes
|
14
|
+
/// @type Map
|
15
|
+
$prototype-sizing: (
|
16
|
+
width,
|
17
|
+
height
|
18
|
+
) !default;
|
19
|
+
|
20
|
+
/// Map containing all the sizes.
|
21
|
+
/// @type Map
|
22
|
+
$prototype-sizes: (
|
23
|
+
25: 25%,
|
24
|
+
50: 50%,
|
25
|
+
75: 75%,
|
26
|
+
100: 100%
|
27
|
+
) !default;
|
28
|
+
|
29
|
+
/// Max Width 100 utility.
|
30
|
+
@mixin max-width-100 {
|
31
|
+
max-width: 100% !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
/// Max Height 100 utility.
|
35
|
+
@mixin max-height-100 {
|
36
|
+
max-height: 100% !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
@mixin foundation-prototype-sizing {
|
40
|
+
// Element Sizing
|
41
|
+
@each $sizing in $prototype-sizing {
|
42
|
+
@each $length, $percentage in $prototype-sizes {
|
43
|
+
.#{$sizing}-#{$length} {
|
44
|
+
#{$sizing}: $percentage !important;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
// Max width & height
|
50
|
+
.max-width-100 {
|
51
|
+
@include max-width-100;
|
52
|
+
}
|
53
|
+
.max-height-100 {
|
54
|
+
@include max-height-100;
|
55
|
+
}
|
56
|
+
|
57
|
+
@if ($prototype-sizing-breakpoints) {
|
58
|
+
// Loop through Responsive Breakpoints
|
59
|
+
@each $size in $breakpoint-classes {
|
60
|
+
@include breakpoint($size) {
|
61
|
+
@if $size != $-zf-zero-breakpoint {
|
62
|
+
@each $sizing in $prototype-sizing {
|
63
|
+
@each $length, $percentage in $prototype-sizes {
|
64
|
+
.#{$size}-#{$sizing}-#{$length} {
|
65
|
+
#{$sizing}: $percentage !important;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
@@ -0,0 +1,179 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-spacing
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for spacing classes (margin and padding)
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-spacing-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Default number of spacers count (margin and padding)
|
14
|
+
/// @type Number
|
15
|
+
$prototype-spacers-count: 3 !default;
|
16
|
+
|
17
|
+
/// Margin helper mixin, all the values are multiplied by `$global-margin` which by default is equal to `1rem`
|
18
|
+
/// @param {Number} $top [null] - Margin Top
|
19
|
+
/// @param {Number} $right [null] - Margin Right
|
20
|
+
/// @param {Number} $bottom [null] - Margin Bottom
|
21
|
+
/// @param {Number} $left [null] - Margin Left
|
22
|
+
@mixin margin(
|
23
|
+
$top: null,
|
24
|
+
$right: null,
|
25
|
+
$bottom: null,
|
26
|
+
$left: null
|
27
|
+
) {
|
28
|
+
@if $top != null {
|
29
|
+
margin-top: $top * $global-margin !important;
|
30
|
+
}
|
31
|
+
@if $right != null {
|
32
|
+
margin-right: $right * $global-margin !important;
|
33
|
+
}
|
34
|
+
@if $bottom != null {
|
35
|
+
margin-bottom: $bottom * $global-margin !important;
|
36
|
+
}
|
37
|
+
@if $left != null {
|
38
|
+
margin-left: $left * $global-margin !important;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
/// Padding helper mixin, all the values are multiplied by `$global-padding` which by default is equal to `1rem`
|
43
|
+
/// @param {Number} $top [null] - Padding Top
|
44
|
+
/// @param {Number} $right [null] - Padding Right
|
45
|
+
/// @param {Number} $bottom [null] - Padding Bottom
|
46
|
+
/// @param {Number} $left [null] - Padding Left
|
47
|
+
@mixin padding(
|
48
|
+
$top: null,
|
49
|
+
$right: null,
|
50
|
+
$bottom: null,
|
51
|
+
$left: null
|
52
|
+
) {
|
53
|
+
@if $top != null {
|
54
|
+
padding-top: $top * $global-padding !important;
|
55
|
+
}
|
56
|
+
@if $right != null {
|
57
|
+
padding-right: $right * $global-padding !important;
|
58
|
+
}
|
59
|
+
@if $bottom != null {
|
60
|
+
padding-bottom: $bottom * $global-padding !important;
|
61
|
+
}
|
62
|
+
@if $left != null {
|
63
|
+
padding-left: $left * $global-padding !important;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
/// Margin classes for specific direction properties
|
68
|
+
/// @param {String} $dir [] Direction
|
69
|
+
/// @param {Number} $spacer [] Spacer
|
70
|
+
@mixin margin-direction($dir, $spacer) {
|
71
|
+
@if ($dir == top) {
|
72
|
+
@include margin($top: $spacer);
|
73
|
+
}
|
74
|
+
@else if ($dir == right) {
|
75
|
+
@include margin($right: $spacer);
|
76
|
+
}
|
77
|
+
@else if ($dir == bottom) {
|
78
|
+
@include margin($bottom: $spacer);
|
79
|
+
}
|
80
|
+
@else if ($dir == left) {
|
81
|
+
@include margin($left: $spacer);
|
82
|
+
}
|
83
|
+
@else if ($dir == horizontal) {
|
84
|
+
@include margin($right: $spacer, $left: $spacer);
|
85
|
+
}
|
86
|
+
@else if ($dir == vertical) {
|
87
|
+
@include margin($top: $spacer, $bottom: $spacer);
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
/// Padding classes for specific direction properties
|
92
|
+
/// @param {String} $dir [] Direction
|
93
|
+
/// @param {Number} $spacer [] Spacer
|
94
|
+
@mixin padding-direction($dir, $spacer) {
|
95
|
+
@if ($dir == top) {
|
96
|
+
@include padding($top: $spacer);
|
97
|
+
}
|
98
|
+
@else if ($dir == right) {
|
99
|
+
@include padding($right: $spacer);
|
100
|
+
}
|
101
|
+
@else if ($dir == bottom) {
|
102
|
+
@include padding($bottom: $spacer);
|
103
|
+
}
|
104
|
+
@else if ($dir == left) {
|
105
|
+
@include padding($left: $spacer);
|
106
|
+
}
|
107
|
+
@else if ($dir == horizontal) {
|
108
|
+
@include padding($right: $spacer, $left: $spacer);
|
109
|
+
}
|
110
|
+
@else if ($dir == vertical) {
|
111
|
+
@include padding($top: $spacer, $bottom: $spacer);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
@mixin foundation-prototype-spacing {
|
116
|
+
@for $spacer from 0 through $prototype-spacers-count {
|
117
|
+
|
118
|
+
@each $prop in (margin, padding) {
|
119
|
+
// All Sides
|
120
|
+
.#{$prop}-#{$spacer} {
|
121
|
+
@if ($prop == margin) {
|
122
|
+
margin: $spacer * $global-margin !important;
|
123
|
+
}
|
124
|
+
@else if ($prop == padding) {
|
125
|
+
padding: $spacer * $global-padding !important;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
@each $dir in (top, right, bottom, left, horizontal, vertical) {
|
130
|
+
// Top Side
|
131
|
+
.#{$prop}-#{$dir}-#{$spacer} {
|
132
|
+
@if ($prop == margin) {
|
133
|
+
@include margin-direction($dir, $spacer);
|
134
|
+
}
|
135
|
+
@else if ($prop == padding) {
|
136
|
+
@include padding-direction($dir, $spacer);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
@if ($prototype-spacing-breakpoints) {
|
144
|
+
@for $spacer from 0 through $prototype-spacers-count {
|
145
|
+
// Loop through Responsive Breakpoints
|
146
|
+
@each $size in $breakpoint-classes {
|
147
|
+
@include breakpoint($size) {
|
148
|
+
@if $size != $-zf-zero-breakpoint {
|
149
|
+
.#{$size} {
|
150
|
+
@each $prop in (margin, padding) {
|
151
|
+
// All Sides
|
152
|
+
&-#{$prop}-#{$spacer} {
|
153
|
+
@if ($prop == margin) {
|
154
|
+
margin: $spacer * $global-margin !important;
|
155
|
+
}
|
156
|
+
@else if ($prop == padding) {
|
157
|
+
padding: $spacer * $global-padding !important;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
@each $dir in (top, right, bottom, left, horizontal, vertical) {
|
162
|
+
// Top Side
|
163
|
+
&-#{$prop}-#{$dir}-#{$spacer} {
|
164
|
+
@if ($prop == margin) {
|
165
|
+
@include margin-direction($dir, $spacer);
|
166
|
+
}
|
167
|
+
@else if ($prop == padding) {
|
168
|
+
@include padding-direction($dir, $spacer);
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-text-decoration
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for text decoration classes
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-decoration-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Map containing all the `text-decoration` classes
|
14
|
+
/// @type Map
|
15
|
+
$prototype-text-decoration: (
|
16
|
+
overline,
|
17
|
+
underline,
|
18
|
+
line-through,
|
19
|
+
) !default;
|
20
|
+
|
21
|
+
/// Text Decoration, by default coming through a map `$prototype-text-decoration`
|
22
|
+
/// @param {String} $decoration [] Text Decoration
|
23
|
+
@mixin text-decoration($decoration) {
|
24
|
+
text-decoration: $decoration !important;
|
25
|
+
}
|
26
|
+
|
27
|
+
@mixin foundation-prototype-text-decoration {
|
28
|
+
@each $decoration in $prototype-text-decoration {
|
29
|
+
.text-#{$decoration} {
|
30
|
+
@include text-decoration($decoration);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
@if ($prototype-decoration-breakpoints) {
|
35
|
+
// Loop through Responsive Breakpoints
|
36
|
+
@each $size in $breakpoint-classes {
|
37
|
+
@include breakpoint($size) {
|
38
|
+
@each $decoration in $prototype-text-decoration {
|
39
|
+
@if $size != $-zf-zero-breakpoint {
|
40
|
+
.#{$size}-text-#{$decoration} {
|
41
|
+
@include text-decoration($decoration);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|