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,244 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
// sass-lint:disable no-color-literals, no-qualifying-elements
|
6
|
+
|
7
|
+
////
|
8
|
+
/// @group global
|
9
|
+
////
|
10
|
+
|
11
|
+
@import 'util/util';
|
12
|
+
|
13
|
+
/// Font size attribute applied to `<html>` and `<body>`. We use 100% by default so the value is inherited from the user's browser settings.
|
14
|
+
/// @type Number
|
15
|
+
$global-font-size: 100% !default;
|
16
|
+
|
17
|
+
/// Global width of your site. Used by the grid to determine row width.
|
18
|
+
/// @type Number
|
19
|
+
$global-width: rem-calc(1200) !default;
|
20
|
+
|
21
|
+
/// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px
|
22
|
+
/// @type Number
|
23
|
+
$global-lineheight: 1.5 !default;
|
24
|
+
|
25
|
+
/// Colors used for buttons, callouts, links, etc. There must always be a color called `primary`.
|
26
|
+
/// @type Map
|
27
|
+
$foundation-palette: (
|
28
|
+
primary: #1779ba,
|
29
|
+
secondary: #767676,
|
30
|
+
success: #3adb76,
|
31
|
+
warning: #ffae00,
|
32
|
+
alert: #cc4b37,
|
33
|
+
) !default;
|
34
|
+
|
35
|
+
/// Color used for light gray UI items.
|
36
|
+
/// @type Color
|
37
|
+
$light-gray: #e6e6e6 !default;
|
38
|
+
|
39
|
+
/// Color used for medium gray UI items.
|
40
|
+
/// @type Color
|
41
|
+
$medium-gray: #cacaca !default;
|
42
|
+
|
43
|
+
/// Color used for dark gray UI items.
|
44
|
+
/// @type Color
|
45
|
+
$dark-gray: #8a8a8a !default;
|
46
|
+
|
47
|
+
/// Color used for black ui items.
|
48
|
+
/// @type Color
|
49
|
+
$black: #0a0a0a !default;
|
50
|
+
|
51
|
+
/// Color used for white ui items.
|
52
|
+
/// @type Color
|
53
|
+
$white: #fefefe !default;
|
54
|
+
|
55
|
+
/// Background color of the body.
|
56
|
+
/// @type Color
|
57
|
+
$body-background: $white !default;
|
58
|
+
|
59
|
+
/// Text color of the body.
|
60
|
+
/// @type Color
|
61
|
+
$body-font-color: $black !default;
|
62
|
+
|
63
|
+
/// Font stack of the body.
|
64
|
+
/// @type List
|
65
|
+
$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif !default;
|
66
|
+
|
67
|
+
/// Set to `true` to enable antialiased type, using the `-webkit-font-smoothing` and `-moz-osx-font-smoothing` CSS properties.
|
68
|
+
/// @type Boolean
|
69
|
+
$body-antialiased: true !default;
|
70
|
+
|
71
|
+
/// Global value used for margin on components.
|
72
|
+
/// @type Number
|
73
|
+
$global-margin: 1rem !default;
|
74
|
+
|
75
|
+
/// Global value used for padding on components.
|
76
|
+
/// @type Number
|
77
|
+
$global-padding: 1rem !default;
|
78
|
+
|
79
|
+
/// Global value used for positioning on components.
|
80
|
+
/// @type Number
|
81
|
+
$global-position: 1rem !default;
|
82
|
+
|
83
|
+
/// Global font weight used for normal type.
|
84
|
+
/// @type Keyword | Number
|
85
|
+
$global-weight-normal: normal !default;
|
86
|
+
|
87
|
+
/// Global font weight used for bold type.
|
88
|
+
/// @type Keyword | Number
|
89
|
+
$global-weight-bold: bold !default;
|
90
|
+
|
91
|
+
/// Global value used for all elements that have a border radius.
|
92
|
+
/// @type Number
|
93
|
+
$global-radius: 0 !default;
|
94
|
+
|
95
|
+
/// Global value used for all menu styles. Can be overwritten at individual menu component level.
|
96
|
+
/// @type Number
|
97
|
+
$global-menu-padding: 0.7rem 1rem !default;
|
98
|
+
|
99
|
+
/// Global value used for all menu styles. Nested margin for submenu.
|
100
|
+
$global-menu-nested-margin: 1rem !default;
|
101
|
+
|
102
|
+
/// Sets the text direction of the CSS. Can be either `ltr` or `rtl`.
|
103
|
+
/// @type Keyword
|
104
|
+
$global-text-direction: ltr !default;
|
105
|
+
|
106
|
+
/// Enables flexbox for components that support it.
|
107
|
+
/// @type Boolean
|
108
|
+
$global-flexbox: true !default;
|
109
|
+
|
110
|
+
/// Enabled responsive breakpoints for prototypes if applicable
|
111
|
+
/// @type Boolean
|
112
|
+
$global-prototype-breakpoints: false !default;
|
113
|
+
|
114
|
+
/// Button cursor's value, `auto` by default
|
115
|
+
/// @type Keyword
|
116
|
+
$global-button-cursor: auto !default;
|
117
|
+
|
118
|
+
@if not map-has-key($foundation-palette, primary) {
|
119
|
+
@error 'In $foundation-palette, you must have a color named "primary".';
|
120
|
+
}
|
121
|
+
|
122
|
+
// Internal variables used for text direction
|
123
|
+
$global-left: if($global-text-direction == rtl, right, left);
|
124
|
+
$global-right: if($global-text-direction == rtl, left, right);
|
125
|
+
|
126
|
+
// Internal variable that contains the flex justifying options
|
127
|
+
$-zf-flex-justify: -zf-flex-justify($global-text-direction);
|
128
|
+
|
129
|
+
/// Global tolerance for color pick contrast.
|
130
|
+
/// @type Number
|
131
|
+
$global-color-pick-contrast-tolerance: 0 !default;
|
132
|
+
|
133
|
+
// Internal variables used for colors
|
134
|
+
@include add-foundation-colors;
|
135
|
+
|
136
|
+
@mixin foundation-global-styles {
|
137
|
+
@include foundation-normalize;
|
138
|
+
|
139
|
+
// These styles are applied to a <meta> tag, which is read by the Foundation JavaScript
|
140
|
+
.foundation-mq {
|
141
|
+
font-family: '#{-zf-bp-serialize($breakpoints)}';
|
142
|
+
}
|
143
|
+
|
144
|
+
html {
|
145
|
+
box-sizing: border-box;
|
146
|
+
font-size: $global-font-size;
|
147
|
+
}
|
148
|
+
|
149
|
+
// Set box-sizing globally to handle padding and border widths
|
150
|
+
*,
|
151
|
+
*::before,
|
152
|
+
*::after {
|
153
|
+
box-sizing: inherit;
|
154
|
+
}
|
155
|
+
|
156
|
+
// Default body styles
|
157
|
+
body {
|
158
|
+
margin: 0;
|
159
|
+
padding: 0;
|
160
|
+
|
161
|
+
background: $body-background;
|
162
|
+
|
163
|
+
font-family: $body-font-family;
|
164
|
+
font-weight: $global-weight-normal;
|
165
|
+
line-height: $global-lineheight;
|
166
|
+
color: $body-font-color;
|
167
|
+
|
168
|
+
@if ($body-antialiased) {
|
169
|
+
-webkit-font-smoothing: antialiased; // sass-lint:disable-line no-vendor-prefixes
|
170
|
+
-moz-osx-font-smoothing: grayscale; // sass-lint:disable-line no-vendor-prefixes
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
img {
|
175
|
+
// Get rid of gap under images by making them display: inline-block; by default
|
176
|
+
display: inline-block;
|
177
|
+
vertical-align: middle;
|
178
|
+
|
179
|
+
// Grid defaults to get images and embeds to work properly
|
180
|
+
max-width: 100%;
|
181
|
+
height: auto;
|
182
|
+
-ms-interpolation-mode: bicubic;
|
183
|
+
}
|
184
|
+
|
185
|
+
// Make sure textarea takes on height automatically
|
186
|
+
textarea {
|
187
|
+
height: auto;
|
188
|
+
min-height: 50px;
|
189
|
+
border-radius: $global-radius;
|
190
|
+
}
|
191
|
+
|
192
|
+
// Make select elements are 100% width by default
|
193
|
+
select {
|
194
|
+
box-sizing: border-box;
|
195
|
+
width: 100%;
|
196
|
+
border-radius: $global-radius;
|
197
|
+
}
|
198
|
+
|
199
|
+
// Styles Google Maps and MapQuest embeds properly
|
200
|
+
// sass-lint:disable-line no-ids
|
201
|
+
.map_canvas,
|
202
|
+
.mqa-display {
|
203
|
+
img,
|
204
|
+
embed,
|
205
|
+
object {
|
206
|
+
max-width: none !important;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
// Reset <button> styles created by most browsers
|
211
|
+
button {
|
212
|
+
@include disable-mouse-outline;
|
213
|
+
padding: 0;
|
214
|
+
appearance: none;
|
215
|
+
border: 0;
|
216
|
+
border-radius: $global-radius;
|
217
|
+
background: transparent;
|
218
|
+
line-height: 1;
|
219
|
+
cursor: $global-button-cursor;
|
220
|
+
}
|
221
|
+
|
222
|
+
// Prevent text overflow on pre
|
223
|
+
pre {
|
224
|
+
overflow: auto;
|
225
|
+
}
|
226
|
+
|
227
|
+
// Make reset inherit font-family instead of settings sans-serif
|
228
|
+
button,
|
229
|
+
input,
|
230
|
+
optgroup,
|
231
|
+
select,
|
232
|
+
textarea {
|
233
|
+
font-family: inherit;
|
234
|
+
}
|
235
|
+
|
236
|
+
// Internal classes to show/hide elements in JavaScript
|
237
|
+
.is-visible {
|
238
|
+
display: block !important;
|
239
|
+
}
|
240
|
+
|
241
|
+
.is-hidden {
|
242
|
+
display: none !important;
|
243
|
+
}
|
244
|
+
}
|
@@ -0,0 +1,174 @@
|
|
1
|
+
////
|
2
|
+
/// @group accordion-menu
|
3
|
+
////
|
4
|
+
|
5
|
+
/// Sets accordion menu padding.
|
6
|
+
/// @type Number
|
7
|
+
$accordionmenu-padding: $global-menu-padding !default;
|
8
|
+
|
9
|
+
/// Sets accordion menu nested margin
|
10
|
+
/// @type Number
|
11
|
+
$accordionmenu-nested-margin: $global-menu-nested-margin !default;
|
12
|
+
|
13
|
+
/// Sets accordion menu submenu padding.
|
14
|
+
/// @type Number
|
15
|
+
$accordionmenu-submenu-padding: $accordionmenu-padding !default;
|
16
|
+
|
17
|
+
/// Sets if accordion menus have the default arrow styles.
|
18
|
+
/// @type Boolean
|
19
|
+
$accordionmenu-arrows: true !default;
|
20
|
+
|
21
|
+
/// Sets accordion menu arrow color if arrow is used.
|
22
|
+
/// @type Color
|
23
|
+
$accordionmenu-arrow-color: $primary-color !default;
|
24
|
+
|
25
|
+
/// Sets accordion menu item padding.
|
26
|
+
/// @type Color
|
27
|
+
$accordionmenu-item-background: null !default;
|
28
|
+
|
29
|
+
/// Sets accordion menu item border.
|
30
|
+
/// @type Color
|
31
|
+
$accordionmenu-border: null !default;
|
32
|
+
|
33
|
+
/// Sets accordion menu item padding.
|
34
|
+
/// @type Color
|
35
|
+
$accordionmenu-submenu-toggle-background: null !default;
|
36
|
+
|
37
|
+
/// Sets accordion menu item padding.
|
38
|
+
/// @type List
|
39
|
+
$accordion-submenu-toggle-border: $accordionmenu-border !default;
|
40
|
+
|
41
|
+
/// Sets accordion menu submenu toggle background width.
|
42
|
+
/// @type Number
|
43
|
+
$accordionmenu-submenu-toggle-width: 40px !default;
|
44
|
+
|
45
|
+
/// Sets accordion menu submenu toggle background height.
|
46
|
+
/// @type Number
|
47
|
+
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width !default;
|
48
|
+
|
49
|
+
/// Sets accordion menu arrow size if arrow is used.
|
50
|
+
/// @type Length
|
51
|
+
$accordionmenu-arrow-size: 6px !default;
|
52
|
+
|
53
|
+
@mixin zf-accordion-menu-left-right-arrows {
|
54
|
+
.is-accordion-submenu-parent:not(.has-submenu-toggle) > a {
|
55
|
+
position: relative;
|
56
|
+
|
57
|
+
&::after {
|
58
|
+
@include css-triangle($accordionmenu-arrow-size, $accordionmenu-arrow-color, down);
|
59
|
+
position: absolute;
|
60
|
+
top: 50%;
|
61
|
+
margin-top: -1 * ($accordionmenu-arrow-size / 2);
|
62
|
+
#{$global-right}: 1rem;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
&.align-left .is-accordion-submenu-parent > a::after {
|
67
|
+
right: 1rem;
|
68
|
+
left: auto;
|
69
|
+
}
|
70
|
+
|
71
|
+
&.align-right .is-accordion-submenu-parent > a::after {
|
72
|
+
right: auto;
|
73
|
+
left: 1rem;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
@mixin foundation-accordion-menu {
|
77
|
+
|
78
|
+
.accordion-menu {
|
79
|
+
@if $accordionmenu-border {
|
80
|
+
border-bottom: $accordionmenu-border;
|
81
|
+
}
|
82
|
+
|
83
|
+
li {
|
84
|
+
@if $accordionmenu-border {
|
85
|
+
border-top: $accordionmenu-border;
|
86
|
+
border-right: $accordionmenu-border;
|
87
|
+
border-left: $accordionmenu-border;
|
88
|
+
}
|
89
|
+
width: 100%;
|
90
|
+
}
|
91
|
+
|
92
|
+
a {
|
93
|
+
@if $accordionmenu-item-background {
|
94
|
+
background: $accordionmenu-item-background;
|
95
|
+
}
|
96
|
+
padding: $accordionmenu-padding;
|
97
|
+
}
|
98
|
+
|
99
|
+
.is-accordion-submenu a {
|
100
|
+
padding: $accordionmenu-submenu-padding;
|
101
|
+
}
|
102
|
+
|
103
|
+
.nested.is-accordion-submenu {
|
104
|
+
@include menu-nested($accordionmenu-nested-margin);
|
105
|
+
}
|
106
|
+
|
107
|
+
&.align-#{$global-right} {
|
108
|
+
.nested.is-accordion-submenu {
|
109
|
+
@include menu-nested($accordionmenu-nested-margin, right);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
@if $accordionmenu-arrows {
|
114
|
+
@include zf-accordion-menu-left-right-arrows;
|
115
|
+
|
116
|
+
.is-accordion-submenu-parent[aria-expanded='true'] > a::after {
|
117
|
+
transform: rotate(180deg);
|
118
|
+
transform-origin: 50% 50%;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.is-accordion-submenu li {
|
124
|
+
@if $accordionmenu-border {
|
125
|
+
border-right: 0;
|
126
|
+
border-left: 0;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
.is-accordion-submenu-parent {
|
131
|
+
position: relative;
|
132
|
+
}
|
133
|
+
|
134
|
+
.has-submenu-toggle > a {
|
135
|
+
margin-#{$global-right}: $accordionmenu-submenu-toggle-width;
|
136
|
+
}
|
137
|
+
|
138
|
+
// Submenu toggle
|
139
|
+
.submenu-toggle {
|
140
|
+
position: absolute;
|
141
|
+
top: 0;
|
142
|
+
#{$global-right}: 0;
|
143
|
+
|
144
|
+
width: $accordionmenu-submenu-toggle-width;
|
145
|
+
height: $accordionmenu-submenu-toggle-height;
|
146
|
+
|
147
|
+
cursor: pointer;
|
148
|
+
|
149
|
+
border-#{$global-left}: $accordion-submenu-toggle-border;
|
150
|
+
|
151
|
+
@if $accordionmenu-submenu-toggle-background {
|
152
|
+
background: $accordionmenu-submenu-toggle-background;
|
153
|
+
}
|
154
|
+
|
155
|
+
// Add the arrow to the toggle
|
156
|
+
&::after {
|
157
|
+
@include css-triangle(6px, $accordionmenu-arrow-color, down);
|
158
|
+
|
159
|
+
top: 0;
|
160
|
+
bottom: 0;
|
161
|
+
margin: auto;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
// Rotate the arrow when menu is open
|
166
|
+
.submenu-toggle[aria-expanded='true']::after {
|
167
|
+
transform: scaleY(-1);
|
168
|
+
transform-origin: 50% 50%;
|
169
|
+
}
|
170
|
+
|
171
|
+
.submenu-toggle-text {
|
172
|
+
@include element-invisible;
|
173
|
+
}
|
174
|
+
}
|
@@ -0,0 +1,164 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group accordion
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Default background color of an accordion group.
|
10
|
+
/// @type Color
|
11
|
+
$accordion-background: $white !default;
|
12
|
+
|
13
|
+
/// If `true`, adds plus and minus icons to the side of each accordion title.
|
14
|
+
/// @type Boolean
|
15
|
+
$accordion-plusminus: true !default;
|
16
|
+
|
17
|
+
/// Content for the plus icon when `$accordion-plusminus` is `true`
|
18
|
+
/// @type String
|
19
|
+
$accordion-plus-content: '\002B' !default;
|
20
|
+
|
21
|
+
/// Content for the minus icon when `$accordion-plusminus` is `true`
|
22
|
+
/// @type String
|
23
|
+
$accordion-minus-content: '\2013' !default;
|
24
|
+
|
25
|
+
/// Font size of accordion titles.
|
26
|
+
/// @type Number
|
27
|
+
$accordion-title-font-size: rem-calc(12) !default;
|
28
|
+
|
29
|
+
/// Default text color for items in a Menu.
|
30
|
+
/// @type Color
|
31
|
+
$accordion-item-color: $primary-color !default;
|
32
|
+
|
33
|
+
/// Default background color on hover for items in a Menu.
|
34
|
+
/// @type Color
|
35
|
+
$accordion-item-background-hover: $light-gray !default;
|
36
|
+
|
37
|
+
/// Default padding of an accordion item.
|
38
|
+
/// @type Number | List
|
39
|
+
$accordion-item-padding: 1.25rem 1rem !default;
|
40
|
+
|
41
|
+
/// Default background color of tab content.
|
42
|
+
/// @type Color
|
43
|
+
$accordion-content-background: $white !default;
|
44
|
+
|
45
|
+
/// Default border color of tab content.
|
46
|
+
/// @type Color
|
47
|
+
$accordion-content-border: 1px solid $light-gray !default;
|
48
|
+
|
49
|
+
/// Default text color of tab content.
|
50
|
+
/// @type Color
|
51
|
+
$accordion-content-color: $body-font-color !default;
|
52
|
+
|
53
|
+
/// Default padding for tab content.
|
54
|
+
/// @type Number | List
|
55
|
+
$accordion-content-padding: 1rem !default;
|
56
|
+
|
57
|
+
/// Adds styles for an accordion container. Apply this to the same element that gets `data-accordion`.
|
58
|
+
@mixin accordion-container (
|
59
|
+
$background: $accordion-background
|
60
|
+
) {
|
61
|
+
margin-#{$global-left}: 0;
|
62
|
+
background: $background;
|
63
|
+
list-style-type: none;
|
64
|
+
|
65
|
+
&[disabled] {
|
66
|
+
.accordion-title {
|
67
|
+
cursor: not-allowed;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
/// Adds styles for the accordion item. Apply this to the list item within an accordion ul.
|
73
|
+
@mixin accordion-item {
|
74
|
+
&:first-child > :first-child {
|
75
|
+
border-radius: $global-radius $global-radius 0 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
&:last-child > :last-child {
|
79
|
+
border-radius: 0 0 $global-radius $global-radius;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
/// Adds styles for the title of an accordion item. Apply this to the link within an accordion item.
|
84
|
+
@mixin accordion-title (
|
85
|
+
$padding: $accordion-item-padding,
|
86
|
+
$font-size: $accordion-title-font-size,
|
87
|
+
$color: $accordion-item-color,
|
88
|
+
$border: $accordion-content-border,
|
89
|
+
$background-hover: $accordion-item-background-hover
|
90
|
+
) {
|
91
|
+
position: relative;
|
92
|
+
display: block;
|
93
|
+
padding: $padding;
|
94
|
+
|
95
|
+
border: $border;
|
96
|
+
border-bottom: 0;
|
97
|
+
|
98
|
+
font-size: $font-size;
|
99
|
+
line-height: 1;
|
100
|
+
color: $color;
|
101
|
+
|
102
|
+
:last-child:not(.is-active) > & {
|
103
|
+
border-bottom: $border;
|
104
|
+
border-radius: 0 0 $global-radius $global-radius;
|
105
|
+
}
|
106
|
+
|
107
|
+
&:hover,
|
108
|
+
&:focus {
|
109
|
+
background-color: $background-hover;
|
110
|
+
}
|
111
|
+
|
112
|
+
@if $accordion-plusminus {
|
113
|
+
&::before {
|
114
|
+
position: absolute;
|
115
|
+
top: 50%;
|
116
|
+
#{$global-right}: 1rem;
|
117
|
+
margin-top: -0.5rem;
|
118
|
+
content: $accordion-plus-content;
|
119
|
+
}
|
120
|
+
|
121
|
+
.is-active > &::before {
|
122
|
+
content: $accordion-minus-content;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
/// Adds styles for accordion content. Apply this to the content pane below an accordion item's title.
|
128
|
+
@mixin accordion-content (
|
129
|
+
$padding: $accordion-content-padding,
|
130
|
+
$border: $accordion-content-border,
|
131
|
+
$background: $accordion-content-background,
|
132
|
+
$color: $accordion-content-color
|
133
|
+
) {
|
134
|
+
display: none;
|
135
|
+
padding: $padding;
|
136
|
+
|
137
|
+
border: $border;
|
138
|
+
border-bottom: 0;
|
139
|
+
background-color: $background;
|
140
|
+
|
141
|
+
color: $color;
|
142
|
+
|
143
|
+
:last-child > &:last-child {
|
144
|
+
border-bottom: $border;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
@mixin foundation-accordion {
|
149
|
+
.accordion {
|
150
|
+
@include accordion-container;
|
151
|
+
}
|
152
|
+
|
153
|
+
.accordion-item {
|
154
|
+
@include accordion-item;
|
155
|
+
}
|
156
|
+
|
157
|
+
.accordion-title {
|
158
|
+
@include accordion-title;
|
159
|
+
}
|
160
|
+
|
161
|
+
.accordion-content {
|
162
|
+
@include accordion-content;
|
163
|
+
}
|
164
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
// Foundation for Sites
|
2
|
+
// https://get.foundation
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group badge
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Default background color for badges.
|
10
|
+
/// @type Color
|
11
|
+
$badge-background: $primary-color !default;
|
12
|
+
|
13
|
+
/// Default text color for badges.
|
14
|
+
/// @type Color
|
15
|
+
$badge-color: $white !default;
|
16
|
+
|
17
|
+
/// Alternate text color for badges.
|
18
|
+
/// @type Color
|
19
|
+
$badge-color-alt: $black !default;
|
20
|
+
|
21
|
+
/// Coloring classes. A map of classes to output in your CSS, like `.secondary`, `.success`, and so on.
|
22
|
+
/// @type Map
|
23
|
+
$badge-palette: $foundation-palette !default;
|
24
|
+
|
25
|
+
/// Default padding inside badges.
|
26
|
+
/// @type Number
|
27
|
+
$badge-padding: 0.3em !default;
|
28
|
+
|
29
|
+
/// Minimum width of a badge.
|
30
|
+
/// @type Number
|
31
|
+
$badge-minwidth: 2.1em !default;
|
32
|
+
|
33
|
+
/// Default font size for badges.
|
34
|
+
/// @type Number
|
35
|
+
$badge-font-size: 0.6rem !default;
|
36
|
+
|
37
|
+
/// Generates the base styles for a badge.
|
38
|
+
@mixin badge {
|
39
|
+
display: inline-block;
|
40
|
+
min-width: $badge-minwidth;
|
41
|
+
padding: $badge-padding;
|
42
|
+
|
43
|
+
border-radius: 50%;
|
44
|
+
|
45
|
+
font-size: $badge-font-size;
|
46
|
+
text-align: center;
|
47
|
+
}
|
48
|
+
|
49
|
+
@mixin foundation-badge {
|
50
|
+
.badge {
|
51
|
+
@include badge;
|
52
|
+
|
53
|
+
background: $badge-background;
|
54
|
+
color: $badge-color;
|
55
|
+
|
56
|
+
@each $name, $color in $badge-palette {
|
57
|
+
&.#{$name} {
|
58
|
+
background: $color;
|
59
|
+
color: color-pick-contrast($color, ($badge-color, $badge-color-alt));
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|