jekyll-theme-pirati 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/elections.yml +7 -0
- data/_data/menu.yml +3 -3
- data/_includes/candidate_badge.html +3 -7
- data/_includes/contacts/basic_contacts.html +30 -50
- data/_includes/contacts/residance.html +1 -1
- data/_includes/footer.html +3 -3
- data/_includes/head.html +6 -8
- data/_includes/header.html +1 -1
- data/_includes/headline-image.html +16 -0
- data/_includes/js/main.html +7 -13
- data/_includes/js/webpack.html +13 -0
- data/_includes/people/{list_2col.html → list-2col.html} +2 -2
- data/_includes/people/{list_group.html → list-group.html} +1 -1
- data/_includes/people/{profile_badge.html → profile-badge.html} +5 -4
- data/_includes/right-bar/bar_garant.html +1 -1
- data/_includes/right-bar/bar_people.html +1 -1
- data/_includes/right-bar/bar_person_contact.html +8 -8
- data/_includes/right-bar/bar_program.html +7 -5
- data/_layouts/contacts.html +47 -51
- data/_layouts/komunalni-volby.html +1 -1
- data/_layouts/page.html +9 -9
- data/_layouts/person.html +5 -0
- data/_layouts/post.html +30 -38
- data/_layouts/team.html +2 -2
- data/_sass/_base.scss +2 -1
- data/_sass/_fonts.scss +42 -0
- data/_sass/_settings.scss +6 -5
- data/_sass/components/BlogPosting.scss +6 -4
- data/_sass/components/contact-bar.scss +2 -2
- data/_sass/components/content-block.scss +11 -0
- data/_sass/components/footer.scss +5 -0
- data/_sass/components/header-bar.scss +2 -2
- data/_sass/components/headline-image.scss +44 -0
- data/_sass/components/metadata-block.scss +29 -0
- data/_sass/components/program.scss +4 -2
- data/_sass/components/tag.scss +10 -11
- data/_sass/components/top-bar.scss +236 -236
- data/_sass/components/typography.scss +43 -0
- data/_sass/components/widget-accordion.scss +12 -7
- data/_sass/foundation-sites/LICENSE +22 -0
- data/_sass/foundation-sites/README.md +44 -0
- data/_sass/foundation-sites/assets/foundation-flex.scss +3 -0
- data/_sass/foundation-sites/assets/foundation-rtl.scss +5 -0
- data/_sass/foundation-sites/assets/foundation.scss +3 -0
- data/_sass/foundation-sites/code-of-conduct.md +43 -0
- data/_sass/foundation-sites/customizer/complete.json +46 -0
- data/_sass/foundation-sites/customizer/config.yml +218 -0
- data/_sass/foundation-sites/customizer/essential.json +11 -0
- data/_sass/foundation-sites/customizer/index.html +169 -0
- data/_sass/foundation-sites/dist/foundation-flex.css +4028 -0
- data/_sass/foundation-sites/dist/foundation-flex.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation-rtl.css +3583 -0
- data/_sass/foundation-sites/dist/foundation-rtl.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation.css +3578 -0
- data/_sass/foundation-sites/dist/foundation.js +9069 -0
- data/_sass/foundation-sites/dist/foundation.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation.min.js +4 -0
- data/_sass/foundation-sites/dist/plugins/foundation.abide.js +600 -0
- data/_sass/foundation-sites/dist/plugins/foundation.accordion.js +262 -0
- data/_sass/foundation-sites/dist/plugins/foundation.accordionMenu.js +307 -0
- data/_sass/foundation-sites/dist/plugins/foundation.core.js +386 -0
- data/_sass/foundation-sites/dist/plugins/foundation.drilldown.js +409 -0
- data/_sass/foundation-sites/dist/plugins/foundation.dropdown.js +447 -0
- data/_sass/foundation-sites/dist/plugins/foundation.dropdownMenu.js +447 -0
- data/_sass/foundation-sites/dist/plugins/foundation.equalizer.js +364 -0
- data/_sass/foundation-sites/dist/plugins/foundation.interchange.js +227 -0
- data/_sass/foundation-sites/dist/plugins/foundation.magellan.js +257 -0
- data/_sass/foundation-sites/dist/plugins/foundation.offcanvas.js +438 -0
- data/_sass/foundation-sites/dist/plugins/foundation.orbit.js +484 -0
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveMenu.js +171 -0
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveToggle.js +142 -0
- data/_sass/foundation-sites/dist/plugins/foundation.reveal.js +623 -0
- data/_sass/foundation-sites/dist/plugins/foundation.slider.js +648 -0
- data/_sass/foundation-sites/dist/plugins/foundation.sticky.js +495 -0
- data/_sass/foundation-sites/dist/plugins/foundation.tabs.js +348 -0
- data/_sass/foundation-sites/dist/plugins/foundation.toggler.js +166 -0
- data/_sass/foundation-sites/dist/plugins/foundation.tooltip.js +468 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.box.js +196 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.keyboard.js +123 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.mediaQuery.js +216 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.motion.js +97 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.nest.js +69 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.timerAndImageLoader.js +84 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.triggers.js +243 -0
- data/_sass/foundation-sites/docslink.sh +3 -0
- data/_sass/foundation-sites/js/foundation.abide.js +543 -0
- data/_sass/foundation-sites/js/foundation.accordion.js +237 -0
- data/_sass/foundation-sites/js/foundation.accordionMenu.js +274 -0
- data/_sass/foundation-sites/js/foundation.core.js +378 -0
- data/_sass/foundation-sites/js/foundation.drilldown.js +369 -0
- data/_sass/foundation-sites/js/foundation.dropdown.js +409 -0
- data/_sass/foundation-sites/js/foundation.dropdownMenu.js +404 -0
- data/_sass/foundation-sites/js/foundation.equalizer.js +306 -0
- data/_sass/foundation-sites/js/foundation.interchange.js +198 -0
- data/_sass/foundation-sites/js/foundation.magellan.js +223 -0
- data/_sass/foundation-sites/js/foundation.offcanvas.js +398 -0
- data/_sass/foundation-sites/js/foundation.orbit.js +446 -0
- data/_sass/foundation-sites/js/foundation.responsiveMenu.js +148 -0
- data/_sass/foundation-sites/js/foundation.responsiveToggle.js +119 -0
- data/_sass/foundation-sites/js/foundation.reveal.js +576 -0
- data/_sass/foundation-sites/js/foundation.slider.js +597 -0
- data/_sass/foundation-sites/js/foundation.sticky.js +450 -0
- data/_sass/foundation-sites/js/foundation.tabs.js +333 -0
- data/_sass/foundation-sites/js/foundation.toggler.js +144 -0
- data/_sass/foundation-sites/js/foundation.tooltip.js +444 -0
- data/_sass/foundation-sites/js/foundation.util.box.js +195 -0
- data/_sass/foundation-sites/js/foundation.util.keyboard.js +115 -0
- data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +214 -0
- data/_sass/foundation-sites/js/foundation.util.motion.js +99 -0
- data/_sass/foundation-sites/js/foundation.util.nest.js +76 -0
- data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +86 -0
- data/_sass/foundation-sites/js/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/js/foundation.util.triggers.js +239 -0
- data/_sass/foundation-sites/node_modules/jquery/AUTHORS.txt +278 -0
- data/_sass/foundation-sites/node_modules/jquery/LICENSE.txt +36 -0
- data/_sass/foundation-sites/node_modules/jquery/README.md +65 -0
- data/_sass/foundation-sites/node_modules/jquery/bower.json +14 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.js +9814 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.js +4 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.map +1 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/foundation-sites/node_modules/jquery/package.json +112 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax.js +845 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/jsonp.js +100 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/load.js +83 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseJSON.js +13 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseXML.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/script.js +68 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/location.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/rquery.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/xhr.js +167 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes.js +11 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/attr.js +142 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/classes.js +177 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/prop.js +125 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/support.js +36 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/val.js +177 -0
- data/_sass/foundation-sites/node_modules/jquery/src/callbacks.js +232 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core.js +494 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/access.js +65 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/init.js +134 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/parseHTML.js +41 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/ready.js +103 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css.js +502 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/addGetHookIf.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/adjustCSS.js +65 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/curCSS.js +60 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/defaultDisplay.js +72 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/showHide.js +48 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/support.js +121 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/cssExpand.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/getStyles.js +15 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/isHidden.js +16 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rmargin.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/swap.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data.js +187 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/Data.js +200 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/acceptData.js +18 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataPriv.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataUser.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/deferred.js +158 -0
- data/_sass/foundation-sites/node_modules/jquery/src/deprecated.js +32 -0
- data/_sass/foundation-sites/node_modules/jquery/src/dimensions.js +54 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects.js +629 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects/Tween.js +121 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects/animatedSelector.js +13 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event.js +711 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/ajax.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/alias.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/focusin.js +53 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/support.js +9 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/trigger.js +183 -0
- data/_sass/foundation-sites/node_modules/jquery/src/exports/amd.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/exports/global.js +26 -0
- data/_sass/foundation-sites/node_modules/jquery/src/intro.js +44 -0
- data/_sass/foundation-sites/node_modules/jquery/src/jquery.js +37 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation.js +481 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/_evalUrl.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/buildFragment.js +102 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/getAll.js +21 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/support.js +33 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/wrapMap.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/offset.js +218 -0
- data/_sass/foundation-sites/node_modules/jquery/src/outro.js +2 -0
- data/_sass/foundation-sites/node_modules/jquery/src/queue.js +143 -0
- data/_sass/foundation-sites/node_modules/jquery/src/queue/delay.js +22 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector-native.js +211 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector-sizzle.js +14 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector.js +1 -0
- data/_sass/foundation-sites/node_modules/jquery/src/serialize.js +125 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing.js +175 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/findFilter.js +100 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/dir.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/siblings.js +15 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/arr.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/class2type.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/concat.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/document.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/documentElement.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/hasOwn.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/indexOf.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/pnum.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/push.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/rcssNum.js +7 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/rnotwhite.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/slice.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/support.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/toString.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/wrap.js +79 -0
- data/_sass/foundation-sites/package.json +148 -0
- data/_sass/foundation-sites/scss/_global.scss +638 -0
- data/_sass/foundation-sites/scss/components/_accordion-menu.scss +32 -0
- data/_sass/foundation-sites/scss/components/_accordion.scss +129 -0
- data/_sass/foundation-sites/scss/components/_badge.scss +55 -0
- data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +95 -0
- data/_sass/foundation-sites/scss/components/_button-group.scss +195 -0
- data/_sass/foundation-sites/scss/components/_button.scss +265 -0
- data/_sass/foundation-sites/scss/components/_callout.scss +105 -0
- data/_sass/foundation-sites/scss/components/_close-button.scss +61 -0
- data/_sass/foundation-sites/scss/components/_drilldown.scss +79 -0
- data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +221 -0
- data/_sass/foundation-sites/scss/components/_dropdown.scss +65 -0
- data/_sass/foundation-sites/scss/components/_flex-video.scss +63 -0
- data/_sass/foundation-sites/scss/components/_flex.scss +28 -0
- data/_sass/foundation-sites/scss/components/_float.scss +27 -0
- data/_sass/foundation-sites/scss/components/_label.scss +56 -0
- data/_sass/foundation-sites/scss/components/_media-object.scss +115 -0
- data/_sass/foundation-sites/scss/components/_menu-icon.scss +9 -0
- data/_sass/foundation-sites/scss/components/_menu.scss +314 -0
- data/_sass/foundation-sites/scss/components/_off-canvas.scss +177 -0
- data/_sass/foundation-sites/scss/components/_orbit.scss +193 -0
- data/_sass/foundation-sites/scss/components/_pagination.scss +162 -0
- data/_sass/foundation-sites/scss/components/_progress-bar.scss +64 -0
- data/_sass/foundation-sites/scss/components/_reveal.scss +172 -0
- data/_sass/foundation-sites/scss/components/_slider.scss +133 -0
- data/_sass/foundation-sites/scss/components/_sticky.scss +38 -0
- data/_sass/foundation-sites/scss/components/_switch.scss +232 -0
- data/_sass/foundation-sites/scss/components/_table.scss +234 -0
- data/_sass/foundation-sites/scss/components/_tabs.scss +165 -0
- data/_sass/foundation-sites/scss/components/_thumbnail.scss +54 -0
- data/_sass/foundation-sites/scss/components/_title-bar.scss +89 -0
- data/_sass/foundation-sites/scss/components/_tooltip.scss +104 -0
- data/_sass/foundation-sites/scss/components/_top-bar.scss +168 -0
- data/_sass/foundation-sites/scss/components/_visibility.scss +132 -0
- data/_sass/foundation-sites/scss/forms/_checkbox.scss +40 -0
- data/_sass/foundation-sites/scss/forms/_error.scss +84 -0
- data/_sass/foundation-sites/scss/forms/_fieldset.scss +54 -0
- data/_sass/foundation-sites/scss/forms/_forms.scss +34 -0
- data/_sass/foundation-sites/scss/forms/_help-text.scss +30 -0
- data/_sass/foundation-sites/scss/forms/_input-group.scss +128 -0
- data/_sass/foundation-sites/scss/forms/_label.scss +48 -0
- data/_sass/foundation-sites/scss/forms/_meter.scss +109 -0
- data/_sass/foundation-sites/scss/forms/_progress.scss +85 -0
- data/_sass/foundation-sites/scss/forms/_range.scss +144 -0
- data/_sass/foundation-sites/scss/forms/_select.scss +67 -0
- data/_sass/foundation-sites/scss/forms/_text.scss +163 -0
- data/_sass/foundation-sites/scss/foundation.scss +102 -0
- data/_sass/foundation-sites/scss/grid/_classes.scss +151 -0
- data/_sass/foundation-sites/scss/grid/_column.scss +126 -0
- data/_sass/foundation-sites/scss/grid/_flex-grid.scss +274 -0
- data/_sass/foundation-sites/scss/grid/_grid.scss +60 -0
- data/_sass/foundation-sites/scss/grid/_gutter.scss +34 -0
- data/_sass/foundation-sites/scss/grid/_layout.scss +51 -0
- data/_sass/foundation-sites/scss/grid/_position.scss +73 -0
- data/_sass/foundation-sites/scss/grid/_row.scss +95 -0
- data/_sass/foundation-sites/scss/grid/_size.scss +24 -0
- data/_sass/foundation-sites/scss/settings/_settings.scss +567 -0
- data/_sass/foundation-sites/scss/typography/_alignment.scss +22 -0
- data/_sass/foundation-sites/scss/typography/_base.scss +443 -0
- data/_sass/foundation-sites/scss/typography/_helpers.scss +77 -0
- data/_sass/foundation-sites/scss/typography/_print.scss +77 -0
- data/_sass/foundation-sites/scss/typography/_typography.scss +28 -0
- data/_sass/foundation-sites/scss/util/_breakpoint.scss +275 -0
- data/_sass/foundation-sites/scss/util/_color.scss +60 -0
- data/_sass/foundation-sites/scss/util/_flex.scss +68 -0
- data/_sass/foundation-sites/scss/util/_mixins.scss +235 -0
- data/_sass/foundation-sites/scss/util/_selector.scss +40 -0
- data/_sass/foundation-sites/scss/util/_unit.scss +90 -0
- data/_sass/foundation-sites/scss/util/_util.scss +11 -0
- data/_sass/foundation-sites/scss/util/_value.scss +107 -0
- data/_sass/foundation-sites/vendor/fastclick/LICENSE +22 -0
- data/_sass/foundation-sites/vendor/fastclick/README.md +140 -0
- data/_sass/foundation-sites/vendor/jquery-placeholder/jquery.placeholder.js +192 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/content/styles.css +9 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/devbridge-autocomplete.jquery.json +28 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.js +823 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.min.js +29 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/license.txt +21 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/index.htm +48 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/license.txt +21 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/readme.md +165 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/countries.js +266 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/demo.js +68 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery-1.8.2.min.js +2 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery.mockjax.js +564 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.d.ts +40 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.js +823 -0
- data/_sass/foundation-sites/vendor/jquery.cookie/jquery.cookie.js +117 -0
- data/_sass/foundation-sites/vendor/jquery/AUTHORS.txt +278 -0
- data/_sass/foundation-sites/vendor/jquery/LICENSE.txt +36 -0
- data/_sass/foundation-sites/vendor/jquery/README.md +65 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.js +9842 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.js +4 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.js +7877 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.js +4 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/LICENSE.txt +36 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.js +2143 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax.js +845 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/jsonp.js +100 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/load.js +83 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseJSON.js +13 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseXML.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/script.js +68 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/location.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/rquery.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/xhr.js +167 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes.js +11 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/attr.js +142 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/classes.js +177 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/prop.js +125 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/support.js +36 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/val.js +177 -0
- data/_sass/foundation-sites/vendor/jquery/src/callbacks.js +232 -0
- data/_sass/foundation-sites/vendor/jquery/src/core.js +494 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/DOMEval.js +14 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/access.js +65 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/init.js +134 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/parseHTML.js +41 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/ready.js +103 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/support.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/var/rsingleTag.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/css.js +515 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/addGetHookIf.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/adjustCSS.js +65 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/curCSS.js +60 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/defaultDisplay.js +72 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/showHide.js +48 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/support.js +121 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/cssExpand.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/getStyles.js +15 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/isHidden.js +16 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rmargin.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rnumnonpx.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/swap.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/data.js +187 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/Data.js +200 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/accepts.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/support.js +23 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/acceptData.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataPriv.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataUser.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/deferred.js +158 -0
- data/_sass/foundation-sites/vendor/jquery/src/deferred/exceptionHook.js +19 -0
- data/_sass/foundation-sites/vendor/jquery/src/deprecated.js +32 -0
- data/_sass/foundation-sites/vendor/jquery/src/dimensions.js +54 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects.js +629 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/Tween.js +121 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/animatedSelector.js +13 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/support.js +58 -0
- data/_sass/foundation-sites/vendor/jquery/src/event.js +710 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/ajax.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/alias.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/focusin.js +53 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/support.js +9 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/trigger.js +199 -0
- data/_sass/foundation-sites/vendor/jquery/src/exports/amd.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/exports/global.js +26 -0
- data/_sass/foundation-sites/vendor/jquery/src/intro.js +44 -0
- data/_sass/foundation-sites/vendor/jquery/src/jquery.js +37 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation.js +481 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/_evalUrl.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/buildFragment.js +102 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/createSafeFragment.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/getAll.js +21 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/support.js +33 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/nodeNames.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rleadingWhitespace.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rtagName.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/wrapMap.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/offset.js +218 -0
- data/_sass/foundation-sites/vendor/jquery/src/outro.js +2 -0
- data/_sass/foundation-sites/vendor/jquery/src/queue.js +143 -0
- data/_sass/foundation-sites/vendor/jquery/src/queue/delay.js +22 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector-native.js +211 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector-sizzle.js +14 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector.js +1 -0
- data/_sass/foundation-sites/vendor/jquery/src/serialize.js +125 -0
- data/_sass/foundation-sites/vendor/jquery/src/support.js +63 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing.js +175 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/findFilter.js +100 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/dir.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/siblings.js +15 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/arr.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/class2type.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/concat.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/deletedIds.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/document.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/documentElement.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/hasOwn.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/indexOf.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/pnum.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/push.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/rcssNum.js +7 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/rnotwhite.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/slice.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/support.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/toString.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/wrap.js +79 -0
- data/_sass/foundation-sites/vendor/lodash/LICENSE.txt +22 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.js +7158 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.min.js +92 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.js +6786 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.min.js +87 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.js +4979 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.min.js +39 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/a-download.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-audiodata-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-webaudio-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-api.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-level.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/blob-constructor.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/canvas-todataurl-type.js +28 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contenteditable.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contentsecuritypolicy.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contextmenu.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cookies.js +15 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cors.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-shorthand.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-xy.js +15 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundrepeat.js +31 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundsizecover.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-boxsizing.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-calc.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-cubicbezierrange.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displayrunin.js +18 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displaytable.js +27 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-filters.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-hyphens.js +205 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-lastchild.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mask.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mediaqueries.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-objectfit.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-overflow-scrolling.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-pointerevents.js +25 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-positionsticky.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-regions.js +55 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-remunit.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-resize.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-scrollbars.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-shapes.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-subpixelfont.js +23 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-supports.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-userselect.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vhunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vmaxunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vminunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vwunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/custom-protocol-handler.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dart.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dataview-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-classlist.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-createElement-attrs.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-dataset.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-microdata.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-datalist.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-details.js +25 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-output.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-progress-meter.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-ruby.js +53 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-time.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-track.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/emoji.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/es5-strictmode.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/event-deviceorientation-motion.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/exif-orientation.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-api.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-filesystem.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-fileinput.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-formattribute.js +29 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-inputnumber-l10n.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-placeholder.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-speechinput.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-validation.js +62 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/fullscreen-api.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/gamepad.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/getusermedia.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/ie8compat.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-sandbox.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-seamless.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-srcdoc.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-apng.js +26 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-webp.js +20 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/json.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/lists-reversed.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/mathml.js +23 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-connection.js +22 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-eventsource.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-xhr2.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/notification.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/performance.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/pointerlock-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/quota-management-api.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/requestanimationframe.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-async.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-defer.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/style-scoped.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/svg-filters.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/unicode.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/url-data-uri.js +26 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/userdata.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/vibration.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/web-intents.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/webgl-extensions.js +42 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/websockets-binary.js +20 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/window-framed.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-blobworkers.js +66 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-dataworkers.js +34 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-sharedworkers.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/grunt.js +69 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.ai +292 -1
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.eps +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.pdf +292 -1
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.png +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.svg +35 -0
- data/_sass/foundation-sites/vendor/modernizr/modernizr.js +1406 -0
- data/_sass/foundation-sites/vendor/modernizr/readme.md +28 -0
- data/_sass/objects/media.scss +7 -2
- data/_sass/objects/section.scss +5 -5
- data/assets/css/main.scss +7 -1
- data/assets/fonts/BebasNeue-Thin.ttf +0 -0
- data/assets/fonts/BebasNeue-Thin.woff +0 -0
- data/assets/fonts/BebasNeueBold.ttf +0 -0
- data/assets/fonts/BebasNeueBold.woff +0 -0
- data/assets/fonts/BebasNeueBook.ttf +0 -0
- data/assets/fonts/BebasNeueBook.woff +0 -0
- data/assets/fonts/BebasNeueLight.ttf +0 -0
- data/assets/fonts/BebasNeueLight.woff +0 -0
- data/assets/fonts/BebasNeueRegular.ttf +0 -0
- data/assets/fonts/BebasNeueRegular.woff +0 -0
- data/assets/fonts/demo.html +311 -0
- data/assets/fonts/stylesheet.css +40 -0
- data/assets/img/people/unknown-pirate.svg +3 -0
- data/assets/js/0.main.98ff15822eba72edef32.js +51 -0
- data/assets/js/0.main.98ff15822eba72edef32.js.map +1 -0
- data/assets/js/main.98ff15822eba72edef32.css +3 -0
- data/assets/js/main.98ff15822eba72edef32.css.map +1 -0
- data/assets/js/main.98ff15822eba72edef32.js +1 -0
- data/assets/js/main.98ff15822eba72edef32.js.map +1 -0
- data/jekyll-theme-pirati.gemspec +26 -0
- metadata +549 -20
- data/_sass/components/BasicPage.scss +0 -469
- data/assets/fonts/bebasneue_regular-webfont.eot +0 -0
- data/assets/fonts/bebasneue_regular-webfont.svg +0 -3906
- data/assets/fonts/bebasneue_regular-webfont.ttf +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff2 +0 -0
- data/assets/js/apps.js +0 -8
- data/assets/js/apps/scroll-top/ScrollTop.vue +0 -83
- data/assets/js/apps/scroll-top/index.js +0 -9
- data/assets/js/apps/site-search/SiteSearch.vue +0 -85
- data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +0 -29
- data/assets/js/apps/site-search/index.js +0 -14
- data/assets/js/index.js +0 -52
@@ -0,0 +1,223 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
!function($) {
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Magellan module.
|
7
|
+
* @module foundation.magellan
|
8
|
+
*/
|
9
|
+
|
10
|
+
class Magellan {
|
11
|
+
/**
|
12
|
+
* Creates a new instance of Magellan.
|
13
|
+
* @class
|
14
|
+
* @fires Magellan#init
|
15
|
+
* @param {Object} element - jQuery object to add the trigger to.
|
16
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
17
|
+
*/
|
18
|
+
constructor(element, options) {
|
19
|
+
this.$element = element;
|
20
|
+
this.options = $.extend({}, Magellan.defaults, this.$element.data(), options);
|
21
|
+
|
22
|
+
this._init();
|
23
|
+
|
24
|
+
Foundation.registerPlugin(this, 'Magellan');
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Initializes the Magellan plugin and calls functions to get equalizer functioning on load.
|
29
|
+
* @private
|
30
|
+
*/
|
31
|
+
_init() {
|
32
|
+
var id = this.$element[0].id || Foundation.GetYoDigits(6, 'magellan');
|
33
|
+
var _this = this;
|
34
|
+
this.$targets = $('[data-magellan-target]');
|
35
|
+
this.$links = this.$element.find('a');
|
36
|
+
this.$element.attr({
|
37
|
+
'data-resize': id,
|
38
|
+
'data-scroll': id,
|
39
|
+
'id': id
|
40
|
+
});
|
41
|
+
this.$active = $();
|
42
|
+
this.scrollPos = parseInt(window.pageYOffset, 10);
|
43
|
+
|
44
|
+
this._events();
|
45
|
+
}
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Calculates an array of pixel values that are the demarcation lines between locations on the page.
|
49
|
+
* Can be invoked if new elements are added or the size of a location changes.
|
50
|
+
* @function
|
51
|
+
*/
|
52
|
+
calcPoints() {
|
53
|
+
var _this = this,
|
54
|
+
body = document.body,
|
55
|
+
html = document.documentElement;
|
56
|
+
|
57
|
+
this.points = [];
|
58
|
+
this.winHeight = Math.round(Math.max(window.innerHeight, html.clientHeight));
|
59
|
+
this.docHeight = Math.round(Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight));
|
60
|
+
|
61
|
+
this.$targets.each(function(){
|
62
|
+
var $tar = $(this),
|
63
|
+
pt = Math.round($tar.offset().top - _this.options.threshold);
|
64
|
+
$tar.targetPoint = pt;
|
65
|
+
_this.points.push(pt);
|
66
|
+
});
|
67
|
+
}
|
68
|
+
|
69
|
+
/**
|
70
|
+
* Initializes events for Magellan.
|
71
|
+
* @private
|
72
|
+
*/
|
73
|
+
_events() {
|
74
|
+
var _this = this,
|
75
|
+
$body = $('html, body'),
|
76
|
+
opts = {
|
77
|
+
duration: _this.options.animationDuration,
|
78
|
+
easing: _this.options.animationEasing
|
79
|
+
};
|
80
|
+
$(window).one('load', function(){
|
81
|
+
if(_this.options.deepLinking){
|
82
|
+
if(location.hash){
|
83
|
+
_this.scrollToLoc(location.hash);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
_this.calcPoints();
|
87
|
+
_this._updateActive();
|
88
|
+
});
|
89
|
+
|
90
|
+
this.$element.on({
|
91
|
+
'resizeme.zf.trigger': this.reflow.bind(this),
|
92
|
+
'scrollme.zf.trigger': this._updateActive.bind(this)
|
93
|
+
}).on('click.zf.magellan', 'a[href^="#"]', function(e) {
|
94
|
+
e.preventDefault();
|
95
|
+
var arrival = this.getAttribute('href');
|
96
|
+
_this.scrollToLoc(arrival);
|
97
|
+
});
|
98
|
+
}
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Function to scroll to a given location on the page.
|
102
|
+
* @param {String} loc - a properly formatted jQuery id selector. Example: '#foo'
|
103
|
+
* @function
|
104
|
+
*/
|
105
|
+
scrollToLoc(loc) {
|
106
|
+
var scrollPos = Math.round($(loc).offset().top - this.options.threshold / 2 - this.options.barOffset);
|
107
|
+
|
108
|
+
$('html, body').stop(true).animate({ scrollTop: scrollPos }, this.options.animationDuration, this.options.animationEasing);
|
109
|
+
}
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Calls necessary functions to update Magellan upon DOM change
|
113
|
+
* @function
|
114
|
+
*/
|
115
|
+
reflow() {
|
116
|
+
this.calcPoints();
|
117
|
+
this._updateActive();
|
118
|
+
}
|
119
|
+
|
120
|
+
/**
|
121
|
+
* Updates the visibility of an active location link, and updates the url hash for the page, if deepLinking enabled.
|
122
|
+
* @private
|
123
|
+
* @function
|
124
|
+
* @fires Magellan#update
|
125
|
+
*/
|
126
|
+
_updateActive(/*evt, elem, scrollPos*/) {
|
127
|
+
var winPos = /*scrollPos ||*/ parseInt(window.pageYOffset, 10),
|
128
|
+
curIdx;
|
129
|
+
|
130
|
+
if(winPos + this.winHeight === this.docHeight){ curIdx = this.points.length - 1; }
|
131
|
+
else if(winPos < this.points[0]){ curIdx = 0; }
|
132
|
+
else{
|
133
|
+
var isDown = this.scrollPos < winPos,
|
134
|
+
_this = this,
|
135
|
+
curVisible = this.points.filter(function(p, i){
|
136
|
+
return isDown ? p - _this.options.barOffset <= winPos : p - _this.options.barOffset - _this.options.threshold <= winPos;
|
137
|
+
});
|
138
|
+
curIdx = curVisible.length ? curVisible.length - 1 : 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
this.$active.removeClass(this.options.activeClass);
|
142
|
+
this.$active = this.$links.eq(curIdx).addClass(this.options.activeClass);
|
143
|
+
|
144
|
+
if(this.options.deepLinking){
|
145
|
+
var hash = this.$active[0].getAttribute('href');
|
146
|
+
if(window.history.pushState){
|
147
|
+
window.history.pushState(null, null, hash);
|
148
|
+
}else{
|
149
|
+
window.location.hash = hash;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
this.scrollPos = winPos;
|
154
|
+
/**
|
155
|
+
* Fires when magellan is finished updating to the new active element.
|
156
|
+
* @event Magellan#update
|
157
|
+
*/
|
158
|
+
this.$element.trigger('update.zf.magellan', [this.$active]);
|
159
|
+
}
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Destroys an instance of Magellan and resets the url of the window.
|
163
|
+
* @function
|
164
|
+
*/
|
165
|
+
destroy() {
|
166
|
+
this.$element.off('.zf.trigger .zf.magellan')
|
167
|
+
.find(`.${this.options.activeClass}`).removeClass(this.options.activeClass);
|
168
|
+
|
169
|
+
if(this.options.deepLinking){
|
170
|
+
var hash = this.$active[0].getAttribute('href');
|
171
|
+
window.location.hash.replace(hash, '');
|
172
|
+
}
|
173
|
+
|
174
|
+
Foundation.unregisterPlugin(this);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
/**
|
179
|
+
* Default settings for plugin
|
180
|
+
*/
|
181
|
+
Magellan.defaults = {
|
182
|
+
/**
|
183
|
+
* Amount of time, in ms, the animated scrolling should take between locations.
|
184
|
+
* @option
|
185
|
+
* @example 500
|
186
|
+
*/
|
187
|
+
animationDuration: 500,
|
188
|
+
/**
|
189
|
+
* Animation style to use when scrolling between locations.
|
190
|
+
* @option
|
191
|
+
* @example 'ease-in-out'
|
192
|
+
*/
|
193
|
+
animationEasing: 'linear',
|
194
|
+
/**
|
195
|
+
* Number of pixels to use as a marker for location changes.
|
196
|
+
* @option
|
197
|
+
* @example 50
|
198
|
+
*/
|
199
|
+
threshold: 50,
|
200
|
+
/**
|
201
|
+
* Class applied to the active locations link on the magellan container.
|
202
|
+
* @option
|
203
|
+
* @example 'active'
|
204
|
+
*/
|
205
|
+
activeClass: 'active',
|
206
|
+
/**
|
207
|
+
* Allows the script to manipulate the url of the current page, and if supported, alter the history.
|
208
|
+
* @option
|
209
|
+
* @example true
|
210
|
+
*/
|
211
|
+
deepLinking: false,
|
212
|
+
/**
|
213
|
+
* Number of pixels to offset the scroll of the page on item click if using a sticky nav bar.
|
214
|
+
* @option
|
215
|
+
* @example 25
|
216
|
+
*/
|
217
|
+
barOffset: 0
|
218
|
+
}
|
219
|
+
|
220
|
+
// Window exports
|
221
|
+
Foundation.plugin(Magellan, 'Magellan');
|
222
|
+
|
223
|
+
}(jQuery);
|
@@ -0,0 +1,398 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
!function($) {
|
4
|
+
|
5
|
+
/**
|
6
|
+
* OffCanvas module.
|
7
|
+
* @module foundation.offcanvas
|
8
|
+
* @requires foundation.util.mediaQuery
|
9
|
+
* @requires foundation.util.triggers
|
10
|
+
* @requires foundation.util.motion
|
11
|
+
*/
|
12
|
+
|
13
|
+
class OffCanvas {
|
14
|
+
/**
|
15
|
+
* Creates a new instance of an off-canvas wrapper.
|
16
|
+
* @class
|
17
|
+
* @fires OffCanvas#init
|
18
|
+
* @param {Object} element - jQuery object to initialize.
|
19
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
20
|
+
*/
|
21
|
+
constructor(element, options) {
|
22
|
+
this.$element = element;
|
23
|
+
this.options = $.extend({}, OffCanvas.defaults, this.$element.data(), options);
|
24
|
+
this.$lastTrigger = $();
|
25
|
+
this.$triggers = $();
|
26
|
+
|
27
|
+
this._init();
|
28
|
+
this._events();
|
29
|
+
|
30
|
+
Foundation.registerPlugin(this, 'OffCanvas');
|
31
|
+
}
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Initializes the off-canvas wrapper by adding the exit overlay (if needed).
|
35
|
+
* @function
|
36
|
+
* @private
|
37
|
+
*/
|
38
|
+
_init() {
|
39
|
+
var id = this.$element.attr('id');
|
40
|
+
|
41
|
+
this.$element.attr('aria-hidden', 'true');
|
42
|
+
|
43
|
+
// Find triggers that affect this element and add aria-expanded to them
|
44
|
+
this.$triggers = $(document)
|
45
|
+
.find('[data-open="'+id+'"], [data-close="'+id+'"], [data-toggle="'+id+'"]')
|
46
|
+
.attr('aria-expanded', 'false')
|
47
|
+
.attr('aria-controls', id);
|
48
|
+
|
49
|
+
// Add a close trigger over the body if necessary
|
50
|
+
if (this.options.closeOnClick) {
|
51
|
+
if ($('.js-off-canvas-exit').length) {
|
52
|
+
this.$exiter = $('.js-off-canvas-exit');
|
53
|
+
} else {
|
54
|
+
var exiter = document.createElement('div');
|
55
|
+
exiter.setAttribute('class', 'js-off-canvas-exit');
|
56
|
+
$('[data-off-canvas-content]').append(exiter);
|
57
|
+
|
58
|
+
this.$exiter = $(exiter);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
this.options.isRevealed = this.options.isRevealed || new RegExp(this.options.revealClass, 'g').test(this.$element[0].className);
|
63
|
+
|
64
|
+
if (this.options.isRevealed) {
|
65
|
+
this.options.revealOn = this.options.revealOn || this.$element[0].className.match(/(reveal-for-medium|reveal-for-large)/g)[0].split('-')[2];
|
66
|
+
this._setMQChecker();
|
67
|
+
}
|
68
|
+
if (!this.options.transitionTime) {
|
69
|
+
this.options.transitionTime = parseFloat(window.getComputedStyle($('[data-off-canvas-wrapper]')[0]).transitionDuration) * 1000;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Adds event handlers to the off-canvas wrapper and the exit overlay.
|
75
|
+
* @function
|
76
|
+
* @private
|
77
|
+
*/
|
78
|
+
_events() {
|
79
|
+
this.$element.off('.zf.trigger .zf.offcanvas').on({
|
80
|
+
'open.zf.trigger': this.open.bind(this),
|
81
|
+
'close.zf.trigger': this.close.bind(this),
|
82
|
+
'toggle.zf.trigger': this.toggle.bind(this),
|
83
|
+
'keydown.zf.offcanvas': this._handleKeyboard.bind(this)
|
84
|
+
});
|
85
|
+
|
86
|
+
if (this.options.closeOnClick && this.$exiter.length) {
|
87
|
+
this.$exiter.on({'click.zf.offcanvas': this.close.bind(this)});
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Applies event listener for elements that will reveal at certain breakpoints.
|
93
|
+
* @private
|
94
|
+
*/
|
95
|
+
_setMQChecker() {
|
96
|
+
var _this = this;
|
97
|
+
|
98
|
+
$(window).on('changed.zf.mediaquery', function() {
|
99
|
+
if (Foundation.MediaQuery.atLeast(_this.options.revealOn)) {
|
100
|
+
_this.reveal(true);
|
101
|
+
} else {
|
102
|
+
_this.reveal(false);
|
103
|
+
}
|
104
|
+
}).one('load.zf.offcanvas', function() {
|
105
|
+
if (Foundation.MediaQuery.atLeast(_this.options.revealOn)) {
|
106
|
+
_this.reveal(true);
|
107
|
+
}
|
108
|
+
});
|
109
|
+
}
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Handles the revealing/hiding the off-canvas at breakpoints, not the same as open.
|
113
|
+
* @param {Boolean} isRevealed - true if element should be revealed.
|
114
|
+
* @function
|
115
|
+
*/
|
116
|
+
reveal(isRevealed) {
|
117
|
+
var $closer = this.$element.find('[data-close]');
|
118
|
+
if (isRevealed) {
|
119
|
+
this.close();
|
120
|
+
this.isRevealed = true;
|
121
|
+
// if (!this.options.forceTop) {
|
122
|
+
// var scrollPos = parseInt(window.pageYOffset);
|
123
|
+
// this.$element[0].style.transform = 'translate(0,' + scrollPos + 'px)';
|
124
|
+
// }
|
125
|
+
// if (this.options.isSticky) { this._stick(); }
|
126
|
+
this.$element.off('open.zf.trigger toggle.zf.trigger');
|
127
|
+
if ($closer.length) { $closer.hide(); }
|
128
|
+
} else {
|
129
|
+
this.isRevealed = false;
|
130
|
+
// if (this.options.isSticky || !this.options.forceTop) {
|
131
|
+
// this.$element[0].style.transform = '';
|
132
|
+
// $(window).off('scroll.zf.offcanvas');
|
133
|
+
// }
|
134
|
+
this.$element.on({
|
135
|
+
'open.zf.trigger': this.open.bind(this),
|
136
|
+
'toggle.zf.trigger': this.toggle.bind(this)
|
137
|
+
});
|
138
|
+
if ($closer.length) {
|
139
|
+
$closer.show();
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Opens the off-canvas menu.
|
146
|
+
* @function
|
147
|
+
* @param {Object} event - Event object passed from listener.
|
148
|
+
* @param {jQuery} trigger - element that triggered the off-canvas to open.
|
149
|
+
* @fires OffCanvas#opened
|
150
|
+
*/
|
151
|
+
open(event, trigger) {
|
152
|
+
if (this.$element.hasClass('is-open') || this.isRevealed) { return; }
|
153
|
+
var _this = this,
|
154
|
+
$body = $(document.body);
|
155
|
+
|
156
|
+
if (this.options.forceTop) {
|
157
|
+
$('body').scrollTop(0);
|
158
|
+
}
|
159
|
+
// window.pageYOffset = 0;
|
160
|
+
|
161
|
+
// if (!this.options.forceTop) {
|
162
|
+
// var scrollPos = parseInt(window.pageYOffset);
|
163
|
+
// this.$element[0].style.transform = 'translate(0,' + scrollPos + 'px)';
|
164
|
+
// if (this.$exiter.length) {
|
165
|
+
// this.$exiter[0].style.transform = 'translate(0,' + scrollPos + 'px)';
|
166
|
+
// }
|
167
|
+
// }
|
168
|
+
/**
|
169
|
+
* Fires when the off-canvas menu opens.
|
170
|
+
* @event OffCanvas#opened
|
171
|
+
*/
|
172
|
+
Foundation.Move(this.options.transitionTime, this.$element, function() {
|
173
|
+
$('[data-off-canvas-wrapper]').addClass('is-off-canvas-open is-open-'+ _this.options.position);
|
174
|
+
|
175
|
+
_this.$element
|
176
|
+
.addClass('is-open')
|
177
|
+
|
178
|
+
// if (_this.options.isSticky) {
|
179
|
+
// _this._stick();
|
180
|
+
// }
|
181
|
+
});
|
182
|
+
|
183
|
+
this.$triggers.attr('aria-expanded', 'true');
|
184
|
+
this.$element.attr('aria-hidden', 'false')
|
185
|
+
.trigger('opened.zf.offcanvas');
|
186
|
+
|
187
|
+
if (this.options.closeOnClick) {
|
188
|
+
this.$exiter.addClass('is-visible');
|
189
|
+
}
|
190
|
+
|
191
|
+
if (trigger) {
|
192
|
+
this.$lastTrigger = trigger;
|
193
|
+
}
|
194
|
+
|
195
|
+
if (this.options.autoFocus) {
|
196
|
+
this.$element.one(Foundation.transitionend(this.$element), function() {
|
197
|
+
_this.$element.find('a, button').eq(0).focus();
|
198
|
+
});
|
199
|
+
}
|
200
|
+
|
201
|
+
if (this.options.trapFocus) {
|
202
|
+
$('[data-off-canvas-content]').attr('tabindex', '-1');
|
203
|
+
this._trapFocus();
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
/**
|
208
|
+
* Traps focus within the offcanvas on open.
|
209
|
+
* @private
|
210
|
+
*/
|
211
|
+
_trapFocus() {
|
212
|
+
var focusable = Foundation.Keyboard.findFocusable(this.$element),
|
213
|
+
first = focusable.eq(0),
|
214
|
+
last = focusable.eq(-1);
|
215
|
+
|
216
|
+
focusable.off('.zf.offcanvas').on('keydown.zf.offcanvas', function(e) {
|
217
|
+
if (e.which === 9 || e.keycode === 9) {
|
218
|
+
if (e.target === last[0] && !e.shiftKey) {
|
219
|
+
e.preventDefault();
|
220
|
+
first.focus();
|
221
|
+
}
|
222
|
+
if (e.target === first[0] && e.shiftKey) {
|
223
|
+
e.preventDefault();
|
224
|
+
last.focus();
|
225
|
+
}
|
226
|
+
}
|
227
|
+
});
|
228
|
+
}
|
229
|
+
|
230
|
+
/**
|
231
|
+
* Allows the offcanvas to appear sticky utilizing translate properties.
|
232
|
+
* @private
|
233
|
+
*/
|
234
|
+
// OffCanvas.prototype._stick = function() {
|
235
|
+
// var elStyle = this.$element[0].style;
|
236
|
+
//
|
237
|
+
// if (this.options.closeOnClick) {
|
238
|
+
// var exitStyle = this.$exiter[0].style;
|
239
|
+
// }
|
240
|
+
//
|
241
|
+
// $(window).on('scroll.zf.offcanvas', function(e) {
|
242
|
+
// console.log(e);
|
243
|
+
// var pageY = window.pageYOffset;
|
244
|
+
// elStyle.transform = 'translate(0,' + pageY + 'px)';
|
245
|
+
// if (exitStyle !== undefined) { exitStyle.transform = 'translate(0,' + pageY + 'px)'; }
|
246
|
+
// });
|
247
|
+
// // this.$element.trigger('stuck.zf.offcanvas');
|
248
|
+
// };
|
249
|
+
/**
|
250
|
+
* Closes the off-canvas menu.
|
251
|
+
* @function
|
252
|
+
* @param {Function} cb - optional cb to fire after closure.
|
253
|
+
* @fires OffCanvas#closed
|
254
|
+
*/
|
255
|
+
close(cb) {
|
256
|
+
if (!this.$element.hasClass('is-open') || this.isRevealed) { return; }
|
257
|
+
|
258
|
+
var _this = this;
|
259
|
+
|
260
|
+
// Foundation.Move(this.options.transitionTime, this.$element, function() {
|
261
|
+
$('[data-off-canvas-wrapper]').removeClass(`is-off-canvas-open is-open-${_this.options.position}`);
|
262
|
+
_this.$element.removeClass('is-open');
|
263
|
+
// Foundation._reflow();
|
264
|
+
// });
|
265
|
+
this.$element.attr('aria-hidden', 'true')
|
266
|
+
/**
|
267
|
+
* Fires when the off-canvas menu opens.
|
268
|
+
* @event OffCanvas#closed
|
269
|
+
*/
|
270
|
+
.trigger('closed.zf.offcanvas');
|
271
|
+
// if (_this.options.isSticky || !_this.options.forceTop) {
|
272
|
+
// setTimeout(function() {
|
273
|
+
// _this.$element[0].style.transform = '';
|
274
|
+
// $(window).off('scroll.zf.offcanvas');
|
275
|
+
// }, this.options.transitionTime);
|
276
|
+
// }
|
277
|
+
if (this.options.closeOnClick) {
|
278
|
+
this.$exiter.removeClass('is-visible');
|
279
|
+
}
|
280
|
+
|
281
|
+
this.$triggers.attr('aria-expanded', 'false');
|
282
|
+
if (this.options.trapFocus) {
|
283
|
+
$('[data-off-canvas-content]').removeAttr('tabindex');
|
284
|
+
}
|
285
|
+
}
|
286
|
+
|
287
|
+
/**
|
288
|
+
* Toggles the off-canvas menu open or closed.
|
289
|
+
* @function
|
290
|
+
* @param {Object} event - Event object passed from listener.
|
291
|
+
* @param {jQuery} trigger - element that triggered the off-canvas to open.
|
292
|
+
*/
|
293
|
+
toggle(event, trigger) {
|
294
|
+
if (this.$element.hasClass('is-open')) {
|
295
|
+
this.close(event, trigger);
|
296
|
+
}
|
297
|
+
else {
|
298
|
+
this.open(event, trigger);
|
299
|
+
}
|
300
|
+
}
|
301
|
+
|
302
|
+
/**
|
303
|
+
* Handles keyboard input when detected. When the escape key is pressed, the off-canvas menu closes, and focus is restored to the element that opened the menu.
|
304
|
+
* @function
|
305
|
+
* @private
|
306
|
+
*/
|
307
|
+
_handleKeyboard(event) {
|
308
|
+
if (event.which !== 27) return;
|
309
|
+
|
310
|
+
event.stopPropagation();
|
311
|
+
event.preventDefault();
|
312
|
+
this.close();
|
313
|
+
this.$lastTrigger.focus();
|
314
|
+
}
|
315
|
+
|
316
|
+
/**
|
317
|
+
* Destroys the offcanvas plugin.
|
318
|
+
* @function
|
319
|
+
*/
|
320
|
+
destroy() {
|
321
|
+
this.close();
|
322
|
+
this.$element.off('.zf.trigger .zf.offcanvas');
|
323
|
+
this.$exiter.off('.zf.offcanvas');
|
324
|
+
|
325
|
+
Foundation.unregisterPlugin(this);
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
OffCanvas.defaults = {
|
330
|
+
/**
|
331
|
+
* Allow the user to click outside of the menu to close it.
|
332
|
+
* @option
|
333
|
+
* @example true
|
334
|
+
*/
|
335
|
+
closeOnClick: true,
|
336
|
+
|
337
|
+
/**
|
338
|
+
* Amount of time in ms the open and close transition requires. If none selected, pulls from body style.
|
339
|
+
* @option
|
340
|
+
* @example 500
|
341
|
+
*/
|
342
|
+
transitionTime: 0,
|
343
|
+
|
344
|
+
/**
|
345
|
+
* Direction the offcanvas opens from. Determines class applied to body.
|
346
|
+
* @option
|
347
|
+
* @example left
|
348
|
+
*/
|
349
|
+
position: 'left',
|
350
|
+
|
351
|
+
/**
|
352
|
+
* Force the page to scroll to top on open.
|
353
|
+
* @option
|
354
|
+
* @example true
|
355
|
+
*/
|
356
|
+
forceTop: true,
|
357
|
+
|
358
|
+
/**
|
359
|
+
* Allow the offcanvas to remain open for certain breakpoints.
|
360
|
+
* @option
|
361
|
+
* @example false
|
362
|
+
*/
|
363
|
+
isRevealed: false,
|
364
|
+
|
365
|
+
/**
|
366
|
+
* Breakpoint at which to reveal. JS will use a RegExp to target standard classes, if changing classnames, pass your class with the `revealClass` option.
|
367
|
+
* @option
|
368
|
+
* @example reveal-for-large
|
369
|
+
*/
|
370
|
+
revealOn: null,
|
371
|
+
|
372
|
+
/**
|
373
|
+
* Force focus to the offcanvas on open. If true, will focus the opening trigger on close.
|
374
|
+
* @option
|
375
|
+
* @example true
|
376
|
+
*/
|
377
|
+
autoFocus: true,
|
378
|
+
|
379
|
+
/**
|
380
|
+
* Class used to force an offcanvas to remain open. Foundation defaults for this are `reveal-for-large` & `reveal-for-medium`.
|
381
|
+
* @option
|
382
|
+
* TODO improve the regex testing for this.
|
383
|
+
* @example reveal-for-large
|
384
|
+
*/
|
385
|
+
revealClass: 'reveal-for-',
|
386
|
+
|
387
|
+
/**
|
388
|
+
* Triggers optional focus trapping when opening an offcanvas. Sets tabindex of [data-off-canvas-content] to -1 for accessibility purposes.
|
389
|
+
* @option
|
390
|
+
* @example true
|
391
|
+
*/
|
392
|
+
trapFocus: false
|
393
|
+
}
|
394
|
+
|
395
|
+
// Window exports
|
396
|
+
Foundation.plugin(OffCanvas, 'OffCanvas');
|
397
|
+
|
398
|
+
}(jQuery);
|