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
@@ -1,208 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import 'global';
|
6
|
-
@import 'buttons';
|
7
|
-
|
8
|
-
//
|
9
|
-
// Button Group Variables
|
10
|
-
//
|
11
|
-
$include-html-button-classes: $include-html-classes !default;
|
12
|
-
|
13
|
-
// Sets the margin for the right side by default, and the left margin if right-to-left direction is used
|
14
|
-
$button-bar-margin-opposite: rem-calc(10) !default;
|
15
|
-
$button-group-border-width: 1px !default;
|
16
|
-
|
17
|
-
//
|
18
|
-
// Button Group Mixins
|
19
|
-
//
|
20
|
-
|
21
|
-
// We use this to add styles for a button group container
|
22
|
-
@mixin button-group-container($styles:true, $float:false) {
|
23
|
-
@if $styles {
|
24
|
-
list-style: none;
|
25
|
-
margin: 0;
|
26
|
-
#{$default-float}: 0;
|
27
|
-
@include clearfix();
|
28
|
-
}
|
29
|
-
@if $float {
|
30
|
-
float: #{$default-float};
|
31
|
-
margin-#{$opposite-direction}: $button-bar-margin-opposite;
|
32
|
-
& div { overflow: hidden; }
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
// We use this to control styles for button groups
|
37
|
-
@mixin button-group-style($radius:false, $even:false, $float:false, $orientation:horizontal) {
|
38
|
-
|
39
|
-
> button, .button {
|
40
|
-
border-#{$default-float}: $button-group-border-width solid;
|
41
|
-
border-color: rgba(255, 255, 255, .5);
|
42
|
-
}
|
43
|
-
|
44
|
-
&:first-child {
|
45
|
-
button, .button {
|
46
|
-
border-#{$default-float}: 0;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
$button-group-display: list-item;
|
51
|
-
$button-group-margin: 0;
|
52
|
-
|
53
|
-
// We use this to control the flow, or remove those styles completely.
|
54
|
-
@if $float {
|
55
|
-
$button-group-display: list-item;
|
56
|
-
$button-group-margin: 0;
|
57
|
-
float: $float;
|
58
|
-
// Make sure the first child doesn't get the negative margin.
|
59
|
-
&:first-child { margin-#{$default-float}: 0; }
|
60
|
-
}
|
61
|
-
@else {
|
62
|
-
$button-group-display: inline-block;
|
63
|
-
$button-group-margin: 0 -2px;
|
64
|
-
}
|
65
|
-
|
66
|
-
@if $orientation == vertical {
|
67
|
-
$button-group-display: block;
|
68
|
-
$button-group-margin: 0;
|
69
|
-
> button, .button {
|
70
|
-
border-color: rgba(255, 255, 255, .5);
|
71
|
-
border-left-width: 0;
|
72
|
-
border-top: $button-group-border-width solid;
|
73
|
-
display: block;
|
74
|
-
margin:0;
|
75
|
-
}
|
76
|
-
> button {
|
77
|
-
width: 100%;
|
78
|
-
}
|
79
|
-
|
80
|
-
&:first-child {
|
81
|
-
button, .button {
|
82
|
-
border-top: 0;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
display: $button-group-display;
|
88
|
-
margin: $button-group-margin;
|
89
|
-
|
90
|
-
|
91
|
-
// We use these to control left and right radius on first/last buttons in the group.
|
92
|
-
@if $radius == true {
|
93
|
-
&,
|
94
|
-
> a,
|
95
|
-
> button,
|
96
|
-
> .button { @include radius(0); }
|
97
|
-
&:first-child,
|
98
|
-
&:first-child > a,
|
99
|
-
&:first-child > button,
|
100
|
-
&:first-child > .button {
|
101
|
-
@if $orientation == vertical {
|
102
|
-
@include side-radius(top, $button-radius);
|
103
|
-
}
|
104
|
-
@else {
|
105
|
-
@include side-radius($default-float, $button-radius);
|
106
|
-
}
|
107
|
-
}
|
108
|
-
&:last-child,
|
109
|
-
&:last-child > a,
|
110
|
-
&:last-child > button,
|
111
|
-
&:last-child > .button {
|
112
|
-
@if $orientation == vertical {
|
113
|
-
@include side-radius(bottom, $button-radius);
|
114
|
-
}
|
115
|
-
@else {
|
116
|
-
@include side-radius($opposite-direction, $button-radius);
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
@else if $radius {
|
121
|
-
&,
|
122
|
-
> a,
|
123
|
-
> button,
|
124
|
-
> .button { @include radius(0); }
|
125
|
-
&:first-child,
|
126
|
-
&:first-child > a,
|
127
|
-
&:first-child > button,
|
128
|
-
&:first-child > .button {
|
129
|
-
@if $orientation == vertical {
|
130
|
-
@include side-radius(top, $radius);
|
131
|
-
}
|
132
|
-
@else {
|
133
|
-
@include side-radius($default-float, $radius);
|
134
|
-
}
|
135
|
-
}
|
136
|
-
&:last-child,
|
137
|
-
&:last-child > a,
|
138
|
-
&:last-child > button,
|
139
|
-
&:last-child > .button {
|
140
|
-
@if $orientation == vertical {
|
141
|
-
@include side-radius(bottom, $radius);
|
142
|
-
}
|
143
|
-
@else {
|
144
|
-
@include side-radius($opposite-direction, $radius);
|
145
|
-
}
|
146
|
-
}
|
147
|
-
}
|
148
|
-
|
149
|
-
// We use this to make the buttons even width across their container
|
150
|
-
@if $even {
|
151
|
-
width: percentage((100/$even) / 100);
|
152
|
-
button, .button { width: 100%; }
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
@include exports("button-group") {
|
157
|
-
@if $include-html-button-classes {
|
158
|
-
.button-group { @include button-group-container;
|
159
|
-
|
160
|
-
@for $i from 2 through 8 {
|
161
|
-
&.even-#{$i} li { @include button-group-style($even:$i, $float:null); }
|
162
|
-
}
|
163
|
-
|
164
|
-
> li { @include button-group-style(); }
|
165
|
-
|
166
|
-
&.stack {
|
167
|
-
> li { @include button-group-style($orientation:vertical); float: none; }
|
168
|
-
}
|
169
|
-
|
170
|
-
&.stack-for-small {
|
171
|
-
> li {
|
172
|
-
@include button-group-style($orientation:horizontal);
|
173
|
-
@media #{$small-only} {
|
174
|
-
@include button-group-style($orientation:vertical);
|
175
|
-
width: 100%;
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
&.radius > * { @include button-group-style($radius:$button-radius, $float:null); }
|
181
|
-
&.radius.stack > * { @include button-group-style($radius:$button-radius, $float:null, $orientation:vertical); }
|
182
|
-
&.radius.stack-for-small > * {
|
183
|
-
@media #{$medium-up} {
|
184
|
-
@include button-group-style($radius:$button-radius, $orientation:horizontal);
|
185
|
-
}
|
186
|
-
@media #{$small-only} {
|
187
|
-
@include button-group-style($radius:$button-radius, $orientation:vertical);
|
188
|
-
}
|
189
|
-
}
|
190
|
-
|
191
|
-
&.round > * { @include button-group-style($radius:$button-round, $float:null); }
|
192
|
-
&.round.stack > * { @include button-group-style($radius:$button-med, $float:null, $orientation:vertical); }
|
193
|
-
&.round.stack-for-small > * {
|
194
|
-
@media #{$medium-up} {
|
195
|
-
@include button-group-style($radius:$button-round, $orientation:horizontal);
|
196
|
-
}
|
197
|
-
@media #{$small-only} {
|
198
|
-
@include button-group-style($radius:$button-med, $orientation:vertical);
|
199
|
-
}
|
200
|
-
}
|
201
|
-
}
|
202
|
-
|
203
|
-
.button-bar {
|
204
|
-
@include clearfix;
|
205
|
-
.button-group { @include button-group-container($styles:false, $float:true); }
|
206
|
-
}
|
207
|
-
}
|
208
|
-
}
|
@@ -1,261 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import 'global';
|
6
|
-
|
7
|
-
//
|
8
|
-
// @variables
|
9
|
-
//
|
10
|
-
$include-html-button-classes: $include-html-classes !default;
|
11
|
-
|
12
|
-
// We use these to build padding for buttons.
|
13
|
-
$button-tny: rem-calc(10) !default;
|
14
|
-
$button-sml: rem-calc(14) !default;
|
15
|
-
$button-med: rem-calc(16) !default;
|
16
|
-
$button-lrg: rem-calc(18) !default;
|
17
|
-
|
18
|
-
// We use this to control the display property.
|
19
|
-
$button-display: inline-block !default;
|
20
|
-
$button-margin-bottom: rem-calc(20) !default;
|
21
|
-
|
22
|
-
// We use these to control button text styles.
|
23
|
-
$button-font-family: $body-font-family !default;
|
24
|
-
$button-font-color: $white !default;
|
25
|
-
$button-font-color-alt: $oil !default;
|
26
|
-
$button-font-tny: rem-calc(11) !default;
|
27
|
-
$button-font-sml: rem-calc(13) !default;
|
28
|
-
$button-font-med: rem-calc(16) !default;
|
29
|
-
$button-font-lrg: rem-calc(20) !default;
|
30
|
-
$button-font-weight: $font-weight-normal !default;
|
31
|
-
$button-font-align: center !default;
|
32
|
-
|
33
|
-
// We use these to control various hover effects.
|
34
|
-
$button-function-factor: -20% !default;
|
35
|
-
|
36
|
-
// We use these to control button border styles.
|
37
|
-
$button-border-width: 0 !default;
|
38
|
-
$button-border-style: solid !default;
|
39
|
-
$button-bg-color: $primary-color !default;
|
40
|
-
$button-bg-hover: scale-color($button-bg-color, $lightness: $button-function-factor) !default;
|
41
|
-
$button-border-color: $button-bg-hover !default;
|
42
|
-
$secondary-button-bg-color: $secondary-color !default;
|
43
|
-
$secondary-button-bg-hover: scale-color($secondary-color, $lightness: $button-function-factor) !default;
|
44
|
-
$secondary-button-border-color: $secondary-button-bg-hover !default;
|
45
|
-
$success-button-bg-color: $success-color !default;
|
46
|
-
$success-button-bg-hover: scale-color($success-color, $lightness: $button-function-factor) !default;
|
47
|
-
$success-button-border-color: $success-button-bg-hover !default;
|
48
|
-
$alert-button-bg-color: $alert-color !default;
|
49
|
-
$alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor) !default;
|
50
|
-
$alert-button-border-color: $alert-button-bg-hover !default;
|
51
|
-
$warning-button-bg-color: $warning-color !default;
|
52
|
-
$warning-button-bg-hover: scale-color($warning-color, $lightness: $button-function-factor) !default;
|
53
|
-
$warning-button-border-color: $warning-button-bg-hover !default;
|
54
|
-
$info-button-bg-color: $info-color !default;
|
55
|
-
$info-button-bg-hover: scale-color($info-color, $lightness: $button-function-factor) !default;
|
56
|
-
$info-button-border-color: $info-button-bg-hover !default;
|
57
|
-
|
58
|
-
// We use this to set the default radius used throughout the core.
|
59
|
-
$button-radius: $global-radius !default;
|
60
|
-
$button-round: $global-rounded !default;
|
61
|
-
|
62
|
-
// We use this to set default opacity and cursor for disabled buttons.
|
63
|
-
$button-disabled-opacity: .7 !default;
|
64
|
-
$button-disabled-cursor: $cursor-default-value !default;
|
65
|
-
|
66
|
-
|
67
|
-
//
|
68
|
-
// @MIXIN
|
69
|
-
//
|
70
|
-
// We use this mixin to create a default button base.
|
71
|
-
//
|
72
|
-
// $style - Sets base styles. Can be set to false. Default: true.
|
73
|
-
// $display - Used to control display property. Default: $button-display || inline-block
|
74
|
-
|
75
|
-
@mixin button-base($style:true, $display:$button-display) {
|
76
|
-
@if $style {
|
77
|
-
-webkit-appearance: none;
|
78
|
-
-moz-appearance: none;
|
79
|
-
border-radius:0;
|
80
|
-
border-style: $button-border-style;
|
81
|
-
border-width: $button-border-width;
|
82
|
-
cursor: $cursor-pointer-value;
|
83
|
-
font-family: $button-font-family;
|
84
|
-
font-weight: $button-font-weight;
|
85
|
-
line-height: normal;
|
86
|
-
margin: 0 0 $button-margin-bottom;
|
87
|
-
position: relative;
|
88
|
-
text-align: $button-font-align;
|
89
|
-
text-decoration: none;
|
90
|
-
}
|
91
|
-
@if $display { display: $display; }
|
92
|
-
}
|
93
|
-
|
94
|
-
// @MIXIN
|
95
|
-
//
|
96
|
-
// We use this mixin to add button size styles
|
97
|
-
//
|
98
|
-
// $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12)
|
99
|
-
// $full-width - We can set $full-width:true to remove side padding extend width - Default: false
|
100
|
-
|
101
|
-
@mixin button-size($padding:$button-med, $full-width:false) {
|
102
|
-
|
103
|
-
// We control which padding styles come through,
|
104
|
-
// these can be turned off by setting $padding:false
|
105
|
-
@if $padding {
|
106
|
-
padding: $padding ($padding * 2) ($padding + rem-calc(1)) ($padding * 2);
|
107
|
-
// We control the font-size based on mixin input.
|
108
|
-
@if $padding == $button-med { font-size: $button-font-med; }
|
109
|
-
@else if $padding == $button-tny { font-size: $button-font-tny; }
|
110
|
-
@else if $padding == $button-sml { font-size: $button-font-sml; }
|
111
|
-
@else if $padding == $button-lrg { font-size: $button-font-lrg; }
|
112
|
-
}
|
113
|
-
|
114
|
-
// We can set $full-width:true to remove side padding extend width.
|
115
|
-
@if $full-width {
|
116
|
-
// We still need to check if $padding is set.
|
117
|
-
@if $padding {
|
118
|
-
padding-bottom: $padding + rem-calc(1);
|
119
|
-
padding-top: $padding;
|
120
|
-
} @else if $padding == false {
|
121
|
-
padding-bottom:0;
|
122
|
-
padding-top:0;
|
123
|
-
}
|
124
|
-
padding-left: $button-med;
|
125
|
-
padding-right: $button-med;
|
126
|
-
width: 100%;
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
// @MIXIN
|
131
|
-
//
|
132
|
-
// we use this mixin to create the button hover and border colors
|
133
|
-
|
134
|
-
// @MIXIN
|
135
|
-
//
|
136
|
-
// We use this mixin to add button color styles
|
137
|
-
//
|
138
|
-
// $bg - Background color. We can set $bg:false for a transparent background. Default: $primary-color.
|
139
|
-
// $radius - If true, set to button radius which is $button-radius || explicitly set radius amount in px (ex. $radius:10px). Default: false
|
140
|
-
// $disabled - We can set $disabled:true to create a disabled transparent button. Default: false
|
141
|
-
// $bg-hover - Button Hover Background Color. Default: $button-bg-hover
|
142
|
-
// $border-color - Button Border Color. Default: $button-border-color
|
143
|
-
@mixin button-style($bg:$button-bg-color, $radius:false, $disabled:false, $bg-hover:null, $border-color:null) {
|
144
|
-
|
145
|
-
// We control which background styles are used,
|
146
|
-
// these can be removed by setting $bg:false
|
147
|
-
@if $bg {
|
148
|
-
|
149
|
-
@if $bg-hover == null {
|
150
|
-
$bg-hover: if($bg == $button-bg-color, $button-bg-hover, scale-color($bg, $lightness: $button-function-factor));
|
151
|
-
}
|
152
|
-
|
153
|
-
@if $border-color == null {
|
154
|
-
$border-color: if($bg == $button-bg-color, $button-border-color, scale-color($bg, $lightness: $button-function-factor));
|
155
|
-
}
|
156
|
-
|
157
|
-
// This find the lightness percentage of the background color.
|
158
|
-
$bg-lightness: lightness($bg);
|
159
|
-
$bg-hover-lightness: lightness($bg-hover);
|
160
|
-
|
161
|
-
background-color: $bg;
|
162
|
-
border-color: $border-color;
|
163
|
-
&:hover,
|
164
|
-
&:focus { background-color: $bg-hover; }
|
165
|
-
|
166
|
-
// We control the text color for you based on the background color.
|
167
|
-
color: if($bg-lightness > 70%, $button-font-color-alt, $button-font-color);
|
168
|
-
|
169
|
-
&:hover,
|
170
|
-
&:focus {
|
171
|
-
color: if($bg-hover-lightness > 70%, $button-font-color-alt, $button-font-color);
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
// We can set $disabled:true to create a disabled transparent button.
|
176
|
-
@if $disabled {
|
177
|
-
box-shadow: none;
|
178
|
-
cursor: $button-disabled-cursor;
|
179
|
-
opacity: $button-disabled-opacity;
|
180
|
-
&:hover,
|
181
|
-
&:focus { background-color: $bg; }
|
182
|
-
}
|
183
|
-
|
184
|
-
// We can control how much button radius is used.
|
185
|
-
@if $radius == true { @include radius($button-radius); }
|
186
|
-
@else if $radius { @include radius($radius); }
|
187
|
-
|
188
|
-
}
|
189
|
-
|
190
|
-
// @MIXIN
|
191
|
-
//
|
192
|
-
// We use this to quickly create buttons with a single mixin. As @jaredhardy puts it, "the kitchen sink mixin"
|
193
|
-
//
|
194
|
-
// $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12)
|
195
|
-
// $bg - Primary color set in settings file. Default: $button-bg.
|
196
|
-
// $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default:false.
|
197
|
-
// $full-width - We can set $full-width:true to remove side padding extend width. Default:false.
|
198
|
-
// $disabled - We can set $disabled:true to create a disabled transparent button. Default:false.
|
199
|
-
// $is-prefix - Not used? Default:false.
|
200
|
-
// $bg-hover - Button Hover Color - Default null - see button-style mixin
|
201
|
-
// $border-color - Button Border Color - Default null - see button-style mixin
|
202
|
-
// $transition - We can control whether or not to include the background-color transition property - Default:true.
|
203
|
-
@mixin button($padding:$button-med, $bg:$button-bg-color, $radius:false, $full-width:false, $disabled:false, $is-prefix:false, $bg-hover:null, $border-color:null, $transition: true) {
|
204
|
-
@include button-base;
|
205
|
-
@include button-size($padding, $full-width);
|
206
|
-
@include button-style($bg, $radius, $disabled, $bg-hover, $border-color);
|
207
|
-
|
208
|
-
@if $transition {
|
209
|
-
@include single-transition(background-color);
|
210
|
-
}
|
211
|
-
}
|
212
|
-
|
213
|
-
|
214
|
-
@include exports("button") {
|
215
|
-
@if $include-html-button-classes {
|
216
|
-
|
217
|
-
// Default styles applied outside of media query
|
218
|
-
button, .button {
|
219
|
-
@include button-base;
|
220
|
-
@include button-size;
|
221
|
-
@include button-style;
|
222
|
-
|
223
|
-
@include single-transition(background-color);
|
224
|
-
|
225
|
-
&.secondary { @include button-style($bg:$secondary-button-bg-color, $bg-hover:$secondary-button-bg-hover, $border-color:$secondary-button-border-color); }
|
226
|
-
&.success { @include button-style($bg:$success-button-bg-color, $bg-hover:$success-button-bg-hover, $border-color:$success-button-border-color); }
|
227
|
-
&.alert { @include button-style($bg:$alert-button-bg-color, $bg-hover:$alert-button-bg-hover, $border-color:$alert-button-border-color); }
|
228
|
-
&.warning { @include button-style($bg:$warning-button-bg-color, $bg-hover:$warning-button-bg-hover, $border-color:$warning-button-border-color); }
|
229
|
-
&.info { @include button-style($bg:$info-button-bg-color, $bg-hover:$info-button-bg-hover, $border-color:$info-button-border-color); }
|
230
|
-
|
231
|
-
&.large { @include button-size($padding:$button-lrg); }
|
232
|
-
&.small { @include button-size($padding:$button-sml); }
|
233
|
-
&.tiny { @include button-size($padding:$button-tny); }
|
234
|
-
&.expand { @include button-size($full-width:true); }
|
235
|
-
|
236
|
-
&.left-align { text-align: left; text-indent: rem-calc(12); }
|
237
|
-
&.right-align { text-align: right; padding-right: rem-calc(12); }
|
238
|
-
|
239
|
-
&.radius { @include button-style($bg:false, $radius:true); }
|
240
|
-
&.round { @include button-style($bg:false, $radius:$button-round); }
|
241
|
-
|
242
|
-
&.disabled, &[disabled] { @include button-style($bg:$button-bg-color, $disabled:true, $bg-hover:$button-bg-hover, $border-color:$button-border-color);
|
243
|
-
&.secondary { @include button-style($bg:$secondary-button-bg-color, $disabled:true, $bg-hover:$secondary-button-bg-hover, $border-color:$secondary-button-border-color); }
|
244
|
-
&.success { @include button-style($bg:$success-button-bg-color, $disabled:true, $bg-hover:$success-button-bg-hover, $border-color:$success-button-border-color); }
|
245
|
-
&.alert { @include button-style($bg:$alert-button-bg-color, $disabled:true, $bg-hover:$alert-button-bg-hover, $border-color:$alert-button-border-color); }
|
246
|
-
&.warning { @include button-style($bg:$warning-button-bg-color, $disabled:true, $bg-hover:$warning-button-bg-hover, $border-color:$warning-button-border-color); }
|
247
|
-
&.info { @include button-style($bg:$info-button-bg-color, $disabled:true, $bg-hover:$info-button-bg-hover, $border-color:$info-button-border-color); }
|
248
|
-
}
|
249
|
-
}
|
250
|
-
|
251
|
-
//firefox 2px fix
|
252
|
-
button::-moz-focus-inner {border:0; padding:0;}
|
253
|
-
|
254
|
-
@media #{$medium-up} {
|
255
|
-
button, .button {
|
256
|
-
@include button-base($style:false, $display:inline-block);
|
257
|
-
@include button-size($padding:false, $full-width:false);
|
258
|
-
}
|
259
|
-
}
|
260
|
-
}
|
261
|
-
}
|