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,262 @@
|
|
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
|
+
* Accordion module.
|
11
|
+
* @module foundation.accordion
|
12
|
+
* @requires foundation.util.keyboard
|
13
|
+
* @requires foundation.util.motion
|
14
|
+
*/
|
15
|
+
|
16
|
+
var Accordion = function () {
|
17
|
+
/**
|
18
|
+
* Creates a new instance of an accordion.
|
19
|
+
* @class
|
20
|
+
* @fires Accordion#init
|
21
|
+
* @param {jQuery} element - jQuery object to make into an accordion.
|
22
|
+
* @param {Object} options - a plain object with settings to override the default options.
|
23
|
+
*/
|
24
|
+
|
25
|
+
function Accordion(element, options) {
|
26
|
+
_classCallCheck(this, Accordion);
|
27
|
+
|
28
|
+
this.$element = element;
|
29
|
+
this.options = $.extend({}, Accordion.defaults, this.$element.data(), options);
|
30
|
+
|
31
|
+
this._init();
|
32
|
+
|
33
|
+
Foundation.registerPlugin(this, 'Accordion');
|
34
|
+
Foundation.Keyboard.register('Accordion', {
|
35
|
+
'ENTER': 'toggle',
|
36
|
+
'SPACE': 'toggle',
|
37
|
+
'ARROW_DOWN': 'next',
|
38
|
+
'ARROW_UP': 'previous'
|
39
|
+
});
|
40
|
+
}
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Initializes the accordion by animating the preset active pane(s).
|
44
|
+
* @private
|
45
|
+
*/
|
46
|
+
|
47
|
+
|
48
|
+
_createClass(Accordion, [{
|
49
|
+
key: '_init',
|
50
|
+
value: function _init() {
|
51
|
+
this.$element.attr('role', 'tablist');
|
52
|
+
this.$tabs = this.$element.children('li, [data-accordion-item]');
|
53
|
+
|
54
|
+
this.$tabs.each(function (idx, el) {
|
55
|
+
var $el = $(el),
|
56
|
+
$content = $el.children('[data-tab-content]'),
|
57
|
+
id = $content[0].id || Foundation.GetYoDigits(6, 'accordion'),
|
58
|
+
linkId = el.id || id + '-label';
|
59
|
+
|
60
|
+
$el.find('a:first').attr({
|
61
|
+
'aria-controls': id,
|
62
|
+
'role': 'tab',
|
63
|
+
'id': linkId,
|
64
|
+
'aria-expanded': false,
|
65
|
+
'aria-selected': false
|
66
|
+
});
|
67
|
+
|
68
|
+
$content.attr({ 'role': 'tabpanel', 'aria-labelledby': linkId, 'aria-hidden': true, 'id': id });
|
69
|
+
});
|
70
|
+
var $initActive = this.$element.find('.is-active').children('[data-tab-content]');
|
71
|
+
if ($initActive.length) {
|
72
|
+
this.down($initActive, true);
|
73
|
+
}
|
74
|
+
this._events();
|
75
|
+
}
|
76
|
+
|
77
|
+
/**
|
78
|
+
* Adds event handlers for items within the accordion.
|
79
|
+
* @private
|
80
|
+
*/
|
81
|
+
|
82
|
+
}, {
|
83
|
+
key: '_events',
|
84
|
+
value: function _events() {
|
85
|
+
var _this = this;
|
86
|
+
|
87
|
+
this.$tabs.each(function () {
|
88
|
+
var $elem = $(this);
|
89
|
+
var $tabContent = $elem.children('[data-tab-content]');
|
90
|
+
if ($tabContent.length) {
|
91
|
+
$elem.children('a').off('click.zf.accordion keydown.zf.accordion').on('click.zf.accordion', function (e) {
|
92
|
+
// $(this).children('a').on('click.zf.accordion', function(e) {
|
93
|
+
e.preventDefault();
|
94
|
+
if ($elem.hasClass('is-active')) {
|
95
|
+
if (_this.options.allowAllClosed || $elem.siblings().hasClass('is-active')) {
|
96
|
+
_this.up($tabContent);
|
97
|
+
}
|
98
|
+
} else {
|
99
|
+
_this.down($tabContent);
|
100
|
+
}
|
101
|
+
}).on('keydown.zf.accordion', function (e) {
|
102
|
+
Foundation.Keyboard.handleKey(e, 'Accordion', {
|
103
|
+
toggle: function () {
|
104
|
+
_this.toggle($tabContent);
|
105
|
+
},
|
106
|
+
next: function () {
|
107
|
+
var $a = $elem.next().find('a').focus();
|
108
|
+
if (!_this.options.multiExpand) {
|
109
|
+
$a.trigger('click.zf.accordion');
|
110
|
+
}
|
111
|
+
},
|
112
|
+
previous: function () {
|
113
|
+
var $a = $elem.prev().find('a').focus();
|
114
|
+
if (!_this.options.multiExpand) {
|
115
|
+
$a.trigger('click.zf.accordion');
|
116
|
+
}
|
117
|
+
},
|
118
|
+
handled: function () {
|
119
|
+
e.preventDefault();
|
120
|
+
e.stopPropagation();
|
121
|
+
}
|
122
|
+
});
|
123
|
+
});
|
124
|
+
}
|
125
|
+
});
|
126
|
+
}
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Toggles the selected content pane's open/close state.
|
130
|
+
* @param {jQuery} $target - jQuery object of the pane to toggle.
|
131
|
+
* @function
|
132
|
+
*/
|
133
|
+
|
134
|
+
}, {
|
135
|
+
key: 'toggle',
|
136
|
+
value: function toggle($target) {
|
137
|
+
if ($target.parent().hasClass('is-active')) {
|
138
|
+
if (this.options.allowAllClosed || $target.parent().siblings().hasClass('is-active')) {
|
139
|
+
this.up($target);
|
140
|
+
} else {
|
141
|
+
return;
|
142
|
+
}
|
143
|
+
} else {
|
144
|
+
this.down($target);
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
/**
|
149
|
+
* Opens the accordion tab defined by `$target`.
|
150
|
+
* @param {jQuery} $target - Accordion pane to open.
|
151
|
+
* @param {Boolean} firstTime - flag to determine if reflow should happen.
|
152
|
+
* @fires Accordion#down
|
153
|
+
* @function
|
154
|
+
*/
|
155
|
+
|
156
|
+
}, {
|
157
|
+
key: 'down',
|
158
|
+
value: function down($target, firstTime) {
|
159
|
+
var _this2 = this;
|
160
|
+
|
161
|
+
if (!this.options.multiExpand && !firstTime) {
|
162
|
+
var $currentActive = this.$element.children('.is-active').children('[data-tab-content]');
|
163
|
+
if ($currentActive.length) {
|
164
|
+
this.up($currentActive);
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
$target.attr('aria-hidden', false).parent('[data-tab-content]').addBack().parent().addClass('is-active');
|
169
|
+
|
170
|
+
$target.slideDown(this.options.slideSpeed, function () {
|
171
|
+
/**
|
172
|
+
* Fires when the tab is done opening.
|
173
|
+
* @event Accordion#down
|
174
|
+
*/
|
175
|
+
_this2.$element.trigger('down.zf.accordion', [$target]);
|
176
|
+
});
|
177
|
+
|
178
|
+
$('#' + $target.attr('aria-labelledby')).attr({
|
179
|
+
'aria-expanded': true,
|
180
|
+
'aria-selected': true
|
181
|
+
});
|
182
|
+
}
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Closes the tab defined by `$target`.
|
186
|
+
* @param {jQuery} $target - Accordion tab to close.
|
187
|
+
* @fires Accordion#up
|
188
|
+
* @function
|
189
|
+
*/
|
190
|
+
|
191
|
+
}, {
|
192
|
+
key: 'up',
|
193
|
+
value: function up($target) {
|
194
|
+
var $aunts = $target.parent().siblings(),
|
195
|
+
_this = this;
|
196
|
+
var canClose = this.options.multiExpand ? $aunts.hasClass('is-active') : $target.parent().hasClass('is-active');
|
197
|
+
|
198
|
+
if (!this.options.allowAllClosed && !canClose) {
|
199
|
+
return;
|
200
|
+
}
|
201
|
+
|
202
|
+
// Foundation.Move(this.options.slideSpeed, $target, function(){
|
203
|
+
$target.slideUp(_this.options.slideSpeed, function () {
|
204
|
+
/**
|
205
|
+
* Fires when the tab is done collapsing up.
|
206
|
+
* @event Accordion#up
|
207
|
+
*/
|
208
|
+
_this.$element.trigger('up.zf.accordion', [$target]);
|
209
|
+
});
|
210
|
+
// });
|
211
|
+
|
212
|
+
$target.attr('aria-hidden', true).parent().removeClass('is-active');
|
213
|
+
|
214
|
+
$('#' + $target.attr('aria-labelledby')).attr({
|
215
|
+
'aria-expanded': false,
|
216
|
+
'aria-selected': false
|
217
|
+
});
|
218
|
+
}
|
219
|
+
|
220
|
+
/**
|
221
|
+
* Destroys an instance of an accordion.
|
222
|
+
* @fires Accordion#destroyed
|
223
|
+
* @function
|
224
|
+
*/
|
225
|
+
|
226
|
+
}, {
|
227
|
+
key: 'destroy',
|
228
|
+
value: function destroy() {
|
229
|
+
this.$element.find('[data-tab-content]').stop(true).slideUp(0).css('display', '');
|
230
|
+
this.$element.find('a').off('.zf.accordion');
|
231
|
+
|
232
|
+
Foundation.unregisterPlugin(this);
|
233
|
+
}
|
234
|
+
}]);
|
235
|
+
|
236
|
+
return Accordion;
|
237
|
+
}();
|
238
|
+
|
239
|
+
Accordion.defaults = {
|
240
|
+
/**
|
241
|
+
* Amount of time to animate the opening of an accordion pane.
|
242
|
+
* @option
|
243
|
+
* @example 250
|
244
|
+
*/
|
245
|
+
slideSpeed: 250,
|
246
|
+
/**
|
247
|
+
* Allow the accordion to have multiple open panes.
|
248
|
+
* @option
|
249
|
+
* @example false
|
250
|
+
*/
|
251
|
+
multiExpand: false,
|
252
|
+
/**
|
253
|
+
* Allow the accordion to close all panes.
|
254
|
+
* @option
|
255
|
+
* @example false
|
256
|
+
*/
|
257
|
+
allowAllClosed: false
|
258
|
+
};
|
259
|
+
|
260
|
+
// Window exports
|
261
|
+
Foundation.plugin(Accordion, 'Accordion');
|
262
|
+
}(jQuery);
|
@@ -0,0 +1,307 @@
|
|
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
|
+
* AccordionMenu module.
|
11
|
+
* @module foundation.accordionMenu
|
12
|
+
* @requires foundation.util.keyboard
|
13
|
+
* @requires foundation.util.motion
|
14
|
+
* @requires foundation.util.nest
|
15
|
+
*/
|
16
|
+
|
17
|
+
var AccordionMenu = function () {
|
18
|
+
/**
|
19
|
+
* Creates a new instance of an accordion menu.
|
20
|
+
* @class
|
21
|
+
* @fires AccordionMenu#init
|
22
|
+
* @param {jQuery} element - jQuery object to make into an accordion menu.
|
23
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
24
|
+
*/
|
25
|
+
|
26
|
+
function AccordionMenu(element, options) {
|
27
|
+
_classCallCheck(this, AccordionMenu);
|
28
|
+
|
29
|
+
this.$element = element;
|
30
|
+
this.options = $.extend({}, AccordionMenu.defaults, this.$element.data(), options);
|
31
|
+
|
32
|
+
Foundation.Nest.Feather(this.$element, 'accordion');
|
33
|
+
|
34
|
+
this._init();
|
35
|
+
|
36
|
+
Foundation.registerPlugin(this, 'AccordionMenu');
|
37
|
+
Foundation.Keyboard.register('AccordionMenu', {
|
38
|
+
'ENTER': 'toggle',
|
39
|
+
'SPACE': 'toggle',
|
40
|
+
'ARROW_RIGHT': 'open',
|
41
|
+
'ARROW_UP': 'up',
|
42
|
+
'ARROW_DOWN': 'down',
|
43
|
+
'ARROW_LEFT': 'close',
|
44
|
+
'ESCAPE': 'closeAll',
|
45
|
+
'TAB': 'down',
|
46
|
+
'SHIFT_TAB': 'up'
|
47
|
+
});
|
48
|
+
}
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Initializes the accordion menu by hiding all nested menus.
|
52
|
+
* @private
|
53
|
+
*/
|
54
|
+
|
55
|
+
|
56
|
+
_createClass(AccordionMenu, [{
|
57
|
+
key: '_init',
|
58
|
+
value: function _init() {
|
59
|
+
this.$element.find('[data-submenu]').not('.is-active').slideUp(0); //.find('a').css('padding-left', '1rem');
|
60
|
+
this.$element.attr({
|
61
|
+
'role': 'tablist',
|
62
|
+
'aria-multiselectable': this.options.multiOpen
|
63
|
+
});
|
64
|
+
|
65
|
+
this.$menuLinks = this.$element.find('.is-accordion-submenu-parent');
|
66
|
+
this.$menuLinks.each(function () {
|
67
|
+
var linkId = this.id || Foundation.GetYoDigits(6, 'acc-menu-link'),
|
68
|
+
$elem = $(this),
|
69
|
+
$sub = $elem.children('[data-submenu]'),
|
70
|
+
subId = $sub[0].id || Foundation.GetYoDigits(6, 'acc-menu'),
|
71
|
+
isActive = $sub.hasClass('is-active');
|
72
|
+
$elem.attr({
|
73
|
+
'aria-controls': subId,
|
74
|
+
'aria-expanded': isActive,
|
75
|
+
'role': 'tab',
|
76
|
+
'id': linkId
|
77
|
+
});
|
78
|
+
$sub.attr({
|
79
|
+
'aria-labelledby': linkId,
|
80
|
+
'aria-hidden': !isActive,
|
81
|
+
'role': 'tabpanel',
|
82
|
+
'id': subId
|
83
|
+
});
|
84
|
+
});
|
85
|
+
var initPanes = this.$element.find('.is-active');
|
86
|
+
if (initPanes.length) {
|
87
|
+
var _this = this;
|
88
|
+
initPanes.each(function () {
|
89
|
+
_this.down($(this));
|
90
|
+
});
|
91
|
+
}
|
92
|
+
this._events();
|
93
|
+
}
|
94
|
+
|
95
|
+
/**
|
96
|
+
* Adds event handlers for items within the menu.
|
97
|
+
* @private
|
98
|
+
*/
|
99
|
+
|
100
|
+
}, {
|
101
|
+
key: '_events',
|
102
|
+
value: function _events() {
|
103
|
+
var _this = this;
|
104
|
+
|
105
|
+
this.$element.find('li').each(function () {
|
106
|
+
var $submenu = $(this).children('[data-submenu]');
|
107
|
+
|
108
|
+
if ($submenu.length) {
|
109
|
+
$(this).children('a').off('click.zf.accordionMenu').on('click.zf.accordionMenu', function (e) {
|
110
|
+
e.preventDefault();
|
111
|
+
|
112
|
+
_this.toggle($submenu);
|
113
|
+
});
|
114
|
+
}
|
115
|
+
}).on('keydown.zf.accordionmenu', function (e) {
|
116
|
+
var $element = $(this),
|
117
|
+
$elements = $element.parent('ul').children('li'),
|
118
|
+
$prevElement,
|
119
|
+
$nextElement,
|
120
|
+
$target = $element.children('[data-submenu]');
|
121
|
+
|
122
|
+
$elements.each(function (i) {
|
123
|
+
if ($(this).is($element)) {
|
124
|
+
$prevElement = $elements.eq(Math.max(0, i - 1)).find('a').first();
|
125
|
+
$nextElement = $elements.eq(Math.min(i + 1, $elements.length - 1)).find('a').first();
|
126
|
+
|
127
|
+
if ($(this).children('[data-submenu]:visible').length) {
|
128
|
+
// has open sub menu
|
129
|
+
$nextElement = $element.find('li:first-child').find('a').first();
|
130
|
+
}
|
131
|
+
if ($(this).is(':first-child')) {
|
132
|
+
// is first element of sub menu
|
133
|
+
$prevElement = $element.parents('li').first().find('a').first();
|
134
|
+
} else if ($prevElement.children('[data-submenu]:visible').length) {
|
135
|
+
// if previous element has open sub menu
|
136
|
+
$prevElement = $prevElement.find('li:last-child').find('a').first();
|
137
|
+
}
|
138
|
+
if ($(this).is(':last-child')) {
|
139
|
+
// is last element of sub menu
|
140
|
+
$nextElement = $element.parents('li').first().next('li').find('a').first();
|
141
|
+
}
|
142
|
+
|
143
|
+
return;
|
144
|
+
}
|
145
|
+
});
|
146
|
+
Foundation.Keyboard.handleKey(e, 'AccordionMenu', {
|
147
|
+
open: function () {
|
148
|
+
if ($target.is(':hidden')) {
|
149
|
+
_this.down($target);
|
150
|
+
$target.find('li').first().find('a').first().focus();
|
151
|
+
}
|
152
|
+
},
|
153
|
+
close: function () {
|
154
|
+
if ($target.length && !$target.is(':hidden')) {
|
155
|
+
// close active sub of this item
|
156
|
+
_this.up($target);
|
157
|
+
} else if ($element.parent('[data-submenu]').length) {
|
158
|
+
// close currently open sub
|
159
|
+
_this.up($element.parent('[data-submenu]'));
|
160
|
+
$element.parents('li').first().find('a').first().focus();
|
161
|
+
}
|
162
|
+
},
|
163
|
+
up: function () {
|
164
|
+
$prevElement.attr('tabindex', -1).focus();
|
165
|
+
return true;
|
166
|
+
},
|
167
|
+
down: function () {
|
168
|
+
$nextElement.attr('tabindex', -1).focus();
|
169
|
+
return true;
|
170
|
+
},
|
171
|
+
toggle: function () {
|
172
|
+
if ($element.children('[data-submenu]').length) {
|
173
|
+
_this.toggle($element.children('[data-submenu]'));
|
174
|
+
}
|
175
|
+
},
|
176
|
+
closeAll: function () {
|
177
|
+
_this.hideAll();
|
178
|
+
},
|
179
|
+
handled: function (preventDefault) {
|
180
|
+
if (preventDefault) {
|
181
|
+
e.preventDefault();
|
182
|
+
}
|
183
|
+
e.stopImmediatePropagation();
|
184
|
+
}
|
185
|
+
});
|
186
|
+
}); //.attr('tabindex', 0);
|
187
|
+
}
|
188
|
+
|
189
|
+
/**
|
190
|
+
* Closes all panes of the menu.
|
191
|
+
* @function
|
192
|
+
*/
|
193
|
+
|
194
|
+
}, {
|
195
|
+
key: 'hideAll',
|
196
|
+
value: function hideAll() {
|
197
|
+
this.$element.find('[data-submenu]').slideUp(this.options.slideSpeed);
|
198
|
+
}
|
199
|
+
|
200
|
+
/**
|
201
|
+
* Toggles the open/close state of a submenu.
|
202
|
+
* @function
|
203
|
+
* @param {jQuery} $target - the submenu to toggle
|
204
|
+
*/
|
205
|
+
|
206
|
+
}, {
|
207
|
+
key: 'toggle',
|
208
|
+
value: function toggle($target) {
|
209
|
+
if (!$target.is(':animated')) {
|
210
|
+
if (!$target.is(':hidden')) {
|
211
|
+
this.up($target);
|
212
|
+
} else {
|
213
|
+
this.down($target);
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
/**
|
219
|
+
* Opens the sub-menu defined by `$target`.
|
220
|
+
* @param {jQuery} $target - Sub-menu to open.
|
221
|
+
* @fires AccordionMenu#down
|
222
|
+
*/
|
223
|
+
|
224
|
+
}, {
|
225
|
+
key: 'down',
|
226
|
+
value: function down($target) {
|
227
|
+
var _this = this;
|
228
|
+
|
229
|
+
if (!this.options.multiOpen) {
|
230
|
+
this.up(this.$element.find('.is-active').not($target.parentsUntil(this.$element).add($target)));
|
231
|
+
}
|
232
|
+
|
233
|
+
$target.addClass('is-active').attr({ 'aria-hidden': false }).parent('.is-accordion-submenu-parent').attr({ 'aria-expanded': true });
|
234
|
+
|
235
|
+
//Foundation.Move(this.options.slideSpeed, $target, function() {
|
236
|
+
$target.slideDown(_this.options.slideSpeed, function () {
|
237
|
+
/**
|
238
|
+
* Fires when the menu is done opening.
|
239
|
+
* @event AccordionMenu#down
|
240
|
+
*/
|
241
|
+
_this.$element.trigger('down.zf.accordionMenu', [$target]);
|
242
|
+
});
|
243
|
+
//});
|
244
|
+
}
|
245
|
+
|
246
|
+
/**
|
247
|
+
* Closes the sub-menu defined by `$target`. All sub-menus inside the target will be closed as well.
|
248
|
+
* @param {jQuery} $target - Sub-menu to close.
|
249
|
+
* @fires AccordionMenu#up
|
250
|
+
*/
|
251
|
+
|
252
|
+
}, {
|
253
|
+
key: 'up',
|
254
|
+
value: function up($target) {
|
255
|
+
var _this = this;
|
256
|
+
//Foundation.Move(this.options.slideSpeed, $target, function(){
|
257
|
+
$target.slideUp(_this.options.slideSpeed, function () {
|
258
|
+
/**
|
259
|
+
* Fires when the menu is done collapsing up.
|
260
|
+
* @event AccordionMenu#up
|
261
|
+
*/
|
262
|
+
_this.$element.trigger('up.zf.accordionMenu', [$target]);
|
263
|
+
});
|
264
|
+
//});
|
265
|
+
|
266
|
+
var $menus = $target.find('[data-submenu]').slideUp(0).addBack().attr('aria-hidden', true);
|
267
|
+
|
268
|
+
$menus.parent('.is-accordion-submenu-parent').attr('aria-expanded', false);
|
269
|
+
}
|
270
|
+
|
271
|
+
/**
|
272
|
+
* Destroys an instance of accordion menu.
|
273
|
+
* @fires AccordionMenu#destroyed
|
274
|
+
*/
|
275
|
+
|
276
|
+
}, {
|
277
|
+
key: 'destroy',
|
278
|
+
value: function destroy() {
|
279
|
+
this.$element.find('[data-submenu]').slideDown(0).css('display', '');
|
280
|
+
this.$element.find('a').off('click.zf.accordionMenu');
|
281
|
+
|
282
|
+
Foundation.Nest.Burn(this.$element, 'accordion');
|
283
|
+
Foundation.unregisterPlugin(this);
|
284
|
+
}
|
285
|
+
}]);
|
286
|
+
|
287
|
+
return AccordionMenu;
|
288
|
+
}();
|
289
|
+
|
290
|
+
AccordionMenu.defaults = {
|
291
|
+
/**
|
292
|
+
* Amount of time to animate the opening of a submenu in ms.
|
293
|
+
* @option
|
294
|
+
* @example 250
|
295
|
+
*/
|
296
|
+
slideSpeed: 250,
|
297
|
+
/**
|
298
|
+
* Allow the menu to have multiple open panes.
|
299
|
+
* @option
|
300
|
+
* @example true
|
301
|
+
*/
|
302
|
+
multiOpen: true
|
303
|
+
};
|
304
|
+
|
305
|
+
// Window exports
|
306
|
+
Foundation.plugin(AccordionMenu, 'AccordionMenu');
|
307
|
+
}(jQuery);
|