jekyll-theme-pirati 7.6.0 → 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 +14 -14
- data/_includes/404.html +2 -18
- data/_includes/article-infobox.html +5 -1
- data/_includes/articles/author.html +4 -4
- data/_includes/articles/horizontal-article.html +5 -1
- data/_includes/articles/list-responsive.html +4 -8
- data/_includes/articles/pagination.html +21 -22
- data/_includes/articles/tag-filtered-news.html +16 -0
- data/_includes/articles/vertical-article.html +45 -33
- 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 -16
- 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 +13 -7
- data/_includes/header.html +138 -65
- data/_includes/headline-media.html +15 -16
- 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 +47 -35
- data/_includes/regions/crossroad.html +51 -57
- data/_includes/regions/crossroad2.html +5 -0
- data/_includes/regions/item.html +26 -0
- data/_includes/right-bar/bar_board.html +32 -0
- data/_includes/right-bar/bar_garant.html +2 -13
- data/_includes/right-bar/bar_page_contact.html +12 -0
- data/_includes/right-bar/bar_people.html +14 -19
- data/_includes/right-bar/bar_person_articles.html +6 -0
- data/_includes/right-bar/bar_profile.html +73 -0
- data/_includes/right-bar/bar_program.html +17 -22
- data/_includes/right-bar/bar_tag_articles.html +10 -0
- data/_includes/right-bar/rbar.html +50 -41
- data/_includes/right-bar/rbar_articles.html +21 -0
- 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/_layouts/regions2.html +9 -0
- 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 +31 -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 -22
- 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.412ba80ed3553103b85e.js +0 -56
- data/assets/js/0.main.412ba80ed3553103b85e.js.map +0 -1
- data/assets/js/main.412ba80ed3553103b85e.0.css +0 -2
- data/assets/js/main.412ba80ed3553103b85e.0.css.map +0 -1
- data/assets/js/main.412ba80ed3553103b85e.css +0 -6
- data/assets/js/main.412ba80ed3553103b85e.css.map +0 -1
- data/assets/js/main.412ba80ed3553103b85e.js +0 -1
- data/assets/js/main.412ba80ed3553103b85e.js.map +0 -1
@@ -1,446 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
!function($) {
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Orbit module.
|
7
|
-
* @module foundation.orbit
|
8
|
-
* @requires foundation.util.keyboard
|
9
|
-
* @requires foundation.util.motion
|
10
|
-
* @requires foundation.util.timerAndImageLoader
|
11
|
-
* @requires foundation.util.touch
|
12
|
-
*/
|
13
|
-
|
14
|
-
class Orbit {
|
15
|
-
/**
|
16
|
-
* Creates a new instance of an orbit carousel.
|
17
|
-
* @class
|
18
|
-
* @param {jQuery} element - jQuery object to make into an Orbit Carousel.
|
19
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
20
|
-
*/
|
21
|
-
constructor(element, options){
|
22
|
-
this.$element = element;
|
23
|
-
this.options = $.extend({}, Orbit.defaults, this.$element.data(), options);
|
24
|
-
|
25
|
-
this._init();
|
26
|
-
|
27
|
-
Foundation.registerPlugin(this, 'Orbit');
|
28
|
-
Foundation.Keyboard.register('Orbit', {
|
29
|
-
'ltr': {
|
30
|
-
'ARROW_RIGHT': 'next',
|
31
|
-
'ARROW_LEFT': 'previous'
|
32
|
-
},
|
33
|
-
'rtl': {
|
34
|
-
'ARROW_LEFT': 'next',
|
35
|
-
'ARROW_RIGHT': 'previous'
|
36
|
-
}
|
37
|
-
});
|
38
|
-
}
|
39
|
-
|
40
|
-
/**
|
41
|
-
* Initializes the plugin by creating jQuery collections, setting attributes, and starting the animation.
|
42
|
-
* @function
|
43
|
-
* @private
|
44
|
-
*/
|
45
|
-
_init() {
|
46
|
-
this.$wrapper = this.$element.find(`.${this.options.containerClass}`);
|
47
|
-
this.$slides = this.$element.find(`.${this.options.slideClass}`);
|
48
|
-
var $images = this.$element.find('img'),
|
49
|
-
initActive = this.$slides.filter('.is-active');
|
50
|
-
|
51
|
-
if (!initActive.length) {
|
52
|
-
this.$slides.eq(0).addClass('is-active');
|
53
|
-
}
|
54
|
-
|
55
|
-
if (!this.options.useMUI) {
|
56
|
-
this.$slides.addClass('no-motionui');
|
57
|
-
}
|
58
|
-
|
59
|
-
if ($images.length) {
|
60
|
-
Foundation.onImagesLoaded($images, this._prepareForOrbit.bind(this));
|
61
|
-
} else {
|
62
|
-
this._prepareForOrbit();//hehe
|
63
|
-
}
|
64
|
-
|
65
|
-
if (this.options.bullets) {
|
66
|
-
this._loadBullets();
|
67
|
-
}
|
68
|
-
|
69
|
-
this._events();
|
70
|
-
|
71
|
-
if (this.options.autoPlay && this.$slides.length > 1) {
|
72
|
-
this.geoSync();
|
73
|
-
}
|
74
|
-
|
75
|
-
if (this.options.accessible) { // allow wrapper to be focusable to enable arrow navigation
|
76
|
-
this.$wrapper.attr('tabindex', 0);
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
/**
|
81
|
-
* Creates a jQuery collection of bullets, if they are being used.
|
82
|
-
* @function
|
83
|
-
* @private
|
84
|
-
*/
|
85
|
-
_loadBullets() {
|
86
|
-
this.$bullets = this.$element.find(`.${this.options.boxOfBullets}`).find('button');
|
87
|
-
}
|
88
|
-
|
89
|
-
/**
|
90
|
-
* Sets a `timer` object on the orbit, and starts the counter for the next slide.
|
91
|
-
* @function
|
92
|
-
*/
|
93
|
-
geoSync() {
|
94
|
-
var _this = this;
|
95
|
-
this.timer = new Foundation.Timer(
|
96
|
-
this.$element,
|
97
|
-
{
|
98
|
-
duration: this.options.timerDelay,
|
99
|
-
infinite: false
|
100
|
-
},
|
101
|
-
function() {
|
102
|
-
_this.changeSlide(true);
|
103
|
-
});
|
104
|
-
this.timer.start();
|
105
|
-
}
|
106
|
-
|
107
|
-
/**
|
108
|
-
* Sets wrapper and slide heights for the orbit.
|
109
|
-
* @function
|
110
|
-
* @private
|
111
|
-
*/
|
112
|
-
_prepareForOrbit() {
|
113
|
-
var _this = this;
|
114
|
-
this._setWrapperHeight(function(max){
|
115
|
-
_this._setSlideHeight(max);
|
116
|
-
});
|
117
|
-
}
|
118
|
-
|
119
|
-
/**
|
120
|
-
* Calulates the height of each slide in the collection, and uses the tallest one for the wrapper height.
|
121
|
-
* @function
|
122
|
-
* @private
|
123
|
-
* @param {Function} cb - a callback function to fire when complete.
|
124
|
-
*/
|
125
|
-
_setWrapperHeight(cb) {//rewrite this to `for` loop
|
126
|
-
var max = 0, temp, counter = 0;
|
127
|
-
|
128
|
-
this.$slides.each(function() {
|
129
|
-
temp = this.getBoundingClientRect().height;
|
130
|
-
$(this).attr('data-slide', counter);
|
131
|
-
|
132
|
-
if (counter) {//if not the first slide, set css position and display property
|
133
|
-
$(this).css({'position': 'relative', 'display': 'none'});
|
134
|
-
}
|
135
|
-
max = temp > max ? temp : max;
|
136
|
-
counter++;
|
137
|
-
});
|
138
|
-
|
139
|
-
if (counter === this.$slides.length) {
|
140
|
-
this.$wrapper.css({'height': max}); //only change the wrapper height property once.
|
141
|
-
cb(max); //fire callback with max height dimension.
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
/**
|
146
|
-
* Sets the max-height of each slide.
|
147
|
-
* @function
|
148
|
-
* @private
|
149
|
-
*/
|
150
|
-
_setSlideHeight(height) {
|
151
|
-
this.$slides.each(function() {
|
152
|
-
$(this).css('max-height', height);
|
153
|
-
});
|
154
|
-
}
|
155
|
-
|
156
|
-
/**
|
157
|
-
* Adds event listeners to basically everything within the element.
|
158
|
-
* @function
|
159
|
-
* @private
|
160
|
-
*/
|
161
|
-
_events() {
|
162
|
-
var _this = this;
|
163
|
-
|
164
|
-
//***************************************
|
165
|
-
//**Now using custom event - thanks to:**
|
166
|
-
//** Yohai Ararat of Toronto **
|
167
|
-
//***************************************
|
168
|
-
if (this.$slides.length > 1) {
|
169
|
-
|
170
|
-
if (this.options.swipe) {
|
171
|
-
this.$slides.off('swipeleft.zf.orbit swiperight.zf.orbit')
|
172
|
-
.on('swipeleft.zf.orbit', function(e){
|
173
|
-
e.preventDefault();
|
174
|
-
_this.changeSlide(true);
|
175
|
-
}).on('swiperight.zf.orbit', function(e){
|
176
|
-
e.preventDefault();
|
177
|
-
_this.changeSlide(false);
|
178
|
-
});
|
179
|
-
}
|
180
|
-
//***************************************
|
181
|
-
|
182
|
-
if (this.options.autoPlay) {
|
183
|
-
this.$slides.on('click.zf.orbit', function() {
|
184
|
-
_this.$element.data('clickedOn', _this.$element.data('clickedOn') ? false : true);
|
185
|
-
_this.timer[_this.$element.data('clickedOn') ? 'pause' : 'start']();
|
186
|
-
});
|
187
|
-
|
188
|
-
if (this.options.pauseOnHover) {
|
189
|
-
this.$element.on('mouseenter.zf.orbit', function() {
|
190
|
-
_this.timer.pause();
|
191
|
-
}).on('mouseleave.zf.orbit', function() {
|
192
|
-
if (!_this.$element.data('clickedOn')) {
|
193
|
-
_this.timer.start();
|
194
|
-
}
|
195
|
-
});
|
196
|
-
}
|
197
|
-
}
|
198
|
-
|
199
|
-
if (this.options.navButtons) {
|
200
|
-
var $controls = this.$element.find(`.${this.options.nextClass}, .${this.options.prevClass}`);
|
201
|
-
$controls.attr('tabindex', 0)
|
202
|
-
//also need to handle enter/return and spacebar key presses
|
203
|
-
.on('click.zf.orbit touchend.zf.orbit', function(e){
|
204
|
-
e.preventDefault();
|
205
|
-
_this.changeSlide($(this).hasClass(_this.options.nextClass));
|
206
|
-
});
|
207
|
-
}
|
208
|
-
|
209
|
-
if (this.options.bullets) {
|
210
|
-
this.$bullets.on('click.zf.orbit touchend.zf.orbit', function() {
|
211
|
-
if (/is-active/g.test(this.className)) { return false; }//if this is active, kick out of function.
|
212
|
-
var idx = $(this).data('slide'),
|
213
|
-
ltr = idx > _this.$slides.filter('.is-active').data('slide'),
|
214
|
-
$slide = _this.$slides.eq(idx);
|
215
|
-
|
216
|
-
_this.changeSlide(ltr, $slide, idx);
|
217
|
-
});
|
218
|
-
}
|
219
|
-
|
220
|
-
this.$wrapper.add(this.$bullets).on('keydown.zf.orbit', function(e) {
|
221
|
-
// handle keyboard event with keyboard util
|
222
|
-
Foundation.Keyboard.handleKey(e, 'Orbit', {
|
223
|
-
next: function() {
|
224
|
-
_this.changeSlide(true);
|
225
|
-
},
|
226
|
-
previous: function() {
|
227
|
-
_this.changeSlide(false);
|
228
|
-
},
|
229
|
-
handled: function() { // if bullet is focused, make sure focus moves
|
230
|
-
if ($(e.target).is(_this.$bullets)) {
|
231
|
-
_this.$bullets.filter('.is-active').focus();
|
232
|
-
}
|
233
|
-
}
|
234
|
-
});
|
235
|
-
});
|
236
|
-
}
|
237
|
-
}
|
238
|
-
|
239
|
-
/**
|
240
|
-
* Changes the current slide to a new one.
|
241
|
-
* @function
|
242
|
-
* @param {Boolean} isLTR - flag if the slide should move left to right.
|
243
|
-
* @param {jQuery} chosenSlide - the jQuery element of the slide to show next, if one is selected.
|
244
|
-
* @param {Number} idx - the index of the new slide in its collection, if one chosen.
|
245
|
-
* @fires Orbit#slidechange
|
246
|
-
*/
|
247
|
-
changeSlide(isLTR, chosenSlide, idx) {
|
248
|
-
var $curSlide = this.$slides.filter('.is-active').eq(0);
|
249
|
-
|
250
|
-
if (/mui/g.test($curSlide[0].className)) { return false; } //if the slide is currently animating, kick out of the function
|
251
|
-
|
252
|
-
var $firstSlide = this.$slides.first(),
|
253
|
-
$lastSlide = this.$slides.last(),
|
254
|
-
dirIn = isLTR ? 'Right' : 'Left',
|
255
|
-
dirOut = isLTR ? 'Left' : 'Right',
|
256
|
-
_this = this,
|
257
|
-
$newSlide;
|
258
|
-
|
259
|
-
if (!chosenSlide) { //most of the time, this will be auto played or clicked from the navButtons.
|
260
|
-
$newSlide = isLTR ? //if wrapping enabled, check to see if there is a `next` or `prev` sibling, if not, select the first or last slide to fill in. if wrapping not enabled, attempt to select `next` or `prev`, if there's nothing there, the function will kick out on next step. CRAZY NESTED TERNARIES!!!!!
|
261
|
-
(this.options.infiniteWrap ? $curSlide.next(`.${this.options.slideClass}`).length ? $curSlide.next(`.${this.options.slideClass}`) : $firstSlide : $curSlide.next(`.${this.options.slideClass}`))//pick next slide if moving left to right
|
262
|
-
:
|
263
|
-
(this.options.infiniteWrap ? $curSlide.prev(`.${this.options.slideClass}`).length ? $curSlide.prev(`.${this.options.slideClass}`) : $lastSlide : $curSlide.prev(`.${this.options.slideClass}`));//pick prev slide if moving right to left
|
264
|
-
} else {
|
265
|
-
$newSlide = chosenSlide;
|
266
|
-
}
|
267
|
-
|
268
|
-
if ($newSlide.length) {
|
269
|
-
if (this.options.bullets) {
|
270
|
-
idx = idx || this.$slides.index($newSlide); //grab index to update bullets
|
271
|
-
this._updateBullets(idx);
|
272
|
-
}
|
273
|
-
|
274
|
-
if (this.options.useMUI) {
|
275
|
-
Foundation.Motion.animateIn(
|
276
|
-
$newSlide.addClass('is-active').css({'position': 'absolute', 'top': 0}),
|
277
|
-
this.options[`animInFrom${dirIn}`],
|
278
|
-
function(){
|
279
|
-
$newSlide.css({'position': 'relative', 'display': 'block'})
|
280
|
-
.attr('aria-live', 'polite');
|
281
|
-
});
|
282
|
-
|
283
|
-
Foundation.Motion.animateOut(
|
284
|
-
$curSlide.removeClass('is-active'),
|
285
|
-
this.options[`animOutTo${dirOut}`],
|
286
|
-
function(){
|
287
|
-
$curSlide.removeAttr('aria-live');
|
288
|
-
if(_this.options.autoPlay && !_this.timer.isPaused){
|
289
|
-
_this.timer.restart();
|
290
|
-
}
|
291
|
-
//do stuff?
|
292
|
-
});
|
293
|
-
} else {
|
294
|
-
$curSlide.removeClass('is-active is-in').removeAttr('aria-live').hide();
|
295
|
-
$newSlide.addClass('is-active is-in').attr('aria-live', 'polite').show();
|
296
|
-
if (this.options.autoPlay && !this.timer.isPaused) {
|
297
|
-
this.timer.restart();
|
298
|
-
}
|
299
|
-
}
|
300
|
-
/**
|
301
|
-
* Triggers when the slide has finished animating in.
|
302
|
-
* @event Orbit#slidechange
|
303
|
-
*/
|
304
|
-
this.$element.trigger('slidechange.zf.orbit', [$newSlide]);
|
305
|
-
}
|
306
|
-
}
|
307
|
-
|
308
|
-
/**
|
309
|
-
* Updates the active state of the bullets, if displayed.
|
310
|
-
* @function
|
311
|
-
* @private
|
312
|
-
* @param {Number} idx - the index of the current slide.
|
313
|
-
*/
|
314
|
-
_updateBullets(idx) {
|
315
|
-
var $oldBullet = this.$element.find(`.${this.options.boxOfBullets}`)
|
316
|
-
.find('.is-active').removeClass('is-active').blur(),
|
317
|
-
span = $oldBullet.find('span:last').detach(),
|
318
|
-
$newBullet = this.$bullets.eq(idx).addClass('is-active').append(span);
|
319
|
-
}
|
320
|
-
|
321
|
-
/**
|
322
|
-
* Destroys the carousel and hides the element.
|
323
|
-
* @function
|
324
|
-
*/
|
325
|
-
destroy() {
|
326
|
-
this.$element.off('.zf.orbit').find('*').off('.zf.orbit').end().hide();
|
327
|
-
Foundation.unregisterPlugin(this);
|
328
|
-
}
|
329
|
-
}
|
330
|
-
|
331
|
-
Orbit.defaults = {
|
332
|
-
/**
|
333
|
-
* Tells the JS to look for and loadBullets.
|
334
|
-
* @option
|
335
|
-
* @example true
|
336
|
-
*/
|
337
|
-
bullets: true,
|
338
|
-
/**
|
339
|
-
* Tells the JS to apply event listeners to nav buttons
|
340
|
-
* @option
|
341
|
-
* @example true
|
342
|
-
*/
|
343
|
-
navButtons: true,
|
344
|
-
/**
|
345
|
-
* motion-ui animation class to apply
|
346
|
-
* @option
|
347
|
-
* @example 'slide-in-right'
|
348
|
-
*/
|
349
|
-
animInFromRight: 'slide-in-right',
|
350
|
-
/**
|
351
|
-
* motion-ui animation class to apply
|
352
|
-
* @option
|
353
|
-
* @example 'slide-out-right'
|
354
|
-
*/
|
355
|
-
animOutToRight: 'slide-out-right',
|
356
|
-
/**
|
357
|
-
* motion-ui animation class to apply
|
358
|
-
* @option
|
359
|
-
* @example 'slide-in-left'
|
360
|
-
*
|
361
|
-
*/
|
362
|
-
animInFromLeft: 'slide-in-left',
|
363
|
-
/**
|
364
|
-
* motion-ui animation class to apply
|
365
|
-
* @option
|
366
|
-
* @example 'slide-out-left'
|
367
|
-
*/
|
368
|
-
animOutToLeft: 'slide-out-left',
|
369
|
-
/**
|
370
|
-
* Allows Orbit to automatically animate on page load.
|
371
|
-
* @option
|
372
|
-
* @example true
|
373
|
-
*/
|
374
|
-
autoPlay: true,
|
375
|
-
/**
|
376
|
-
* Amount of time, in ms, between slide transitions
|
377
|
-
* @option
|
378
|
-
* @example 5000
|
379
|
-
*/
|
380
|
-
timerDelay: 5000,
|
381
|
-
/**
|
382
|
-
* Allows Orbit to infinitely loop through the slides
|
383
|
-
* @option
|
384
|
-
* @example true
|
385
|
-
*/
|
386
|
-
infiniteWrap: true,
|
387
|
-
/**
|
388
|
-
* Allows the Orbit slides to bind to swipe events for mobile, requires an additional util library
|
389
|
-
* @option
|
390
|
-
* @example true
|
391
|
-
*/
|
392
|
-
swipe: true,
|
393
|
-
/**
|
394
|
-
* Allows the timing function to pause animation on hover.
|
395
|
-
* @option
|
396
|
-
* @example true
|
397
|
-
*/
|
398
|
-
pauseOnHover: true,
|
399
|
-
/**
|
400
|
-
* Allows Orbit to bind keyboard events to the slider, to animate frames with arrow keys
|
401
|
-
* @option
|
402
|
-
* @example true
|
403
|
-
*/
|
404
|
-
accessible: true,
|
405
|
-
/**
|
406
|
-
* Class applied to the container of Orbit
|
407
|
-
* @option
|
408
|
-
* @example 'orbit-container'
|
409
|
-
*/
|
410
|
-
containerClass: 'orbit-container',
|
411
|
-
/**
|
412
|
-
* Class applied to individual slides.
|
413
|
-
* @option
|
414
|
-
* @example 'orbit-slide'
|
415
|
-
*/
|
416
|
-
slideClass: 'orbit-slide',
|
417
|
-
/**
|
418
|
-
* Class applied to the bullet container. You're welcome.
|
419
|
-
* @option
|
420
|
-
* @example 'orbit-bullets'
|
421
|
-
*/
|
422
|
-
boxOfBullets: 'orbit-bullets',
|
423
|
-
/**
|
424
|
-
* Class applied to the `next` navigation button.
|
425
|
-
* @option
|
426
|
-
* @example 'orbit-next'
|
427
|
-
*/
|
428
|
-
nextClass: 'orbit-next',
|
429
|
-
/**
|
430
|
-
* Class applied to the `previous` navigation button.
|
431
|
-
* @option
|
432
|
-
* @example 'orbit-previous'
|
433
|
-
*/
|
434
|
-
prevClass: 'orbit-previous',
|
435
|
-
/**
|
436
|
-
* Boolean to flag the js to use motion ui classes or not. Default to true for backwards compatability.
|
437
|
-
* @option
|
438
|
-
* @example true
|
439
|
-
*/
|
440
|
-
useMUI: true
|
441
|
-
};
|
442
|
-
|
443
|
-
// Window exports
|
444
|
-
Foundation.plugin(Orbit, 'Orbit');
|
445
|
-
|
446
|
-
}(jQuery);
|
@@ -1,148 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
!function($) {
|
4
|
-
|
5
|
-
/**
|
6
|
-
* ResponsiveMenu module.
|
7
|
-
* @module foundation.responsiveMenu
|
8
|
-
* @requires foundation.util.triggers
|
9
|
-
* @requires foundation.util.mediaQuery
|
10
|
-
* @requires foundation.util.accordionMenu
|
11
|
-
* @requires foundation.util.drilldown
|
12
|
-
* @requires foundation.util.dropdown-menu
|
13
|
-
*/
|
14
|
-
|
15
|
-
class ResponsiveMenu {
|
16
|
-
/**
|
17
|
-
* Creates a new instance of a responsive menu.
|
18
|
-
* @class
|
19
|
-
* @fires ResponsiveMenu#init
|
20
|
-
* @param {jQuery} element - jQuery object to make into a dropdown menu.
|
21
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
22
|
-
*/
|
23
|
-
constructor(element, options) {
|
24
|
-
this.$element = $(element);
|
25
|
-
this.rules = this.$element.data('responsive-menu');
|
26
|
-
this.currentMq = null;
|
27
|
-
this.currentPlugin = null;
|
28
|
-
|
29
|
-
this._init();
|
30
|
-
this._events();
|
31
|
-
|
32
|
-
Foundation.registerPlugin(this, 'ResponsiveMenu');
|
33
|
-
}
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Initializes the Menu by parsing the classes from the 'data-ResponsiveMenu' attribute on the element.
|
37
|
-
* @function
|
38
|
-
* @private
|
39
|
-
*/
|
40
|
-
_init() {
|
41
|
-
// The first time an Interchange plugin is initialized, this.rules is converted from a string of "classes" to an object of rules
|
42
|
-
if (typeof this.rules === 'string') {
|
43
|
-
let rulesTree = {};
|
44
|
-
|
45
|
-
// Parse rules from "classes" pulled from data attribute
|
46
|
-
let rules = this.rules.split(' ');
|
47
|
-
|
48
|
-
// Iterate through every rule found
|
49
|
-
for (let i = 0; i < rules.length; i++) {
|
50
|
-
let rule = rules[i].split('-');
|
51
|
-
let ruleSize = rule.length > 1 ? rule[0] : 'small';
|
52
|
-
let rulePlugin = rule.length > 1 ? rule[1] : rule[0];
|
53
|
-
|
54
|
-
if (MenuPlugins[rulePlugin] !== null) {
|
55
|
-
rulesTree[ruleSize] = MenuPlugins[rulePlugin];
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
this.rules = rulesTree;
|
60
|
-
}
|
61
|
-
|
62
|
-
if (!$.isEmptyObject(this.rules)) {
|
63
|
-
this._checkMediaQueries();
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
/**
|
68
|
-
* Initializes events for the Menu.
|
69
|
-
* @function
|
70
|
-
* @private
|
71
|
-
*/
|
72
|
-
_events() {
|
73
|
-
var _this = this;
|
74
|
-
|
75
|
-
$(window).on('changed.zf.mediaquery', function() {
|
76
|
-
_this._checkMediaQueries();
|
77
|
-
});
|
78
|
-
// $(window).on('resize.zf.ResponsiveMenu', function() {
|
79
|
-
// _this._checkMediaQueries();
|
80
|
-
// });
|
81
|
-
}
|
82
|
-
|
83
|
-
/**
|
84
|
-
* Checks the current screen width against available media queries. If the media query has changed, and the plugin needed has changed, the plugins will swap out.
|
85
|
-
* @function
|
86
|
-
* @private
|
87
|
-
*/
|
88
|
-
_checkMediaQueries() {
|
89
|
-
var matchedMq, _this = this;
|
90
|
-
// Iterate through each rule and find the last matching rule
|
91
|
-
$.each(this.rules, function(key) {
|
92
|
-
if (Foundation.MediaQuery.atLeast(key)) {
|
93
|
-
matchedMq = key;
|
94
|
-
}
|
95
|
-
});
|
96
|
-
|
97
|
-
// No match? No dice
|
98
|
-
if (!matchedMq) return;
|
99
|
-
|
100
|
-
// Plugin already initialized? We good
|
101
|
-
if (this.currentPlugin instanceof this.rules[matchedMq].plugin) return;
|
102
|
-
|
103
|
-
// Remove existing plugin-specific CSS classes
|
104
|
-
$.each(MenuPlugins, function(key, value) {
|
105
|
-
_this.$element.removeClass(value.cssClass);
|
106
|
-
});
|
107
|
-
|
108
|
-
// Add the CSS class for the new plugin
|
109
|
-
this.$element.addClass(this.rules[matchedMq].cssClass);
|
110
|
-
|
111
|
-
// Create an instance of the new plugin
|
112
|
-
if (this.currentPlugin) this.currentPlugin.destroy();
|
113
|
-
this.currentPlugin = new this.rules[matchedMq].plugin(this.$element, {});
|
114
|
-
}
|
115
|
-
|
116
|
-
/**
|
117
|
-
* Destroys the instance of the current plugin on this element, as well as the window resize handler that switches the plugins out.
|
118
|
-
* @function
|
119
|
-
*/
|
120
|
-
destroy() {
|
121
|
-
this.currentPlugin.destroy();
|
122
|
-
$(window).off('.zf.ResponsiveMenu');
|
123
|
-
Foundation.unregisterPlugin(this);
|
124
|
-
}
|
125
|
-
}
|
126
|
-
|
127
|
-
ResponsiveMenu.defaults = {};
|
128
|
-
|
129
|
-
// The plugin matches the plugin classes with these plugin instances.
|
130
|
-
var MenuPlugins = {
|
131
|
-
dropdown: {
|
132
|
-
cssClass: 'dropdown',
|
133
|
-
plugin: Foundation._plugins['dropdown-menu'] || null
|
134
|
-
},
|
135
|
-
drilldown: {
|
136
|
-
cssClass: 'drilldown',
|
137
|
-
plugin: Foundation._plugins['drilldown'] || null
|
138
|
-
},
|
139
|
-
accordion: {
|
140
|
-
cssClass: 'accordion-menu',
|
141
|
-
plugin: Foundation._plugins['accordion-menu'] || null
|
142
|
-
}
|
143
|
-
};
|
144
|
-
|
145
|
-
// Window exports
|
146
|
-
Foundation.plugin(ResponsiveMenu, 'ResponsiveMenu');
|
147
|
-
|
148
|
-
}(jQuery);
|