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,364 @@
|
|
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
|
+
* Equalizer module.
|
11
|
+
* @module foundation.equalizer
|
12
|
+
*/
|
13
|
+
|
14
|
+
var Equalizer = function () {
|
15
|
+
/**
|
16
|
+
* Creates a new instance of Equalizer.
|
17
|
+
* @class
|
18
|
+
* @fires Equalizer#init
|
19
|
+
* @param {Object} element - jQuery object to add the trigger to.
|
20
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
21
|
+
*/
|
22
|
+
|
23
|
+
function Equalizer(element, options) {
|
24
|
+
_classCallCheck(this, Equalizer);
|
25
|
+
|
26
|
+
this.$element = element;
|
27
|
+
this.options = $.extend({}, Equalizer.defaults, this.$element.data(), options);
|
28
|
+
|
29
|
+
this._init();
|
30
|
+
|
31
|
+
Foundation.registerPlugin(this, 'Equalizer');
|
32
|
+
}
|
33
|
+
|
34
|
+
/**
|
35
|
+
* Initializes the Equalizer plugin and calls functions to get equalizer functioning on load.
|
36
|
+
* @private
|
37
|
+
*/
|
38
|
+
|
39
|
+
|
40
|
+
_createClass(Equalizer, [{
|
41
|
+
key: '_init',
|
42
|
+
value: function _init() {
|
43
|
+
var eqId = this.$element.attr('data-equalizer') || '';
|
44
|
+
var $watched = this.$element.find('[data-equalizer-watch="' + eqId + '"]');
|
45
|
+
|
46
|
+
this.$watched = $watched.length ? $watched : this.$element.find('[data-equalizer-watch]');
|
47
|
+
this.$element.attr('data-resize', eqId || Foundation.GetYoDigits(6, 'eq'));
|
48
|
+
|
49
|
+
this.hasNested = this.$element.find('[data-equalizer]').length > 0;
|
50
|
+
this.isNested = this.$element.parentsUntil(document.body, '[data-equalizer]').length > 0;
|
51
|
+
this.isOn = false;
|
52
|
+
this._bindHandler = {
|
53
|
+
onResizeMeBound: this._onResizeMe.bind(this),
|
54
|
+
onPostEqualizedBound: this._onPostEqualized.bind(this)
|
55
|
+
};
|
56
|
+
|
57
|
+
var imgs = this.$element.find('img');
|
58
|
+
var tooSmall;
|
59
|
+
if (this.options.equalizeOn) {
|
60
|
+
tooSmall = this._checkMQ();
|
61
|
+
$(window).on('changed.zf.mediaquery', this._checkMQ.bind(this));
|
62
|
+
} else {
|
63
|
+
this._events();
|
64
|
+
}
|
65
|
+
if (tooSmall !== undefined && tooSmall === false || tooSmall === undefined) {
|
66
|
+
if (imgs.length) {
|
67
|
+
Foundation.onImagesLoaded(imgs, this._reflow.bind(this));
|
68
|
+
} else {
|
69
|
+
this._reflow();
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
/**
|
75
|
+
* Removes event listeners if the breakpoint is too small.
|
76
|
+
* @private
|
77
|
+
*/
|
78
|
+
|
79
|
+
}, {
|
80
|
+
key: '_pauseEvents',
|
81
|
+
value: function _pauseEvents() {
|
82
|
+
this.isOn = false;
|
83
|
+
this.$element.off({
|
84
|
+
'.zf.equalizer': this._bindHandler.onPostEqualizedBound,
|
85
|
+
'resizeme.zf.trigger': this._bindHandler.onResizeMeBound
|
86
|
+
});
|
87
|
+
}
|
88
|
+
|
89
|
+
/**
|
90
|
+
* function to handle $elements resizeme.zf.trigger, with bound this on _bindHandler.onResizeMeBound
|
91
|
+
* @private
|
92
|
+
*/
|
93
|
+
|
94
|
+
}, {
|
95
|
+
key: '_onResizeMe',
|
96
|
+
value: function _onResizeMe(e) {
|
97
|
+
this._reflow();
|
98
|
+
}
|
99
|
+
|
100
|
+
/**
|
101
|
+
* function to handle $elements postequalized.zf.equalizer, with bound this on _bindHandler.onPostEqualizedBound
|
102
|
+
* @private
|
103
|
+
*/
|
104
|
+
|
105
|
+
}, {
|
106
|
+
key: '_onPostEqualized',
|
107
|
+
value: function _onPostEqualized(e) {
|
108
|
+
if (e.target !== this.$element[0]) {
|
109
|
+
this._reflow();
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Initializes events for Equalizer.
|
115
|
+
* @private
|
116
|
+
*/
|
117
|
+
|
118
|
+
}, {
|
119
|
+
key: '_events',
|
120
|
+
value: function _events() {
|
121
|
+
var _this = this;
|
122
|
+
this._pauseEvents();
|
123
|
+
if (this.hasNested) {
|
124
|
+
this.$element.on('postequalized.zf.equalizer', this._bindHandler.onPostEqualizedBound);
|
125
|
+
} else {
|
126
|
+
this.$element.on('resizeme.zf.trigger', this._bindHandler.onResizeMeBound);
|
127
|
+
}
|
128
|
+
this.isOn = true;
|
129
|
+
}
|
130
|
+
|
131
|
+
/**
|
132
|
+
* Checks the current breakpoint to the minimum required size.
|
133
|
+
* @private
|
134
|
+
*/
|
135
|
+
|
136
|
+
}, {
|
137
|
+
key: '_checkMQ',
|
138
|
+
value: function _checkMQ() {
|
139
|
+
var tooSmall = !Foundation.MediaQuery.atLeast(this.options.equalizeOn);
|
140
|
+
if (tooSmall) {
|
141
|
+
if (this.isOn) {
|
142
|
+
this._pauseEvents();
|
143
|
+
this.$watched.css('height', 'auto');
|
144
|
+
}
|
145
|
+
} else {
|
146
|
+
if (!this.isOn) {
|
147
|
+
this._events();
|
148
|
+
}
|
149
|
+
}
|
150
|
+
return tooSmall;
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* A noop version for the plugin
|
155
|
+
* @private
|
156
|
+
*/
|
157
|
+
|
158
|
+
}, {
|
159
|
+
key: '_killswitch',
|
160
|
+
value: function _killswitch() {
|
161
|
+
return;
|
162
|
+
}
|
163
|
+
|
164
|
+
/**
|
165
|
+
* Calls necessary functions to update Equalizer upon DOM change
|
166
|
+
* @private
|
167
|
+
*/
|
168
|
+
|
169
|
+
}, {
|
170
|
+
key: '_reflow',
|
171
|
+
value: function _reflow() {
|
172
|
+
if (!this.options.equalizeOnStack) {
|
173
|
+
if (this._isStacked()) {
|
174
|
+
this.$watched.css('height', 'auto');
|
175
|
+
return false;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
if (this.options.equalizeByRow) {
|
179
|
+
this.getHeightsByRow(this.applyHeightByRow.bind(this));
|
180
|
+
} else {
|
181
|
+
this.getHeights(this.applyHeight.bind(this));
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* Manually determines if the first 2 elements are *NOT* stacked.
|
187
|
+
* @private
|
188
|
+
*/
|
189
|
+
|
190
|
+
}, {
|
191
|
+
key: '_isStacked',
|
192
|
+
value: function _isStacked() {
|
193
|
+
return this.$watched[0].getBoundingClientRect().top !== this.$watched[1].getBoundingClientRect().top;
|
194
|
+
}
|
195
|
+
|
196
|
+
/**
|
197
|
+
* Finds the outer heights of children contained within an Equalizer parent and returns them in an array
|
198
|
+
* @param {Function} cb - A non-optional callback to return the heights array to.
|
199
|
+
* @returns {Array} heights - An array of heights of children within Equalizer container
|
200
|
+
*/
|
201
|
+
|
202
|
+
}, {
|
203
|
+
key: 'getHeights',
|
204
|
+
value: function getHeights(cb) {
|
205
|
+
var heights = [];
|
206
|
+
for (var i = 0, len = this.$watched.length; i < len; i++) {
|
207
|
+
this.$watched[i].style.height = 'auto';
|
208
|
+
heights.push(this.$watched[i].offsetHeight);
|
209
|
+
}
|
210
|
+
cb(heights);
|
211
|
+
}
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Finds the outer heights of children contained within an Equalizer parent and returns them in an array
|
215
|
+
* @param {Function} cb - A non-optional callback to return the heights array to.
|
216
|
+
* @returns {Array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
|
217
|
+
*/
|
218
|
+
|
219
|
+
}, {
|
220
|
+
key: 'getHeightsByRow',
|
221
|
+
value: function getHeightsByRow(cb) {
|
222
|
+
var lastElTopOffset = this.$watched.length ? this.$watched.first().offset().top : 0,
|
223
|
+
groups = [],
|
224
|
+
group = 0;
|
225
|
+
//group by Row
|
226
|
+
groups[group] = [];
|
227
|
+
for (var i = 0, len = this.$watched.length; i < len; i++) {
|
228
|
+
this.$watched[i].style.height = 'auto';
|
229
|
+
//maybe could use this.$watched[i].offsetTop
|
230
|
+
var elOffsetTop = $(this.$watched[i]).offset().top;
|
231
|
+
if (elOffsetTop != lastElTopOffset) {
|
232
|
+
group++;
|
233
|
+
groups[group] = [];
|
234
|
+
lastElTopOffset = elOffsetTop;
|
235
|
+
}
|
236
|
+
groups[group].push([this.$watched[i], this.$watched[i].offsetHeight]);
|
237
|
+
}
|
238
|
+
|
239
|
+
for (var j = 0, ln = groups.length; j < ln; j++) {
|
240
|
+
var heights = $(groups[j]).map(function () {
|
241
|
+
return this[1];
|
242
|
+
}).get();
|
243
|
+
var max = Math.max.apply(null, heights);
|
244
|
+
groups[j].push(max);
|
245
|
+
}
|
246
|
+
cb(groups);
|
247
|
+
}
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Changes the CSS height property of each child in an Equalizer parent to match the tallest
|
251
|
+
* @param {array} heights - An array of heights of children within Equalizer container
|
252
|
+
* @fires Equalizer#preequalized
|
253
|
+
* @fires Equalizer#postequalized
|
254
|
+
*/
|
255
|
+
|
256
|
+
}, {
|
257
|
+
key: 'applyHeight',
|
258
|
+
value: function applyHeight(heights) {
|
259
|
+
var max = Math.max.apply(null, heights);
|
260
|
+
/**
|
261
|
+
* Fires before the heights are applied
|
262
|
+
* @event Equalizer#preequalized
|
263
|
+
*/
|
264
|
+
this.$element.trigger('preequalized.zf.equalizer');
|
265
|
+
|
266
|
+
this.$watched.css('height', max);
|
267
|
+
|
268
|
+
/**
|
269
|
+
* Fires when the heights have been applied
|
270
|
+
* @event Equalizer#postequalized
|
271
|
+
*/
|
272
|
+
this.$element.trigger('postequalized.zf.equalizer');
|
273
|
+
}
|
274
|
+
|
275
|
+
/**
|
276
|
+
* Changes the CSS height property of each child in an Equalizer parent to match the tallest by row
|
277
|
+
* @param {array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
|
278
|
+
* @fires Equalizer#preequalized
|
279
|
+
* @fires Equalizer#preequalizedRow
|
280
|
+
* @fires Equalizer#postequalizedRow
|
281
|
+
* @fires Equalizer#postequalized
|
282
|
+
*/
|
283
|
+
|
284
|
+
}, {
|
285
|
+
key: 'applyHeightByRow',
|
286
|
+
value: function applyHeightByRow(groups) {
|
287
|
+
/**
|
288
|
+
* Fires before the heights are applied
|
289
|
+
*/
|
290
|
+
this.$element.trigger('preequalized.zf.equalizer');
|
291
|
+
for (var i = 0, len = groups.length; i < len; i++) {
|
292
|
+
var groupsILength = groups[i].length,
|
293
|
+
max = groups[i][groupsILength - 1];
|
294
|
+
if (groupsILength <= 2) {
|
295
|
+
$(groups[i][0][0]).css({ 'height': 'auto' });
|
296
|
+
continue;
|
297
|
+
}
|
298
|
+
/**
|
299
|
+
* Fires before the heights per row are applied
|
300
|
+
* @event Equalizer#preequalizedRow
|
301
|
+
*/
|
302
|
+
this.$element.trigger('preequalizedrow.zf.equalizer');
|
303
|
+
for (var j = 0, lenJ = groupsILength - 1; j < lenJ; j++) {
|
304
|
+
$(groups[i][j][0]).css({ 'height': max });
|
305
|
+
}
|
306
|
+
/**
|
307
|
+
* Fires when the heights per row have been applied
|
308
|
+
* @event Equalizer#postequalizedRow
|
309
|
+
*/
|
310
|
+
this.$element.trigger('postequalizedrow.zf.equalizer');
|
311
|
+
}
|
312
|
+
/**
|
313
|
+
* Fires when the heights have been applied
|
314
|
+
*/
|
315
|
+
this.$element.trigger('postequalized.zf.equalizer');
|
316
|
+
}
|
317
|
+
|
318
|
+
/**
|
319
|
+
* Destroys an instance of Equalizer.
|
320
|
+
* @function
|
321
|
+
*/
|
322
|
+
|
323
|
+
}, {
|
324
|
+
key: 'destroy',
|
325
|
+
value: function destroy() {
|
326
|
+
this._pauseEvents();
|
327
|
+
this.$watched.css('height', 'auto');
|
328
|
+
|
329
|
+
Foundation.unregisterPlugin(this);
|
330
|
+
}
|
331
|
+
}]);
|
332
|
+
|
333
|
+
return Equalizer;
|
334
|
+
}();
|
335
|
+
|
336
|
+
/**
|
337
|
+
* Default settings for plugin
|
338
|
+
*/
|
339
|
+
|
340
|
+
|
341
|
+
Equalizer.defaults = {
|
342
|
+
/**
|
343
|
+
* Enable height equalization when stacked on smaller screens.
|
344
|
+
* @option
|
345
|
+
* @example true
|
346
|
+
*/
|
347
|
+
equalizeOnStack: true,
|
348
|
+
/**
|
349
|
+
* Enable height equalization row by row.
|
350
|
+
* @option
|
351
|
+
* @example false
|
352
|
+
*/
|
353
|
+
equalizeByRow: false,
|
354
|
+
/**
|
355
|
+
* String representing the minimum breakpoint size the plugin should equalize heights on.
|
356
|
+
* @option
|
357
|
+
* @example 'medium'
|
358
|
+
*/
|
359
|
+
equalizeOn: ''
|
360
|
+
};
|
361
|
+
|
362
|
+
// Window exports
|
363
|
+
Foundation.plugin(Equalizer, 'Equalizer');
|
364
|
+
}(jQuery);
|
@@ -0,0 +1,227 @@
|
|
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
|
+
* Interchange module.
|
11
|
+
* @module foundation.interchange
|
12
|
+
* @requires foundation.util.mediaQuery
|
13
|
+
* @requires foundation.util.timerAndImageLoader
|
14
|
+
*/
|
15
|
+
|
16
|
+
var Interchange = function () {
|
17
|
+
/**
|
18
|
+
* Creates a new instance of Interchange.
|
19
|
+
* @class
|
20
|
+
* @fires Interchange#init
|
21
|
+
* @param {Object} element - jQuery object to add the trigger to.
|
22
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
23
|
+
*/
|
24
|
+
|
25
|
+
function Interchange(element, options) {
|
26
|
+
_classCallCheck(this, Interchange);
|
27
|
+
|
28
|
+
this.$element = element;
|
29
|
+
this.options = $.extend({}, Interchange.defaults, options);
|
30
|
+
this.rules = [];
|
31
|
+
this.currentPath = '';
|
32
|
+
|
33
|
+
this._init();
|
34
|
+
this._events();
|
35
|
+
|
36
|
+
Foundation.registerPlugin(this, 'Interchange');
|
37
|
+
}
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Initializes the Interchange plugin and calls functions to get interchange functioning on load.
|
41
|
+
* @function
|
42
|
+
* @private
|
43
|
+
*/
|
44
|
+
|
45
|
+
|
46
|
+
_createClass(Interchange, [{
|
47
|
+
key: '_init',
|
48
|
+
value: function _init() {
|
49
|
+
this._addBreakpoints();
|
50
|
+
this._generateRules();
|
51
|
+
this._reflow();
|
52
|
+
}
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Initializes events for Interchange.
|
56
|
+
* @function
|
57
|
+
* @private
|
58
|
+
*/
|
59
|
+
|
60
|
+
}, {
|
61
|
+
key: '_events',
|
62
|
+
value: function _events() {
|
63
|
+
$(window).on('resize.zf.interchange', Foundation.util.throttle(this._reflow.bind(this), 50));
|
64
|
+
}
|
65
|
+
|
66
|
+
/**
|
67
|
+
* Calls necessary functions to update Interchange upon DOM change
|
68
|
+
* @function
|
69
|
+
* @private
|
70
|
+
*/
|
71
|
+
|
72
|
+
}, {
|
73
|
+
key: '_reflow',
|
74
|
+
value: function _reflow() {
|
75
|
+
var match;
|
76
|
+
|
77
|
+
// Iterate through each rule, but only save the last match
|
78
|
+
for (var i in this.rules) {
|
79
|
+
if (this.rules.hasOwnProperty(i)) {
|
80
|
+
var rule = this.rules[i];
|
81
|
+
|
82
|
+
if (window.matchMedia(rule.query).matches) {
|
83
|
+
match = rule;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
if (match) {
|
89
|
+
this.replace(match.path);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Gets the Foundation breakpoints and adds them to the Interchange.SPECIAL_QUERIES object.
|
95
|
+
* @function
|
96
|
+
* @private
|
97
|
+
*/
|
98
|
+
|
99
|
+
}, {
|
100
|
+
key: '_addBreakpoints',
|
101
|
+
value: function _addBreakpoints() {
|
102
|
+
for (var i in Foundation.MediaQuery.queries) {
|
103
|
+
if (Foundation.MediaQuery.queries.hasOwnProperty(i)) {
|
104
|
+
var query = Foundation.MediaQuery.queries[i];
|
105
|
+
Interchange.SPECIAL_QUERIES[query.name] = query.value;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Checks the Interchange element for the provided media query + content pairings
|
112
|
+
* @function
|
113
|
+
* @private
|
114
|
+
* @param {Object} element - jQuery object that is an Interchange instance
|
115
|
+
* @returns {Array} scenarios - Array of objects that have 'mq' and 'path' keys with corresponding keys
|
116
|
+
*/
|
117
|
+
|
118
|
+
}, {
|
119
|
+
key: '_generateRules',
|
120
|
+
value: function _generateRules(element) {
|
121
|
+
var rulesList = [];
|
122
|
+
var rules;
|
123
|
+
|
124
|
+
if (this.options.rules) {
|
125
|
+
rules = this.options.rules;
|
126
|
+
} else {
|
127
|
+
rules = this.$element.data('interchange').match(/\[.*?\]/g);
|
128
|
+
}
|
129
|
+
|
130
|
+
for (var i in rules) {
|
131
|
+
if (rules.hasOwnProperty(i)) {
|
132
|
+
var rule = rules[i].slice(1, -1).split(', ');
|
133
|
+
var path = rule.slice(0, -1).join('');
|
134
|
+
var query = rule[rule.length - 1];
|
135
|
+
|
136
|
+
if (Interchange.SPECIAL_QUERIES[query]) {
|
137
|
+
query = Interchange.SPECIAL_QUERIES[query];
|
138
|
+
}
|
139
|
+
|
140
|
+
rulesList.push({
|
141
|
+
path: path,
|
142
|
+
query: query
|
143
|
+
});
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
this.rules = rulesList;
|
148
|
+
}
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Update the `src` property of an image, or change the HTML of a container, to the specified path.
|
152
|
+
* @function
|
153
|
+
* @param {String} path - Path to the image or HTML partial.
|
154
|
+
* @fires Interchange#replaced
|
155
|
+
*/
|
156
|
+
|
157
|
+
}, {
|
158
|
+
key: 'replace',
|
159
|
+
value: function replace(path) {
|
160
|
+
if (this.currentPath === path) return;
|
161
|
+
|
162
|
+
var _this = this,
|
163
|
+
trigger = 'replaced.zf.interchange';
|
164
|
+
|
165
|
+
// Replacing images
|
166
|
+
if (this.$element[0].nodeName === 'IMG') {
|
167
|
+
this.$element.attr('src', path).load(function () {
|
168
|
+
_this.currentPath = path;
|
169
|
+
}).trigger(trigger);
|
170
|
+
}
|
171
|
+
// Replacing background images
|
172
|
+
else if (path.match(/\.(gif|jpg|jpeg|png|svg|tiff)([?#].*)?/i)) {
|
173
|
+
this.$element.css({ 'background-image': 'url(' + path + ')' }).trigger(trigger);
|
174
|
+
}
|
175
|
+
// Replacing HTML
|
176
|
+
else {
|
177
|
+
$.get(path, function (response) {
|
178
|
+
_this.$element.html(response).trigger(trigger);
|
179
|
+
$(response).foundation();
|
180
|
+
_this.currentPath = path;
|
181
|
+
});
|
182
|
+
}
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Fires when content in an Interchange element is done being loaded.
|
186
|
+
* @event Interchange#replaced
|
187
|
+
*/
|
188
|
+
// this.$element.trigger('replaced.zf.interchange');
|
189
|
+
}
|
190
|
+
|
191
|
+
/**
|
192
|
+
* Destroys an instance of interchange.
|
193
|
+
* @function
|
194
|
+
*/
|
195
|
+
|
196
|
+
}, {
|
197
|
+
key: 'destroy',
|
198
|
+
value: function destroy() {
|
199
|
+
//TODO this.
|
200
|
+
}
|
201
|
+
}]);
|
202
|
+
|
203
|
+
return Interchange;
|
204
|
+
}();
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Default settings for plugin
|
208
|
+
*/
|
209
|
+
|
210
|
+
|
211
|
+
Interchange.defaults = {
|
212
|
+
/**
|
213
|
+
* Rules to be applied to Interchange elements. Set with the `data-interchange` array notation.
|
214
|
+
* @option
|
215
|
+
*/
|
216
|
+
rules: null
|
217
|
+
};
|
218
|
+
|
219
|
+
Interchange.SPECIAL_QUERIES = {
|
220
|
+
'landscape': 'screen and (orientation: landscape)',
|
221
|
+
'portrait': 'screen and (orientation: portrait)',
|
222
|
+
'retina': 'only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)'
|
223
|
+
};
|
224
|
+
|
225
|
+
// Window exports
|
226
|
+
Foundation.plugin(Interchange, 'Interchange');
|
227
|
+
}(jQuery);
|