jekyll-theme-pirati 7.7.1 → 8.0.0.pre.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/campaigns.yml +9 -0
- data/_data/menu.yml +10 -13
- data/_includes/404.html +2 -18
- data/_includes/article-infobox.html +5 -1
- data/_includes/articles/author.html +4 -4
- data/_includes/articles/list-responsive.html +4 -8
- data/_includes/articles/pagination.html +21 -22
- data/_includes/articles/vertical-article.html +44 -36
- data/_includes/avatar.html +9 -0
- data/_includes/buttons/basic.html +3 -0
- data/_includes/buttons/icon.html +8 -0
- data/_includes/buttons/super.html +4 -0
- data/_includes/calendar.html +21 -0
- data/_includes/candidate-badge.html +48 -24
- data/_includes/contact-line.html +4 -0
- data/_includes/contacts/residence.html +23 -37
- data/_includes/contacts/summary-table.html +64 -58
- data/_includes/countdown.html +13 -0
- data/_includes/footer.html +88 -124
- data/_includes/head.html +3 -5
- data/_includes/header.html +138 -65
- data/_includes/headline-media.html +14 -20
- data/_includes/hero/advanced.html +65 -0
- data/_includes/hero/simple.html +13 -0
- data/_includes/homepage/banner.html +10 -15
- data/_includes/homepage/calendar.html +5 -0
- data/_includes/homepage/countdown.html +3 -0
- data/_includes/homepage/news.html +9 -0
- data/_includes/homepage/social.html +10 -0
- data/_includes/js/main.html +10 -18
- data/_includes/page-header.html +8 -15
- data/_includes/people/list-group.html +2 -8
- data/_includes/people/list-responsive.html +2 -5
- data/_includes/people/profile-badge.html +51 -45
- data/_includes/regions/crossroad.html +51 -57
- data/_includes/right-bar/bar_garant.html +2 -13
- data/_includes/right-bar/bar_people.html +14 -19
- data/_includes/right-bar/bar_profile.html +73 -0
- data/_includes/right-bar/bar_program.html +17 -22
- data/_includes/right-bar/rbar.html +50 -53
- data/_includes/right-bar/rbar_profiles.html +18 -7
- data/_includes/sharebox.html +21 -0
- data/_includes/social-icon-group.html +23 -0
- data/_layouts/blank-article.html +14 -14
- data/_layouts/blank.html +1 -5
- data/_layouts/communal-elections.html +167 -82
- data/_layouts/contacts.html +62 -85
- data/_layouts/default.html +1 -12
- data/_layouts/members.html +24 -24
- data/_layouts/person.html +35 -25
- data/_layouts/pirate-center.html +87 -0
- data/_layouts/post.html +56 -95
- data/_layouts/program-post.html +5 -1
- data/_layouts/regions.html +5 -6
- data/assets/img/people/ppp.jpg +0 -0
- data/assets/img/people/ppp.png +0 -0
- data/assets/img/people/unknown-pirate.svg +48 -3
- metadata +22 -528
- data/_includes/homepage/news-with-rbar.html +0 -22
- data/_includes/js/webpack.html +0 -13
- data/_includes/menu.html +0 -43
- data/_includes/right-bar/bar_foto.html +0 -30
- data/_includes/right-bar/bar_person_contact.html +0 -50
- data/_includes/submenu.html +0 -28
- data/_sass/foundation-sites/LICENSE +0 -22
- data/_sass/foundation-sites/README.md +0 -44
- data/_sass/foundation-sites/assets/foundation-flex.scss +0 -3
- data/_sass/foundation-sites/assets/foundation-rtl.scss +0 -5
- data/_sass/foundation-sites/assets/foundation.scss +0 -3
- data/_sass/foundation-sites/code-of-conduct.md +0 -43
- data/_sass/foundation-sites/customizer/complete.json +0 -46
- data/_sass/foundation-sites/customizer/config.yml +0 -218
- data/_sass/foundation-sites/customizer/essential.json +0 -11
- data/_sass/foundation-sites/customizer/index.html +0 -169
- data/_sass/foundation-sites/dist/foundation-flex.css +0 -4028
- data/_sass/foundation-sites/dist/foundation-flex.min.css +0 -2
- data/_sass/foundation-sites/dist/foundation-rtl.css +0 -3583
- data/_sass/foundation-sites/dist/foundation-rtl.min.css +0 -2
- data/_sass/foundation-sites/dist/foundation.css +0 -3578
- data/_sass/foundation-sites/dist/foundation.js +0 -9069
- data/_sass/foundation-sites/dist/foundation.min.css +0 -2
- data/_sass/foundation-sites/dist/foundation.min.js +0 -4
- data/_sass/foundation-sites/dist/plugins/foundation.abide.js +0 -600
- data/_sass/foundation-sites/dist/plugins/foundation.accordion.js +0 -262
- data/_sass/foundation-sites/dist/plugins/foundation.accordionMenu.js +0 -307
- data/_sass/foundation-sites/dist/plugins/foundation.core.js +0 -386
- data/_sass/foundation-sites/dist/plugins/foundation.drilldown.js +0 -409
- data/_sass/foundation-sites/dist/plugins/foundation.dropdown.js +0 -447
- data/_sass/foundation-sites/dist/plugins/foundation.dropdownMenu.js +0 -447
- data/_sass/foundation-sites/dist/plugins/foundation.equalizer.js +0 -364
- data/_sass/foundation-sites/dist/plugins/foundation.interchange.js +0 -227
- data/_sass/foundation-sites/dist/plugins/foundation.magellan.js +0 -257
- data/_sass/foundation-sites/dist/plugins/foundation.offcanvas.js +0 -438
- data/_sass/foundation-sites/dist/plugins/foundation.orbit.js +0 -484
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveMenu.js +0 -171
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveToggle.js +0 -142
- data/_sass/foundation-sites/dist/plugins/foundation.reveal.js +0 -623
- data/_sass/foundation-sites/dist/plugins/foundation.slider.js +0 -648
- data/_sass/foundation-sites/dist/plugins/foundation.sticky.js +0 -495
- data/_sass/foundation-sites/dist/plugins/foundation.tabs.js +0 -348
- data/_sass/foundation-sites/dist/plugins/foundation.toggler.js +0 -166
- data/_sass/foundation-sites/dist/plugins/foundation.tooltip.js +0 -468
- data/_sass/foundation-sites/dist/plugins/foundation.util.box.js +0 -196
- data/_sass/foundation-sites/dist/plugins/foundation.util.keyboard.js +0 -123
- data/_sass/foundation-sites/dist/plugins/foundation.util.mediaQuery.js +0 -216
- data/_sass/foundation-sites/dist/plugins/foundation.util.motion.js +0 -97
- data/_sass/foundation-sites/dist/plugins/foundation.util.nest.js +0 -69
- data/_sass/foundation-sites/dist/plugins/foundation.util.timerAndImageLoader.js +0 -84
- data/_sass/foundation-sites/dist/plugins/foundation.util.touch.js +0 -352
- data/_sass/foundation-sites/dist/plugins/foundation.util.triggers.js +0 -243
- data/_sass/foundation-sites/docslink.sh +0 -3
- data/_sass/foundation-sites/js/foundation.abide.js +0 -543
- data/_sass/foundation-sites/js/foundation.accordion.js +0 -237
- data/_sass/foundation-sites/js/foundation.accordionMenu.js +0 -274
- data/_sass/foundation-sites/js/foundation.core.js +0 -378
- data/_sass/foundation-sites/js/foundation.drilldown.js +0 -369
- data/_sass/foundation-sites/js/foundation.dropdown.js +0 -409
- data/_sass/foundation-sites/js/foundation.dropdownMenu.js +0 -404
- data/_sass/foundation-sites/js/foundation.equalizer.js +0 -306
- data/_sass/foundation-sites/js/foundation.interchange.js +0 -198
- data/_sass/foundation-sites/js/foundation.magellan.js +0 -223
- data/_sass/foundation-sites/js/foundation.offcanvas.js +0 -398
- data/_sass/foundation-sites/js/foundation.orbit.js +0 -446
- data/_sass/foundation-sites/js/foundation.responsiveMenu.js +0 -148
- data/_sass/foundation-sites/js/foundation.responsiveToggle.js +0 -119
- data/_sass/foundation-sites/js/foundation.reveal.js +0 -576
- data/_sass/foundation-sites/js/foundation.slider.js +0 -597
- data/_sass/foundation-sites/js/foundation.sticky.js +0 -450
- data/_sass/foundation-sites/js/foundation.tabs.js +0 -333
- data/_sass/foundation-sites/js/foundation.toggler.js +0 -144
- data/_sass/foundation-sites/js/foundation.tooltip.js +0 -444
- data/_sass/foundation-sites/js/foundation.util.box.js +0 -195
- data/_sass/foundation-sites/js/foundation.util.keyboard.js +0 -115
- data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +0 -214
- data/_sass/foundation-sites/js/foundation.util.motion.js +0 -99
- data/_sass/foundation-sites/js/foundation.util.nest.js +0 -76
- data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +0 -86
- data/_sass/foundation-sites/js/foundation.util.touch.js +0 -352
- data/_sass/foundation-sites/js/foundation.util.triggers.js +0 -239
- data/_sass/foundation-sites/node_modules/jquery/AUTHORS.txt +0 -278
- data/_sass/foundation-sites/node_modules/jquery/LICENSE.txt +0 -36
- data/_sass/foundation-sites/node_modules/jquery/README.md +0 -65
- data/_sass/foundation-sites/node_modules/jquery/bower.json +0 -14
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.js +0 -9814
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.js +0 -4
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.map +0 -1
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2143
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
- data/_sass/foundation-sites/node_modules/jquery/package.json +0 -112
- data/_sass/foundation-sites/node_modules/jquery/src/ajax.js +0 -845
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/jsonp.js +0 -100
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/load.js +0 -83
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseJSON.js +0 -13
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseXML.js +0 -27
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/script.js +0 -68
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/location.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/nonce.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/rquery.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/xhr.js +0 -167
- data/_sass/foundation-sites/node_modules/jquery/src/attributes.js +0 -11
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/attr.js +0 -142
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/classes.js +0 -177
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/prop.js +0 -125
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/support.js +0 -36
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/val.js +0 -177
- data/_sass/foundation-sites/node_modules/jquery/src/callbacks.js +0 -232
- data/_sass/foundation-sites/node_modules/jquery/src/core.js +0 -494
- data/_sass/foundation-sites/node_modules/jquery/src/core/access.js +0 -65
- data/_sass/foundation-sites/node_modules/jquery/src/core/init.js +0 -134
- data/_sass/foundation-sites/node_modules/jquery/src/core/parseHTML.js +0 -41
- data/_sass/foundation-sites/node_modules/jquery/src/core/ready.js +0 -103
- data/_sass/foundation-sites/node_modules/jquery/src/core/var/rsingleTag.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/css.js +0 -502
- data/_sass/foundation-sites/node_modules/jquery/src/css/addGetHookIf.js +0 -24
- data/_sass/foundation-sites/node_modules/jquery/src/css/adjustCSS.js +0 -65
- data/_sass/foundation-sites/node_modules/jquery/src/css/curCSS.js +0 -60
- data/_sass/foundation-sites/node_modules/jquery/src/css/defaultDisplay.js +0 -72
- data/_sass/foundation-sites/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -18
- data/_sass/foundation-sites/node_modules/jquery/src/css/showHide.js +0 -48
- data/_sass/foundation-sites/node_modules/jquery/src/css/support.js +0 -121
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/cssExpand.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/getStyles.js +0 -15
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/isHidden.js +0 -16
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rmargin.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rnumnonpx.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/swap.js +0 -24
- data/_sass/foundation-sites/node_modules/jquery/src/data.js +0 -187
- data/_sass/foundation-sites/node_modules/jquery/src/data/Data.js +0 -200
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/acceptData.js +0 -18
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataPriv.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataUser.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/deferred.js +0 -158
- data/_sass/foundation-sites/node_modules/jquery/src/deprecated.js +0 -32
- data/_sass/foundation-sites/node_modules/jquery/src/dimensions.js +0 -54
- data/_sass/foundation-sites/node_modules/jquery/src/effects.js +0 -629
- data/_sass/foundation-sites/node_modules/jquery/src/effects/Tween.js +0 -121
- data/_sass/foundation-sites/node_modules/jquery/src/effects/animatedSelector.js +0 -13
- data/_sass/foundation-sites/node_modules/jquery/src/event.js +0 -711
- data/_sass/foundation-sites/node_modules/jquery/src/event/ajax.js +0 -20
- data/_sass/foundation-sites/node_modules/jquery/src/event/alias.js +0 -27
- data/_sass/foundation-sites/node_modules/jquery/src/event/focusin.js +0 -53
- data/_sass/foundation-sites/node_modules/jquery/src/event/support.js +0 -9
- data/_sass/foundation-sites/node_modules/jquery/src/event/trigger.js +0 -183
- data/_sass/foundation-sites/node_modules/jquery/src/exports/amd.js +0 -24
- data/_sass/foundation-sites/node_modules/jquery/src/exports/global.js +0 -26
- data/_sass/foundation-sites/node_modules/jquery/src/intro.js +0 -44
- data/_sass/foundation-sites/node_modules/jquery/src/jquery.js +0 -37
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation.js +0 -481
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/_evalUrl.js +0 -20
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/buildFragment.js +0 -102
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/getAll.js +0 -21
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -20
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/support.js +0 -33
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rtagName.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/wrapMap.js +0 -27
- data/_sass/foundation-sites/node_modules/jquery/src/offset.js +0 -218
- data/_sass/foundation-sites/node_modules/jquery/src/outro.js +0 -2
- data/_sass/foundation-sites/node_modules/jquery/src/queue.js +0 -143
- data/_sass/foundation-sites/node_modules/jquery/src/queue/delay.js +0 -22
- data/_sass/foundation-sites/node_modules/jquery/src/selector-native.js +0 -211
- data/_sass/foundation-sites/node_modules/jquery/src/selector-sizzle.js +0 -14
- data/_sass/foundation-sites/node_modules/jquery/src/selector.js +0 -1
- data/_sass/foundation-sites/node_modules/jquery/src/serialize.js +0 -125
- data/_sass/foundation-sites/node_modules/jquery/src/traversing.js +0 -175
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/findFilter.js +0 -100
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/dir.js +0 -20
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/siblings.js +0 -15
- data/_sass/foundation-sites/node_modules/jquery/src/var/arr.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/var/class2type.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/concat.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/document.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/var/documentElement.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/hasOwn.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/indexOf.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/pnum.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/var/push.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/rcssNum.js +0 -7
- data/_sass/foundation-sites/node_modules/jquery/src/var/rnotwhite.js +0 -3
- data/_sass/foundation-sites/node_modules/jquery/src/var/slice.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/support.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/var/toString.js +0 -5
- data/_sass/foundation-sites/node_modules/jquery/src/wrap.js +0 -79
- data/_sass/foundation-sites/package.json +0 -148
- data/_sass/foundation-sites/scss/_global.scss +0 -638
- data/_sass/foundation-sites/scss/components/_accordion-menu.scss +0 -32
- data/_sass/foundation-sites/scss/components/_accordion.scss +0 -129
- data/_sass/foundation-sites/scss/components/_badge.scss +0 -55
- data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +0 -95
- data/_sass/foundation-sites/scss/components/_button-group.scss +0 -195
- data/_sass/foundation-sites/scss/components/_button.scss +0 -265
- data/_sass/foundation-sites/scss/components/_callout.scss +0 -105
- data/_sass/foundation-sites/scss/components/_close-button.scss +0 -61
- data/_sass/foundation-sites/scss/components/_drilldown.scss +0 -79
- data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +0 -221
- data/_sass/foundation-sites/scss/components/_dropdown.scss +0 -65
- data/_sass/foundation-sites/scss/components/_flex-video.scss +0 -63
- data/_sass/foundation-sites/scss/components/_flex.scss +0 -28
- data/_sass/foundation-sites/scss/components/_float.scss +0 -27
- data/_sass/foundation-sites/scss/components/_label.scss +0 -56
- data/_sass/foundation-sites/scss/components/_media-object.scss +0 -115
- data/_sass/foundation-sites/scss/components/_menu-icon.scss +0 -9
- data/_sass/foundation-sites/scss/components/_menu.scss +0 -314
- data/_sass/foundation-sites/scss/components/_off-canvas.scss +0 -177
- data/_sass/foundation-sites/scss/components/_orbit.scss +0 -193
- data/_sass/foundation-sites/scss/components/_pagination.scss +0 -162
- data/_sass/foundation-sites/scss/components/_progress-bar.scss +0 -64
- data/_sass/foundation-sites/scss/components/_reveal.scss +0 -172
- data/_sass/foundation-sites/scss/components/_slider.scss +0 -133
- data/_sass/foundation-sites/scss/components/_sticky.scss +0 -38
- data/_sass/foundation-sites/scss/components/_switch.scss +0 -232
- data/_sass/foundation-sites/scss/components/_table.scss +0 -234
- data/_sass/foundation-sites/scss/components/_tabs.scss +0 -165
- data/_sass/foundation-sites/scss/components/_thumbnail.scss +0 -54
- data/_sass/foundation-sites/scss/components/_title-bar.scss +0 -89
- data/_sass/foundation-sites/scss/components/_tooltip.scss +0 -104
- data/_sass/foundation-sites/scss/components/_top-bar.scss +0 -168
- data/_sass/foundation-sites/scss/components/_visibility.scss +0 -132
- data/_sass/foundation-sites/scss/forms/_checkbox.scss +0 -40
- data/_sass/foundation-sites/scss/forms/_error.scss +0 -84
- data/_sass/foundation-sites/scss/forms/_fieldset.scss +0 -54
- data/_sass/foundation-sites/scss/forms/_forms.scss +0 -34
- data/_sass/foundation-sites/scss/forms/_help-text.scss +0 -30
- data/_sass/foundation-sites/scss/forms/_input-group.scss +0 -128
- data/_sass/foundation-sites/scss/forms/_label.scss +0 -48
- data/_sass/foundation-sites/scss/forms/_meter.scss +0 -109
- data/_sass/foundation-sites/scss/forms/_progress.scss +0 -85
- data/_sass/foundation-sites/scss/forms/_range.scss +0 -144
- data/_sass/foundation-sites/scss/forms/_select.scss +0 -67
- data/_sass/foundation-sites/scss/forms/_text.scss +0 -163
- data/_sass/foundation-sites/scss/foundation.scss +0 -102
- data/_sass/foundation-sites/scss/grid/_classes.scss +0 -151
- data/_sass/foundation-sites/scss/grid/_column.scss +0 -126
- data/_sass/foundation-sites/scss/grid/_flex-grid.scss +0 -274
- data/_sass/foundation-sites/scss/grid/_grid.scss +0 -60
- data/_sass/foundation-sites/scss/grid/_gutter.scss +0 -34
- data/_sass/foundation-sites/scss/grid/_layout.scss +0 -51
- data/_sass/foundation-sites/scss/grid/_position.scss +0 -73
- data/_sass/foundation-sites/scss/grid/_row.scss +0 -95
- data/_sass/foundation-sites/scss/grid/_size.scss +0 -24
- data/_sass/foundation-sites/scss/settings/_settings.scss +0 -567
- data/_sass/foundation-sites/scss/typography/_alignment.scss +0 -22
- data/_sass/foundation-sites/scss/typography/_base.scss +0 -443
- data/_sass/foundation-sites/scss/typography/_helpers.scss +0 -77
- data/_sass/foundation-sites/scss/typography/_print.scss +0 -77
- data/_sass/foundation-sites/scss/typography/_typography.scss +0 -28
- data/_sass/foundation-sites/scss/util/_breakpoint.scss +0 -275
- data/_sass/foundation-sites/scss/util/_color.scss +0 -60
- data/_sass/foundation-sites/scss/util/_flex.scss +0 -68
- data/_sass/foundation-sites/scss/util/_mixins.scss +0 -235
- data/_sass/foundation-sites/scss/util/_selector.scss +0 -40
- data/_sass/foundation-sites/scss/util/_unit.scss +0 -90
- data/_sass/foundation-sites/scss/util/_util.scss +0 -11
- data/_sass/foundation-sites/scss/util/_value.scss +0 -107
- data/_sass/foundation-sites/vendor/fastclick/LICENSE +0 -22
- data/_sass/foundation-sites/vendor/fastclick/README.md +0 -140
- data/_sass/foundation-sites/vendor/jquery-placeholder/jquery.placeholder.js +0 -192
- data/_sass/foundation-sites/vendor/jquery.autocomplete/content/styles.css +0 -9
- data/_sass/foundation-sites/vendor/jquery.autocomplete/devbridge-autocomplete.jquery.json +0 -28
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.js +0 -823
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.min.js +0 -29
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/license.txt +0 -21
- data/_sass/foundation-sites/vendor/jquery.autocomplete/index.htm +0 -48
- data/_sass/foundation-sites/vendor/jquery.autocomplete/license.txt +0 -21
- data/_sass/foundation-sites/vendor/jquery.autocomplete/readme.md +0 -165
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/countries.js +0 -266
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/demo.js +0 -68
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery-1.8.2.min.js +0 -2
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery.mockjax.js +0 -564
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.d.ts +0 -40
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.js +0 -823
- data/_sass/foundation-sites/vendor/jquery.cookie/jquery.cookie.js +0 -117
- data/_sass/foundation-sites/vendor/jquery/AUTHORS.txt +0 -278
- data/_sass/foundation-sites/vendor/jquery/LICENSE.txt +0 -36
- data/_sass/foundation-sites/vendor/jquery/README.md +0 -65
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.js +0 -9842
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.js +0 -4
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.map +0 -1
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.js +0 -7877
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.js +0 -4
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.map +0 -1
- data/_sass/foundation-sites/vendor/jquery/sizzle/LICENSE.txt +0 -36
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.js +0 -2143
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.map +0 -1
- data/_sass/foundation-sites/vendor/jquery/src/ajax.js +0 -845
- data/_sass/foundation-sites/vendor/jquery/src/ajax/jsonp.js +0 -100
- data/_sass/foundation-sites/vendor/jquery/src/ajax/load.js +0 -83
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseJSON.js +0 -13
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseXML.js +0 -27
- data/_sass/foundation-sites/vendor/jquery/src/ajax/script.js +0 -68
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/location.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/nonce.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/rquery.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/ajax/xhr.js +0 -167
- data/_sass/foundation-sites/vendor/jquery/src/attributes.js +0 -11
- data/_sass/foundation-sites/vendor/jquery/src/attributes/attr.js +0 -142
- data/_sass/foundation-sites/vendor/jquery/src/attributes/classes.js +0 -177
- data/_sass/foundation-sites/vendor/jquery/src/attributes/prop.js +0 -125
- data/_sass/foundation-sites/vendor/jquery/src/attributes/support.js +0 -36
- data/_sass/foundation-sites/vendor/jquery/src/attributes/val.js +0 -177
- data/_sass/foundation-sites/vendor/jquery/src/callbacks.js +0 -232
- data/_sass/foundation-sites/vendor/jquery/src/core.js +0 -494
- data/_sass/foundation-sites/vendor/jquery/src/core/DOMEval.js +0 -14
- data/_sass/foundation-sites/vendor/jquery/src/core/access.js +0 -65
- data/_sass/foundation-sites/vendor/jquery/src/core/init.js +0 -134
- data/_sass/foundation-sites/vendor/jquery/src/core/parseHTML.js +0 -41
- data/_sass/foundation-sites/vendor/jquery/src/core/ready.js +0 -103
- data/_sass/foundation-sites/vendor/jquery/src/core/support.js +0 -18
- data/_sass/foundation-sites/vendor/jquery/src/core/var/rsingleTag.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/css.js +0 -515
- data/_sass/foundation-sites/vendor/jquery/src/css/addGetHookIf.js +0 -24
- data/_sass/foundation-sites/vendor/jquery/src/css/adjustCSS.js +0 -65
- data/_sass/foundation-sites/vendor/jquery/src/css/curCSS.js +0 -60
- data/_sass/foundation-sites/vendor/jquery/src/css/defaultDisplay.js +0 -72
- data/_sass/foundation-sites/vendor/jquery/src/css/hiddenVisibleSelectors.js +0 -18
- data/_sass/foundation-sites/vendor/jquery/src/css/showHide.js +0 -48
- data/_sass/foundation-sites/vendor/jquery/src/css/support.js +0 -121
- data/_sass/foundation-sites/vendor/jquery/src/css/var/cssExpand.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/css/var/getStyles.js +0 -15
- data/_sass/foundation-sites/vendor/jquery/src/css/var/isHidden.js +0 -16
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rmargin.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rnumnonpx.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/css/var/swap.js +0 -24
- data/_sass/foundation-sites/vendor/jquery/src/data.js +0 -187
- data/_sass/foundation-sites/vendor/jquery/src/data/Data.js +0 -200
- data/_sass/foundation-sites/vendor/jquery/src/data/accepts.js +0 -20
- data/_sass/foundation-sites/vendor/jquery/src/data/support.js +0 -23
- data/_sass/foundation-sites/vendor/jquery/src/data/var/acceptData.js +0 -18
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataPriv.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataUser.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/deferred.js +0 -158
- data/_sass/foundation-sites/vendor/jquery/src/deferred/exceptionHook.js +0 -19
- data/_sass/foundation-sites/vendor/jquery/src/deprecated.js +0 -32
- data/_sass/foundation-sites/vendor/jquery/src/dimensions.js +0 -54
- data/_sass/foundation-sites/vendor/jquery/src/effects.js +0 -629
- data/_sass/foundation-sites/vendor/jquery/src/effects/Tween.js +0 -121
- data/_sass/foundation-sites/vendor/jquery/src/effects/animatedSelector.js +0 -13
- data/_sass/foundation-sites/vendor/jquery/src/effects/support.js +0 -58
- data/_sass/foundation-sites/vendor/jquery/src/event.js +0 -710
- data/_sass/foundation-sites/vendor/jquery/src/event/ajax.js +0 -20
- data/_sass/foundation-sites/vendor/jquery/src/event/alias.js +0 -27
- data/_sass/foundation-sites/vendor/jquery/src/event/focusin.js +0 -53
- data/_sass/foundation-sites/vendor/jquery/src/event/support.js +0 -9
- data/_sass/foundation-sites/vendor/jquery/src/event/trigger.js +0 -199
- data/_sass/foundation-sites/vendor/jquery/src/exports/amd.js +0 -24
- data/_sass/foundation-sites/vendor/jquery/src/exports/global.js +0 -26
- data/_sass/foundation-sites/vendor/jquery/src/intro.js +0 -44
- data/_sass/foundation-sites/vendor/jquery/src/jquery.js +0 -37
- data/_sass/foundation-sites/vendor/jquery/src/manipulation.js +0 -481
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/_evalUrl.js +0 -20
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/buildFragment.js +0 -102
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/createSafeFragment.js +0 -20
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/getAll.js +0 -21
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/setGlobalEval.js +0 -20
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/support.js +0 -33
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/nodeNames.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rleadingWhitespace.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rscriptType.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rtagName.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/wrapMap.js +0 -27
- data/_sass/foundation-sites/vendor/jquery/src/offset.js +0 -218
- data/_sass/foundation-sites/vendor/jquery/src/outro.js +0 -2
- data/_sass/foundation-sites/vendor/jquery/src/queue.js +0 -143
- data/_sass/foundation-sites/vendor/jquery/src/queue/delay.js +0 -22
- data/_sass/foundation-sites/vendor/jquery/src/selector-native.js +0 -211
- data/_sass/foundation-sites/vendor/jquery/src/selector-sizzle.js +0 -14
- data/_sass/foundation-sites/vendor/jquery/src/selector.js +0 -1
- data/_sass/foundation-sites/vendor/jquery/src/serialize.js +0 -125
- data/_sass/foundation-sites/vendor/jquery/src/support.js +0 -63
- data/_sass/foundation-sites/vendor/jquery/src/traversing.js +0 -175
- data/_sass/foundation-sites/vendor/jquery/src/traversing/findFilter.js +0 -100
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/dir.js +0 -20
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/siblings.js +0 -15
- data/_sass/foundation-sites/vendor/jquery/src/var/arr.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/var/class2type.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/concat.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/deletedIds.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/var/document.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/var/documentElement.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/hasOwn.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/indexOf.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/pnum.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/var/push.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/rcssNum.js +0 -7
- data/_sass/foundation-sites/vendor/jquery/src/var/rnotwhite.js +0 -3
- data/_sass/foundation-sites/vendor/jquery/src/var/slice.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/support.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/var/toString.js +0 -5
- data/_sass/foundation-sites/vendor/jquery/src/wrap.js +0 -79
- data/_sass/foundation-sites/vendor/lodash/LICENSE.txt +0 -22
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.js +0 -7158
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.min.js +0 -92
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.js +0 -6786
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.min.js +0 -87
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.js +0 -4979
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.min.js +0 -39
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/a-download.js +0 -8
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-audiodata-api.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-webaudio-api.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-api.js +0 -8
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-level.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/blob-constructor.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/canvas-todataurl-type.js +0 -28
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contenteditable.js +0 -9
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contentsecuritypolicy.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contextmenu.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cookies.js +0 -15
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cors.js +0 -3
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-shorthand.js +0 -19
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-xy.js +0 -15
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundrepeat.js +0 -31
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundsizecover.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-boxsizing.js +0 -9
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-calc.js +0 -12
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-cubicbezierrange.js +0 -8
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displayrunin.js +0 -18
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displaytable.js +0 -27
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-filters.js +0 -7
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-hyphens.js +0 -205
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-lastchild.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mask.js +0 -12
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mediaqueries.js +0 -3
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-objectfit.js +0 -6
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-overflow-scrolling.js +0 -9
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-pointerevents.js +0 -25
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-positionsticky.js +0 -13
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-regions.js +0 -55
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-remunit.js +0 -19
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-resize.js +0 -8
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-scrollbars.js +0 -19
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-shapes.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-subpixelfont.js +0 -23
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-supports.js +0 -6
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-userselect.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vhunit.js +0 -14
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vmaxunit.js +0 -14
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vminunit.js +0 -14
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vwunit.js +0 -14
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/custom-protocol-handler.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dart.js +0 -6
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dataview-api.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-classlist.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-createElement-attrs.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-dataset.js +0 -9
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-microdata.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-datalist.js +0 -12
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-details.js +0 -25
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-output.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-progress-meter.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-ruby.js +0 -53
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-time.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-track.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/emoji.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/es5-strictmode.js +0 -7
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/event-deviceorientation-motion.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/exif-orientation.js +0 -32
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-api.js +0 -12
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-filesystem.js +0 -9
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-fileinput.js +0 -13
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-formattribute.js +0 -29
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-inputnumber-l10n.js +0 -32
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-placeholder.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-speechinput.js +0 -19
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-validation.js +0 -62
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/fullscreen-api.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/gamepad.js +0 -12
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/getusermedia.js +0 -5
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/ie8compat.js +0 -12
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-sandbox.js +0 -5
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-seamless.js +0 -5
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-srcdoc.js +0 -5
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-apng.js +0 -26
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-webp.js +0 -20
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/json.js +0 -7
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/lists-reversed.js +0 -6
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/mathml.js +0 -23
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-connection.js +0 -22
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-eventsource.js +0 -5
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-xhr2.js +0 -13
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/notification.js +0 -10
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/performance.js +0 -5
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/pointerlock-api.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/quota-management-api.js +0 -11
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/requestanimationframe.js +0 -7
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-async.js +0 -3
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-defer.js +0 -3
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/style-scoped.js +0 -6
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/svg-filters.js +0 -13
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/unicode.js +0 -32
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/url-data-uri.js +0 -26
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/userdata.js +0 -7
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/vibration.js +0 -4
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/web-intents.js +0 -6
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/webgl-extensions.js +0 -42
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/websockets-binary.js +0 -20
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/window-framed.js +0 -8
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-blobworkers.js +0 -66
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-dataworkers.js +0 -34
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-sharedworkers.js +0 -3
- data/_sass/foundation-sites/vendor/modernizr/grunt.js +0 -69
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.ai +1 -292
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.eps +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.pdf +1 -292
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.png +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.svg +0 -35
- data/_sass/foundation-sites/vendor/modernizr/modernizr.js +0 -1406
- data/_sass/foundation-sites/vendor/modernizr/readme.md +0 -28
- data/assets/js/0.main.fbbba5cee41a3fd5443c.js +0 -56
- data/assets/js/0.main.fbbba5cee41a3fd5443c.js.map +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.0.css +0 -2
- data/assets/js/main.fbbba5cee41a3fd5443c.0.css.map +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.css +0 -6
- data/assets/js/main.fbbba5cee41a3fd5443c.css.map +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.js +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.js.map +0 -1
@@ -1,257 +0,0 @@
|
|
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
|
-
* Magellan module.
|
11
|
-
* @module foundation.magellan
|
12
|
-
*/
|
13
|
-
|
14
|
-
var Magellan = function () {
|
15
|
-
/**
|
16
|
-
* Creates a new instance of Magellan.
|
17
|
-
* @class
|
18
|
-
* @fires Magellan#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 Magellan(element, options) {
|
24
|
-
_classCallCheck(this, Magellan);
|
25
|
-
|
26
|
-
this.$element = element;
|
27
|
-
this.options = $.extend({}, Magellan.defaults, this.$element.data(), options);
|
28
|
-
|
29
|
-
this._init();
|
30
|
-
|
31
|
-
Foundation.registerPlugin(this, 'Magellan');
|
32
|
-
}
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Initializes the Magellan plugin and calls functions to get equalizer functioning on load.
|
36
|
-
* @private
|
37
|
-
*/
|
38
|
-
|
39
|
-
|
40
|
-
_createClass(Magellan, [{
|
41
|
-
key: '_init',
|
42
|
-
value: function _init() {
|
43
|
-
var id = this.$element[0].id || Foundation.GetYoDigits(6, 'magellan');
|
44
|
-
var _this = this;
|
45
|
-
this.$targets = $('[data-magellan-target]');
|
46
|
-
this.$links = this.$element.find('a');
|
47
|
-
this.$element.attr({
|
48
|
-
'data-resize': id,
|
49
|
-
'data-scroll': id,
|
50
|
-
'id': id
|
51
|
-
});
|
52
|
-
this.$active = $();
|
53
|
-
this.scrollPos = parseInt(window.pageYOffset, 10);
|
54
|
-
|
55
|
-
this._events();
|
56
|
-
}
|
57
|
-
|
58
|
-
/**
|
59
|
-
* Calculates an array of pixel values that are the demarcation lines between locations on the page.
|
60
|
-
* Can be invoked if new elements are added or the size of a location changes.
|
61
|
-
* @function
|
62
|
-
*/
|
63
|
-
|
64
|
-
}, {
|
65
|
-
key: 'calcPoints',
|
66
|
-
value: function calcPoints() {
|
67
|
-
var _this = this,
|
68
|
-
body = document.body,
|
69
|
-
html = document.documentElement;
|
70
|
-
|
71
|
-
this.points = [];
|
72
|
-
this.winHeight = Math.round(Math.max(window.innerHeight, html.clientHeight));
|
73
|
-
this.docHeight = Math.round(Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight));
|
74
|
-
|
75
|
-
this.$targets.each(function () {
|
76
|
-
var $tar = $(this),
|
77
|
-
pt = Math.round($tar.offset().top - _this.options.threshold);
|
78
|
-
$tar.targetPoint = pt;
|
79
|
-
_this.points.push(pt);
|
80
|
-
});
|
81
|
-
}
|
82
|
-
|
83
|
-
/**
|
84
|
-
* Initializes events for Magellan.
|
85
|
-
* @private
|
86
|
-
*/
|
87
|
-
|
88
|
-
}, {
|
89
|
-
key: '_events',
|
90
|
-
value: function _events() {
|
91
|
-
var _this = this,
|
92
|
-
$body = $('html, body'),
|
93
|
-
opts = {
|
94
|
-
duration: _this.options.animationDuration,
|
95
|
-
easing: _this.options.animationEasing
|
96
|
-
};
|
97
|
-
$(window).one('load', function () {
|
98
|
-
if (_this.options.deepLinking) {
|
99
|
-
if (location.hash) {
|
100
|
-
_this.scrollToLoc(location.hash);
|
101
|
-
}
|
102
|
-
}
|
103
|
-
_this.calcPoints();
|
104
|
-
_this._updateActive();
|
105
|
-
});
|
106
|
-
|
107
|
-
this.$element.on({
|
108
|
-
'resizeme.zf.trigger': this.reflow.bind(this),
|
109
|
-
'scrollme.zf.trigger': this._updateActive.bind(this)
|
110
|
-
}).on('click.zf.magellan', 'a[href^="#"]', function (e) {
|
111
|
-
e.preventDefault();
|
112
|
-
var arrival = this.getAttribute('href');
|
113
|
-
_this.scrollToLoc(arrival);
|
114
|
-
});
|
115
|
-
}
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Function to scroll to a given location on the page.
|
119
|
-
* @param {String} loc - a properly formatted jQuery id selector. Example: '#foo'
|
120
|
-
* @function
|
121
|
-
*/
|
122
|
-
|
123
|
-
}, {
|
124
|
-
key: 'scrollToLoc',
|
125
|
-
value: function scrollToLoc(loc) {
|
126
|
-
var scrollPos = Math.round($(loc).offset().top - this.options.threshold / 2 - this.options.barOffset);
|
127
|
-
|
128
|
-
$('html, body').stop(true).animate({ scrollTop: scrollPos }, this.options.animationDuration, this.options.animationEasing);
|
129
|
-
}
|
130
|
-
|
131
|
-
/**
|
132
|
-
* Calls necessary functions to update Magellan upon DOM change
|
133
|
-
* @function
|
134
|
-
*/
|
135
|
-
|
136
|
-
}, {
|
137
|
-
key: 'reflow',
|
138
|
-
value: function reflow() {
|
139
|
-
this.calcPoints();
|
140
|
-
this._updateActive();
|
141
|
-
}
|
142
|
-
|
143
|
-
/**
|
144
|
-
* Updates the visibility of an active location link, and updates the url hash for the page, if deepLinking enabled.
|
145
|
-
* @private
|
146
|
-
* @function
|
147
|
-
* @fires Magellan#update
|
148
|
-
*/
|
149
|
-
|
150
|
-
}, {
|
151
|
-
key: '_updateActive',
|
152
|
-
value: function _updateActive() /*evt, elem, scrollPos*/{
|
153
|
-
var winPos = /*scrollPos ||*/parseInt(window.pageYOffset, 10),
|
154
|
-
curIdx;
|
155
|
-
|
156
|
-
if (winPos + this.winHeight === this.docHeight) {
|
157
|
-
curIdx = this.points.length - 1;
|
158
|
-
} else if (winPos < this.points[0]) {
|
159
|
-
curIdx = 0;
|
160
|
-
} else {
|
161
|
-
var isDown = this.scrollPos < winPos,
|
162
|
-
_this = this,
|
163
|
-
curVisible = this.points.filter(function (p, i) {
|
164
|
-
return isDown ? p - _this.options.barOffset <= winPos : p - _this.options.barOffset - _this.options.threshold <= winPos;
|
165
|
-
});
|
166
|
-
curIdx = curVisible.length ? curVisible.length - 1 : 0;
|
167
|
-
}
|
168
|
-
|
169
|
-
this.$active.removeClass(this.options.activeClass);
|
170
|
-
this.$active = this.$links.eq(curIdx).addClass(this.options.activeClass);
|
171
|
-
|
172
|
-
if (this.options.deepLinking) {
|
173
|
-
var hash = this.$active[0].getAttribute('href');
|
174
|
-
if (window.history.pushState) {
|
175
|
-
window.history.pushState(null, null, hash);
|
176
|
-
} else {
|
177
|
-
window.location.hash = hash;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
|
181
|
-
this.scrollPos = winPos;
|
182
|
-
/**
|
183
|
-
* Fires when magellan is finished updating to the new active element.
|
184
|
-
* @event Magellan#update
|
185
|
-
*/
|
186
|
-
this.$element.trigger('update.zf.magellan', [this.$active]);
|
187
|
-
}
|
188
|
-
|
189
|
-
/**
|
190
|
-
* Destroys an instance of Magellan and resets the url of the window.
|
191
|
-
* @function
|
192
|
-
*/
|
193
|
-
|
194
|
-
}, {
|
195
|
-
key: 'destroy',
|
196
|
-
value: function destroy() {
|
197
|
-
this.$element.off('.zf.trigger .zf.magellan').find('.' + this.options.activeClass).removeClass(this.options.activeClass);
|
198
|
-
|
199
|
-
if (this.options.deepLinking) {
|
200
|
-
var hash = this.$active[0].getAttribute('href');
|
201
|
-
window.location.hash.replace(hash, '');
|
202
|
-
}
|
203
|
-
|
204
|
-
Foundation.unregisterPlugin(this);
|
205
|
-
}
|
206
|
-
}]);
|
207
|
-
|
208
|
-
return Magellan;
|
209
|
-
}();
|
210
|
-
|
211
|
-
/**
|
212
|
-
* Default settings for plugin
|
213
|
-
*/
|
214
|
-
|
215
|
-
|
216
|
-
Magellan.defaults = {
|
217
|
-
/**
|
218
|
-
* Amount of time, in ms, the animated scrolling should take between locations.
|
219
|
-
* @option
|
220
|
-
* @example 500
|
221
|
-
*/
|
222
|
-
animationDuration: 500,
|
223
|
-
/**
|
224
|
-
* Animation style to use when scrolling between locations.
|
225
|
-
* @option
|
226
|
-
* @example 'ease-in-out'
|
227
|
-
*/
|
228
|
-
animationEasing: 'linear',
|
229
|
-
/**
|
230
|
-
* Number of pixels to use as a marker for location changes.
|
231
|
-
* @option
|
232
|
-
* @example 50
|
233
|
-
*/
|
234
|
-
threshold: 50,
|
235
|
-
/**
|
236
|
-
* Class applied to the active locations link on the magellan container.
|
237
|
-
* @option
|
238
|
-
* @example 'active'
|
239
|
-
*/
|
240
|
-
activeClass: 'active',
|
241
|
-
/**
|
242
|
-
* Allows the script to manipulate the url of the current page, and if supported, alter the history.
|
243
|
-
* @option
|
244
|
-
* @example true
|
245
|
-
*/
|
246
|
-
deepLinking: false,
|
247
|
-
/**
|
248
|
-
* Number of pixels to offset the scroll of the page on item click if using a sticky nav bar.
|
249
|
-
* @option
|
250
|
-
* @example 25
|
251
|
-
*/
|
252
|
-
barOffset: 0
|
253
|
-
};
|
254
|
-
|
255
|
-
// Window exports
|
256
|
-
Foundation.plugin(Magellan, 'Magellan');
|
257
|
-
}(jQuery);
|
@@ -1,438 +0,0 @@
|
|
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
|
-
* OffCanvas module.
|
11
|
-
* @module foundation.offcanvas
|
12
|
-
* @requires foundation.util.mediaQuery
|
13
|
-
* @requires foundation.util.triggers
|
14
|
-
* @requires foundation.util.motion
|
15
|
-
*/
|
16
|
-
|
17
|
-
var OffCanvas = function () {
|
18
|
-
/**
|
19
|
-
* Creates a new instance of an off-canvas wrapper.
|
20
|
-
* @class
|
21
|
-
* @fires OffCanvas#init
|
22
|
-
* @param {Object} element - jQuery object to initialize.
|
23
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
24
|
-
*/
|
25
|
-
|
26
|
-
function OffCanvas(element, options) {
|
27
|
-
_classCallCheck(this, OffCanvas);
|
28
|
-
|
29
|
-
this.$element = element;
|
30
|
-
this.options = $.extend({}, OffCanvas.defaults, this.$element.data(), options);
|
31
|
-
this.$lastTrigger = $();
|
32
|
-
this.$triggers = $();
|
33
|
-
|
34
|
-
this._init();
|
35
|
-
this._events();
|
36
|
-
|
37
|
-
Foundation.registerPlugin(this, 'OffCanvas');
|
38
|
-
}
|
39
|
-
|
40
|
-
/**
|
41
|
-
* Initializes the off-canvas wrapper by adding the exit overlay (if needed).
|
42
|
-
* @function
|
43
|
-
* @private
|
44
|
-
*/
|
45
|
-
|
46
|
-
|
47
|
-
_createClass(OffCanvas, [{
|
48
|
-
key: '_init',
|
49
|
-
value: function _init() {
|
50
|
-
var id = this.$element.attr('id');
|
51
|
-
|
52
|
-
this.$element.attr('aria-hidden', 'true');
|
53
|
-
|
54
|
-
// Find triggers that affect this element and add aria-expanded to them
|
55
|
-
this.$triggers = $(document).find('[data-open="' + id + '"], [data-close="' + id + '"], [data-toggle="' + id + '"]').attr('aria-expanded', 'false').attr('aria-controls', id);
|
56
|
-
|
57
|
-
// Add a close trigger over the body if necessary
|
58
|
-
if (this.options.closeOnClick) {
|
59
|
-
if ($('.js-off-canvas-exit').length) {
|
60
|
-
this.$exiter = $('.js-off-canvas-exit');
|
61
|
-
} else {
|
62
|
-
var exiter = document.createElement('div');
|
63
|
-
exiter.setAttribute('class', 'js-off-canvas-exit');
|
64
|
-
$('[data-off-canvas-content]').append(exiter);
|
65
|
-
|
66
|
-
this.$exiter = $(exiter);
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
this.options.isRevealed = this.options.isRevealed || new RegExp(this.options.revealClass, 'g').test(this.$element[0].className);
|
71
|
-
|
72
|
-
if (this.options.isRevealed) {
|
73
|
-
this.options.revealOn = this.options.revealOn || this.$element[0].className.match(/(reveal-for-medium|reveal-for-large)/g)[0].split('-')[2];
|
74
|
-
this._setMQChecker();
|
75
|
-
}
|
76
|
-
if (!this.options.transitionTime) {
|
77
|
-
this.options.transitionTime = parseFloat(window.getComputedStyle($('[data-off-canvas-wrapper]')[0]).transitionDuration) * 1000;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
/**
|
82
|
-
* Adds event handlers to the off-canvas wrapper and the exit overlay.
|
83
|
-
* @function
|
84
|
-
* @private
|
85
|
-
*/
|
86
|
-
|
87
|
-
}, {
|
88
|
-
key: '_events',
|
89
|
-
value: function _events() {
|
90
|
-
this.$element.off('.zf.trigger .zf.offcanvas').on({
|
91
|
-
'open.zf.trigger': this.open.bind(this),
|
92
|
-
'close.zf.trigger': this.close.bind(this),
|
93
|
-
'toggle.zf.trigger': this.toggle.bind(this),
|
94
|
-
'keydown.zf.offcanvas': this._handleKeyboard.bind(this)
|
95
|
-
});
|
96
|
-
|
97
|
-
if (this.options.closeOnClick && this.$exiter.length) {
|
98
|
-
this.$exiter.on({ 'click.zf.offcanvas': this.close.bind(this) });
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
/**
|
103
|
-
* Applies event listener for elements that will reveal at certain breakpoints.
|
104
|
-
* @private
|
105
|
-
*/
|
106
|
-
|
107
|
-
}, {
|
108
|
-
key: '_setMQChecker',
|
109
|
-
value: function _setMQChecker() {
|
110
|
-
var _this = this;
|
111
|
-
|
112
|
-
$(window).on('changed.zf.mediaquery', function () {
|
113
|
-
if (Foundation.MediaQuery.atLeast(_this.options.revealOn)) {
|
114
|
-
_this.reveal(true);
|
115
|
-
} else {
|
116
|
-
_this.reveal(false);
|
117
|
-
}
|
118
|
-
}).one('load.zf.offcanvas', function () {
|
119
|
-
if (Foundation.MediaQuery.atLeast(_this.options.revealOn)) {
|
120
|
-
_this.reveal(true);
|
121
|
-
}
|
122
|
-
});
|
123
|
-
}
|
124
|
-
|
125
|
-
/**
|
126
|
-
* Handles the revealing/hiding the off-canvas at breakpoints, not the same as open.
|
127
|
-
* @param {Boolean} isRevealed - true if element should be revealed.
|
128
|
-
* @function
|
129
|
-
*/
|
130
|
-
|
131
|
-
}, {
|
132
|
-
key: 'reveal',
|
133
|
-
value: function reveal(isRevealed) {
|
134
|
-
var $closer = this.$element.find('[data-close]');
|
135
|
-
if (isRevealed) {
|
136
|
-
this.close();
|
137
|
-
this.isRevealed = true;
|
138
|
-
// if (!this.options.forceTop) {
|
139
|
-
// var scrollPos = parseInt(window.pageYOffset);
|
140
|
-
// this.$element[0].style.transform = 'translate(0,' + scrollPos + 'px)';
|
141
|
-
// }
|
142
|
-
// if (this.options.isSticky) { this._stick(); }
|
143
|
-
this.$element.off('open.zf.trigger toggle.zf.trigger');
|
144
|
-
if ($closer.length) {
|
145
|
-
$closer.hide();
|
146
|
-
}
|
147
|
-
} else {
|
148
|
-
this.isRevealed = false;
|
149
|
-
// if (this.options.isSticky || !this.options.forceTop) {
|
150
|
-
// this.$element[0].style.transform = '';
|
151
|
-
// $(window).off('scroll.zf.offcanvas');
|
152
|
-
// }
|
153
|
-
this.$element.on({
|
154
|
-
'open.zf.trigger': this.open.bind(this),
|
155
|
-
'toggle.zf.trigger': this.toggle.bind(this)
|
156
|
-
});
|
157
|
-
if ($closer.length) {
|
158
|
-
$closer.show();
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
162
|
-
|
163
|
-
/**
|
164
|
-
* Opens the off-canvas menu.
|
165
|
-
* @function
|
166
|
-
* @param {Object} event - Event object passed from listener.
|
167
|
-
* @param {jQuery} trigger - element that triggered the off-canvas to open.
|
168
|
-
* @fires OffCanvas#opened
|
169
|
-
*/
|
170
|
-
|
171
|
-
}, {
|
172
|
-
key: 'open',
|
173
|
-
value: function open(event, trigger) {
|
174
|
-
if (this.$element.hasClass('is-open') || this.isRevealed) {
|
175
|
-
return;
|
176
|
-
}
|
177
|
-
var _this = this,
|
178
|
-
$body = $(document.body);
|
179
|
-
|
180
|
-
if (this.options.forceTop) {
|
181
|
-
$('body').scrollTop(0);
|
182
|
-
}
|
183
|
-
// window.pageYOffset = 0;
|
184
|
-
|
185
|
-
// if (!this.options.forceTop) {
|
186
|
-
// var scrollPos = parseInt(window.pageYOffset);
|
187
|
-
// this.$element[0].style.transform = 'translate(0,' + scrollPos + 'px)';
|
188
|
-
// if (this.$exiter.length) {
|
189
|
-
// this.$exiter[0].style.transform = 'translate(0,' + scrollPos + 'px)';
|
190
|
-
// }
|
191
|
-
// }
|
192
|
-
/**
|
193
|
-
* Fires when the off-canvas menu opens.
|
194
|
-
* @event OffCanvas#opened
|
195
|
-
*/
|
196
|
-
Foundation.Move(this.options.transitionTime, this.$element, function () {
|
197
|
-
$('[data-off-canvas-wrapper]').addClass('is-off-canvas-open is-open-' + _this.options.position);
|
198
|
-
|
199
|
-
_this.$element.addClass('is-open');
|
200
|
-
|
201
|
-
// if (_this.options.isSticky) {
|
202
|
-
// _this._stick();
|
203
|
-
// }
|
204
|
-
});
|
205
|
-
|
206
|
-
this.$triggers.attr('aria-expanded', 'true');
|
207
|
-
this.$element.attr('aria-hidden', 'false').trigger('opened.zf.offcanvas');
|
208
|
-
|
209
|
-
if (this.options.closeOnClick) {
|
210
|
-
this.$exiter.addClass('is-visible');
|
211
|
-
}
|
212
|
-
|
213
|
-
if (trigger) {
|
214
|
-
this.$lastTrigger = trigger;
|
215
|
-
}
|
216
|
-
|
217
|
-
if (this.options.autoFocus) {
|
218
|
-
this.$element.one(Foundation.transitionend(this.$element), function () {
|
219
|
-
_this.$element.find('a, button').eq(0).focus();
|
220
|
-
});
|
221
|
-
}
|
222
|
-
|
223
|
-
if (this.options.trapFocus) {
|
224
|
-
$('[data-off-canvas-content]').attr('tabindex', '-1');
|
225
|
-
this._trapFocus();
|
226
|
-
}
|
227
|
-
}
|
228
|
-
|
229
|
-
/**
|
230
|
-
* Traps focus within the offcanvas on open.
|
231
|
-
* @private
|
232
|
-
*/
|
233
|
-
|
234
|
-
}, {
|
235
|
-
key: '_trapFocus',
|
236
|
-
value: function _trapFocus() {
|
237
|
-
var focusable = Foundation.Keyboard.findFocusable(this.$element),
|
238
|
-
first = focusable.eq(0),
|
239
|
-
last = focusable.eq(-1);
|
240
|
-
|
241
|
-
focusable.off('.zf.offcanvas').on('keydown.zf.offcanvas', function (e) {
|
242
|
-
if (e.which === 9 || e.keycode === 9) {
|
243
|
-
if (e.target === last[0] && !e.shiftKey) {
|
244
|
-
e.preventDefault();
|
245
|
-
first.focus();
|
246
|
-
}
|
247
|
-
if (e.target === first[0] && e.shiftKey) {
|
248
|
-
e.preventDefault();
|
249
|
-
last.focus();
|
250
|
-
}
|
251
|
-
}
|
252
|
-
});
|
253
|
-
}
|
254
|
-
|
255
|
-
/**
|
256
|
-
* Allows the offcanvas to appear sticky utilizing translate properties.
|
257
|
-
* @private
|
258
|
-
*/
|
259
|
-
// OffCanvas.prototype._stick = function() {
|
260
|
-
// var elStyle = this.$element[0].style;
|
261
|
-
//
|
262
|
-
// if (this.options.closeOnClick) {
|
263
|
-
// var exitStyle = this.$exiter[0].style;
|
264
|
-
// }
|
265
|
-
//
|
266
|
-
// $(window).on('scroll.zf.offcanvas', function(e) {
|
267
|
-
// console.log(e);
|
268
|
-
// var pageY = window.pageYOffset;
|
269
|
-
// elStyle.transform = 'translate(0,' + pageY + 'px)';
|
270
|
-
// if (exitStyle !== undefined) { exitStyle.transform = 'translate(0,' + pageY + 'px)'; }
|
271
|
-
// });
|
272
|
-
// // this.$element.trigger('stuck.zf.offcanvas');
|
273
|
-
// };
|
274
|
-
/**
|
275
|
-
* Closes the off-canvas menu.
|
276
|
-
* @function
|
277
|
-
* @param {Function} cb - optional cb to fire after closure.
|
278
|
-
* @fires OffCanvas#closed
|
279
|
-
*/
|
280
|
-
|
281
|
-
}, {
|
282
|
-
key: 'close',
|
283
|
-
value: function close(cb) {
|
284
|
-
if (!this.$element.hasClass('is-open') || this.isRevealed) {
|
285
|
-
return;
|
286
|
-
}
|
287
|
-
|
288
|
-
var _this = this;
|
289
|
-
|
290
|
-
// Foundation.Move(this.options.transitionTime, this.$element, function() {
|
291
|
-
$('[data-off-canvas-wrapper]').removeClass('is-off-canvas-open is-open-' + _this.options.position);
|
292
|
-
_this.$element.removeClass('is-open');
|
293
|
-
// Foundation._reflow();
|
294
|
-
// });
|
295
|
-
this.$element.attr('aria-hidden', 'true')
|
296
|
-
/**
|
297
|
-
* Fires when the off-canvas menu opens.
|
298
|
-
* @event OffCanvas#closed
|
299
|
-
*/
|
300
|
-
.trigger('closed.zf.offcanvas');
|
301
|
-
// if (_this.options.isSticky || !_this.options.forceTop) {
|
302
|
-
// setTimeout(function() {
|
303
|
-
// _this.$element[0].style.transform = '';
|
304
|
-
// $(window).off('scroll.zf.offcanvas');
|
305
|
-
// }, this.options.transitionTime);
|
306
|
-
// }
|
307
|
-
if (this.options.closeOnClick) {
|
308
|
-
this.$exiter.removeClass('is-visible');
|
309
|
-
}
|
310
|
-
|
311
|
-
this.$triggers.attr('aria-expanded', 'false');
|
312
|
-
if (this.options.trapFocus) {
|
313
|
-
$('[data-off-canvas-content]').removeAttr('tabindex');
|
314
|
-
}
|
315
|
-
}
|
316
|
-
|
317
|
-
/**
|
318
|
-
* Toggles the off-canvas menu open or closed.
|
319
|
-
* @function
|
320
|
-
* @param {Object} event - Event object passed from listener.
|
321
|
-
* @param {jQuery} trigger - element that triggered the off-canvas to open.
|
322
|
-
*/
|
323
|
-
|
324
|
-
}, {
|
325
|
-
key: 'toggle',
|
326
|
-
value: function toggle(event, trigger) {
|
327
|
-
if (this.$element.hasClass('is-open')) {
|
328
|
-
this.close(event, trigger);
|
329
|
-
} else {
|
330
|
-
this.open(event, trigger);
|
331
|
-
}
|
332
|
-
}
|
333
|
-
|
334
|
-
/**
|
335
|
-
* Handles keyboard input when detected. When the escape key is pressed, the off-canvas menu closes, and focus is restored to the element that opened the menu.
|
336
|
-
* @function
|
337
|
-
* @private
|
338
|
-
*/
|
339
|
-
|
340
|
-
}, {
|
341
|
-
key: '_handleKeyboard',
|
342
|
-
value: function _handleKeyboard(event) {
|
343
|
-
if (event.which !== 27) return;
|
344
|
-
|
345
|
-
event.stopPropagation();
|
346
|
-
event.preventDefault();
|
347
|
-
this.close();
|
348
|
-
this.$lastTrigger.focus();
|
349
|
-
}
|
350
|
-
|
351
|
-
/**
|
352
|
-
* Destroys the offcanvas plugin.
|
353
|
-
* @function
|
354
|
-
*/
|
355
|
-
|
356
|
-
}, {
|
357
|
-
key: 'destroy',
|
358
|
-
value: function destroy() {
|
359
|
-
this.close();
|
360
|
-
this.$element.off('.zf.trigger .zf.offcanvas');
|
361
|
-
this.$exiter.off('.zf.offcanvas');
|
362
|
-
|
363
|
-
Foundation.unregisterPlugin(this);
|
364
|
-
}
|
365
|
-
}]);
|
366
|
-
|
367
|
-
return OffCanvas;
|
368
|
-
}();
|
369
|
-
|
370
|
-
OffCanvas.defaults = {
|
371
|
-
/**
|
372
|
-
* Allow the user to click outside of the menu to close it.
|
373
|
-
* @option
|
374
|
-
* @example true
|
375
|
-
*/
|
376
|
-
closeOnClick: true,
|
377
|
-
|
378
|
-
/**
|
379
|
-
* Amount of time in ms the open and close transition requires. If none selected, pulls from body style.
|
380
|
-
* @option
|
381
|
-
* @example 500
|
382
|
-
*/
|
383
|
-
transitionTime: 0,
|
384
|
-
|
385
|
-
/**
|
386
|
-
* Direction the offcanvas opens from. Determines class applied to body.
|
387
|
-
* @option
|
388
|
-
* @example left
|
389
|
-
*/
|
390
|
-
position: 'left',
|
391
|
-
|
392
|
-
/**
|
393
|
-
* Force the page to scroll to top on open.
|
394
|
-
* @option
|
395
|
-
* @example true
|
396
|
-
*/
|
397
|
-
forceTop: true,
|
398
|
-
|
399
|
-
/**
|
400
|
-
* Allow the offcanvas to remain open for certain breakpoints.
|
401
|
-
* @option
|
402
|
-
* @example false
|
403
|
-
*/
|
404
|
-
isRevealed: false,
|
405
|
-
|
406
|
-
/**
|
407
|
-
* Breakpoint at which to reveal. JS will use a RegExp to target standard classes, if changing classnames, pass your class with the `revealClass` option.
|
408
|
-
* @option
|
409
|
-
* @example reveal-for-large
|
410
|
-
*/
|
411
|
-
revealOn: null,
|
412
|
-
|
413
|
-
/**
|
414
|
-
* Force focus to the offcanvas on open. If true, will focus the opening trigger on close.
|
415
|
-
* @option
|
416
|
-
* @example true
|
417
|
-
*/
|
418
|
-
autoFocus: true,
|
419
|
-
|
420
|
-
/**
|
421
|
-
* Class used to force an offcanvas to remain open. Foundation defaults for this are `reveal-for-large` & `reveal-for-medium`.
|
422
|
-
* @option
|
423
|
-
* TODO improve the regex testing for this.
|
424
|
-
* @example reveal-for-large
|
425
|
-
*/
|
426
|
-
revealClass: 'reveal-for-',
|
427
|
-
|
428
|
-
/**
|
429
|
-
* Triggers optional focus trapping when opening an offcanvas. Sets tabindex of [data-off-canvas-content] to -1 for accessibility purposes.
|
430
|
-
* @option
|
431
|
-
* @example true
|
432
|
-
*/
|
433
|
-
trapFocus: false
|
434
|
-
};
|
435
|
-
|
436
|
-
// Window exports
|
437
|
-
Foundation.plugin(OffCanvas, 'OffCanvas');
|
438
|
-
}(jQuery);
|