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,171 @@
|
|
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
|
+
* ResponsiveMenu module.
|
11
|
+
* @module foundation.responsiveMenu
|
12
|
+
* @requires foundation.util.triggers
|
13
|
+
* @requires foundation.util.mediaQuery
|
14
|
+
* @requires foundation.util.accordionMenu
|
15
|
+
* @requires foundation.util.drilldown
|
16
|
+
* @requires foundation.util.dropdown-menu
|
17
|
+
*/
|
18
|
+
|
19
|
+
var ResponsiveMenu = function () {
|
20
|
+
/**
|
21
|
+
* Creates a new instance of a responsive menu.
|
22
|
+
* @class
|
23
|
+
* @fires ResponsiveMenu#init
|
24
|
+
* @param {jQuery} element - jQuery object to make into a dropdown menu.
|
25
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
26
|
+
*/
|
27
|
+
|
28
|
+
function ResponsiveMenu(element, options) {
|
29
|
+
_classCallCheck(this, ResponsiveMenu);
|
30
|
+
|
31
|
+
this.$element = $(element);
|
32
|
+
this.rules = this.$element.data('responsive-menu');
|
33
|
+
this.currentMq = null;
|
34
|
+
this.currentPlugin = null;
|
35
|
+
|
36
|
+
this._init();
|
37
|
+
this._events();
|
38
|
+
|
39
|
+
Foundation.registerPlugin(this, 'ResponsiveMenu');
|
40
|
+
}
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Initializes the Menu by parsing the classes from the 'data-ResponsiveMenu' attribute on the element.
|
44
|
+
* @function
|
45
|
+
* @private
|
46
|
+
*/
|
47
|
+
|
48
|
+
|
49
|
+
_createClass(ResponsiveMenu, [{
|
50
|
+
key: '_init',
|
51
|
+
value: function _init() {
|
52
|
+
// The first time an Interchange plugin is initialized, this.rules is converted from a string of "classes" to an object of rules
|
53
|
+
if (typeof this.rules === 'string') {
|
54
|
+
var rulesTree = {};
|
55
|
+
|
56
|
+
// Parse rules from "classes" pulled from data attribute
|
57
|
+
var rules = this.rules.split(' ');
|
58
|
+
|
59
|
+
// Iterate through every rule found
|
60
|
+
for (var i = 0; i < rules.length; i++) {
|
61
|
+
var rule = rules[i].split('-');
|
62
|
+
var ruleSize = rule.length > 1 ? rule[0] : 'small';
|
63
|
+
var rulePlugin = rule.length > 1 ? rule[1] : rule[0];
|
64
|
+
|
65
|
+
if (MenuPlugins[rulePlugin] !== null) {
|
66
|
+
rulesTree[ruleSize] = MenuPlugins[rulePlugin];
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
this.rules = rulesTree;
|
71
|
+
}
|
72
|
+
|
73
|
+
if (!$.isEmptyObject(this.rules)) {
|
74
|
+
this._checkMediaQueries();
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Initializes events for the Menu.
|
80
|
+
* @function
|
81
|
+
* @private
|
82
|
+
*/
|
83
|
+
|
84
|
+
}, {
|
85
|
+
key: '_events',
|
86
|
+
value: function _events() {
|
87
|
+
var _this = this;
|
88
|
+
|
89
|
+
$(window).on('changed.zf.mediaquery', function () {
|
90
|
+
_this._checkMediaQueries();
|
91
|
+
});
|
92
|
+
// $(window).on('resize.zf.ResponsiveMenu', function() {
|
93
|
+
// _this._checkMediaQueries();
|
94
|
+
// });
|
95
|
+
}
|
96
|
+
|
97
|
+
/**
|
98
|
+
* Checks the current screen width against available media queries. If the media query has changed, and the plugin needed has changed, the plugins will swap out.
|
99
|
+
* @function
|
100
|
+
* @private
|
101
|
+
*/
|
102
|
+
|
103
|
+
}, {
|
104
|
+
key: '_checkMediaQueries',
|
105
|
+
value: function _checkMediaQueries() {
|
106
|
+
var matchedMq,
|
107
|
+
_this = this;
|
108
|
+
// Iterate through each rule and find the last matching rule
|
109
|
+
$.each(this.rules, function (key) {
|
110
|
+
if (Foundation.MediaQuery.atLeast(key)) {
|
111
|
+
matchedMq = key;
|
112
|
+
}
|
113
|
+
});
|
114
|
+
|
115
|
+
// No match? No dice
|
116
|
+
if (!matchedMq) return;
|
117
|
+
|
118
|
+
// Plugin already initialized? We good
|
119
|
+
if (this.currentPlugin instanceof this.rules[matchedMq].plugin) return;
|
120
|
+
|
121
|
+
// Remove existing plugin-specific CSS classes
|
122
|
+
$.each(MenuPlugins, function (key, value) {
|
123
|
+
_this.$element.removeClass(value.cssClass);
|
124
|
+
});
|
125
|
+
|
126
|
+
// Add the CSS class for the new plugin
|
127
|
+
this.$element.addClass(this.rules[matchedMq].cssClass);
|
128
|
+
|
129
|
+
// Create an instance of the new plugin
|
130
|
+
if (this.currentPlugin) this.currentPlugin.destroy();
|
131
|
+
this.currentPlugin = new this.rules[matchedMq].plugin(this.$element, {});
|
132
|
+
}
|
133
|
+
|
134
|
+
/**
|
135
|
+
* Destroys the instance of the current plugin on this element, as well as the window resize handler that switches the plugins out.
|
136
|
+
* @function
|
137
|
+
*/
|
138
|
+
|
139
|
+
}, {
|
140
|
+
key: 'destroy',
|
141
|
+
value: function destroy() {
|
142
|
+
this.currentPlugin.destroy();
|
143
|
+
$(window).off('.zf.ResponsiveMenu');
|
144
|
+
Foundation.unregisterPlugin(this);
|
145
|
+
}
|
146
|
+
}]);
|
147
|
+
|
148
|
+
return ResponsiveMenu;
|
149
|
+
}();
|
150
|
+
|
151
|
+
ResponsiveMenu.defaults = {};
|
152
|
+
|
153
|
+
// The plugin matches the plugin classes with these plugin instances.
|
154
|
+
var MenuPlugins = {
|
155
|
+
dropdown: {
|
156
|
+
cssClass: 'dropdown',
|
157
|
+
plugin: Foundation._plugins['dropdown-menu'] || null
|
158
|
+
},
|
159
|
+
drilldown: {
|
160
|
+
cssClass: 'drilldown',
|
161
|
+
plugin: Foundation._plugins['drilldown'] || null
|
162
|
+
},
|
163
|
+
accordion: {
|
164
|
+
cssClass: 'accordion-menu',
|
165
|
+
plugin: Foundation._plugins['accordion-menu'] || null
|
166
|
+
}
|
167
|
+
};
|
168
|
+
|
169
|
+
// Window exports
|
170
|
+
Foundation.plugin(ResponsiveMenu, 'ResponsiveMenu');
|
171
|
+
}(jQuery);
|
@@ -0,0 +1,142 @@
|
|
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
|
+
* ResponsiveToggle module.
|
11
|
+
* @module foundation.responsiveToggle
|
12
|
+
* @requires foundation.util.mediaQuery
|
13
|
+
*/
|
14
|
+
|
15
|
+
var ResponsiveToggle = function () {
|
16
|
+
/**
|
17
|
+
* Creates a new instance of Tab Bar.
|
18
|
+
* @class
|
19
|
+
* @fires ResponsiveToggle#init
|
20
|
+
* @param {jQuery} element - jQuery object to attach tab bar functionality to.
|
21
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
22
|
+
*/
|
23
|
+
|
24
|
+
function ResponsiveToggle(element, options) {
|
25
|
+
_classCallCheck(this, ResponsiveToggle);
|
26
|
+
|
27
|
+
this.$element = $(element);
|
28
|
+
this.options = $.extend({}, ResponsiveToggle.defaults, this.$element.data(), options);
|
29
|
+
|
30
|
+
this._init();
|
31
|
+
this._events();
|
32
|
+
|
33
|
+
Foundation.registerPlugin(this, 'ResponsiveToggle');
|
34
|
+
}
|
35
|
+
|
36
|
+
/**
|
37
|
+
* Initializes the tab bar by finding the target element, toggling element, and running update().
|
38
|
+
* @function
|
39
|
+
* @private
|
40
|
+
*/
|
41
|
+
|
42
|
+
|
43
|
+
_createClass(ResponsiveToggle, [{
|
44
|
+
key: '_init',
|
45
|
+
value: function _init() {
|
46
|
+
var targetID = this.$element.data('responsive-toggle');
|
47
|
+
if (!targetID) {
|
48
|
+
console.error('Your tab bar needs an ID of a Menu as the value of data-tab-bar.');
|
49
|
+
}
|
50
|
+
|
51
|
+
this.$targetMenu = $('#' + targetID);
|
52
|
+
this.$toggler = this.$element.find('[data-toggle]');
|
53
|
+
|
54
|
+
this._update();
|
55
|
+
}
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Adds necessary event handlers for the tab bar to work.
|
59
|
+
* @function
|
60
|
+
* @private
|
61
|
+
*/
|
62
|
+
|
63
|
+
}, {
|
64
|
+
key: '_events',
|
65
|
+
value: function _events() {
|
66
|
+
var _this = this;
|
67
|
+
|
68
|
+
this._updateMqHandler = this._update.bind(this);
|
69
|
+
|
70
|
+
$(window).on('changed.zf.mediaquery', this._updateMqHandler);
|
71
|
+
|
72
|
+
this.$toggler.on('click.zf.responsiveToggle', this.toggleMenu.bind(this));
|
73
|
+
}
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Checks the current media query to determine if the tab bar should be visible or hidden.
|
77
|
+
* @function
|
78
|
+
* @private
|
79
|
+
*/
|
80
|
+
|
81
|
+
}, {
|
82
|
+
key: '_update',
|
83
|
+
value: function _update() {
|
84
|
+
// Mobile
|
85
|
+
if (!Foundation.MediaQuery.atLeast(this.options.hideFor)) {
|
86
|
+
this.$element.show();
|
87
|
+
this.$targetMenu.hide();
|
88
|
+
}
|
89
|
+
|
90
|
+
// Desktop
|
91
|
+
else {
|
92
|
+
this.$element.hide();
|
93
|
+
this.$targetMenu.show();
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
/**
|
98
|
+
* Toggles the element attached to the tab bar. The toggle only happens if the screen is small enough to allow it.
|
99
|
+
* @function
|
100
|
+
* @fires ResponsiveToggle#toggled
|
101
|
+
*/
|
102
|
+
|
103
|
+
}, {
|
104
|
+
key: 'toggleMenu',
|
105
|
+
value: function toggleMenu() {
|
106
|
+
if (!Foundation.MediaQuery.atLeast(this.options.hideFor)) {
|
107
|
+
this.$targetMenu.toggle(0);
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Fires when the element attached to the tab bar toggles.
|
111
|
+
* @event ResponsiveToggle#toggled
|
112
|
+
*/
|
113
|
+
this.$element.trigger('toggled.zf.responsiveToggle');
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}, {
|
117
|
+
key: 'destroy',
|
118
|
+
value: function destroy() {
|
119
|
+
this.$element.off('.zf.responsiveToggle');
|
120
|
+
this.$toggler.off('.zf.responsiveToggle');
|
121
|
+
|
122
|
+
$(window).off('changed.zf.mediaquery', this._updateMqHandler);
|
123
|
+
|
124
|
+
Foundation.unregisterPlugin(this);
|
125
|
+
}
|
126
|
+
}]);
|
127
|
+
|
128
|
+
return ResponsiveToggle;
|
129
|
+
}();
|
130
|
+
|
131
|
+
ResponsiveToggle.defaults = {
|
132
|
+
/**
|
133
|
+
* The breakpoint after which the menu is always shown, and the tab bar is hidden.
|
134
|
+
* @option
|
135
|
+
* @example 'medium'
|
136
|
+
*/
|
137
|
+
hideFor: 'medium'
|
138
|
+
};
|
139
|
+
|
140
|
+
// Window exports
|
141
|
+
Foundation.plugin(ResponsiveToggle, 'ResponsiveToggle');
|
142
|
+
}(jQuery);
|
@@ -0,0 +1,623 @@
|
|
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
|
+
* Reveal module.
|
11
|
+
* @module foundation.reveal
|
12
|
+
* @requires foundation.util.keyboard
|
13
|
+
* @requires foundation.util.box
|
14
|
+
* @requires foundation.util.triggers
|
15
|
+
* @requires foundation.util.mediaQuery
|
16
|
+
* @requires foundation.util.motion if using animations
|
17
|
+
*/
|
18
|
+
|
19
|
+
var Reveal = function () {
|
20
|
+
/**
|
21
|
+
* Creates a new instance of Reveal.
|
22
|
+
* @class
|
23
|
+
* @param {jQuery} element - jQuery object to use for the modal.
|
24
|
+
* @param {Object} options - optional parameters.
|
25
|
+
*/
|
26
|
+
|
27
|
+
function Reveal(element, options) {
|
28
|
+
_classCallCheck(this, Reveal);
|
29
|
+
|
30
|
+
this.$element = element;
|
31
|
+
this.options = $.extend({}, Reveal.defaults, this.$element.data(), options);
|
32
|
+
this._init();
|
33
|
+
|
34
|
+
Foundation.registerPlugin(this, 'Reveal');
|
35
|
+
Foundation.Keyboard.register('Reveal', {
|
36
|
+
'ENTER': 'open',
|
37
|
+
'SPACE': 'open',
|
38
|
+
'ESCAPE': 'close',
|
39
|
+
'TAB': 'tab_forward',
|
40
|
+
'SHIFT_TAB': 'tab_backward'
|
41
|
+
});
|
42
|
+
}
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Initializes the modal by adding the overlay and close buttons, (if selected).
|
46
|
+
* @private
|
47
|
+
*/
|
48
|
+
|
49
|
+
|
50
|
+
_createClass(Reveal, [{
|
51
|
+
key: '_init',
|
52
|
+
value: function _init() {
|
53
|
+
this.id = this.$element.attr('id');
|
54
|
+
this.isActive = false;
|
55
|
+
this.cached = { mq: Foundation.MediaQuery.current };
|
56
|
+
this.isMobile = mobileSniff();
|
57
|
+
|
58
|
+
this.$anchor = $('[data-open="' + this.id + '"]').length ? $('[data-open="' + this.id + '"]') : $('[data-toggle="' + this.id + '"]');
|
59
|
+
this.$anchor.attr({
|
60
|
+
'aria-controls': this.id,
|
61
|
+
'aria-haspopup': true,
|
62
|
+
'tabindex': 0
|
63
|
+
});
|
64
|
+
|
65
|
+
if (this.options.fullScreen || this.$element.hasClass('full')) {
|
66
|
+
this.options.fullScreen = true;
|
67
|
+
this.options.overlay = false;
|
68
|
+
}
|
69
|
+
if (this.options.overlay && !this.$overlay) {
|
70
|
+
this.$overlay = this._makeOverlay(this.id);
|
71
|
+
}
|
72
|
+
|
73
|
+
this.$element.attr({
|
74
|
+
'role': 'dialog',
|
75
|
+
'aria-hidden': true,
|
76
|
+
'data-yeti-box': this.id,
|
77
|
+
'data-resize': this.id
|
78
|
+
});
|
79
|
+
|
80
|
+
if (this.$overlay) {
|
81
|
+
this.$element.detach().appendTo(this.$overlay);
|
82
|
+
} else {
|
83
|
+
this.$element.detach().appendTo($('body'));
|
84
|
+
this.$element.addClass('without-overlay');
|
85
|
+
}
|
86
|
+
this._events();
|
87
|
+
if (this.options.deepLink && window.location.hash === '#' + this.id) {
|
88
|
+
$(window).one('load.zf.reveal', this.open.bind(this));
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Creates an overlay div to display behind the modal.
|
94
|
+
* @private
|
95
|
+
*/
|
96
|
+
|
97
|
+
}, {
|
98
|
+
key: '_makeOverlay',
|
99
|
+
value: function _makeOverlay(id) {
|
100
|
+
var $overlay = $('<div></div>').addClass('reveal-overlay').appendTo('body');
|
101
|
+
return $overlay;
|
102
|
+
}
|
103
|
+
|
104
|
+
/**
|
105
|
+
* Updates position of modal
|
106
|
+
* TODO: Figure out if we actually need to cache these values or if it doesn't matter
|
107
|
+
* @private
|
108
|
+
*/
|
109
|
+
|
110
|
+
}, {
|
111
|
+
key: '_updatePosition',
|
112
|
+
value: function _updatePosition() {
|
113
|
+
var width = this.$element.outerWidth();
|
114
|
+
var outerWidth = $(window).width();
|
115
|
+
var height = this.$element.outerHeight();
|
116
|
+
var outerHeight = $(window).height();
|
117
|
+
var left, top;
|
118
|
+
if (this.options.hOffset === 'auto') {
|
119
|
+
left = parseInt((outerWidth - width) / 2, 10);
|
120
|
+
} else {
|
121
|
+
left = parseInt(this.options.hOffset, 10);
|
122
|
+
}
|
123
|
+
if (this.options.vOffset === 'auto') {
|
124
|
+
if (height > outerHeight) {
|
125
|
+
top = parseInt(Math.min(100, outerHeight / 10), 10);
|
126
|
+
} else {
|
127
|
+
top = parseInt((outerHeight - height) / 4, 10);
|
128
|
+
}
|
129
|
+
} else {
|
130
|
+
top = parseInt(this.options.vOffset, 10);
|
131
|
+
}
|
132
|
+
this.$element.css({ top: top + 'px' });
|
133
|
+
// only worry about left if we don't have an overlay or we havea horizontal offset,
|
134
|
+
// otherwise we're perfectly in the middle
|
135
|
+
if (!this.$overlay || this.options.hOffset !== 'auto') {
|
136
|
+
this.$element.css({ left: left + 'px' });
|
137
|
+
this.$element.css({ margin: '0px' });
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
/**
|
142
|
+
* Adds event handlers for the modal.
|
143
|
+
* @private
|
144
|
+
*/
|
145
|
+
|
146
|
+
}, {
|
147
|
+
key: '_events',
|
148
|
+
value: function _events() {
|
149
|
+
var _this2 = this;
|
150
|
+
|
151
|
+
var _this = this;
|
152
|
+
|
153
|
+
this.$element.on({
|
154
|
+
'open.zf.trigger': this.open.bind(this),
|
155
|
+
'close.zf.trigger': function (event, $element) {
|
156
|
+
if (event.target === _this.$element[0] || $(event.target).parents('[data-closable]')[0] === $element) {
|
157
|
+
// only close reveal when it's explicitly called
|
158
|
+
return _this2.close.apply(_this2);
|
159
|
+
}
|
160
|
+
},
|
161
|
+
'toggle.zf.trigger': this.toggle.bind(this),
|
162
|
+
'resizeme.zf.trigger': function () {
|
163
|
+
_this._updatePosition();
|
164
|
+
}
|
165
|
+
});
|
166
|
+
|
167
|
+
if (this.$anchor.length) {
|
168
|
+
this.$anchor.on('keydown.zf.reveal', function (e) {
|
169
|
+
if (e.which === 13 || e.which === 32) {
|
170
|
+
e.stopPropagation();
|
171
|
+
e.preventDefault();
|
172
|
+
_this.open();
|
173
|
+
}
|
174
|
+
});
|
175
|
+
}
|
176
|
+
|
177
|
+
if (this.options.closeOnClick && this.options.overlay) {
|
178
|
+
this.$overlay.off('.zf.reveal').on('click.zf.reveal', function (e) {
|
179
|
+
if (e.target === _this.$element[0] || $.contains(_this.$element[0], e.target)) {
|
180
|
+
return;
|
181
|
+
}
|
182
|
+
_this.close();
|
183
|
+
});
|
184
|
+
}
|
185
|
+
if (this.options.deepLink) {
|
186
|
+
$(window).on('popstate.zf.reveal:' + this.id, this._handleState.bind(this));
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
/**
|
191
|
+
* Handles modal methods on back/forward button clicks or any other event that triggers popstate.
|
192
|
+
* @private
|
193
|
+
*/
|
194
|
+
|
195
|
+
}, {
|
196
|
+
key: '_handleState',
|
197
|
+
value: function _handleState(e) {
|
198
|
+
if (window.location.hash === '#' + this.id && !this.isActive) {
|
199
|
+
this.open();
|
200
|
+
} else {
|
201
|
+
this.close();
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
/**
|
206
|
+
* Opens the modal controlled by `this.$anchor`, and closes all others by default.
|
207
|
+
* @function
|
208
|
+
* @fires Reveal#closeme
|
209
|
+
* @fires Reveal#open
|
210
|
+
*/
|
211
|
+
|
212
|
+
}, {
|
213
|
+
key: 'open',
|
214
|
+
value: function open() {
|
215
|
+
var _this3 = this;
|
216
|
+
|
217
|
+
if (this.options.deepLink) {
|
218
|
+
var hash = '#' + this.id;
|
219
|
+
|
220
|
+
if (window.history.pushState) {
|
221
|
+
window.history.pushState(null, null, hash);
|
222
|
+
} else {
|
223
|
+
window.location.hash = hash;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
this.isActive = true;
|
228
|
+
|
229
|
+
// Make elements invisible, but remove display: none so we can get size and positioning
|
230
|
+
this.$element.css({ 'visibility': 'hidden' }).show().scrollTop(0);
|
231
|
+
if (this.options.overlay) {
|
232
|
+
this.$overlay.css({ 'visibility': 'hidden' }).show();
|
233
|
+
}
|
234
|
+
|
235
|
+
this._updatePosition();
|
236
|
+
|
237
|
+
this.$element.hide().css({ 'visibility': '' });
|
238
|
+
|
239
|
+
if (this.$overlay) {
|
240
|
+
this.$overlay.css({ 'visibility': '' }).hide();
|
241
|
+
if (this.$element.hasClass('fast')) {
|
242
|
+
this.$overlay.addClass('fast');
|
243
|
+
} else if (this.$element.hasClass('slow')) {
|
244
|
+
this.$overlay.addClass('slow');
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
if (!this.options.multipleOpened) {
|
249
|
+
/**
|
250
|
+
* Fires immediately before the modal opens.
|
251
|
+
* Closes any other modals that are currently open
|
252
|
+
* @event Reveal#closeme
|
253
|
+
*/
|
254
|
+
this.$element.trigger('closeme.zf.reveal', this.id);
|
255
|
+
}
|
256
|
+
// Motion UI method of reveal
|
257
|
+
if (this.options.animationIn) {
|
258
|
+
var _this;
|
259
|
+
|
260
|
+
(function () {
|
261
|
+
var afterAnimationFocus = function () {
|
262
|
+
_this.$element.attr({
|
263
|
+
'aria-hidden': false,
|
264
|
+
'tabindex': -1
|
265
|
+
}).focus();
|
266
|
+
console.log('focus');
|
267
|
+
};
|
268
|
+
|
269
|
+
_this = _this3;
|
270
|
+
|
271
|
+
if (_this3.options.overlay) {
|
272
|
+
Foundation.Motion.animateIn(_this3.$overlay, 'fade-in');
|
273
|
+
}
|
274
|
+
Foundation.Motion.animateIn(_this3.$element, _this3.options.animationIn, function () {
|
275
|
+
_this3.focusableElements = Foundation.Keyboard.findFocusable(_this3.$element);
|
276
|
+
afterAnimationFocus();
|
277
|
+
});
|
278
|
+
})();
|
279
|
+
}
|
280
|
+
// jQuery method of reveal
|
281
|
+
else {
|
282
|
+
if (this.options.overlay) {
|
283
|
+
this.$overlay.show(0);
|
284
|
+
}
|
285
|
+
this.$element.show(this.options.showDelay);
|
286
|
+
}
|
287
|
+
|
288
|
+
// handle accessibility
|
289
|
+
this.$element.attr({
|
290
|
+
'aria-hidden': false,
|
291
|
+
'tabindex': -1
|
292
|
+
}).focus();
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Fires when the modal has successfully opened.
|
296
|
+
* @event Reveal#open
|
297
|
+
*/
|
298
|
+
this.$element.trigger('open.zf.reveal');
|
299
|
+
|
300
|
+
if (this.isMobile) {
|
301
|
+
this.originalScrollPos = window.pageYOffset;
|
302
|
+
$('html, body').addClass('is-reveal-open');
|
303
|
+
} else {
|
304
|
+
$('body').addClass('is-reveal-open');
|
305
|
+
}
|
306
|
+
|
307
|
+
setTimeout(function () {
|
308
|
+
_this3._extraHandlers();
|
309
|
+
}, 0);
|
310
|
+
}
|
311
|
+
|
312
|
+
/**
|
313
|
+
* Adds extra event handlers for the body and window if necessary.
|
314
|
+
* @private
|
315
|
+
*/
|
316
|
+
|
317
|
+
}, {
|
318
|
+
key: '_extraHandlers',
|
319
|
+
value: function _extraHandlers() {
|
320
|
+
var _this = this;
|
321
|
+
this.focusableElements = Foundation.Keyboard.findFocusable(this.$element);
|
322
|
+
|
323
|
+
if (!this.options.overlay && this.options.closeOnClick && !this.options.fullScreen) {
|
324
|
+
$('body').on('click.zf.reveal', function (e) {
|
325
|
+
if (e.target === _this.$element[0] || $.contains(_this.$element[0], e.target)) {
|
326
|
+
return;
|
327
|
+
}
|
328
|
+
_this.close();
|
329
|
+
});
|
330
|
+
}
|
331
|
+
|
332
|
+
if (this.options.closeOnEsc) {
|
333
|
+
$(window).on('keydown.zf.reveal', function (e) {
|
334
|
+
Foundation.Keyboard.handleKey(e, 'Reveal', {
|
335
|
+
close: function () {
|
336
|
+
if (_this.options.closeOnEsc) {
|
337
|
+
_this.close();
|
338
|
+
_this.$anchor.focus();
|
339
|
+
}
|
340
|
+
}
|
341
|
+
});
|
342
|
+
});
|
343
|
+
}
|
344
|
+
|
345
|
+
// lock focus within modal while tabbing
|
346
|
+
this.$element.on('keydown.zf.reveal', function (e) {
|
347
|
+
var $target = $(this);
|
348
|
+
// handle keyboard event with keyboard util
|
349
|
+
Foundation.Keyboard.handleKey(e, 'Reveal', {
|
350
|
+
tab_forward: function () {
|
351
|
+
if (_this.$element.find(':focus').is(_this.focusableElements.eq(-1))) {
|
352
|
+
// left modal downwards, setting focus to first element
|
353
|
+
_this.focusableElements.eq(0).focus();
|
354
|
+
return true;
|
355
|
+
}
|
356
|
+
if (_this.focusableElements.length === 0) {
|
357
|
+
// no focusable elements inside the modal at all, prevent tabbing in general
|
358
|
+
return true;
|
359
|
+
}
|
360
|
+
},
|
361
|
+
tab_backward: function () {
|
362
|
+
if (_this.$element.find(':focus').is(_this.focusableElements.eq(0)) || _this.$element.is(':focus')) {
|
363
|
+
// left modal upwards, setting focus to last element
|
364
|
+
_this.focusableElements.eq(-1).focus();
|
365
|
+
return true;
|
366
|
+
}
|
367
|
+
if (_this.focusableElements.length === 0) {
|
368
|
+
// no focusable elements inside the modal at all, prevent tabbing in general
|
369
|
+
return true;
|
370
|
+
}
|
371
|
+
},
|
372
|
+
open: function () {
|
373
|
+
if (_this.$element.find(':focus').is(_this.$element.find('[data-close]'))) {
|
374
|
+
setTimeout(function () {
|
375
|
+
// set focus back to anchor if close button has been activated
|
376
|
+
_this.$anchor.focus();
|
377
|
+
}, 1);
|
378
|
+
} else if ($target.is(_this.focusableElements)) {
|
379
|
+
// dont't trigger if acual element has focus (i.e. inputs, links, ...)
|
380
|
+
_this.open();
|
381
|
+
}
|
382
|
+
},
|
383
|
+
close: function () {
|
384
|
+
if (_this.options.closeOnEsc) {
|
385
|
+
_this.close();
|
386
|
+
_this.$anchor.focus();
|
387
|
+
}
|
388
|
+
},
|
389
|
+
handled: function (preventDefault) {
|
390
|
+
if (preventDefault) {
|
391
|
+
e.preventDefault();
|
392
|
+
}
|
393
|
+
}
|
394
|
+
});
|
395
|
+
});
|
396
|
+
}
|
397
|
+
|
398
|
+
/**
|
399
|
+
* Closes the modal.
|
400
|
+
* @function
|
401
|
+
* @fires Reveal#closed
|
402
|
+
*/
|
403
|
+
|
404
|
+
}, {
|
405
|
+
key: 'close',
|
406
|
+
value: function close() {
|
407
|
+
if (!this.isActive || !this.$element.is(':visible')) {
|
408
|
+
return false;
|
409
|
+
}
|
410
|
+
var _this = this;
|
411
|
+
|
412
|
+
// Motion UI method of hiding
|
413
|
+
if (this.options.animationOut) {
|
414
|
+
if (this.options.overlay) {
|
415
|
+
Foundation.Motion.animateOut(this.$overlay, 'fade-out', finishUp);
|
416
|
+
} else {
|
417
|
+
finishUp();
|
418
|
+
}
|
419
|
+
|
420
|
+
Foundation.Motion.animateOut(this.$element, this.options.animationOut);
|
421
|
+
}
|
422
|
+
// jQuery method of hiding
|
423
|
+
else {
|
424
|
+
if (this.options.overlay) {
|
425
|
+
this.$overlay.hide(0, finishUp);
|
426
|
+
} else {
|
427
|
+
finishUp();
|
428
|
+
}
|
429
|
+
|
430
|
+
this.$element.hide(this.options.hideDelay);
|
431
|
+
}
|
432
|
+
|
433
|
+
// Conditionals to remove extra event listeners added on open
|
434
|
+
if (this.options.closeOnEsc) {
|
435
|
+
$(window).off('keydown.zf.reveal');
|
436
|
+
}
|
437
|
+
|
438
|
+
if (!this.options.overlay && this.options.closeOnClick) {
|
439
|
+
$('body').off('click.zf.reveal');
|
440
|
+
}
|
441
|
+
|
442
|
+
this.$element.off('keydown.zf.reveal');
|
443
|
+
|
444
|
+
function finishUp() {
|
445
|
+
if (_this.isMobile) {
|
446
|
+
$('html, body').removeClass('is-reveal-open');
|
447
|
+
if (_this.originalScrollPos) {
|
448
|
+
$('body').scrollTop(_this.originalScrollPos);
|
449
|
+
_this.originalScrollPos = null;
|
450
|
+
}
|
451
|
+
} else {
|
452
|
+
$('body').removeClass('is-reveal-open');
|
453
|
+
}
|
454
|
+
|
455
|
+
_this.$element.attr('aria-hidden', true);
|
456
|
+
|
457
|
+
/**
|
458
|
+
* Fires when the modal is done closing.
|
459
|
+
* @event Reveal#closed
|
460
|
+
*/
|
461
|
+
_this.$element.trigger('closed.zf.reveal');
|
462
|
+
}
|
463
|
+
|
464
|
+
/**
|
465
|
+
* Resets the modal content
|
466
|
+
* This prevents a running video to keep going in the background
|
467
|
+
*/
|
468
|
+
if (this.options.resetOnClose) {
|
469
|
+
this.$element.html(this.$element.html());
|
470
|
+
}
|
471
|
+
|
472
|
+
this.isActive = false;
|
473
|
+
if (_this.options.deepLink) {
|
474
|
+
if (window.history.replaceState) {
|
475
|
+
window.history.replaceState("", document.title, window.location.pathname);
|
476
|
+
} else {
|
477
|
+
window.location.hash = '';
|
478
|
+
}
|
479
|
+
}
|
480
|
+
}
|
481
|
+
|
482
|
+
/**
|
483
|
+
* Toggles the open/closed state of a modal.
|
484
|
+
* @function
|
485
|
+
*/
|
486
|
+
|
487
|
+
}, {
|
488
|
+
key: 'toggle',
|
489
|
+
value: function toggle() {
|
490
|
+
if (this.isActive) {
|
491
|
+
this.close();
|
492
|
+
} else {
|
493
|
+
this.open();
|
494
|
+
}
|
495
|
+
}
|
496
|
+
}, {
|
497
|
+
key: 'destroy',
|
498
|
+
|
499
|
+
|
500
|
+
/**
|
501
|
+
* Destroys an instance of a modal.
|
502
|
+
* @function
|
503
|
+
*/
|
504
|
+
value: function destroy() {
|
505
|
+
if (this.options.overlay) {
|
506
|
+
this.$element.appendTo($('body')); // move $element outside of $overlay to prevent error unregisterPlugin()
|
507
|
+
this.$overlay.hide().off().remove();
|
508
|
+
}
|
509
|
+
this.$element.hide().off();
|
510
|
+
this.$anchor.off('.zf');
|
511
|
+
$(window).off('.zf.reveal:' + this.id);
|
512
|
+
|
513
|
+
Foundation.unregisterPlugin(this);
|
514
|
+
}
|
515
|
+
}]);
|
516
|
+
|
517
|
+
return Reveal;
|
518
|
+
}();
|
519
|
+
|
520
|
+
Reveal.defaults = {
|
521
|
+
/**
|
522
|
+
* Motion-UI class to use for animated elements. If none used, defaults to simple show/hide.
|
523
|
+
* @option
|
524
|
+
* @example 'slide-in-left'
|
525
|
+
*/
|
526
|
+
animationIn: '',
|
527
|
+
/**
|
528
|
+
* Motion-UI class to use for animated elements. If none used, defaults to simple show/hide.
|
529
|
+
* @option
|
530
|
+
* @example 'slide-out-right'
|
531
|
+
*/
|
532
|
+
animationOut: '',
|
533
|
+
/**
|
534
|
+
* Time, in ms, to delay the opening of a modal after a click if no animation used.
|
535
|
+
* @option
|
536
|
+
* @example 10
|
537
|
+
*/
|
538
|
+
showDelay: 0,
|
539
|
+
/**
|
540
|
+
* Time, in ms, to delay the closing of a modal after a click if no animation used.
|
541
|
+
* @option
|
542
|
+
* @example 10
|
543
|
+
*/
|
544
|
+
hideDelay: 0,
|
545
|
+
/**
|
546
|
+
* Allows a click on the body/overlay to close the modal.
|
547
|
+
* @option
|
548
|
+
* @example true
|
549
|
+
*/
|
550
|
+
closeOnClick: true,
|
551
|
+
/**
|
552
|
+
* Allows the modal to close if the user presses the `ESCAPE` key.
|
553
|
+
* @option
|
554
|
+
* @example true
|
555
|
+
*/
|
556
|
+
closeOnEsc: true,
|
557
|
+
/**
|
558
|
+
* If true, allows multiple modals to be displayed at once.
|
559
|
+
* @option
|
560
|
+
* @example false
|
561
|
+
*/
|
562
|
+
multipleOpened: false,
|
563
|
+
/**
|
564
|
+
* Distance, in pixels, the modal should push down from the top of the screen.
|
565
|
+
* @option
|
566
|
+
* @example auto
|
567
|
+
*/
|
568
|
+
vOffset: 'auto',
|
569
|
+
/**
|
570
|
+
* Distance, in pixels, the modal should push in from the side of the screen.
|
571
|
+
* @option
|
572
|
+
* @example auto
|
573
|
+
*/
|
574
|
+
hOffset: 'auto',
|
575
|
+
/**
|
576
|
+
* Allows the modal to be fullscreen, completely blocking out the rest of the view. JS checks for this as well.
|
577
|
+
* @option
|
578
|
+
* @example false
|
579
|
+
*/
|
580
|
+
fullScreen: false,
|
581
|
+
/**
|
582
|
+
* Percentage of screen height the modal should push up from the bottom of the view.
|
583
|
+
* @option
|
584
|
+
* @example 10
|
585
|
+
*/
|
586
|
+
btmOffsetPct: 10,
|
587
|
+
/**
|
588
|
+
* Allows the modal to generate an overlay div, which will cover the view when modal opens.
|
589
|
+
* @option
|
590
|
+
* @example true
|
591
|
+
*/
|
592
|
+
overlay: true,
|
593
|
+
/**
|
594
|
+
* Allows the modal to remove and reinject markup on close. Should be true if using video elements w/o using provider's api, otherwise, videos will continue to play in the background.
|
595
|
+
* @option
|
596
|
+
* @example false
|
597
|
+
*/
|
598
|
+
resetOnClose: false,
|
599
|
+
/**
|
600
|
+
* Allows the modal to alter the url on open/close, and allows the use of the `back` button to close modals. ALSO, allows a modal to auto-maniacally open on page load IF the hash === the modal's user-set id.
|
601
|
+
* @option
|
602
|
+
* @example false
|
603
|
+
*/
|
604
|
+
deepLink: false
|
605
|
+
};
|
606
|
+
|
607
|
+
// Window exports
|
608
|
+
Foundation.plugin(Reveal, 'Reveal');
|
609
|
+
|
610
|
+
function iPhoneSniff() {
|
611
|
+
return (/iP(ad|hone|od).*OS/.test(window.navigator.userAgent)
|
612
|
+
);
|
613
|
+
}
|
614
|
+
|
615
|
+
function androidSniff() {
|
616
|
+
return (/Android/.test(window.navigator.userAgent)
|
617
|
+
);
|
618
|
+
}
|
619
|
+
|
620
|
+
function mobileSniff() {
|
621
|
+
return iPhoneSniff() || androidSniff();
|
622
|
+
}
|
623
|
+
}(jQuery);
|