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,597 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
!function($) {
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Slider module.
|
7
|
+
* @module foundation.slider
|
8
|
+
* @requires foundation.util.motion
|
9
|
+
* @requires foundation.util.triggers
|
10
|
+
* @requires foundation.util.keyboard
|
11
|
+
* @requires foundation.util.touch
|
12
|
+
*/
|
13
|
+
|
14
|
+
class Slider {
|
15
|
+
/**
|
16
|
+
* Creates a new instance of a drilldown menu.
|
17
|
+
* @class
|
18
|
+
* @param {jQuery} element - jQuery object to make into an accordion menu.
|
19
|
+
* @param {Object} options - Overrides to the default plugin settings.
|
20
|
+
*/
|
21
|
+
constructor(element, options) {
|
22
|
+
this.$element = element;
|
23
|
+
this.options = $.extend({}, Slider.defaults, this.$element.data(), options);
|
24
|
+
|
25
|
+
this._init();
|
26
|
+
|
27
|
+
Foundation.registerPlugin(this, 'Slider');
|
28
|
+
Foundation.Keyboard.register('Slider', {
|
29
|
+
'ltr': {
|
30
|
+
'ARROW_RIGHT': 'increase',
|
31
|
+
'ARROW_UP': 'increase',
|
32
|
+
'ARROW_DOWN': 'decrease',
|
33
|
+
'ARROW_LEFT': 'decrease',
|
34
|
+
'SHIFT_ARROW_RIGHT': 'increase_fast',
|
35
|
+
'SHIFT_ARROW_UP': 'increase_fast',
|
36
|
+
'SHIFT_ARROW_DOWN': 'decrease_fast',
|
37
|
+
'SHIFT_ARROW_LEFT': 'decrease_fast'
|
38
|
+
},
|
39
|
+
'rtl': {
|
40
|
+
'ARROW_LEFT': 'increase',
|
41
|
+
'ARROW_RIGHT': 'decrease',
|
42
|
+
'SHIFT_ARROW_LEFT': 'increase_fast',
|
43
|
+
'SHIFT_ARROW_RIGHT': 'decrease_fast'
|
44
|
+
}
|
45
|
+
});
|
46
|
+
}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Initilizes the plugin by reading/setting attributes, creating collections and setting the initial position of the handle(s).
|
50
|
+
* @function
|
51
|
+
* @private
|
52
|
+
*/
|
53
|
+
_init() {
|
54
|
+
this.inputs = this.$element.find('input');
|
55
|
+
this.handles = this.$element.find('[data-slider-handle]');
|
56
|
+
|
57
|
+
this.$handle = this.handles.eq(0);
|
58
|
+
this.$input = this.inputs.length ? this.inputs.eq(0) : $(`#${this.$handle.attr('aria-controls')}`);
|
59
|
+
this.$fill = this.$element.find('[data-slider-fill]').css(this.options.vertical ? 'height' : 'width', 0);
|
60
|
+
|
61
|
+
var isDbl = false,
|
62
|
+
_this = this;
|
63
|
+
if (this.options.disabled || this.$element.hasClass(this.options.disabledClass)) {
|
64
|
+
this.options.disabled = true;
|
65
|
+
this.$element.addClass(this.options.disabledClass);
|
66
|
+
}
|
67
|
+
if (!this.inputs.length) {
|
68
|
+
this.inputs = $().add(this.$input);
|
69
|
+
this.options.binding = true;
|
70
|
+
}
|
71
|
+
this._setInitAttr(0);
|
72
|
+
this._events(this.$handle);
|
73
|
+
|
74
|
+
if (this.handles[1]) {
|
75
|
+
this.options.doubleSided = true;
|
76
|
+
this.$handle2 = this.handles.eq(1);
|
77
|
+
this.$input2 = this.inputs.length > 1 ? this.inputs.eq(1) : $(`#${this.$handle2.attr('aria-controls')}`);
|
78
|
+
|
79
|
+
if (!this.inputs[1]) {
|
80
|
+
this.inputs = this.inputs.add(this.$input2);
|
81
|
+
}
|
82
|
+
isDbl = true;
|
83
|
+
|
84
|
+
this._setHandlePos(this.$handle, this.options.initialStart, true, function() {
|
85
|
+
|
86
|
+
_this._setHandlePos(_this.$handle2, _this.options.initialEnd, true);
|
87
|
+
});
|
88
|
+
// this.$handle.triggerHandler('click.zf.slider');
|
89
|
+
this._setInitAttr(1);
|
90
|
+
this._events(this.$handle2);
|
91
|
+
}
|
92
|
+
|
93
|
+
if (!isDbl) {
|
94
|
+
this._setHandlePos(this.$handle, this.options.initialStart, true);
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
/**
|
99
|
+
* Sets the position of the selected handle and fill bar.
|
100
|
+
* @function
|
101
|
+
* @private
|
102
|
+
* @param {jQuery} $hndl - the selected handle to move.
|
103
|
+
* @param {Number} location - floating point between the start and end values of the slider bar.
|
104
|
+
* @param {Function} cb - callback function to fire on completion.
|
105
|
+
* @fires Slider#moved
|
106
|
+
* @fires Slider#changed
|
107
|
+
*/
|
108
|
+
_setHandlePos($hndl, location, noInvert, cb) {
|
109
|
+
// don't move if the slider has been disabled since its initialization
|
110
|
+
if (this.$element.hasClass(this.options.disabledClass)) {
|
111
|
+
return;
|
112
|
+
}
|
113
|
+
//might need to alter that slightly for bars that will have odd number selections.
|
114
|
+
location = parseFloat(location);//on input change events, convert string to number...grumble.
|
115
|
+
|
116
|
+
// prevent slider from running out of bounds, if value exceeds the limits set through options, override the value to min/max
|
117
|
+
if (location < this.options.start) { location = this.options.start; }
|
118
|
+
else if (location > this.options.end) { location = this.options.end; }
|
119
|
+
|
120
|
+
var isDbl = this.options.doubleSided;
|
121
|
+
|
122
|
+
if (isDbl) { //this block is to prevent 2 handles from crossing eachother. Could/should be improved.
|
123
|
+
if (this.handles.index($hndl) === 0) {
|
124
|
+
var h2Val = parseFloat(this.$handle2.attr('aria-valuenow'));
|
125
|
+
location = location >= h2Val ? h2Val - this.options.step : location;
|
126
|
+
} else {
|
127
|
+
var h1Val = parseFloat(this.$handle.attr('aria-valuenow'));
|
128
|
+
location = location <= h1Val ? h1Val + this.options.step : location;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
//this is for single-handled vertical sliders, it adjusts the value to account for the slider being "upside-down"
|
133
|
+
//for click and drag events, it's weird due to the scale(-1, 1) css property
|
134
|
+
if (this.options.vertical && !noInvert) {
|
135
|
+
location = this.options.end - location;
|
136
|
+
}
|
137
|
+
|
138
|
+
var _this = this,
|
139
|
+
vert = this.options.vertical,
|
140
|
+
hOrW = vert ? 'height' : 'width',
|
141
|
+
lOrT = vert ? 'top' : 'left',
|
142
|
+
handleDim = $hndl[0].getBoundingClientRect()[hOrW],
|
143
|
+
elemDim = this.$element[0].getBoundingClientRect()[hOrW],
|
144
|
+
//percentage of bar min/max value based on click or drag point
|
145
|
+
pctOfBar = percent(location - this.options.start, this.options.end - this.options.start).toFixed(2),
|
146
|
+
//number of actual pixels to shift the handle, based on the percentage obtained above
|
147
|
+
pxToMove = (elemDim - handleDim) * pctOfBar,
|
148
|
+
//percentage of bar to shift the handle
|
149
|
+
movement = (percent(pxToMove, elemDim) * 100).toFixed(this.options.decimal);
|
150
|
+
//fixing the decimal value for the location number, is passed to other methods as a fixed floating-point value
|
151
|
+
location = parseFloat(location.toFixed(this.options.decimal));
|
152
|
+
// declare empty object for css adjustments, only used with 2 handled-sliders
|
153
|
+
var css = {};
|
154
|
+
|
155
|
+
this._setValues($hndl, location);
|
156
|
+
|
157
|
+
// TODO update to calculate based on values set to respective inputs??
|
158
|
+
if (isDbl) {
|
159
|
+
var isLeftHndl = this.handles.index($hndl) === 0,
|
160
|
+
//empty variable, will be used for min-height/width for fill bar
|
161
|
+
dim,
|
162
|
+
//percentage w/h of the handle compared to the slider bar
|
163
|
+
handlePct = ~~(percent(handleDim, elemDim) * 100);
|
164
|
+
//if left handle, the math is slightly different than if it's the right handle, and the left/top property needs to be changed for the fill bar
|
165
|
+
if (isLeftHndl) {
|
166
|
+
//left or top percentage value to apply to the fill bar.
|
167
|
+
css[lOrT] = `${movement}%`;
|
168
|
+
//calculate the new min-height/width for the fill bar.
|
169
|
+
dim = parseFloat(this.$handle2[0].style[lOrT]) - movement + handlePct;
|
170
|
+
//this callback is necessary to prevent errors and allow the proper placement and initialization of a 2-handled slider
|
171
|
+
//plus, it means we don't care if 'dim' isNaN on init, it won't be in the future.
|
172
|
+
if (cb && typeof cb === 'function') { cb(); }//this is only needed for the initialization of 2 handled sliders
|
173
|
+
} else {
|
174
|
+
//just caching the value of the left/bottom handle's left/top property
|
175
|
+
var handlePos = parseFloat(this.$handle[0].style[lOrT]);
|
176
|
+
//calculate the new min-height/width for the fill bar. Use isNaN to prevent false positives for numbers <= 0
|
177
|
+
//based on the percentage of movement of the handle being manipulated, less the opposing handle's left/top position, plus the percentage w/h of the handle itself
|
178
|
+
dim = movement - (isNaN(handlePos) ? this.options.initialStart/((this.options.end-this.options.start)/100) : handlePos) + handlePct;
|
179
|
+
}
|
180
|
+
// assign the min-height/width to our css object
|
181
|
+
css[`min-${hOrW}`] = `${dim}%`;
|
182
|
+
}
|
183
|
+
|
184
|
+
this.$element.one('finished.zf.animate', function() {
|
185
|
+
/**
|
186
|
+
* Fires when the handle is done moving.
|
187
|
+
* @event Slider#moved
|
188
|
+
*/
|
189
|
+
_this.$element.trigger('moved.zf.slider', [$hndl]);
|
190
|
+
});
|
191
|
+
|
192
|
+
//because we don't know exactly how the handle will be moved, check the amount of time it should take to move.
|
193
|
+
var moveTime = this.$element.data('dragging') ? 1000/60 : this.options.moveTime;
|
194
|
+
|
195
|
+
Foundation.Move(moveTime, $hndl, function() {
|
196
|
+
//adjusting the left/top property of the handle, based on the percentage calculated above
|
197
|
+
$hndl.css(lOrT, `${movement}%`);
|
198
|
+
|
199
|
+
if (!_this.options.doubleSided) {
|
200
|
+
//if single-handled, a simple method to expand the fill bar
|
201
|
+
_this.$fill.css(hOrW, `${pctOfBar * 100}%`);
|
202
|
+
} else {
|
203
|
+
//otherwise, use the css object we created above
|
204
|
+
_this.$fill.css(css);
|
205
|
+
}
|
206
|
+
});
|
207
|
+
|
208
|
+
/**
|
209
|
+
* Fires when the value has not been change for a given time.
|
210
|
+
* @event Slider#changed
|
211
|
+
*/
|
212
|
+
clearTimeout(_this.timeout);
|
213
|
+
_this.timeout = setTimeout(function(){
|
214
|
+
_this.$element.trigger('changed.zf.slider', [$hndl]);
|
215
|
+
}, _this.options.changedDelay);
|
216
|
+
}
|
217
|
+
|
218
|
+
/**
|
219
|
+
* Sets the initial attribute for the slider element.
|
220
|
+
* @function
|
221
|
+
* @private
|
222
|
+
* @param {Number} idx - index of the current handle/input to use.
|
223
|
+
*/
|
224
|
+
_setInitAttr(idx) {
|
225
|
+
var id = this.inputs.eq(idx).attr('id') || Foundation.GetYoDigits(6, 'slider');
|
226
|
+
this.inputs.eq(idx).attr({
|
227
|
+
'id': id,
|
228
|
+
'max': this.options.end,
|
229
|
+
'min': this.options.start,
|
230
|
+
'step': this.options.step
|
231
|
+
});
|
232
|
+
this.handles.eq(idx).attr({
|
233
|
+
'role': 'slider',
|
234
|
+
'aria-controls': id,
|
235
|
+
'aria-valuemax': this.options.end,
|
236
|
+
'aria-valuemin': this.options.start,
|
237
|
+
'aria-valuenow': idx === 0 ? this.options.initialStart : this.options.initialEnd,
|
238
|
+
'aria-orientation': this.options.vertical ? 'vertical' : 'horizontal',
|
239
|
+
'tabindex': 0
|
240
|
+
});
|
241
|
+
}
|
242
|
+
|
243
|
+
/**
|
244
|
+
* Sets the input and `aria-valuenow` values for the slider element.
|
245
|
+
* @function
|
246
|
+
* @private
|
247
|
+
* @param {jQuery} $handle - the currently selected handle.
|
248
|
+
* @param {Number} val - floating point of the new value.
|
249
|
+
*/
|
250
|
+
_setValues($handle, val) {
|
251
|
+
var idx = this.options.doubleSided ? this.handles.index($handle) : 0;
|
252
|
+
this.inputs.eq(idx).val(val);
|
253
|
+
$handle.attr('aria-valuenow', val);
|
254
|
+
}
|
255
|
+
|
256
|
+
/**
|
257
|
+
* Handles events on the slider element.
|
258
|
+
* Calculates the new location of the current handle.
|
259
|
+
* If there are two handles and the bar was clicked, it determines which handle to move.
|
260
|
+
* @function
|
261
|
+
* @private
|
262
|
+
* @param {Object} e - the `event` object passed from the listener.
|
263
|
+
* @param {jQuery} $handle - the current handle to calculate for, if selected.
|
264
|
+
* @param {Number} val - floating point number for the new value of the slider.
|
265
|
+
* TODO clean this up, there's a lot of repeated code between this and the _setHandlePos fn.
|
266
|
+
*/
|
267
|
+
_handleEvent(e, $handle, val) {
|
268
|
+
var value, hasVal;
|
269
|
+
if (!val) {//click or drag events
|
270
|
+
e.preventDefault();
|
271
|
+
var _this = this,
|
272
|
+
vertical = this.options.vertical,
|
273
|
+
param = vertical ? 'height' : 'width',
|
274
|
+
direction = vertical ? 'top' : 'left',
|
275
|
+
eventOffset = vertical ? e.pageY : e.pageX,
|
276
|
+
halfOfHandle = this.$handle[0].getBoundingClientRect()[param] / 2,
|
277
|
+
barDim = this.$element[0].getBoundingClientRect()[param],
|
278
|
+
windowScroll = vertical ? $(window).scrollTop() : $(window).scrollLeft();
|
279
|
+
|
280
|
+
|
281
|
+
var elemOffset = this.$element.offset()[direction];
|
282
|
+
|
283
|
+
// touch events emulated by the touch util give position relative to screen, add window.scroll to event coordinates...
|
284
|
+
// best way to guess this is simulated is if clientY == pageY
|
285
|
+
if (e.clientY === e.pageY) { eventOffset = eventOffset + windowScroll; }
|
286
|
+
var eventFromBar = eventOffset - elemOffset;
|
287
|
+
var barXY;
|
288
|
+
if (eventFromBar < 0) {
|
289
|
+
barXY = 0;
|
290
|
+
} else if (eventFromBar > barDim) {
|
291
|
+
barXY = barDim;
|
292
|
+
} else {
|
293
|
+
barXY = eventFromBar;
|
294
|
+
}
|
295
|
+
offsetPct = percent(barXY, barDim);
|
296
|
+
|
297
|
+
value = (this.options.end - this.options.start) * offsetPct + this.options.start;
|
298
|
+
|
299
|
+
// turn everything around for RTL, yay math!
|
300
|
+
if (Foundation.rtl() && !this.options.vertical) {value = this.options.end - value;}
|
301
|
+
|
302
|
+
value = _this._adjustValue(null, value);
|
303
|
+
//boolean flag for the setHandlePos fn, specifically for vertical sliders
|
304
|
+
hasVal = false;
|
305
|
+
|
306
|
+
if (!$handle) {//figure out which handle it is, pass it to the next function.
|
307
|
+
var firstHndlPos = absPosition(this.$handle, direction, barXY, param),
|
308
|
+
secndHndlPos = absPosition(this.$handle2, direction, barXY, param);
|
309
|
+
$handle = firstHndlPos <= secndHndlPos ? this.$handle : this.$handle2;
|
310
|
+
}
|
311
|
+
|
312
|
+
} else {//change event on input
|
313
|
+
value = this._adjustValue(null, val);
|
314
|
+
hasVal = true;
|
315
|
+
}
|
316
|
+
|
317
|
+
this._setHandlePos($handle, value, hasVal);
|
318
|
+
}
|
319
|
+
|
320
|
+
/**
|
321
|
+
* Adjustes value for handle in regard to step value. returns adjusted value
|
322
|
+
* @function
|
323
|
+
* @private
|
324
|
+
* @param {jQuery} $handle - the selected handle.
|
325
|
+
* @param {Number} value - value to adjust. used if $handle is falsy
|
326
|
+
*/
|
327
|
+
_adjustValue($handle, value) {
|
328
|
+
var val,
|
329
|
+
step = this.options.step,
|
330
|
+
div = parseFloat(step/2),
|
331
|
+
left, prev_val, next_val;
|
332
|
+
if (!!$handle) {
|
333
|
+
val = parseFloat($handle.attr('aria-valuenow'));
|
334
|
+
}
|
335
|
+
else {
|
336
|
+
val = value;
|
337
|
+
}
|
338
|
+
left = val % step;
|
339
|
+
prev_val = val - left;
|
340
|
+
next_val = prev_val + step;
|
341
|
+
if (left === 0) {
|
342
|
+
return val;
|
343
|
+
}
|
344
|
+
val = val >= prev_val + div ? next_val : prev_val;
|
345
|
+
return val;
|
346
|
+
}
|
347
|
+
|
348
|
+
/**
|
349
|
+
* Adds event listeners to the slider elements.
|
350
|
+
* @function
|
351
|
+
* @private
|
352
|
+
* @param {jQuery} $handle - the current handle to apply listeners to.
|
353
|
+
*/
|
354
|
+
_events($handle) {
|
355
|
+
var _this = this,
|
356
|
+
curHandle,
|
357
|
+
timer;
|
358
|
+
|
359
|
+
this.inputs.off('change.zf.slider').on('change.zf.slider', function(e) {
|
360
|
+
var idx = _this.inputs.index($(this));
|
361
|
+
_this._handleEvent(e, _this.handles.eq(idx), $(this).val());
|
362
|
+
});
|
363
|
+
|
364
|
+
if (this.options.clickSelect) {
|
365
|
+
this.$element.off('click.zf.slider').on('click.zf.slider', function(e) {
|
366
|
+
if (_this.$element.data('dragging')) { return false; }
|
367
|
+
|
368
|
+
if (!$(e.target).is('[data-slider-handle]')) {
|
369
|
+
if (_this.options.doubleSided) {
|
370
|
+
_this._handleEvent(e);
|
371
|
+
} else {
|
372
|
+
_this._handleEvent(e, _this.$handle);
|
373
|
+
}
|
374
|
+
}
|
375
|
+
});
|
376
|
+
}
|
377
|
+
|
378
|
+
if (this.options.draggable) {
|
379
|
+
this.handles.addTouch();
|
380
|
+
|
381
|
+
var $body = $('body');
|
382
|
+
$handle
|
383
|
+
.off('mousedown.zf.slider')
|
384
|
+
.on('mousedown.zf.slider', function(e) {
|
385
|
+
$handle.addClass('is-dragging');
|
386
|
+
_this.$fill.addClass('is-dragging');//
|
387
|
+
_this.$element.data('dragging', true);
|
388
|
+
|
389
|
+
curHandle = $(e.currentTarget);
|
390
|
+
|
391
|
+
$body.on('mousemove.zf.slider', function(e) {
|
392
|
+
e.preventDefault();
|
393
|
+
_this._handleEvent(e, curHandle);
|
394
|
+
|
395
|
+
}).on('mouseup.zf.slider', function(e) {
|
396
|
+
_this._handleEvent(e, curHandle);
|
397
|
+
|
398
|
+
$handle.removeClass('is-dragging');
|
399
|
+
_this.$fill.removeClass('is-dragging');
|
400
|
+
_this.$element.data('dragging', false);
|
401
|
+
|
402
|
+
$body.off('mousemove.zf.slider mouseup.zf.slider');
|
403
|
+
});
|
404
|
+
})
|
405
|
+
// prevent events triggered by touch
|
406
|
+
.on('selectstart.zf.slider touchmove.zf.slider', function(e) {
|
407
|
+
e.preventDefault();
|
408
|
+
});
|
409
|
+
}
|
410
|
+
|
411
|
+
$handle.off('keydown.zf.slider').on('keydown.zf.slider', function(e) {
|
412
|
+
var _$handle = $(this),
|
413
|
+
idx = _this.options.doubleSided ? _this.handles.index(_$handle) : 0,
|
414
|
+
oldValue = parseFloat(_this.inputs.eq(idx).val()),
|
415
|
+
newValue;
|
416
|
+
|
417
|
+
// handle keyboard event with keyboard util
|
418
|
+
Foundation.Keyboard.handleKey(e, 'Slider', {
|
419
|
+
decrease: function() {
|
420
|
+
newValue = oldValue - _this.options.step;
|
421
|
+
},
|
422
|
+
increase: function() {
|
423
|
+
newValue = oldValue + _this.options.step;
|
424
|
+
},
|
425
|
+
decrease_fast: function() {
|
426
|
+
newValue = oldValue - _this.options.step * 10;
|
427
|
+
},
|
428
|
+
increase_fast: function() {
|
429
|
+
newValue = oldValue + _this.options.step * 10;
|
430
|
+
},
|
431
|
+
handled: function() { // only set handle pos when event was handled specially
|
432
|
+
e.preventDefault();
|
433
|
+
_this._setHandlePos(_$handle, newValue, true);
|
434
|
+
}
|
435
|
+
});
|
436
|
+
/*if (newValue) { // if pressed key has special function, update value
|
437
|
+
e.preventDefault();
|
438
|
+
_this._setHandlePos(_$handle, newValue);
|
439
|
+
}*/
|
440
|
+
});
|
441
|
+
}
|
442
|
+
|
443
|
+
/**
|
444
|
+
* Destroys the slider plugin.
|
445
|
+
*/
|
446
|
+
destroy() {
|
447
|
+
this.handles.off('.zf.slider');
|
448
|
+
this.inputs.off('.zf.slider');
|
449
|
+
this.$element.off('.zf.slider');
|
450
|
+
|
451
|
+
Foundation.unregisterPlugin(this);
|
452
|
+
}
|
453
|
+
}
|
454
|
+
|
455
|
+
Slider.defaults = {
|
456
|
+
/**
|
457
|
+
* Minimum value for the slider scale.
|
458
|
+
* @option
|
459
|
+
* @example 0
|
460
|
+
*/
|
461
|
+
start: 0,
|
462
|
+
/**
|
463
|
+
* Maximum value for the slider scale.
|
464
|
+
* @option
|
465
|
+
* @example 100
|
466
|
+
*/
|
467
|
+
end: 100,
|
468
|
+
/**
|
469
|
+
* Minimum value change per change event.
|
470
|
+
* @option
|
471
|
+
* @example 1
|
472
|
+
*/
|
473
|
+
step: 1,
|
474
|
+
/**
|
475
|
+
* Value at which the handle/input *(left handle/first input)* should be set to on initialization.
|
476
|
+
* @option
|
477
|
+
* @example 0
|
478
|
+
*/
|
479
|
+
initialStart: 0,
|
480
|
+
/**
|
481
|
+
* Value at which the right handle/second input should be set to on initialization.
|
482
|
+
* @option
|
483
|
+
* @example 100
|
484
|
+
*/
|
485
|
+
initialEnd: 100,
|
486
|
+
/**
|
487
|
+
* Allows the input to be located outside the container and visible. Set to by the JS
|
488
|
+
* @option
|
489
|
+
* @example false
|
490
|
+
*/
|
491
|
+
binding: false,
|
492
|
+
/**
|
493
|
+
* Allows the user to click/tap on the slider bar to select a value.
|
494
|
+
* @option
|
495
|
+
* @example true
|
496
|
+
*/
|
497
|
+
clickSelect: true,
|
498
|
+
/**
|
499
|
+
* Set to true and use the `vertical` class to change alignment to vertical.
|
500
|
+
* @option
|
501
|
+
* @example false
|
502
|
+
*/
|
503
|
+
vertical: false,
|
504
|
+
/**
|
505
|
+
* Allows the user to drag the slider handle(s) to select a value.
|
506
|
+
* @option
|
507
|
+
* @example true
|
508
|
+
*/
|
509
|
+
draggable: true,
|
510
|
+
/**
|
511
|
+
* Disables the slider and prevents event listeners from being applied. Double checked by JS with `disabledClass`.
|
512
|
+
* @option
|
513
|
+
* @example false
|
514
|
+
*/
|
515
|
+
disabled: false,
|
516
|
+
/**
|
517
|
+
* Allows the use of two handles. Double checked by the JS. Changes some logic handling.
|
518
|
+
* @option
|
519
|
+
* @example false
|
520
|
+
*/
|
521
|
+
doubleSided: false,
|
522
|
+
/**
|
523
|
+
* Potential future feature.
|
524
|
+
*/
|
525
|
+
// steps: 100,
|
526
|
+
/**
|
527
|
+
* Number of decimal places the plugin should go to for floating point precision.
|
528
|
+
* @option
|
529
|
+
* @example 2
|
530
|
+
*/
|
531
|
+
decimal: 2,
|
532
|
+
/**
|
533
|
+
* Time delay for dragged elements.
|
534
|
+
*/
|
535
|
+
// dragDelay: 0,
|
536
|
+
/**
|
537
|
+
* Time, in ms, to animate the movement of a slider handle if user clicks/taps on the bar. Needs to be manually set if updating the transition time in the Sass settings.
|
538
|
+
* @option
|
539
|
+
* @example 200
|
540
|
+
*/
|
541
|
+
moveTime: 200,//update this if changing the transition time in the sass
|
542
|
+
/**
|
543
|
+
* Class applied to disabled sliders.
|
544
|
+
* @option
|
545
|
+
* @example 'disabled'
|
546
|
+
*/
|
547
|
+
disabledClass: 'disabled',
|
548
|
+
/**
|
549
|
+
* Will invert the default layout for a vertical<span data-tooltip title="who would do this???"> </span>slider.
|
550
|
+
* @option
|
551
|
+
* @example false
|
552
|
+
*/
|
553
|
+
invertVertical: false,
|
554
|
+
/**
|
555
|
+
* Milliseconds before the `changed.zf-slider` event is triggered after value change.
|
556
|
+
* @option
|
557
|
+
* @example 500
|
558
|
+
*/
|
559
|
+
changedDelay: 500
|
560
|
+
};
|
561
|
+
|
562
|
+
function percent(frac, num) {
|
563
|
+
return (frac / num);
|
564
|
+
}
|
565
|
+
function absPosition($handle, dir, clickPos, param) {
|
566
|
+
return Math.abs(($handle.position()[dir] + ($handle[param]() / 2)) - clickPos);
|
567
|
+
}
|
568
|
+
|
569
|
+
// Window exports
|
570
|
+
Foundation.plugin(Slider, 'Slider');
|
571
|
+
|
572
|
+
}(jQuery);
|
573
|
+
|
574
|
+
//*********this is in case we go to static, absolute positions instead of dynamic positioning********
|
575
|
+
// this.setSteps(function() {
|
576
|
+
// _this._events();
|
577
|
+
// var initStart = _this.options.positions[_this.options.initialStart - 1] || null;
|
578
|
+
// var initEnd = _this.options.initialEnd ? _this.options.position[_this.options.initialEnd - 1] : null;
|
579
|
+
// if (initStart || initEnd) {
|
580
|
+
// _this._handleEvent(initStart, initEnd);
|
581
|
+
// }
|
582
|
+
// });
|
583
|
+
|
584
|
+
//***********the other part of absolute positions*************
|
585
|
+
// Slider.prototype.setSteps = function(cb) {
|
586
|
+
// var posChange = this.$element.outerWidth() / this.options.steps;
|
587
|
+
// var counter = 0
|
588
|
+
// while(counter < this.options.steps) {
|
589
|
+
// if (counter) {
|
590
|
+
// this.options.positions.push(this.options.positions[counter - 1] + posChange);
|
591
|
+
// } else {
|
592
|
+
// this.options.positions.push(posChange);
|
593
|
+
// }
|
594
|
+
// counter++;
|
595
|
+
// }
|
596
|
+
// cb();
|
597
|
+
// };
|