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,386 @@
|
|
1
|
+
!function ($) {
|
2
|
+
|
3
|
+
"use strict";
|
4
|
+
|
5
|
+
var FOUNDATION_VERSION = '6.2.2';
|
6
|
+
|
7
|
+
// Global Foundation object
|
8
|
+
// This is attached to the window, or used as a module for AMD/Browserify
|
9
|
+
var Foundation = {
|
10
|
+
version: FOUNDATION_VERSION,
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Stores initialized plugins.
|
14
|
+
*/
|
15
|
+
_plugins: {},
|
16
|
+
|
17
|
+
/**
|
18
|
+
* Stores generated unique ids for plugin instances
|
19
|
+
*/
|
20
|
+
_uuids: [],
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Returns a boolean for RTL support
|
24
|
+
*/
|
25
|
+
rtl: function () {
|
26
|
+
return $('html').attr('dir') === 'rtl';
|
27
|
+
},
|
28
|
+
/**
|
29
|
+
* Defines a Foundation plugin, adding it to the `Foundation` namespace and the list of plugins to initialize when reflowing.
|
30
|
+
* @param {Object} plugin - The constructor of the plugin.
|
31
|
+
*/
|
32
|
+
plugin: function (plugin, name) {
|
33
|
+
// Object key to use when adding to global Foundation object
|
34
|
+
// Examples: Foundation.Reveal, Foundation.OffCanvas
|
35
|
+
var className = name || functionName(plugin);
|
36
|
+
// Object key to use when storing the plugin, also used to create the identifying data attribute for the plugin
|
37
|
+
// Examples: data-reveal, data-off-canvas
|
38
|
+
var attrName = hyphenate(className);
|
39
|
+
|
40
|
+
// Add to the Foundation object and the plugins list (for reflowing)
|
41
|
+
this._plugins[attrName] = this[className] = plugin;
|
42
|
+
},
|
43
|
+
/**
|
44
|
+
* @function
|
45
|
+
* Populates the _uuids array with pointers to each individual plugin instance.
|
46
|
+
* Adds the `zfPlugin` data-attribute to programmatically created plugins to allow use of $(selector).foundation(method) calls.
|
47
|
+
* Also fires the initialization event for each plugin, consolidating repetitive code.
|
48
|
+
* @param {Object} plugin - an instance of a plugin, usually `this` in context.
|
49
|
+
* @param {String} name - the name of the plugin, passed as a camelCased string.
|
50
|
+
* @fires Plugin#init
|
51
|
+
*/
|
52
|
+
registerPlugin: function (plugin, name) {
|
53
|
+
var pluginName = name ? hyphenate(name) : functionName(plugin.constructor).toLowerCase();
|
54
|
+
plugin.uuid = this.GetYoDigits(6, pluginName);
|
55
|
+
|
56
|
+
if (!plugin.$element.attr('data-' + pluginName)) {
|
57
|
+
plugin.$element.attr('data-' + pluginName, plugin.uuid);
|
58
|
+
}
|
59
|
+
if (!plugin.$element.data('zfPlugin')) {
|
60
|
+
plugin.$element.data('zfPlugin', plugin);
|
61
|
+
}
|
62
|
+
/**
|
63
|
+
* Fires when the plugin has initialized.
|
64
|
+
* @event Plugin#init
|
65
|
+
*/
|
66
|
+
plugin.$element.trigger('init.zf.' + pluginName);
|
67
|
+
|
68
|
+
this._uuids.push(plugin.uuid);
|
69
|
+
|
70
|
+
return;
|
71
|
+
},
|
72
|
+
/**
|
73
|
+
* @function
|
74
|
+
* Removes the plugins uuid from the _uuids array.
|
75
|
+
* Removes the zfPlugin data attribute, as well as the data-plugin-name attribute.
|
76
|
+
* Also fires the destroyed event for the plugin, consolidating repetitive code.
|
77
|
+
* @param {Object} plugin - an instance of a plugin, usually `this` in context.
|
78
|
+
* @fires Plugin#destroyed
|
79
|
+
*/
|
80
|
+
unregisterPlugin: function (plugin) {
|
81
|
+
var pluginName = hyphenate(functionName(plugin.$element.data('zfPlugin').constructor));
|
82
|
+
|
83
|
+
this._uuids.splice(this._uuids.indexOf(plugin.uuid), 1);
|
84
|
+
plugin.$element.removeAttr('data-' + pluginName).removeData('zfPlugin')
|
85
|
+
/**
|
86
|
+
* Fires when the plugin has been destroyed.
|
87
|
+
* @event Plugin#destroyed
|
88
|
+
*/
|
89
|
+
.trigger('destroyed.zf.' + pluginName);
|
90
|
+
for (var prop in plugin) {
|
91
|
+
plugin[prop] = null; //clean up script to prep for garbage collection.
|
92
|
+
}
|
93
|
+
return;
|
94
|
+
},
|
95
|
+
|
96
|
+
/**
|
97
|
+
* @function
|
98
|
+
* Causes one or more active plugins to re-initialize, resetting event listeners, recalculating positions, etc.
|
99
|
+
* @param {String} plugins - optional string of an individual plugin key, attained by calling `$(element).data('pluginName')`, or string of a plugin class i.e. `'dropdown'`
|
100
|
+
* @default If no argument is passed, reflow all currently active plugins.
|
101
|
+
*/
|
102
|
+
reInit: function (plugins) {
|
103
|
+
var isJQ = plugins instanceof $;
|
104
|
+
try {
|
105
|
+
if (isJQ) {
|
106
|
+
plugins.each(function () {
|
107
|
+
$(this).data('zfPlugin')._init();
|
108
|
+
});
|
109
|
+
} else {
|
110
|
+
var type = typeof plugins,
|
111
|
+
_this = this,
|
112
|
+
fns = {
|
113
|
+
'object': function (plgs) {
|
114
|
+
plgs.forEach(function (p) {
|
115
|
+
p = hyphenate(p);
|
116
|
+
$('[data-' + p + ']').foundation('_init');
|
117
|
+
});
|
118
|
+
},
|
119
|
+
'string': function () {
|
120
|
+
plugins = hyphenate(plugins);
|
121
|
+
$('[data-' + plugins + ']').foundation('_init');
|
122
|
+
},
|
123
|
+
'undefined': function () {
|
124
|
+
this['object'](Object.keys(_this._plugins));
|
125
|
+
}
|
126
|
+
};
|
127
|
+
fns[type](plugins);
|
128
|
+
}
|
129
|
+
} catch (err) {
|
130
|
+
console.error(err);
|
131
|
+
} finally {
|
132
|
+
return plugins;
|
133
|
+
}
|
134
|
+
},
|
135
|
+
|
136
|
+
/**
|
137
|
+
* returns a random base-36 uid with namespacing
|
138
|
+
* @function
|
139
|
+
* @param {Number} length - number of random base-36 digits desired. Increase for more random strings.
|
140
|
+
* @param {String} namespace - name of plugin to be incorporated in uid, optional.
|
141
|
+
* @default {String} '' - if no plugin name is provided, nothing is appended to the uid.
|
142
|
+
* @returns {String} - unique id
|
143
|
+
*/
|
144
|
+
GetYoDigits: function (length, namespace) {
|
145
|
+
length = length || 6;
|
146
|
+
return Math.round(Math.pow(36, length + 1) - Math.random() * Math.pow(36, length)).toString(36).slice(1) + (namespace ? '-' + namespace : '');
|
147
|
+
},
|
148
|
+
/**
|
149
|
+
* Initialize plugins on any elements within `elem` (and `elem` itself) that aren't already initialized.
|
150
|
+
* @param {Object} elem - jQuery object containing the element to check inside. Also checks the element itself, unless it's the `document` object.
|
151
|
+
* @param {String|Array} plugins - A list of plugins to initialize. Leave this out to initialize everything.
|
152
|
+
*/
|
153
|
+
reflow: function (elem, plugins) {
|
154
|
+
|
155
|
+
// If plugins is undefined, just grab everything
|
156
|
+
if (typeof plugins === 'undefined') {
|
157
|
+
plugins = Object.keys(this._plugins);
|
158
|
+
}
|
159
|
+
// If plugins is a string, convert it to an array with one item
|
160
|
+
else if (typeof plugins === 'string') {
|
161
|
+
plugins = [plugins];
|
162
|
+
}
|
163
|
+
|
164
|
+
var _this = this;
|
165
|
+
|
166
|
+
// Iterate through each plugin
|
167
|
+
$.each(plugins, function (i, name) {
|
168
|
+
// Get the current plugin
|
169
|
+
var plugin = _this._plugins[name];
|
170
|
+
|
171
|
+
// Localize the search to all elements inside elem, as well as elem itself, unless elem === document
|
172
|
+
var $elem = $(elem).find('[data-' + name + ']').addBack('[data-' + name + ']');
|
173
|
+
|
174
|
+
// For each plugin found, initialize it
|
175
|
+
$elem.each(function () {
|
176
|
+
var $el = $(this),
|
177
|
+
opts = {};
|
178
|
+
// Don't double-dip on plugins
|
179
|
+
if ($el.data('zfPlugin')) {
|
180
|
+
console.warn("Tried to initialize " + name + " on an element that already has a Foundation plugin.");
|
181
|
+
return;
|
182
|
+
}
|
183
|
+
|
184
|
+
if ($el.attr('data-options')) {
|
185
|
+
var thing = $el.attr('data-options').split(';').forEach(function (e, i) {
|
186
|
+
var opt = e.split(':').map(function (el) {
|
187
|
+
return el.trim();
|
188
|
+
});
|
189
|
+
if (opt[0]) opts[opt[0]] = parseValue(opt[1]);
|
190
|
+
});
|
191
|
+
}
|
192
|
+
try {
|
193
|
+
$el.data('zfPlugin', new plugin($(this), opts));
|
194
|
+
} catch (er) {
|
195
|
+
console.error(er);
|
196
|
+
} finally {
|
197
|
+
return;
|
198
|
+
}
|
199
|
+
});
|
200
|
+
});
|
201
|
+
},
|
202
|
+
getFnName: functionName,
|
203
|
+
transitionend: function ($elem) {
|
204
|
+
var transitions = {
|
205
|
+
'transition': 'transitionend',
|
206
|
+
'WebkitTransition': 'webkitTransitionEnd',
|
207
|
+
'MozTransition': 'transitionend',
|
208
|
+
'OTransition': 'otransitionend'
|
209
|
+
};
|
210
|
+
var elem = document.createElement('div'),
|
211
|
+
end;
|
212
|
+
|
213
|
+
for (var t in transitions) {
|
214
|
+
if (typeof elem.style[t] !== 'undefined') {
|
215
|
+
end = transitions[t];
|
216
|
+
}
|
217
|
+
}
|
218
|
+
if (end) {
|
219
|
+
return end;
|
220
|
+
} else {
|
221
|
+
end = setTimeout(function () {
|
222
|
+
$elem.triggerHandler('transitionend', [$elem]);
|
223
|
+
}, 1);
|
224
|
+
return 'transitionend';
|
225
|
+
}
|
226
|
+
}
|
227
|
+
};
|
228
|
+
|
229
|
+
Foundation.util = {
|
230
|
+
/**
|
231
|
+
* Function for applying a debounce effect to a function call.
|
232
|
+
* @function
|
233
|
+
* @param {Function} func - Function to be called at end of timeout.
|
234
|
+
* @param {Number} delay - Time in ms to delay the call of `func`.
|
235
|
+
* @returns function
|
236
|
+
*/
|
237
|
+
throttle: function (func, delay) {
|
238
|
+
var timer = null;
|
239
|
+
|
240
|
+
return function () {
|
241
|
+
var context = this,
|
242
|
+
args = arguments;
|
243
|
+
|
244
|
+
if (timer === null) {
|
245
|
+
timer = setTimeout(function () {
|
246
|
+
func.apply(context, args);
|
247
|
+
timer = null;
|
248
|
+
}, delay);
|
249
|
+
}
|
250
|
+
};
|
251
|
+
}
|
252
|
+
};
|
253
|
+
|
254
|
+
// TODO: consider not making this a jQuery function
|
255
|
+
// TODO: need way to reflow vs. re-initialize
|
256
|
+
/**
|
257
|
+
* The Foundation jQuery method.
|
258
|
+
* @param {String|Array} method - An action to perform on the current jQuery object.
|
259
|
+
*/
|
260
|
+
var foundation = function (method) {
|
261
|
+
var type = typeof method,
|
262
|
+
$meta = $('meta.foundation-mq'),
|
263
|
+
$noJS = $('.no-js');
|
264
|
+
|
265
|
+
if (!$meta.length) {
|
266
|
+
$('<meta class="foundation-mq">').appendTo(document.head);
|
267
|
+
}
|
268
|
+
if ($noJS.length) {
|
269
|
+
$noJS.removeClass('no-js');
|
270
|
+
}
|
271
|
+
|
272
|
+
if (type === 'undefined') {
|
273
|
+
//needs to initialize the Foundation object, or an individual plugin.
|
274
|
+
Foundation.MediaQuery._init();
|
275
|
+
Foundation.reflow(this);
|
276
|
+
} else if (type === 'string') {
|
277
|
+
//an individual method to invoke on a plugin or group of plugins
|
278
|
+
var args = Array.prototype.slice.call(arguments, 1); //collect all the arguments, if necessary
|
279
|
+
var plugClass = this.data('zfPlugin'); //determine the class of plugin
|
280
|
+
|
281
|
+
if (plugClass !== undefined && plugClass[method] !== undefined) {
|
282
|
+
//make sure both the class and method exist
|
283
|
+
if (this.length === 1) {
|
284
|
+
//if there's only one, call it directly.
|
285
|
+
plugClass[method].apply(plugClass, args);
|
286
|
+
} else {
|
287
|
+
this.each(function (i, el) {
|
288
|
+
//otherwise loop through the jQuery collection and invoke the method on each
|
289
|
+
plugClass[method].apply($(el).data('zfPlugin'), args);
|
290
|
+
});
|
291
|
+
}
|
292
|
+
} else {
|
293
|
+
//error for no class or no method
|
294
|
+
throw new ReferenceError("We're sorry, '" + method + "' is not an available method for " + (plugClass ? functionName(plugClass) : 'this element') + '.');
|
295
|
+
}
|
296
|
+
} else {
|
297
|
+
//error for invalid argument type
|
298
|
+
throw new TypeError('We\'re sorry, ' + type + ' is not a valid parameter. You must use a string representing the method you wish to invoke.');
|
299
|
+
}
|
300
|
+
return this;
|
301
|
+
};
|
302
|
+
|
303
|
+
window.Foundation = Foundation;
|
304
|
+
$.fn.foundation = foundation;
|
305
|
+
|
306
|
+
// Polyfill for requestAnimationFrame
|
307
|
+
(function () {
|
308
|
+
if (!Date.now || !window.Date.now) window.Date.now = Date.now = function () {
|
309
|
+
return new Date().getTime();
|
310
|
+
};
|
311
|
+
|
312
|
+
var vendors = ['webkit', 'moz'];
|
313
|
+
for (var i = 0; i < vendors.length && !window.requestAnimationFrame; ++i) {
|
314
|
+
var vp = vendors[i];
|
315
|
+
window.requestAnimationFrame = window[vp + 'RequestAnimationFrame'];
|
316
|
+
window.cancelAnimationFrame = window[vp + 'CancelAnimationFrame'] || window[vp + 'CancelRequestAnimationFrame'];
|
317
|
+
}
|
318
|
+
if (/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) || !window.requestAnimationFrame || !window.cancelAnimationFrame) {
|
319
|
+
var lastTime = 0;
|
320
|
+
window.requestAnimationFrame = function (callback) {
|
321
|
+
var now = Date.now();
|
322
|
+
var nextTime = Math.max(lastTime + 16, now);
|
323
|
+
return setTimeout(function () {
|
324
|
+
callback(lastTime = nextTime);
|
325
|
+
}, nextTime - now);
|
326
|
+
};
|
327
|
+
window.cancelAnimationFrame = clearTimeout;
|
328
|
+
}
|
329
|
+
/**
|
330
|
+
* Polyfill for performance.now, required by rAF
|
331
|
+
*/
|
332
|
+
if (!window.performance || !window.performance.now) {
|
333
|
+
window.performance = {
|
334
|
+
start: Date.now(),
|
335
|
+
now: function () {
|
336
|
+
return Date.now() - this.start;
|
337
|
+
}
|
338
|
+
};
|
339
|
+
}
|
340
|
+
})();
|
341
|
+
if (!Function.prototype.bind) {
|
342
|
+
Function.prototype.bind = function (oThis) {
|
343
|
+
if (typeof this !== 'function') {
|
344
|
+
// closest thing possible to the ECMAScript 5
|
345
|
+
// internal IsCallable function
|
346
|
+
throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
|
347
|
+
}
|
348
|
+
|
349
|
+
var aArgs = Array.prototype.slice.call(arguments, 1),
|
350
|
+
fToBind = this,
|
351
|
+
fNOP = function () {},
|
352
|
+
fBound = function () {
|
353
|
+
return fToBind.apply(this instanceof fNOP ? this : oThis, aArgs.concat(Array.prototype.slice.call(arguments)));
|
354
|
+
};
|
355
|
+
|
356
|
+
if (this.prototype) {
|
357
|
+
// native functions don't have a prototype
|
358
|
+
fNOP.prototype = this.prototype;
|
359
|
+
}
|
360
|
+
fBound.prototype = new fNOP();
|
361
|
+
|
362
|
+
return fBound;
|
363
|
+
};
|
364
|
+
}
|
365
|
+
// Polyfill to get the name of a function in IE9
|
366
|
+
function functionName(fn) {
|
367
|
+
if (Function.prototype.name === undefined) {
|
368
|
+
var funcNameRegex = /function\s([^(]{1,})\(/;
|
369
|
+
var results = funcNameRegex.exec(fn.toString());
|
370
|
+
return results && results.length > 1 ? results[1].trim() : "";
|
371
|
+
} else if (fn.prototype === undefined) {
|
372
|
+
return fn.constructor.name;
|
373
|
+
} else {
|
374
|
+
return fn.prototype.constructor.name;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
function parseValue(str) {
|
378
|
+
if (/true/.test(str)) return true;else if (/false/.test(str)) return false;else if (!isNaN(str * 1)) return parseFloat(str);
|
379
|
+
return str;
|
380
|
+
}
|
381
|
+
// Convert PascalCase to kebab-case
|
382
|
+
// Thank you: http://stackoverflow.com/a/8955580
|
383
|
+
function hyphenate(str) {
|
384
|
+
return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
385
|
+
}
|
386
|
+
}(jQuery);
|
@@ -0,0 +1,409 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
4
|
+
|
5
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6
|
+
|
7
|
+
!function ($) {
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Drilldown module.
|
11
|
+
* @module foundation.drilldown
|
12
|
+
* @requires foundation.util.keyboard
|
13
|
+
* @requires foundation.util.motion
|
14
|
+
* @requires foundation.util.nest
|
15
|
+
*/
|
16
|
+
|
17
|
+
var Drilldown = function () {
|
18
|
+
/**
|
19
|
+
* Creates a new instance of a drilldown menu.
|
20
|
+
* @class
|
21
|
+
* @param {jQuery} element - jQuery object to make into an accordion menu.
|
22
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
23
|
+
*/
|
24
|
+
|
25
|
+
function Drilldown(element, options) {
|
26
|
+
_classCallCheck(this, Drilldown);
|
27
|
+
|
28
|
+
this.$element = element;
|
29
|
+
this.options = $.extend({}, Drilldown.defaults, this.$element.data(), options);
|
30
|
+
|
31
|
+
Foundation.Nest.Feather(this.$element, 'drilldown');
|
32
|
+
|
33
|
+
this._init();
|
34
|
+
|
35
|
+
Foundation.registerPlugin(this, 'Drilldown');
|
36
|
+
Foundation.Keyboard.register('Drilldown', {
|
37
|
+
'ENTER': 'open',
|
38
|
+
'SPACE': 'open',
|
39
|
+
'ARROW_RIGHT': 'next',
|
40
|
+
'ARROW_UP': 'up',
|
41
|
+
'ARROW_DOWN': 'down',
|
42
|
+
'ARROW_LEFT': 'previous',
|
43
|
+
'ESCAPE': 'close',
|
44
|
+
'TAB': 'down',
|
45
|
+
'SHIFT_TAB': 'up'
|
46
|
+
});
|
47
|
+
}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Initializes the drilldown by creating jQuery collections of elements
|
51
|
+
* @private
|
52
|
+
*/
|
53
|
+
|
54
|
+
|
55
|
+
_createClass(Drilldown, [{
|
56
|
+
key: '_init',
|
57
|
+
value: function _init() {
|
58
|
+
this.$submenuAnchors = this.$element.find('li.is-drilldown-submenu-parent').children('a');
|
59
|
+
this.$submenus = this.$submenuAnchors.parent('li').children('[data-submenu]');
|
60
|
+
this.$menuItems = this.$element.find('li').not('.js-drilldown-back').attr('role', 'menuitem').find('a');
|
61
|
+
|
62
|
+
this._prepareMenu();
|
63
|
+
|
64
|
+
this._keyboardEvents();
|
65
|
+
}
|
66
|
+
|
67
|
+
/**
|
68
|
+
* prepares drilldown menu by setting attributes to links and elements
|
69
|
+
* sets a min height to prevent content jumping
|
70
|
+
* wraps the element if not already wrapped
|
71
|
+
* @private
|
72
|
+
* @function
|
73
|
+
*/
|
74
|
+
|
75
|
+
}, {
|
76
|
+
key: '_prepareMenu',
|
77
|
+
value: function _prepareMenu() {
|
78
|
+
var _this = this;
|
79
|
+
// if(!this.options.holdOpen){
|
80
|
+
// this._menuLinkEvents();
|
81
|
+
// }
|
82
|
+
this.$submenuAnchors.each(function () {
|
83
|
+
var $link = $(this);
|
84
|
+
var $sub = $link.parent();
|
85
|
+
if (_this.options.parentLink) {
|
86
|
+
$link.clone().prependTo($sub.children('[data-submenu]')).wrap('<li class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="menu-item"></li>');
|
87
|
+
}
|
88
|
+
$link.data('savedHref', $link.attr('href')).removeAttr('href');
|
89
|
+
$link.children('[data-submenu]').attr({
|
90
|
+
'aria-hidden': true,
|
91
|
+
'tabindex': 0,
|
92
|
+
'role': 'menu'
|
93
|
+
});
|
94
|
+
_this._events($link);
|
95
|
+
});
|
96
|
+
this.$submenus.each(function () {
|
97
|
+
var $menu = $(this),
|
98
|
+
$back = $menu.find('.js-drilldown-back');
|
99
|
+
if (!$back.length) {
|
100
|
+
$menu.prepend(_this.options.backButton);
|
101
|
+
}
|
102
|
+
_this._back($menu);
|
103
|
+
});
|
104
|
+
if (!this.$element.parent().hasClass('is-drilldown')) {
|
105
|
+
this.$wrapper = $(this.options.wrapper).addClass('is-drilldown');
|
106
|
+
this.$wrapper = this.$element.wrap(this.$wrapper).parent().css(this._getMaxDims());
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Adds event handlers to elements in the menu.
|
112
|
+
* @function
|
113
|
+
* @private
|
114
|
+
* @param {jQuery} $elem - the current menu item to add handlers to.
|
115
|
+
*/
|
116
|
+
|
117
|
+
}, {
|
118
|
+
key: '_events',
|
119
|
+
value: function _events($elem) {
|
120
|
+
var _this = this;
|
121
|
+
|
122
|
+
$elem.off('click.zf.drilldown').on('click.zf.drilldown', function (e) {
|
123
|
+
if ($(e.target).parentsUntil('ul', 'li').hasClass('is-drilldown-submenu-parent')) {
|
124
|
+
e.stopImmediatePropagation();
|
125
|
+
e.preventDefault();
|
126
|
+
}
|
127
|
+
|
128
|
+
// if(e.target !== e.currentTarget.firstElementChild){
|
129
|
+
// return false;
|
130
|
+
// }
|
131
|
+
_this._show($elem.parent('li'));
|
132
|
+
|
133
|
+
if (_this.options.closeOnClick) {
|
134
|
+
var $body = $('body');
|
135
|
+
$body.off('.zf.drilldown').on('click.zf.drilldown', function (e) {
|
136
|
+
if (e.target === _this.$element[0] || $.contains(_this.$element[0], e.target)) {
|
137
|
+
return;
|
138
|
+
}
|
139
|
+
e.preventDefault();
|
140
|
+
_this._hideAll();
|
141
|
+
$body.off('.zf.drilldown');
|
142
|
+
});
|
143
|
+
}
|
144
|
+
});
|
145
|
+
}
|
146
|
+
|
147
|
+
/**
|
148
|
+
* Adds keydown event listener to `li`'s in the menu.
|
149
|
+
* @private
|
150
|
+
*/
|
151
|
+
|
152
|
+
}, {
|
153
|
+
key: '_keyboardEvents',
|
154
|
+
value: function _keyboardEvents() {
|
155
|
+
var _this = this;
|
156
|
+
|
157
|
+
this.$menuItems.add(this.$element.find('.js-drilldown-back > a')).on('keydown.zf.drilldown', function (e) {
|
158
|
+
|
159
|
+
var $element = $(this),
|
160
|
+
$elements = $element.parent('li').parent('ul').children('li').children('a'),
|
161
|
+
$prevElement,
|
162
|
+
$nextElement;
|
163
|
+
|
164
|
+
$elements.each(function (i) {
|
165
|
+
if ($(this).is($element)) {
|
166
|
+
$prevElement = $elements.eq(Math.max(0, i - 1));
|
167
|
+
$nextElement = $elements.eq(Math.min(i + 1, $elements.length - 1));
|
168
|
+
return;
|
169
|
+
}
|
170
|
+
});
|
171
|
+
|
172
|
+
Foundation.Keyboard.handleKey(e, 'Drilldown', {
|
173
|
+
next: function () {
|
174
|
+
if ($element.is(_this.$submenuAnchors)) {
|
175
|
+
_this._show($element.parent('li'));
|
176
|
+
$element.parent('li').one(Foundation.transitionend($element), function () {
|
177
|
+
$element.parent('li').find('ul li a').filter(_this.$menuItems).first().focus();
|
178
|
+
});
|
179
|
+
return true;
|
180
|
+
}
|
181
|
+
},
|
182
|
+
previous: function () {
|
183
|
+
_this._hide($element.parent('li').parent('ul'));
|
184
|
+
$element.parent('li').parent('ul').one(Foundation.transitionend($element), function () {
|
185
|
+
setTimeout(function () {
|
186
|
+
$element.parent('li').parent('ul').parent('li').children('a').first().focus();
|
187
|
+
}, 1);
|
188
|
+
});
|
189
|
+
return true;
|
190
|
+
},
|
191
|
+
up: function () {
|
192
|
+
$prevElement.focus();
|
193
|
+
return true;
|
194
|
+
},
|
195
|
+
down: function () {
|
196
|
+
$nextElement.focus();
|
197
|
+
return true;
|
198
|
+
},
|
199
|
+
close: function () {
|
200
|
+
_this._back();
|
201
|
+
//_this.$menuItems.first().focus(); // focus to first element
|
202
|
+
},
|
203
|
+
open: function () {
|
204
|
+
if (!$element.is(_this.$menuItems)) {
|
205
|
+
// not menu item means back button
|
206
|
+
_this._hide($element.parent('li').parent('ul'));
|
207
|
+
$element.parent('li').parent('ul').one(Foundation.transitionend($element), function () {
|
208
|
+
setTimeout(function () {
|
209
|
+
$element.parent('li').parent('ul').parent('li').children('a').first().focus();
|
210
|
+
}, 1);
|
211
|
+
});
|
212
|
+
} else if ($element.is(_this.$submenuAnchors)) {
|
213
|
+
_this._show($element.parent('li'));
|
214
|
+
$element.parent('li').one(Foundation.transitionend($element), function () {
|
215
|
+
$element.parent('li').find('ul li a').filter(_this.$menuItems).first().focus();
|
216
|
+
});
|
217
|
+
}
|
218
|
+
return true;
|
219
|
+
},
|
220
|
+
handled: function (preventDefault) {
|
221
|
+
if (preventDefault) {
|
222
|
+
e.preventDefault();
|
223
|
+
}
|
224
|
+
e.stopImmediatePropagation();
|
225
|
+
}
|
226
|
+
});
|
227
|
+
}); // end keyboardAccess
|
228
|
+
}
|
229
|
+
|
230
|
+
/**
|
231
|
+
* Closes all open elements, and returns to root menu.
|
232
|
+
* @function
|
233
|
+
* @fires Drilldown#closed
|
234
|
+
*/
|
235
|
+
|
236
|
+
}, {
|
237
|
+
key: '_hideAll',
|
238
|
+
value: function _hideAll() {
|
239
|
+
var $elem = this.$element.find('.is-drilldown-submenu.is-active').addClass('is-closing');
|
240
|
+
$elem.one(Foundation.transitionend($elem), function (e) {
|
241
|
+
$elem.removeClass('is-active is-closing');
|
242
|
+
});
|
243
|
+
/**
|
244
|
+
* Fires when the menu is fully closed.
|
245
|
+
* @event Drilldown#closed
|
246
|
+
*/
|
247
|
+
this.$element.trigger('closed.zf.drilldown');
|
248
|
+
}
|
249
|
+
|
250
|
+
/**
|
251
|
+
* Adds event listener for each `back` button, and closes open menus.
|
252
|
+
* @function
|
253
|
+
* @fires Drilldown#back
|
254
|
+
* @param {jQuery} $elem - the current sub-menu to add `back` event.
|
255
|
+
*/
|
256
|
+
|
257
|
+
}, {
|
258
|
+
key: '_back',
|
259
|
+
value: function _back($elem) {
|
260
|
+
var _this = this;
|
261
|
+
$elem.off('click.zf.drilldown');
|
262
|
+
$elem.children('.js-drilldown-back').on('click.zf.drilldown', function (e) {
|
263
|
+
e.stopImmediatePropagation();
|
264
|
+
// console.log('mouseup on back');
|
265
|
+
_this._hide($elem);
|
266
|
+
});
|
267
|
+
}
|
268
|
+
|
269
|
+
/**
|
270
|
+
* Adds event listener to menu items w/o submenus to close open menus on click.
|
271
|
+
* @function
|
272
|
+
* @private
|
273
|
+
*/
|
274
|
+
|
275
|
+
}, {
|
276
|
+
key: '_menuLinkEvents',
|
277
|
+
value: function _menuLinkEvents() {
|
278
|
+
var _this = this;
|
279
|
+
this.$menuItems.not('.is-drilldown-submenu-parent').off('click.zf.drilldown').on('click.zf.drilldown', function (e) {
|
280
|
+
// e.stopImmediatePropagation();
|
281
|
+
setTimeout(function () {
|
282
|
+
_this._hideAll();
|
283
|
+
}, 0);
|
284
|
+
});
|
285
|
+
}
|
286
|
+
|
287
|
+
/**
|
288
|
+
* Opens a submenu.
|
289
|
+
* @function
|
290
|
+
* @fires Drilldown#open
|
291
|
+
* @param {jQuery} $elem - the current element with a submenu to open, i.e. the `li` tag.
|
292
|
+
*/
|
293
|
+
|
294
|
+
}, {
|
295
|
+
key: '_show',
|
296
|
+
value: function _show($elem) {
|
297
|
+
$elem.children('[data-submenu]').addClass('is-active');
|
298
|
+
/**
|
299
|
+
* Fires when the submenu has opened.
|
300
|
+
* @event Drilldown#open
|
301
|
+
*/
|
302
|
+
this.$element.trigger('open.zf.drilldown', [$elem]);
|
303
|
+
}
|
304
|
+
}, {
|
305
|
+
key: '_hide',
|
306
|
+
|
307
|
+
|
308
|
+
/**
|
309
|
+
* Hides a submenu
|
310
|
+
* @function
|
311
|
+
* @fires Drilldown#hide
|
312
|
+
* @param {jQuery} $elem - the current sub-menu to hide, i.e. the `ul` tag.
|
313
|
+
*/
|
314
|
+
value: function _hide($elem) {
|
315
|
+
var _this = this;
|
316
|
+
$elem.addClass('is-closing').one(Foundation.transitionend($elem), function () {
|
317
|
+
$elem.removeClass('is-active is-closing');
|
318
|
+
$elem.blur();
|
319
|
+
});
|
320
|
+
/**
|
321
|
+
* Fires when the submenu has closed.
|
322
|
+
* @event Drilldown#hide
|
323
|
+
*/
|
324
|
+
$elem.trigger('hide.zf.drilldown', [$elem]);
|
325
|
+
}
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Iterates through the nested menus to calculate the min-height, and max-width for the menu.
|
329
|
+
* Prevents content jumping.
|
330
|
+
* @function
|
331
|
+
* @private
|
332
|
+
*/
|
333
|
+
|
334
|
+
}, {
|
335
|
+
key: '_getMaxDims',
|
336
|
+
value: function _getMaxDims() {
|
337
|
+
var max = 0,
|
338
|
+
result = {};
|
339
|
+
this.$submenus.add(this.$element).each(function () {
|
340
|
+
var numOfElems = $(this).children('li').length;
|
341
|
+
max = numOfElems > max ? numOfElems : max;
|
342
|
+
});
|
343
|
+
|
344
|
+
result['min-height'] = max * this.$menuItems[0].getBoundingClientRect().height + 'px';
|
345
|
+
result['max-width'] = this.$element[0].getBoundingClientRect().width + 'px';
|
346
|
+
|
347
|
+
return result;
|
348
|
+
}
|
349
|
+
|
350
|
+
/**
|
351
|
+
* Destroys the Drilldown Menu
|
352
|
+
* @function
|
353
|
+
*/
|
354
|
+
|
355
|
+
}, {
|
356
|
+
key: 'destroy',
|
357
|
+
value: function destroy() {
|
358
|
+
this._hideAll();
|
359
|
+
Foundation.Nest.Burn(this.$element, 'drilldown');
|
360
|
+
this.$element.unwrap().find('.js-drilldown-back, .is-submenu-parent-item').remove().end().find('.is-active, .is-closing, .is-drilldown-submenu').removeClass('is-active is-closing is-drilldown-submenu').end().find('[data-submenu]').removeAttr('aria-hidden tabindex role');
|
361
|
+
this.$submenuAnchors.each(function () {
|
362
|
+
$(this).off('.zf.drilldown');
|
363
|
+
});
|
364
|
+
this.$element.find('a').each(function () {
|
365
|
+
var $link = $(this);
|
366
|
+
if ($link.data('savedHref')) {
|
367
|
+
$link.attr('href', $link.data('savedHref')).removeData('savedHref');
|
368
|
+
} else {
|
369
|
+
return;
|
370
|
+
}
|
371
|
+
});
|
372
|
+
Foundation.unregisterPlugin(this);
|
373
|
+
}
|
374
|
+
}]);
|
375
|
+
|
376
|
+
return Drilldown;
|
377
|
+
}();
|
378
|
+
|
379
|
+
Drilldown.defaults = {
|
380
|
+
/**
|
381
|
+
* Markup used for JS generated back button. Prepended to submenu lists and deleted on `destroy` method, 'js-drilldown-back' class required. Remove the backslash (`\`) if copy and pasting.
|
382
|
+
* @option
|
383
|
+
* @example '<\li><\a>Back<\/a><\/li>'
|
384
|
+
*/
|
385
|
+
backButton: '<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',
|
386
|
+
/**
|
387
|
+
* Markup used to wrap drilldown menu. Use a class name for independent styling; the JS applied class: `is-drilldown` is required. Remove the backslash (`\`) if copy and pasting.
|
388
|
+
* @option
|
389
|
+
* @example '<\div class="is-drilldown"><\/div>'
|
390
|
+
*/
|
391
|
+
wrapper: '<div></div>',
|
392
|
+
/**
|
393
|
+
* Adds the parent link to the submenu.
|
394
|
+
* @option
|
395
|
+
* @example false
|
396
|
+
*/
|
397
|
+
parentLink: false,
|
398
|
+
/**
|
399
|
+
* Allow the menu to return to root list on body click.
|
400
|
+
* @option
|
401
|
+
* @example false
|
402
|
+
*/
|
403
|
+
closeOnClick: false
|
404
|
+
// holdOpen: false
|
405
|
+
};
|
406
|
+
|
407
|
+
// Window exports
|
408
|
+
Foundation.plugin(Drilldown, 'Drilldown');
|
409
|
+
}(jQuery);
|