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,135 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
/// Hide an element by default, only displaying it above a certain screen size.
|
6
|
+
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
7
|
+
@mixin show-for($size) {
|
8
|
+
$size: map-get($breakpoints, $size);
|
9
|
+
// Max value is 0.2px under the next breakpoint (0.02 / 16 = 0.00125).
|
10
|
+
// Use a precision under 1px to support browser zoom, but not to low to avoid rounding.
|
11
|
+
// See https://github.com/foundation/foundation-sites/issues/11313
|
12
|
+
$size: -zf-bp-to-em($size) - .00125;
|
13
|
+
|
14
|
+
@include breakpoint($size down) {
|
15
|
+
display: none !important;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
/// Hide an element by default, only displaying it within a certain breakpoint.
|
20
|
+
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
21
|
+
@mixin show-for-only($size) {
|
22
|
+
$lower-bound-size: map-get($breakpoints, $size);
|
23
|
+
$upper-bound-size: -zf-map-next($breakpoints, $size);
|
24
|
+
|
25
|
+
// more often than not this will be correct, just one time round the loop it won't so set in scope here
|
26
|
+
$lower-bound: -zf-bp-to-em($lower-bound-size) - .00125;
|
27
|
+
// test actual lower-bound-size, if 0 set it to 0em
|
28
|
+
@if strip-unit($lower-bound-size) == 0 {
|
29
|
+
$lower-bound: -zf-bp-to-em($lower-bound-size);
|
30
|
+
}
|
31
|
+
|
32
|
+
@if $upper-bound-size == null {
|
33
|
+
@media screen and (max-width: $lower-bound) {
|
34
|
+
display: none !important;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
@else {
|
38
|
+
$upper-bound: -zf-bp-to-em($upper-bound-size);
|
39
|
+
|
40
|
+
@media screen and (max-width: $lower-bound), screen and (min-width: $upper-bound) {
|
41
|
+
display: none !important;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
/// Show an element by default, and hide it above a certain screen size.
|
48
|
+
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
49
|
+
@mixin hide-for($size) {
|
50
|
+
@include breakpoint($size) {
|
51
|
+
display: none !important;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
/// Show an element by default, and hide it above a certain screen size.
|
56
|
+
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
57
|
+
@mixin hide-for-only($size) {
|
58
|
+
@include breakpoint($size only) {
|
59
|
+
display: none !important;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
@mixin foundation-visibility-classes {
|
64
|
+
// Basic hiding classes
|
65
|
+
.hide {
|
66
|
+
display: none !important;
|
67
|
+
}
|
68
|
+
|
69
|
+
.invisible {
|
70
|
+
visibility: hidden;
|
71
|
+
}
|
72
|
+
|
73
|
+
// Responsive visibility classes
|
74
|
+
@each $size in $breakpoint-classes {
|
75
|
+
@if $size != $-zf-zero-breakpoint {
|
76
|
+
.hide-for-#{$size} {
|
77
|
+
@include hide-for($size);
|
78
|
+
}
|
79
|
+
|
80
|
+
.show-for-#{$size} {
|
81
|
+
@include show-for($size);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.hide-for-#{$size}-only {
|
86
|
+
@include hide-for-only($size);
|
87
|
+
}
|
88
|
+
|
89
|
+
.show-for-#{$size}-only {
|
90
|
+
@include show-for-only($size);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
// Screen reader visibility classes
|
95
|
+
// Need a "hide-for-sr" class? Add aria-hidden='true' to the element
|
96
|
+
.show-for-sr,
|
97
|
+
.show-on-focus {
|
98
|
+
@include element-invisible;
|
99
|
+
}
|
100
|
+
|
101
|
+
// Only display the element when it's focused
|
102
|
+
.show-on-focus {
|
103
|
+
&:active,
|
104
|
+
&:focus {
|
105
|
+
@include element-invisible-off;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
// Landscape and portrait visibility
|
110
|
+
.show-for-landscape,
|
111
|
+
.hide-for-portrait {
|
112
|
+
display: block !important;
|
113
|
+
|
114
|
+
@include breakpoint(landscape) {
|
115
|
+
display: block !important;
|
116
|
+
}
|
117
|
+
|
118
|
+
@include breakpoint(portrait) {
|
119
|
+
display: none !important;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.hide-for-landscape,
|
124
|
+
.show-for-portrait {
|
125
|
+
display: none !important;
|
126
|
+
|
127
|
+
@include breakpoint(landscape) {
|
128
|
+
display: none !important;
|
129
|
+
}
|
130
|
+
|
131
|
+
@include breakpoint(portrait) {
|
132
|
+
display: block !important;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
@mixin foundation-form-checkbox {
|
10
|
+
[type='file'],
|
11
|
+
[type='checkbox'],
|
12
|
+
[type='radio'] {
|
13
|
+
margin: 0 0 $form-spacing;
|
14
|
+
}
|
15
|
+
|
16
|
+
// Styles for input/label siblings
|
17
|
+
[type='checkbox'] + label,
|
18
|
+
[type='radio'] + label {
|
19
|
+
display: inline-block;
|
20
|
+
vertical-align: baseline;
|
21
|
+
|
22
|
+
margin-#{$global-left}: $form-spacing * 0.5;
|
23
|
+
margin-#{$global-right}: $form-spacing;
|
24
|
+
margin-bottom: 0;
|
25
|
+
|
26
|
+
&[for] {
|
27
|
+
cursor: pointer;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// Styles for inputs inside labels
|
32
|
+
label > [type='checkbox'],
|
33
|
+
label > [type='radio'] {
|
34
|
+
margin-#{$global-right}: $form-spacing * 0.5;
|
35
|
+
}
|
36
|
+
|
37
|
+
// Normalize file input width
|
38
|
+
[type='file'] {
|
39
|
+
width: 100%;
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group abide
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Sets if error styles should be added to inputs.
|
10
|
+
/// @type Boolean
|
11
|
+
$abide-inputs: true !default;
|
12
|
+
|
13
|
+
/// Sets if error styles should be added to labels.
|
14
|
+
/// @type Boolean
|
15
|
+
$abide-labels: true !default;
|
16
|
+
|
17
|
+
/// Background color to use for invalid text inputs.
|
18
|
+
/// @type Color
|
19
|
+
$input-background-invalid: get-color(alert) !default;
|
20
|
+
|
21
|
+
/// Color to use for labels of invalid inputs.
|
22
|
+
/// @type Color
|
23
|
+
$form-label-color-invalid: get-color(alert) !default;
|
24
|
+
|
25
|
+
/// Default font color for form error text.
|
26
|
+
/// @type Color
|
27
|
+
$input-error-color: get-color(alert) !default;
|
28
|
+
|
29
|
+
/// Default font size for form error text.
|
30
|
+
/// @type Number
|
31
|
+
$input-error-font-size: rem-calc(12) !default;
|
32
|
+
|
33
|
+
/// Default font weight for form error text.
|
34
|
+
/// @type Keyword
|
35
|
+
$input-error-font-weight: $global-weight-bold !default;
|
36
|
+
|
37
|
+
/// Styles the background and border of an input field to have an error state.
|
38
|
+
///
|
39
|
+
/// @param {Color} $background [$alert-color] - Color to use for the background and border.
|
40
|
+
/// @param {Number} $background-lighten [10%] - Lightness level of the background color.
|
41
|
+
@mixin form-input-error(
|
42
|
+
$background: $input-background-invalid,
|
43
|
+
$background-lighten: 10%
|
44
|
+
) {
|
45
|
+
&:not(:focus) {
|
46
|
+
border-color: $background;
|
47
|
+
background-color: mix($background, $white, $background-lighten);
|
48
|
+
|
49
|
+
&::placeholder {
|
50
|
+
color: $background;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
/// Adds error styles to a form element, using the values in the settings file.
|
56
|
+
@mixin form-error {
|
57
|
+
display: none;
|
58
|
+
margin-top: $form-spacing * -0.5;
|
59
|
+
margin-bottom: $form-spacing;
|
60
|
+
|
61
|
+
font-size: $input-error-font-size;
|
62
|
+
font-weight: $input-error-font-weight;
|
63
|
+
color: $input-error-color;
|
64
|
+
}
|
65
|
+
|
66
|
+
@mixin foundation-form-error {
|
67
|
+
@if $abide-inputs {
|
68
|
+
// Error class for invalid inputs
|
69
|
+
.is-invalid-input {
|
70
|
+
@include form-input-error;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
@if $abide-labels {
|
75
|
+
// Error class for labels of invalid outputs
|
76
|
+
.is-invalid-label {
|
77
|
+
color: $form-label-color-invalid;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
// Form error element
|
82
|
+
.form-error {
|
83
|
+
@include form-error;
|
84
|
+
|
85
|
+
&.is-visible {
|
86
|
+
display: block;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Default border around custom fieldsets.
|
10
|
+
/// @type Border
|
11
|
+
$fieldset-border: 1px solid $medium-gray !default;
|
12
|
+
|
13
|
+
/// Default padding inside custom fieldsets.
|
14
|
+
/// @type Number
|
15
|
+
$fieldset-padding: rem-calc(20) !default;
|
16
|
+
|
17
|
+
/// Default margin around custom fieldsets.
|
18
|
+
/// @type Number
|
19
|
+
$fieldset-margin: rem-calc(18 0) !default;
|
20
|
+
|
21
|
+
/// Default padding between the legend text and fieldset border.
|
22
|
+
/// @type Number
|
23
|
+
$legend-padding: rem-calc(0 3) !default;
|
24
|
+
|
25
|
+
@mixin fieldset {
|
26
|
+
margin: $fieldset-margin;
|
27
|
+
padding: $fieldset-padding;
|
28
|
+
border: $fieldset-border;
|
29
|
+
|
30
|
+
legend {
|
31
|
+
// Covers up the fieldset's border to create artificial padding
|
32
|
+
margin: 0;
|
33
|
+
margin-#{$global-left}: rem-calc(-3);
|
34
|
+
padding: $legend-padding;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@mixin foundation-form-fieldset {
|
39
|
+
fieldset {
|
40
|
+
margin: 0;
|
41
|
+
padding: 0;
|
42
|
+
border: 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
legend {
|
46
|
+
max-width: 100%;
|
47
|
+
margin-bottom: $form-spacing * 0.5;
|
48
|
+
}
|
49
|
+
|
50
|
+
.fieldset {
|
51
|
+
@include fieldset;
|
52
|
+
}
|
53
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Global spacing for form elements.
|
10
|
+
/// @type Number
|
11
|
+
$form-spacing: rem-calc(16) !default;
|
12
|
+
|
13
|
+
@import 'text';
|
14
|
+
@import 'checkbox';
|
15
|
+
@import 'label';
|
16
|
+
@import 'help-text';
|
17
|
+
@import 'input-group';
|
18
|
+
@import 'fieldset';
|
19
|
+
@import 'select';
|
20
|
+
@import 'range';
|
21
|
+
@import 'progress';
|
22
|
+
@import 'meter';
|
23
|
+
@import 'error';
|
24
|
+
|
25
|
+
@mixin foundation-forms {
|
26
|
+
@include foundation-form-text;
|
27
|
+
@include foundation-form-checkbox;
|
28
|
+
@include foundation-form-label;
|
29
|
+
@include foundation-form-helptext;
|
30
|
+
@include foundation-form-prepostfix;
|
31
|
+
@include foundation-form-fieldset;
|
32
|
+
@include foundation-form-select;
|
33
|
+
@include foundation-form-error;
|
34
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Default color for help text.
|
10
|
+
/// @type Color
|
11
|
+
$helptext-color: $black !default;
|
12
|
+
|
13
|
+
/// Default font size for help text.
|
14
|
+
/// @type Number
|
15
|
+
$helptext-font-size: rem-calc(13) !default;
|
16
|
+
|
17
|
+
/// Default font style for help text.
|
18
|
+
/// @type Keyword
|
19
|
+
$helptext-font-style: italic !default;
|
20
|
+
|
21
|
+
@mixin foundation-form-helptext {
|
22
|
+
.help-text {
|
23
|
+
$margin-top: ($form-spacing * 0.5) * -1;
|
24
|
+
|
25
|
+
margin-top: $margin-top;
|
26
|
+
font-size: $helptext-font-size;
|
27
|
+
font-style: $helptext-font-style;
|
28
|
+
color: $helptext-color;
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,142 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Color of labels prefixed to an input.
|
10
|
+
/// @type Color
|
11
|
+
$input-prefix-color: $black !default;
|
12
|
+
|
13
|
+
/// Background color of labels prefixed to an input.
|
14
|
+
/// @type Color
|
15
|
+
$input-prefix-background: $light-gray !default;
|
16
|
+
|
17
|
+
/// Border around labels prefixed to an input.
|
18
|
+
/// @type Border
|
19
|
+
$input-prefix-border: 1px solid $medium-gray !default;
|
20
|
+
|
21
|
+
/// Left/right padding of an pre/postfixed input label
|
22
|
+
$input-prefix-padding: 1rem !default;
|
23
|
+
|
24
|
+
@mixin foundation-form-prepostfix {
|
25
|
+
$height: ($input-font-size * $input-line-height) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom')) - rem-calc(1);
|
26
|
+
|
27
|
+
.input-group {
|
28
|
+
display: if($global-flexbox, flex, table);
|
29
|
+
width: 100%;
|
30
|
+
margin-bottom: $form-spacing;
|
31
|
+
|
32
|
+
@if $global-flexbox {
|
33
|
+
align-items: stretch;
|
34
|
+
}
|
35
|
+
|
36
|
+
> :first-child {
|
37
|
+
&, &.input-group-button > * {
|
38
|
+
border-radius: if($global-text-direction == rtl, 0 $input-radius $input-radius 0, $input-radius 0 0 $input-radius);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
> :last-child {
|
43
|
+
&, &.input-group-button > * {
|
44
|
+
border-radius: if($global-text-direction == rtl, $input-radius 0 0 $input-radius, 0 $input-radius $input-radius 0);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
%input-group-child {
|
50
|
+
margin: 0;
|
51
|
+
white-space: nowrap;
|
52
|
+
|
53
|
+
@if not $global-flexbox {
|
54
|
+
display: table-cell;
|
55
|
+
vertical-align: middle;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.input-group-label {
|
60
|
+
@extend %input-group-child;
|
61
|
+
padding: 0 $input-prefix-padding;
|
62
|
+
border: $input-prefix-border;
|
63
|
+
background: $input-prefix-background;
|
64
|
+
|
65
|
+
color: $input-prefix-color;
|
66
|
+
text-align: center;
|
67
|
+
white-space: nowrap;
|
68
|
+
|
69
|
+
@if $global-flexbox {
|
70
|
+
display: flex;
|
71
|
+
flex: 0 0 auto;
|
72
|
+
align-items: center;
|
73
|
+
}
|
74
|
+
@else {
|
75
|
+
width: 1%;
|
76
|
+
height: 100%;
|
77
|
+
}
|
78
|
+
|
79
|
+
@if has-value($input-prefix-border) {
|
80
|
+
&:first-child {
|
81
|
+
border-#{$global-right}: 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
&:last-child {
|
85
|
+
border-#{$global-left}: 0;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.input-group-field {
|
91
|
+
@extend %input-group-child;
|
92
|
+
border-radius: 0;
|
93
|
+
|
94
|
+
@if $global-flexbox {
|
95
|
+
flex: 1 1 0px; // sass-lint:disable-line zero-unit
|
96
|
+
min-width: 0;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.input-group-button {
|
101
|
+
@extend %input-group-child;
|
102
|
+
padding-top: 0;
|
103
|
+
padding-bottom: 0;
|
104
|
+
text-align: center;
|
105
|
+
|
106
|
+
@if $global-flexbox {
|
107
|
+
display: flex;
|
108
|
+
flex: 0 0 auto;
|
109
|
+
}
|
110
|
+
@else {
|
111
|
+
width: 1%;
|
112
|
+
height: 100%;
|
113
|
+
}
|
114
|
+
|
115
|
+
a,
|
116
|
+
input,
|
117
|
+
button,
|
118
|
+
label {
|
119
|
+
@extend %input-group-child;
|
120
|
+
|
121
|
+
@if $global-flexbox {
|
122
|
+
align-self: stretch;
|
123
|
+
height: auto;
|
124
|
+
}
|
125
|
+
@else {
|
126
|
+
height: $height;
|
127
|
+
}
|
128
|
+
padding-top: 0;
|
129
|
+
padding-bottom: 0;
|
130
|
+
font-size: $input-font-size;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
// Specificity bump needed to prevent override by buttons
|
135
|
+
@if not $global-flexbox {
|
136
|
+
.input-group {
|
137
|
+
.input-group-button {
|
138
|
+
display: table-cell;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Color for form labels.
|
10
|
+
/// @type Color
|
11
|
+
$form-label-color: $black !default;
|
12
|
+
|
13
|
+
/// Font size for form labels.
|
14
|
+
/// @type Number
|
15
|
+
$form-label-font-size: rem-calc(14) !default;
|
16
|
+
|
17
|
+
/// Font weight for form labels.
|
18
|
+
/// @type Keyword
|
19
|
+
$form-label-font-weight: $global-weight-normal !default;
|
20
|
+
|
21
|
+
/// Line height for form labels. The higher the number, the more space between the label and its input field.
|
22
|
+
/// @type Number
|
23
|
+
$form-label-line-height: 1.8 !default;
|
24
|
+
|
25
|
+
@mixin form-label {
|
26
|
+
display: block;
|
27
|
+
margin: 0;
|
28
|
+
|
29
|
+
font-size: $form-label-font-size;
|
30
|
+
font-weight: $form-label-font-weight;
|
31
|
+
line-height: $form-label-line-height;
|
32
|
+
color: $form-label-color;
|
33
|
+
}
|
34
|
+
|
35
|
+
@mixin form-label-middle {
|
36
|
+
$input-border-width: get-border-value($input-border, width);
|
37
|
+
|
38
|
+
margin: 0 0 $form-spacing;
|
39
|
+
padding: ($form-spacing / 2 + rem-calc($input-border-width)) 0;
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin foundation-form-label {
|
43
|
+
label {
|
44
|
+
@include form-label;
|
45
|
+
|
46
|
+
&.middle {
|
47
|
+
@include form-label-middle;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group meter
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Height of a `<meter>` element.
|
10
|
+
/// @type Length
|
11
|
+
$meter-height: 1rem !default;
|
12
|
+
|
13
|
+
/// Border radius of a `<meter>` element.
|
14
|
+
/// @type Length
|
15
|
+
$meter-radius: $global-radius !default;
|
16
|
+
|
17
|
+
/// Background color of a `<meter>` element.
|
18
|
+
/// @type Color
|
19
|
+
$meter-background: $medium-gray !default;
|
20
|
+
|
21
|
+
/// Meter fill for an optimal value in a `<meter>` element.
|
22
|
+
/// @type Color
|
23
|
+
$meter-fill-good: $success-color !default;
|
24
|
+
|
25
|
+
/// Meter fill for an average value in a `<meter>` element.
|
26
|
+
/// @type Color
|
27
|
+
$meter-fill-medium: $warning-color !default;
|
28
|
+
|
29
|
+
/// Meter fill for a suboptimal value in a `<meter>` element.
|
30
|
+
/// @type Color
|
31
|
+
$meter-fill-bad: $alert-color !default;
|
32
|
+
|
33
|
+
@mixin foundation-meter-element {
|
34
|
+
meter {
|
35
|
+
display: block;
|
36
|
+
width: 100%;
|
37
|
+
height: $meter-height;
|
38
|
+
margin-bottom: 1rem;
|
39
|
+
|
40
|
+
// Disable `-webkit-appearance: none` from getting prefixed,
|
41
|
+
// We have disabled autoprefixer first and are just only using
|
42
|
+
// `-moz-appearance: none` as a prefix and neglecting the webkit.
|
43
|
+
|
44
|
+
/*! autoprefixer: off */
|
45
|
+
-moz-appearance: none; // sass-lint:disable-line no-vendor-prefixes
|
46
|
+
appearance: none;
|
47
|
+
|
48
|
+
@if has-value($meter-radius) {
|
49
|
+
border-radius: $meter-radius;
|
50
|
+
}
|
51
|
+
|
52
|
+
// For Firefox
|
53
|
+
border: 0;
|
54
|
+
background: $meter-background;
|
55
|
+
|
56
|
+
// Chrome/Safari/Edge
|
57
|
+
&::-webkit-meter-bar {
|
58
|
+
border: 0;
|
59
|
+
@if has-value($meter-radius) {
|
60
|
+
border-radius: $meter-radius;
|
61
|
+
}
|
62
|
+
|
63
|
+
background: $meter-background;
|
64
|
+
}
|
65
|
+
|
66
|
+
&::-webkit-meter-inner-element {
|
67
|
+
@if has-value($meter-radius) {
|
68
|
+
border-radius: $meter-radius;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
&::-webkit-meter-optimum-value {
|
73
|
+
background: $meter-fill-good;
|
74
|
+
|
75
|
+
@if has-value($meter-radius) {
|
76
|
+
border-radius: $meter-radius;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
&::-webkit-meter-suboptimum-value {
|
81
|
+
background: $meter-fill-medium;
|
82
|
+
|
83
|
+
@if has-value($meter-radius) {
|
84
|
+
border-radius: $meter-radius;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
&::-webkit-meter-even-less-good-value {
|
89
|
+
background: $meter-fill-bad;
|
90
|
+
|
91
|
+
@if has-value($meter-radius) {
|
92
|
+
border-radius: $meter-radius;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
&::-moz-meter-bar {
|
97
|
+
background: $primary-color;
|
98
|
+
|
99
|
+
@if has-value($meter-radius) {
|
100
|
+
border-radius: $meter-radius;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
&:-moz-meter-optimum::-moz-meter-bar {
|
105
|
+
background: $meter-fill-good;
|
106
|
+
}
|
107
|
+
|
108
|
+
&:-moz-meter-sub-optimum::-moz-meter-bar {
|
109
|
+
background: $meter-fill-medium;
|
110
|
+
}
|
111
|
+
|
112
|
+
&:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
113
|
+
background: $meter-fill-bad;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|