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,606 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import 'global';
|
6
|
-
@import 'type';
|
7
|
-
|
8
|
-
// Off Canvas Tab Bar Variables
|
9
|
-
$include-html-off-canvas-classes: $include-html-classes !default;
|
10
|
-
|
11
|
-
$tabbar-bg: $oil !default;
|
12
|
-
$tabbar-height: rem-calc(45) !default;
|
13
|
-
$tabbar-icon-width: $tabbar-height !default;
|
14
|
-
$tabbar-line-height: $tabbar-height !default;
|
15
|
-
$tabbar-color: $white !default;
|
16
|
-
$tabbar-middle-padding: 0 rem-calc(10) !default;
|
17
|
-
|
18
|
-
// Off Canvas Divider Styles
|
19
|
-
$tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%) !default;
|
20
|
-
$tabbar-right-section-border: $tabbar-left-section-border;
|
21
|
-
|
22
|
-
|
23
|
-
// Off Canvas Tab Bar Headers
|
24
|
-
$tabbar-header-color: $white !default;
|
25
|
-
$tabbar-header-weight: $font-weight-bold !default;
|
26
|
-
$tabbar-header-line-height: $tabbar-height !default;
|
27
|
-
$tabbar-header-margin: 0 !default;
|
28
|
-
|
29
|
-
// Off Canvas Menu Variables
|
30
|
-
$off-canvas-width: rem-calc(250) !default;
|
31
|
-
$off-canvas-height: rem-calc(300) !default;
|
32
|
-
$off-canvas-bg: $oil !default;
|
33
|
-
$off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%) !default;
|
34
|
-
$off-canvas-bg-active: scale-color($tabbar-bg, $lightness: -30%) !default;
|
35
|
-
|
36
|
-
// Off Canvas Menu List Variables
|
37
|
-
$off-canvas-label-padding: .3rem rem-calc(15) !default;
|
38
|
-
$off-canvas-label-color: $aluminum !default;
|
39
|
-
$off-canvas-label-text-transform: uppercase !default;
|
40
|
-
$off-canvas-label-font-size: rem-calc(12) !default;
|
41
|
-
$off-canvas-label-font-weight: $font-weight-bold !default;
|
42
|
-
$off-canvas-label-bg: $tuatara !default;
|
43
|
-
$off-canvas-label-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%) !default;
|
44
|
-
$off-canvas-label-border-bottom: none !default;
|
45
|
-
$off-canvas-label-margin:0 !default;
|
46
|
-
$off-canvas-link-padding: rem-calc(10, 15) !default;
|
47
|
-
$off-canvas-link-color: rgba($white, .7) !default;
|
48
|
-
$off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%) !default;
|
49
|
-
$off-canvas-back-bg: #444 !default;
|
50
|
-
$off-canvas-back-border-top: $off-canvas-label-border-top !default;
|
51
|
-
$off-canvas-back-border-bottom: $off-canvas-label-border-bottom !default;
|
52
|
-
$off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%) !default;
|
53
|
-
$off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%) !default;
|
54
|
-
$off-canvas-back-hover-border-bottom: none !default;
|
55
|
-
|
56
|
-
// Off Canvas Menu Icon Variables
|
57
|
-
$tabbar-menu-icon-color: $white !default;
|
58
|
-
$tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%) !default;
|
59
|
-
|
60
|
-
$tabbar-menu-icon-text-indent: rem-calc(35) !default;
|
61
|
-
$tabbar-menu-icon-width: $tabbar-icon-width !default;
|
62
|
-
$tabbar-menu-icon-height: $tabbar-height !default;
|
63
|
-
$tabbar-menu-icon-padding: 0 !default;
|
64
|
-
|
65
|
-
$tabbar-hamburger-icon-width: rem-calc(16) !default;
|
66
|
-
$tabbar-hamburger-icon-left: false !default;
|
67
|
-
$tabbar-hamburger-icon-top: false !default;
|
68
|
-
$tabbar-hamburger-icon-thickness: 1px !default;
|
69
|
-
$tabbar-hamburger-icon-gap: 6px !default;
|
70
|
-
|
71
|
-
// Off Canvas Back-Link Overlay
|
72
|
-
$off-canvas-overlay-transition: background 300ms ease !default;
|
73
|
-
$off-canvas-overlay-cursor: pointer !default;
|
74
|
-
$off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, .5), 4px 0 4px rgba($black, .5) !default;
|
75
|
-
$off-canvas-overlay-background: rgba($white, .2) !default;
|
76
|
-
$off-canvas-overlay-background-hover: rgba($white, .05) !default;
|
77
|
-
|
78
|
-
// Transition Variables
|
79
|
-
$menu-slide: "transform 500ms ease" !default;
|
80
|
-
|
81
|
-
|
82
|
-
// MIXINS
|
83
|
-
// Remove transition flicker on phones
|
84
|
-
@mixin kill-flicker {
|
85
|
-
// -webkit-transform: translateZ(0x);
|
86
|
-
-webkit-backface-visibility: hidden;
|
87
|
-
}
|
88
|
-
|
89
|
-
// Basic properties for the content wraps
|
90
|
-
@mixin wrap-base {
|
91
|
-
position: relative;
|
92
|
-
width: 100%;
|
93
|
-
}
|
94
|
-
|
95
|
-
@mixin translate3d($tx, $ty, $tz) {
|
96
|
-
-webkit-transform: translate3d($tx, $ty, $tz);
|
97
|
-
-moz-transform: translate3d($tx, $ty, $tz);
|
98
|
-
-ms-transform: translate($tx, $ty);
|
99
|
-
-o-transform: translate3d($tx, $ty, $tz);
|
100
|
-
transform: translate3d($tx, $ty, $tz)
|
101
|
-
}
|
102
|
-
|
103
|
-
// basic styles for off-canvas menu container
|
104
|
-
@mixin off-canvas-menu($position) {
|
105
|
-
@include kill-flicker;
|
106
|
-
* { @include kill-flicker; }
|
107
|
-
background: $off-canvas-bg;
|
108
|
-
bottom: 0;
|
109
|
-
box-sizing: content-box;
|
110
|
-
-webkit-overflow-scrolling: touch;
|
111
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
112
|
-
overflow-x: hidden;
|
113
|
-
overflow-y: auto;
|
114
|
-
position: absolute;
|
115
|
-
transition: transform 500ms ease 0s;
|
116
|
-
width: $off-canvas-width;
|
117
|
-
z-index: 1001;
|
118
|
-
|
119
|
-
@if $position == left {
|
120
|
-
@include translate3d(-100%,0,0);
|
121
|
-
left: 0;
|
122
|
-
top: 0;
|
123
|
-
}
|
124
|
-
@if $position == right {
|
125
|
-
@include translate3d(100%,0,0);
|
126
|
-
right: 0;
|
127
|
-
top: 0;
|
128
|
-
}
|
129
|
-
@if $position == top {
|
130
|
-
@include translate3d(0,-100%,0);
|
131
|
-
top: 0;
|
132
|
-
width: 100%;
|
133
|
-
height: $off-canvas-height;
|
134
|
-
}
|
135
|
-
@if $position == bottom {
|
136
|
-
@include translate3d(0,100%,0);
|
137
|
-
bottom: 0;
|
138
|
-
width: 100%;
|
139
|
-
height: $off-canvas-height;
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
// OFF CANVAS WRAP
|
144
|
-
// Wrap visible content and prevent scroll bars
|
145
|
-
@mixin off-canvas-wrap {
|
146
|
-
@include kill-flicker;
|
147
|
-
@include wrap-base;
|
148
|
-
overflow: hidden;
|
149
|
-
&.move-right,
|
150
|
-
&.move-left,
|
151
|
-
&.move-bottom,
|
152
|
-
&.move-top { min-height: 100%; -webkit-overflow-scrolling: touch; }
|
153
|
-
}
|
154
|
-
|
155
|
-
// INNER WRAP
|
156
|
-
// Main content area that moves to reveal the off-canvas nav
|
157
|
-
@mixin inner-wrap {
|
158
|
-
// @include kill-flicker;
|
159
|
-
// removed for now till chrome fixes backface issue
|
160
|
-
@include wrap-base;
|
161
|
-
@include clearfix;
|
162
|
-
-webkit-transition: -webkit-#{$menu-slide};
|
163
|
-
-moz-transition: -moz-#{$menu-slide};
|
164
|
-
-ms-transition: -ms-#{$menu-slide};
|
165
|
-
-o-transition: -o-#{$menu-slide};
|
166
|
-
transition: #{$menu-slide};
|
167
|
-
}
|
168
|
-
|
169
|
-
// TAB BAR
|
170
|
-
// This is the tab bar base
|
171
|
-
@mixin tab-bar-base {
|
172
|
-
@include kill-flicker;
|
173
|
-
|
174
|
-
// base styles
|
175
|
-
background: $tabbar-bg;
|
176
|
-
color: $tabbar-color;
|
177
|
-
height: $tabbar-height;
|
178
|
-
line-height: $tabbar-line-height;
|
179
|
-
|
180
|
-
// make sure it's below the .exit-off-canvas link
|
181
|
-
position: relative;
|
182
|
-
// z-index: 999;
|
183
|
-
|
184
|
-
// Typography
|
185
|
-
h1, h2, h3, h4, h5, h6 {
|
186
|
-
color: $tabbar-header-color;
|
187
|
-
font-weight: $tabbar-header-weight;
|
188
|
-
line-height: $tabbar-header-line-height;
|
189
|
-
margin: $tabbar-header-margin;
|
190
|
-
}
|
191
|
-
h1, h2, h3, h4 { font-size: $h5-font-size; }
|
192
|
-
}
|
193
|
-
|
194
|
-
// SMALL SECTIONS
|
195
|
-
// These are small sections on the left and right that contain the off-canvas toggle buttons;
|
196
|
-
@mixin tabbar-small-section($position) {
|
197
|
-
height: $tabbar-height;
|
198
|
-
position: absolute;
|
199
|
-
top: 0;
|
200
|
-
width: $tabbar-icon-width;
|
201
|
-
@if $position == left {
|
202
|
-
border-right: $tabbar-left-section-border;
|
203
|
-
// box-shadow: 1px 0 0 scale-color($tabbar-bg, $lightness: 13%);
|
204
|
-
left: 0;
|
205
|
-
}
|
206
|
-
@if $position == right {
|
207
|
-
border-left: $tabbar-right-section-border;
|
208
|
-
// box-shadow: -1px 0 0 scale-color($tabbar-bg, $lightness: -50%);
|
209
|
-
right:0;
|
210
|
-
}
|
211
|
-
}
|
212
|
-
|
213
|
-
@mixin tab-bar-section {
|
214
|
-
height: $tabbar-height;
|
215
|
-
padding: $tabbar-middle-padding;
|
216
|
-
position: absolute;
|
217
|
-
text-align: center;
|
218
|
-
top: 0;
|
219
|
-
&.left { text-align: left; }
|
220
|
-
&.right { text-align: right; }
|
221
|
-
|
222
|
-
|
223
|
-
// still need to make these non-presentational
|
224
|
-
&.left {
|
225
|
-
left: 0;
|
226
|
-
right: $tabbar-icon-width;
|
227
|
-
}
|
228
|
-
&.right {
|
229
|
-
left: $tabbar-icon-width;
|
230
|
-
right: 0;
|
231
|
-
}
|
232
|
-
&.middle {
|
233
|
-
left: $tabbar-icon-width;
|
234
|
-
right: $tabbar-icon-width;
|
235
|
-
}
|
236
|
-
}
|
237
|
-
|
238
|
-
// OFF CANVAS LIST
|
239
|
-
// This is the list of links in the off-canvas menu
|
240
|
-
@mixin off-canvas-list {
|
241
|
-
list-style-type: none;
|
242
|
-
margin:0;
|
243
|
-
padding:0;
|
244
|
-
|
245
|
-
li {
|
246
|
-
label {
|
247
|
-
background: $off-canvas-label-bg;
|
248
|
-
border-bottom: $off-canvas-label-border-bottom;
|
249
|
-
border-top: $off-canvas-label-border-top;
|
250
|
-
color: $off-canvas-label-color;
|
251
|
-
display: block;
|
252
|
-
font-size: $off-canvas-label-font-size;
|
253
|
-
font-weight: $off-canvas-label-font-weight;
|
254
|
-
margin: $off-canvas-label-margin;
|
255
|
-
padding: $off-canvas-label-padding;
|
256
|
-
text-transform: $off-canvas-label-text-transform;
|
257
|
-
}
|
258
|
-
a {
|
259
|
-
border-bottom: $off-canvas-link-border-bottom;
|
260
|
-
color: $off-canvas-link-color;
|
261
|
-
display: block;
|
262
|
-
padding: $off-canvas-link-padding;
|
263
|
-
transition: background 300ms ease;
|
264
|
-
&:hover {
|
265
|
-
background: $off-canvas-bg-hover;
|
266
|
-
}
|
267
|
-
&:active {
|
268
|
-
background: $off-canvas-bg-active;
|
269
|
-
}
|
270
|
-
}
|
271
|
-
}
|
272
|
-
|
273
|
-
}
|
274
|
-
|
275
|
-
// BACK LINK
|
276
|
-
// This is an overlay that, when clicked, will toggle off the off canvas menu
|
277
|
-
@mixin back-link {
|
278
|
-
@include kill-flicker;
|
279
|
-
|
280
|
-
box-shadow: $off-canvas-overlay-box-shadow;
|
281
|
-
cursor: $off-canvas-overlay-cursor;
|
282
|
-
transition: $off-canvas-overlay-transition;
|
283
|
-
|
284
|
-
// fill the screen
|
285
|
-
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
286
|
-
background: $off-canvas-overlay-background;
|
287
|
-
bottom: 0;
|
288
|
-
display: block;
|
289
|
-
left: 0;
|
290
|
-
position: absolute;
|
291
|
-
right: 0;
|
292
|
-
top: 0;
|
293
|
-
z-index: 1002;
|
294
|
-
|
295
|
-
@media #{$medium-up} {
|
296
|
-
&:hover {
|
297
|
-
background: $off-canvas-overlay-background-hover;
|
298
|
-
}
|
299
|
-
}
|
300
|
-
}
|
301
|
-
|
302
|
-
//
|
303
|
-
// Off-Canvas Submenu Classes
|
304
|
-
//
|
305
|
-
@mixin off-canvas-submenu($position) {
|
306
|
-
@include kill-flicker;
|
307
|
-
* { @include kill-flicker; }
|
308
|
-
-webkit-overflow-scrolling: touch;
|
309
|
-
background: $off-canvas-bg;
|
310
|
-
bottom: 0;
|
311
|
-
box-sizing: content-box;
|
312
|
-
margin: 0;
|
313
|
-
overflow-x: hidden;
|
314
|
-
overflow-y: auto;
|
315
|
-
position: absolute;
|
316
|
-
top: 0;
|
317
|
-
width: $off-canvas-width;
|
318
|
-
height: $off-canvas-height;
|
319
|
-
z-index: 1002;
|
320
|
-
@if $position == left {
|
321
|
-
@include translate3d(-100%,0,0);
|
322
|
-
left: 0;
|
323
|
-
}
|
324
|
-
@if $position == right {
|
325
|
-
@include translate3d(100%,0,0);
|
326
|
-
right: 0;
|
327
|
-
}
|
328
|
-
@if $position == top {
|
329
|
-
@include translate3d(0,-100%,0);
|
330
|
-
top: 0;
|
331
|
-
width: 100%;
|
332
|
-
}
|
333
|
-
@if $position == bottom {
|
334
|
-
@include translate3d(0,100%,0);
|
335
|
-
bottom: 0;
|
336
|
-
width: 100%;
|
337
|
-
}
|
338
|
-
-webkit-transition: -webkit-#{$menu-slide};
|
339
|
-
-moz-transition: -moz-#{$menu-slide};
|
340
|
-
-ms-transition: -ms-#{$menu-slide};
|
341
|
-
-o-transition: -o-#{$menu-slide};
|
342
|
-
transition: #{$menu-slide};
|
343
|
-
|
344
|
-
//back button style like label
|
345
|
-
.back > a {
|
346
|
-
background: $off-canvas-back-bg;
|
347
|
-
border-bottom: $off-canvas-back-border-bottom;
|
348
|
-
border-top: $off-canvas-back-border-top;
|
349
|
-
color: $off-canvas-label-color;
|
350
|
-
font-weight: $off-canvas-label-font-weight;
|
351
|
-
padding: $off-canvas-label-padding;
|
352
|
-
text-transform: $off-canvas-label-text-transform;
|
353
|
-
|
354
|
-
&:hover {
|
355
|
-
background: $off-canvas-back-hover-bg;
|
356
|
-
border-bottom: $off-canvas-back-hover-border-bottom;
|
357
|
-
border-top: $off-canvas-back-hover-border-top;
|
358
|
-
}
|
359
|
-
|
360
|
-
margin: $off-canvas-label-margin;
|
361
|
-
@if $position == right {
|
362
|
-
@if $text-direction == rtl {
|
363
|
-
&:before {
|
364
|
-
@include icon-double-arrows($position: left);
|
365
|
-
}
|
366
|
-
} @else {
|
367
|
-
&:after {
|
368
|
-
@include icon-double-arrows($position: right);
|
369
|
-
}
|
370
|
-
}
|
371
|
-
}
|
372
|
-
@if $position == left {
|
373
|
-
@if $text-direction == rtl {
|
374
|
-
&:after {
|
375
|
-
@include icon-double-arrows($position: right);
|
376
|
-
}
|
377
|
-
} @else {
|
378
|
-
&:before {
|
379
|
-
@include icon-double-arrows($position: left);
|
380
|
-
}
|
381
|
-
}
|
382
|
-
}
|
383
|
-
}
|
384
|
-
}
|
385
|
-
//Left double angle quote or Right double angle quote chars
|
386
|
-
@mixin icon-double-arrows ($position) {
|
387
|
-
@if $position == left {
|
388
|
-
content: "\AB";
|
389
|
-
@if $text-direction == rtl {
|
390
|
-
margin-left: .5rem;
|
391
|
-
} @else {
|
392
|
-
margin-right: .5rem;
|
393
|
-
}
|
394
|
-
}
|
395
|
-
@if $position == right {
|
396
|
-
content: "\BB";
|
397
|
-
@if $text-direction == rtl {
|
398
|
-
margin-right: .5rem;
|
399
|
-
} @else {
|
400
|
-
margin-left: .5rem;
|
401
|
-
}
|
402
|
-
}
|
403
|
-
display: inline;
|
404
|
-
}
|
405
|
-
|
406
|
-
//
|
407
|
-
// DEFAULT CLASSES
|
408
|
-
//
|
409
|
-
@include exports("offcanvas") {
|
410
|
-
@if $include-html-off-canvas-classes {
|
411
|
-
|
412
|
-
.off-canvas-wrap { @include off-canvas-wrap; }
|
413
|
-
.inner-wrap { @include inner-wrap; }
|
414
|
-
|
415
|
-
.tab-bar { @include tab-bar-base; }
|
416
|
-
|
417
|
-
.left-small { @include tabbar-small-section($position: left); }
|
418
|
-
.right-small { @include tabbar-small-section($position: right); }
|
419
|
-
|
420
|
-
.tab-bar-section { @include tab-bar-section; }
|
421
|
-
|
422
|
-
// MENU BUTTON
|
423
|
-
// This is a little bonus. You don't need it for off canvas to work. Mixins to be written in the future.
|
424
|
-
.tab-bar .menu-icon {
|
425
|
-
color: $tabbar-menu-icon-color;
|
426
|
-
display: block;
|
427
|
-
height: $tabbar-menu-icon-height;
|
428
|
-
padding: $tabbar-menu-icon-padding;
|
429
|
-
position: relative;
|
430
|
-
text-indent: $tabbar-menu-icon-text-indent;
|
431
|
-
transform: translate3d(0,0,0);
|
432
|
-
width: $tabbar-menu-icon-width;
|
433
|
-
|
434
|
-
// @include for the hamburger menu-icon
|
435
|
-
//
|
436
|
-
// Arguments as follows: ($width, $left, $top, $thickness, $gap, $color, $hover-color)
|
437
|
-
// $width - Width of hamburger icon in rem Default: $tabbar-hamburger-icon-width.
|
438
|
-
// $left - If false, icon will be centered horizontally || explicitly set value in rem Default: $tabbar-hamburger-icon-left= False
|
439
|
-
// $top - If false, icon will be centered vertically || explicitly set value in rem Default: = False
|
440
|
-
// $thickness - thickness of lines in hamburger icon, set value in px Default: $tabbar-hamburger-icon-thickness = 1px
|
441
|
-
// $gap - spacing between the lines in hamburger icon, set value in px Default: $tabbar-hamburger-icon-gap = 6px
|
442
|
-
// $color - icon color Default: $tabbar-menu-icon-color
|
443
|
-
// $hover-color - icon color when hovered Default: $tabbar-menu-icon-hover
|
444
|
-
// $offcanvas - Set to true
|
445
|
-
@include hamburger($tabbar-hamburger-icon-width, $tabbar-hamburger-icon-left, $tabbar-hamburger-icon-top, $tabbar-hamburger-icon-thickness, $tabbar-hamburger-icon-gap, $tabbar-menu-icon-color, $tabbar-menu-icon-hover, true)
|
446
|
-
}
|
447
|
-
|
448
|
-
.left-off-canvas-menu { @include off-canvas-menu($position: left); }
|
449
|
-
.right-off-canvas-menu { @include off-canvas-menu($position: right); }
|
450
|
-
.top-off-canvas-menu { @include off-canvas-menu($position: top); }
|
451
|
-
.bottom-off-canvas-menu { @include off-canvas-menu($position: bottom); }
|
452
|
-
|
453
|
-
ul.off-canvas-list { @include off-canvas-list; }
|
454
|
-
|
455
|
-
|
456
|
-
// ANIMATION CLASSES
|
457
|
-
// These classes are added with JS and trigger the actual animation.
|
458
|
-
.move-right {
|
459
|
-
> .inner-wrap {
|
460
|
-
@include translate3d($off-canvas-width,0,0);
|
461
|
-
}
|
462
|
-
.exit-off-canvas { @include back-link;}
|
463
|
-
}
|
464
|
-
|
465
|
-
.move-left {
|
466
|
-
> .inner-wrap {
|
467
|
-
@include translate3d(-($off-canvas-width),0,0);
|
468
|
-
|
469
|
-
}
|
470
|
-
.exit-off-canvas { @include back-link; }
|
471
|
-
}
|
472
|
-
.move-top {
|
473
|
-
> .inner-wrap {
|
474
|
-
@include translate3d(0,-($off-canvas-height),0);
|
475
|
-
|
476
|
-
}
|
477
|
-
.exit-off-canvas { @include back-link; }
|
478
|
-
}
|
479
|
-
.move-bottom {
|
480
|
-
> .inner-wrap {
|
481
|
-
@include translate3d(0,($off-canvas-height),0);
|
482
|
-
|
483
|
-
}
|
484
|
-
.exit-off-canvas { @include back-link; }
|
485
|
-
}
|
486
|
-
.offcanvas-overlap {
|
487
|
-
.left-off-canvas-menu, .right-off-canvas-menu,
|
488
|
-
.top-off-canvas-menu, .bottom-off-canvas-menu {
|
489
|
-
-ms-transform: none;
|
490
|
-
-webkit-transform: none;
|
491
|
-
-moz-transform: none;
|
492
|
-
-o-transform: none;
|
493
|
-
transform: none;
|
494
|
-
z-index: 1003;
|
495
|
-
}
|
496
|
-
.exit-off-canvas { @include back-link; }
|
497
|
-
}
|
498
|
-
.offcanvas-overlap-left {
|
499
|
-
.right-off-canvas-menu {
|
500
|
-
-ms-transform: none;
|
501
|
-
-webkit-transform: none;
|
502
|
-
-moz-transform: none;
|
503
|
-
-o-transform: none;
|
504
|
-
transform: none;
|
505
|
-
z-index: 1003;
|
506
|
-
}
|
507
|
-
.exit-off-canvas { @include back-link; }
|
508
|
-
}
|
509
|
-
.offcanvas-overlap-right {
|
510
|
-
.left-off-canvas-menu {
|
511
|
-
-ms-transform: none;
|
512
|
-
-webkit-transform: none;
|
513
|
-
-moz-transform: none;
|
514
|
-
-o-transform: none;
|
515
|
-
transform: none;
|
516
|
-
z-index: 1003;
|
517
|
-
}
|
518
|
-
.exit-off-canvas { @include back-link; }
|
519
|
-
}
|
520
|
-
.offcanvas-overlap-top {
|
521
|
-
.bottom-off-canvas-menu {
|
522
|
-
-ms-transform: none;
|
523
|
-
-webkit-transform: none;
|
524
|
-
-moz-transform: none;
|
525
|
-
-o-transform: none;
|
526
|
-
transform: none;
|
527
|
-
z-index: 1003;
|
528
|
-
}
|
529
|
-
.exit-off-canvas { @include back-link; }
|
530
|
-
}
|
531
|
-
.offcanvas-overlap-bottom {
|
532
|
-
.top-off-canvas-menu {
|
533
|
-
-ms-transform: none;
|
534
|
-
-webkit-transform: none;
|
535
|
-
-moz-transform: none;
|
536
|
-
-o-transform: none;
|
537
|
-
transform: none;
|
538
|
-
z-index: 1003;
|
539
|
-
}
|
540
|
-
.exit-off-canvas { @include back-link; }
|
541
|
-
}
|
542
|
-
|
543
|
-
// Older browsers
|
544
|
-
.no-csstransforms {
|
545
|
-
.left-off-canvas-menu { left: -($off-canvas-width); }
|
546
|
-
.right-off-canvas-menu { right: -($off-canvas-width); }
|
547
|
-
.top-off-canvas-menu { top: -($off-canvas-height); }
|
548
|
-
.bottom-off-canvas-menu { bottom: -($off-canvas-height); }
|
549
|
-
|
550
|
-
.move-left > .inner-wrap { right: $off-canvas-width; }
|
551
|
-
.move-right > .inner-wrap { left: $off-canvas-width; }
|
552
|
-
.move-top > .inner-wrap { right: $off-canvas-height; }
|
553
|
-
.move-bottom > .inner-wrap { left: $off-canvas-height; }
|
554
|
-
|
555
|
-
|
556
|
-
}
|
557
|
-
|
558
|
-
.left-submenu {
|
559
|
-
@include off-canvas-submenu($position: left);
|
560
|
-
&.move-right, &.offcanvas-overlap-right, &.offcanvas-overlap {
|
561
|
-
@include translate3d(0%,0,0);
|
562
|
-
}
|
563
|
-
}
|
564
|
-
|
565
|
-
.right-submenu {
|
566
|
-
@include off-canvas-submenu($position: right);
|
567
|
-
&.move-left, &.offcanvas-overlap-left, &.offcanvas-overlap {
|
568
|
-
@include translate3d(0%,0,0);
|
569
|
-
}
|
570
|
-
}
|
571
|
-
|
572
|
-
.top-submenu {
|
573
|
-
@include off-canvas-submenu($position: top);
|
574
|
-
&.move-bottom, &.offcanvas-overlap-bottom, &.offcanvas-overlap {
|
575
|
-
@include translate3d(0,0%,0);
|
576
|
-
}
|
577
|
-
}
|
578
|
-
|
579
|
-
.bottom-submenu {
|
580
|
-
@include off-canvas-submenu($position: bottom);
|
581
|
-
&.move-top, &.offcanvas-overlap-top, &.offcanvas-overlap {
|
582
|
-
@include translate3d(0,0%,0);
|
583
|
-
}
|
584
|
-
}
|
585
|
-
|
586
|
-
@if $text-direction == rtl {
|
587
|
-
.left-off-canvas-menu ul.off-canvas-list li.has-submenu > a:before {
|
588
|
-
@include icon-double-arrows($position: left);
|
589
|
-
}
|
590
|
-
.right-off-canvas-menu ul.off-canvas-list li.has-submenu > a:after {
|
591
|
-
@include icon-double-arrows($position: right);
|
592
|
-
}
|
593
|
-
} @else {
|
594
|
-
.left-off-canvas-menu ul.off-canvas-list li.has-submenu > a:after {
|
595
|
-
@include icon-double-arrows($position: right);
|
596
|
-
}
|
597
|
-
.right-off-canvas-menu ul.off-canvas-list li.has-submenu > a:before {
|
598
|
-
@include icon-double-arrows($position: left);
|
599
|
-
}
|
600
|
-
}
|
601
|
-
|
602
|
-
}
|
603
|
-
}
|
604
|
-
|
605
|
-
|
606
|
-
|