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,447 +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
|
-
* Dropdown module.
|
11
|
-
* @module foundation.dropdown
|
12
|
-
* @requires foundation.util.keyboard
|
13
|
-
* @requires foundation.util.box
|
14
|
-
* @requires foundation.util.triggers
|
15
|
-
*/
|
16
|
-
|
17
|
-
var Dropdown = function () {
|
18
|
-
/**
|
19
|
-
* Creates a new instance of a dropdown.
|
20
|
-
* @class
|
21
|
-
* @param {jQuery} element - jQuery object to make into a dropdown.
|
22
|
-
* Object should be of the dropdown panel, rather than its anchor.
|
23
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
24
|
-
*/
|
25
|
-
|
26
|
-
function Dropdown(element, options) {
|
27
|
-
_classCallCheck(this, Dropdown);
|
28
|
-
|
29
|
-
this.$element = element;
|
30
|
-
this.options = $.extend({}, Dropdown.defaults, this.$element.data(), options);
|
31
|
-
this._init();
|
32
|
-
|
33
|
-
Foundation.registerPlugin(this, 'Dropdown');
|
34
|
-
Foundation.Keyboard.register('Dropdown', {
|
35
|
-
'ENTER': 'open',
|
36
|
-
'SPACE': 'open',
|
37
|
-
'ESCAPE': 'close',
|
38
|
-
'TAB': 'tab_forward',
|
39
|
-
'SHIFT_TAB': 'tab_backward'
|
40
|
-
});
|
41
|
-
}
|
42
|
-
|
43
|
-
/**
|
44
|
-
* Initializes the plugin by setting/checking options and attributes, adding helper variables, and saving the anchor.
|
45
|
-
* @function
|
46
|
-
* @private
|
47
|
-
*/
|
48
|
-
|
49
|
-
|
50
|
-
_createClass(Dropdown, [{
|
51
|
-
key: '_init',
|
52
|
-
value: function _init() {
|
53
|
-
var $id = this.$element.attr('id');
|
54
|
-
|
55
|
-
this.$anchor = $('[data-toggle="' + $id + '"]') || $('[data-open="' + $id + '"]');
|
56
|
-
this.$anchor.attr({
|
57
|
-
'aria-controls': $id,
|
58
|
-
'data-is-focus': false,
|
59
|
-
'data-yeti-box': $id,
|
60
|
-
'aria-haspopup': true,
|
61
|
-
'aria-expanded': false
|
62
|
-
|
63
|
-
});
|
64
|
-
|
65
|
-
this.options.positionClass = this.getPositionClass();
|
66
|
-
this.counter = 4;
|
67
|
-
this.usedPositions = [];
|
68
|
-
this.$element.attr({
|
69
|
-
'aria-hidden': 'true',
|
70
|
-
'data-yeti-box': $id,
|
71
|
-
'data-resize': $id,
|
72
|
-
'aria-labelledby': this.$anchor[0].id || Foundation.GetYoDigits(6, 'dd-anchor')
|
73
|
-
});
|
74
|
-
this._events();
|
75
|
-
}
|
76
|
-
|
77
|
-
/**
|
78
|
-
* Helper function to determine current orientation of dropdown pane.
|
79
|
-
* @function
|
80
|
-
* @returns {String} position - string value of a position class.
|
81
|
-
*/
|
82
|
-
|
83
|
-
}, {
|
84
|
-
key: 'getPositionClass',
|
85
|
-
value: function getPositionClass() {
|
86
|
-
var verticalPosition = this.$element[0].className.match(/(top|left|right|bottom)/g);
|
87
|
-
verticalPosition = verticalPosition ? verticalPosition[0] : '';
|
88
|
-
var horizontalPosition = /float-(\S+)\s/.exec(this.$anchor[0].className);
|
89
|
-
horizontalPosition = horizontalPosition ? horizontalPosition[1] : '';
|
90
|
-
var position = horizontalPosition ? horizontalPosition + ' ' + verticalPosition : verticalPosition;
|
91
|
-
return position;
|
92
|
-
}
|
93
|
-
|
94
|
-
/**
|
95
|
-
* Adjusts the dropdown panes orientation by adding/removing positioning classes.
|
96
|
-
* @function
|
97
|
-
* @private
|
98
|
-
* @param {String} position - position class to remove.
|
99
|
-
*/
|
100
|
-
|
101
|
-
}, {
|
102
|
-
key: '_reposition',
|
103
|
-
value: function _reposition(position) {
|
104
|
-
this.usedPositions.push(position ? position : 'bottom');
|
105
|
-
//default, try switching to opposite side
|
106
|
-
if (!position && this.usedPositions.indexOf('top') < 0) {
|
107
|
-
this.$element.addClass('top');
|
108
|
-
} else if (position === 'top' && this.usedPositions.indexOf('bottom') < 0) {
|
109
|
-
this.$element.removeClass(position);
|
110
|
-
} else if (position === 'left' && this.usedPositions.indexOf('right') < 0) {
|
111
|
-
this.$element.removeClass(position).addClass('right');
|
112
|
-
} else if (position === 'right' && this.usedPositions.indexOf('left') < 0) {
|
113
|
-
this.$element.removeClass(position).addClass('left');
|
114
|
-
}
|
115
|
-
|
116
|
-
//if default change didn't work, try bottom or left first
|
117
|
-
else if (!position && this.usedPositions.indexOf('top') > -1 && this.usedPositions.indexOf('left') < 0) {
|
118
|
-
this.$element.addClass('left');
|
119
|
-
} else if (position === 'top' && this.usedPositions.indexOf('bottom') > -1 && this.usedPositions.indexOf('left') < 0) {
|
120
|
-
this.$element.removeClass(position).addClass('left');
|
121
|
-
} else if (position === 'left' && this.usedPositions.indexOf('right') > -1 && this.usedPositions.indexOf('bottom') < 0) {
|
122
|
-
this.$element.removeClass(position);
|
123
|
-
} else if (position === 'right' && this.usedPositions.indexOf('left') > -1 && this.usedPositions.indexOf('bottom') < 0) {
|
124
|
-
this.$element.removeClass(position);
|
125
|
-
}
|
126
|
-
//if nothing cleared, set to bottom
|
127
|
-
else {
|
128
|
-
this.$element.removeClass(position);
|
129
|
-
}
|
130
|
-
this.classChanged = true;
|
131
|
-
this.counter--;
|
132
|
-
}
|
133
|
-
|
134
|
-
/**
|
135
|
-
* Sets the position and orientation of the dropdown pane, checks for collisions.
|
136
|
-
* Recursively calls itself if a collision is detected, with a new position class.
|
137
|
-
* @function
|
138
|
-
* @private
|
139
|
-
*/
|
140
|
-
|
141
|
-
}, {
|
142
|
-
key: '_setPosition',
|
143
|
-
value: function _setPosition() {
|
144
|
-
if (this.$anchor.attr('aria-expanded') === 'false') {
|
145
|
-
return false;
|
146
|
-
}
|
147
|
-
var position = this.getPositionClass(),
|
148
|
-
$eleDims = Foundation.Box.GetDimensions(this.$element),
|
149
|
-
$anchorDims = Foundation.Box.GetDimensions(this.$anchor),
|
150
|
-
_this = this,
|
151
|
-
direction = position === 'left' ? 'left' : position === 'right' ? 'left' : 'top',
|
152
|
-
param = direction === 'top' ? 'height' : 'width',
|
153
|
-
offset = param === 'height' ? this.options.vOffset : this.options.hOffset;
|
154
|
-
|
155
|
-
if ($eleDims.width >= $eleDims.windowDims.width || !this.counter && !Foundation.Box.ImNotTouchingYou(this.$element)) {
|
156
|
-
this.$element.offset(Foundation.Box.GetOffsets(this.$element, this.$anchor, 'center bottom', this.options.vOffset, this.options.hOffset, true)).css({
|
157
|
-
'width': $eleDims.windowDims.width - this.options.hOffset * 2,
|
158
|
-
'height': 'auto'
|
159
|
-
});
|
160
|
-
this.classChanged = true;
|
161
|
-
return false;
|
162
|
-
}
|
163
|
-
|
164
|
-
this.$element.offset(Foundation.Box.GetOffsets(this.$element, this.$anchor, position, this.options.vOffset, this.options.hOffset));
|
165
|
-
|
166
|
-
while (!Foundation.Box.ImNotTouchingYou(this.$element, false, true) && this.counter) {
|
167
|
-
this._reposition(position);
|
168
|
-
this._setPosition();
|
169
|
-
}
|
170
|
-
}
|
171
|
-
|
172
|
-
/**
|
173
|
-
* Adds event listeners to the element utilizing the triggers utility library.
|
174
|
-
* @function
|
175
|
-
* @private
|
176
|
-
*/
|
177
|
-
|
178
|
-
}, {
|
179
|
-
key: '_events',
|
180
|
-
value: function _events() {
|
181
|
-
var _this = this;
|
182
|
-
this.$element.on({
|
183
|
-
'open.zf.trigger': this.open.bind(this),
|
184
|
-
'close.zf.trigger': this.close.bind(this),
|
185
|
-
'toggle.zf.trigger': this.toggle.bind(this),
|
186
|
-
'resizeme.zf.trigger': this._setPosition.bind(this)
|
187
|
-
});
|
188
|
-
|
189
|
-
if (this.options.hover) {
|
190
|
-
this.$anchor.off('mouseenter.zf.dropdown mouseleave.zf.dropdown').on('mouseenter.zf.dropdown', function () {
|
191
|
-
clearTimeout(_this.timeout);
|
192
|
-
_this.timeout = setTimeout(function () {
|
193
|
-
_this.open();
|
194
|
-
_this.$anchor.data('hover', true);
|
195
|
-
}, _this.options.hoverDelay);
|
196
|
-
}).on('mouseleave.zf.dropdown', function () {
|
197
|
-
clearTimeout(_this.timeout);
|
198
|
-
_this.timeout = setTimeout(function () {
|
199
|
-
_this.close();
|
200
|
-
_this.$anchor.data('hover', false);
|
201
|
-
}, _this.options.hoverDelay);
|
202
|
-
});
|
203
|
-
if (this.options.hoverPane) {
|
204
|
-
this.$element.off('mouseenter.zf.dropdown mouseleave.zf.dropdown').on('mouseenter.zf.dropdown', function () {
|
205
|
-
clearTimeout(_this.timeout);
|
206
|
-
}).on('mouseleave.zf.dropdown', function () {
|
207
|
-
clearTimeout(_this.timeout);
|
208
|
-
_this.timeout = setTimeout(function () {
|
209
|
-
_this.close();
|
210
|
-
_this.$anchor.data('hover', false);
|
211
|
-
}, _this.options.hoverDelay);
|
212
|
-
});
|
213
|
-
}
|
214
|
-
}
|
215
|
-
this.$anchor.add(this.$element).on('keydown.zf.dropdown', function (e) {
|
216
|
-
|
217
|
-
var $target = $(this),
|
218
|
-
visibleFocusableElements = Foundation.Keyboard.findFocusable(_this.$element);
|
219
|
-
|
220
|
-
Foundation.Keyboard.handleKey(e, 'Dropdown', {
|
221
|
-
tab_forward: function () {
|
222
|
-
if (_this.$element.find(':focus').is(visibleFocusableElements.eq(-1))) {
|
223
|
-
// left modal downwards, setting focus to first element
|
224
|
-
if (_this.options.trapFocus) {
|
225
|
-
// if focus shall be trapped
|
226
|
-
visibleFocusableElements.eq(0).focus();
|
227
|
-
e.preventDefault();
|
228
|
-
} else {
|
229
|
-
// if focus is not trapped, close dropdown on focus out
|
230
|
-
_this.close();
|
231
|
-
}
|
232
|
-
}
|
233
|
-
},
|
234
|
-
tab_backward: function () {
|
235
|
-
if (_this.$element.find(':focus').is(visibleFocusableElements.eq(0)) || _this.$element.is(':focus')) {
|
236
|
-
// left modal upwards, setting focus to last element
|
237
|
-
if (_this.options.trapFocus) {
|
238
|
-
// if focus shall be trapped
|
239
|
-
visibleFocusableElements.eq(-1).focus();
|
240
|
-
e.preventDefault();
|
241
|
-
} else {
|
242
|
-
// if focus is not trapped, close dropdown on focus out
|
243
|
-
_this.close();
|
244
|
-
}
|
245
|
-
}
|
246
|
-
},
|
247
|
-
open: function () {
|
248
|
-
if ($target.is(_this.$anchor)) {
|
249
|
-
_this.open();
|
250
|
-
_this.$element.attr('tabindex', -1).focus();
|
251
|
-
e.preventDefault();
|
252
|
-
}
|
253
|
-
},
|
254
|
-
close: function () {
|
255
|
-
_this.close();
|
256
|
-
_this.$anchor.focus();
|
257
|
-
}
|
258
|
-
});
|
259
|
-
});
|
260
|
-
}
|
261
|
-
|
262
|
-
/**
|
263
|
-
* Adds an event handler to the body to close any dropdowns on a click.
|
264
|
-
* @function
|
265
|
-
* @private
|
266
|
-
*/
|
267
|
-
|
268
|
-
}, {
|
269
|
-
key: '_addBodyHandler',
|
270
|
-
value: function _addBodyHandler() {
|
271
|
-
var $body = $(document.body).not(this.$element),
|
272
|
-
_this = this;
|
273
|
-
$body.off('click.zf.dropdown').on('click.zf.dropdown', function (e) {
|
274
|
-
if (_this.$anchor.is(e.target) || _this.$anchor.find(e.target).length) {
|
275
|
-
return;
|
276
|
-
}
|
277
|
-
if (_this.$element.find(e.target).length) {
|
278
|
-
return;
|
279
|
-
}
|
280
|
-
_this.close();
|
281
|
-
$body.off('click.zf.dropdown');
|
282
|
-
});
|
283
|
-
}
|
284
|
-
|
285
|
-
/**
|
286
|
-
* Opens the dropdown pane, and fires a bubbling event to close other dropdowns.
|
287
|
-
* @function
|
288
|
-
* @fires Dropdown#closeme
|
289
|
-
* @fires Dropdown#show
|
290
|
-
*/
|
291
|
-
|
292
|
-
}, {
|
293
|
-
key: 'open',
|
294
|
-
value: function open() {
|
295
|
-
// var _this = this;
|
296
|
-
/**
|
297
|
-
* Fires to close other open dropdowns
|
298
|
-
* @event Dropdown#closeme
|
299
|
-
*/
|
300
|
-
this.$element.trigger('closeme.zf.dropdown', this.$element.attr('id'));
|
301
|
-
this.$anchor.addClass('hover').attr({ 'aria-expanded': true });
|
302
|
-
// this.$element/*.show()*/;
|
303
|
-
this._setPosition();
|
304
|
-
this.$element.addClass('is-open').attr({ 'aria-hidden': false });
|
305
|
-
|
306
|
-
if (this.options.autoFocus) {
|
307
|
-
var $focusable = Foundation.Keyboard.findFocusable(this.$element);
|
308
|
-
if ($focusable.length) {
|
309
|
-
$focusable.eq(0).focus();
|
310
|
-
}
|
311
|
-
}
|
312
|
-
|
313
|
-
if (this.options.closeOnClick) {
|
314
|
-
this._addBodyHandler();
|
315
|
-
}
|
316
|
-
|
317
|
-
/**
|
318
|
-
* Fires once the dropdown is visible.
|
319
|
-
* @event Dropdown#show
|
320
|
-
*/
|
321
|
-
this.$element.trigger('show.zf.dropdown', [this.$element]);
|
322
|
-
}
|
323
|
-
|
324
|
-
/**
|
325
|
-
* Closes the open dropdown pane.
|
326
|
-
* @function
|
327
|
-
* @fires Dropdown#hide
|
328
|
-
*/
|
329
|
-
|
330
|
-
}, {
|
331
|
-
key: 'close',
|
332
|
-
value: function close() {
|
333
|
-
if (!this.$element.hasClass('is-open')) {
|
334
|
-
return false;
|
335
|
-
}
|
336
|
-
this.$element.removeClass('is-open').attr({ 'aria-hidden': true });
|
337
|
-
|
338
|
-
this.$anchor.removeClass('hover').attr('aria-expanded', false);
|
339
|
-
|
340
|
-
if (this.classChanged) {
|
341
|
-
var curPositionClass = this.getPositionClass();
|
342
|
-
if (curPositionClass) {
|
343
|
-
this.$element.removeClass(curPositionClass);
|
344
|
-
}
|
345
|
-
this.$element.addClass(this.options.positionClass)
|
346
|
-
/*.hide()*/.css({ height: '', width: '' });
|
347
|
-
this.classChanged = false;
|
348
|
-
this.counter = 4;
|
349
|
-
this.usedPositions.length = 0;
|
350
|
-
}
|
351
|
-
this.$element.trigger('hide.zf.dropdown', [this.$element]);
|
352
|
-
}
|
353
|
-
|
354
|
-
/**
|
355
|
-
* Toggles the dropdown pane's visibility.
|
356
|
-
* @function
|
357
|
-
*/
|
358
|
-
|
359
|
-
}, {
|
360
|
-
key: 'toggle',
|
361
|
-
value: function toggle() {
|
362
|
-
if (this.$element.hasClass('is-open')) {
|
363
|
-
if (this.$anchor.data('hover')) return;
|
364
|
-
this.close();
|
365
|
-
} else {
|
366
|
-
this.open();
|
367
|
-
}
|
368
|
-
}
|
369
|
-
|
370
|
-
/**
|
371
|
-
* Destroys the dropdown.
|
372
|
-
* @function
|
373
|
-
*/
|
374
|
-
|
375
|
-
}, {
|
376
|
-
key: 'destroy',
|
377
|
-
value: function destroy() {
|
378
|
-
this.$element.off('.zf.trigger').hide();
|
379
|
-
this.$anchor.off('.zf.dropdown');
|
380
|
-
|
381
|
-
Foundation.unregisterPlugin(this);
|
382
|
-
}
|
383
|
-
}]);
|
384
|
-
|
385
|
-
return Dropdown;
|
386
|
-
}();
|
387
|
-
|
388
|
-
Dropdown.defaults = {
|
389
|
-
/**
|
390
|
-
* Amount of time to delay opening a submenu on hover event.
|
391
|
-
* @option
|
392
|
-
* @example 250
|
393
|
-
*/
|
394
|
-
hoverDelay: 250,
|
395
|
-
/**
|
396
|
-
* Allow submenus to open on hover events
|
397
|
-
* @option
|
398
|
-
* @example false
|
399
|
-
*/
|
400
|
-
hover: false,
|
401
|
-
/**
|
402
|
-
* Don't close dropdown when hovering over dropdown pane
|
403
|
-
* @option
|
404
|
-
* @example true
|
405
|
-
*/
|
406
|
-
hoverPane: false,
|
407
|
-
/**
|
408
|
-
* Number of pixels between the dropdown pane and the triggering element on open.
|
409
|
-
* @option
|
410
|
-
* @example 1
|
411
|
-
*/
|
412
|
-
vOffset: 1,
|
413
|
-
/**
|
414
|
-
* Number of pixels between the dropdown pane and the triggering element on open.
|
415
|
-
* @option
|
416
|
-
* @example 1
|
417
|
-
*/
|
418
|
-
hOffset: 1,
|
419
|
-
/**
|
420
|
-
* Class applied to adjust open position. JS will test and fill this in.
|
421
|
-
* @option
|
422
|
-
* @example 'top'
|
423
|
-
*/
|
424
|
-
positionClass: '',
|
425
|
-
/**
|
426
|
-
* Allow the plugin to trap focus to the dropdown pane if opened with keyboard commands.
|
427
|
-
* @option
|
428
|
-
* @example false
|
429
|
-
*/
|
430
|
-
trapFocus: false,
|
431
|
-
/**
|
432
|
-
* Allow the plugin to set focus to the first focusable element within the pane, regardless of method of opening.
|
433
|
-
* @option
|
434
|
-
* @example true
|
435
|
-
*/
|
436
|
-
autoFocus: false,
|
437
|
-
/**
|
438
|
-
* Allows a click on the body to close the dropdown.
|
439
|
-
* @option
|
440
|
-
* @example false
|
441
|
-
*/
|
442
|
-
closeOnClick: false
|
443
|
-
};
|
444
|
-
|
445
|
-
// Window exports
|
446
|
-
Foundation.plugin(Dropdown, 'Dropdown');
|
447
|
-
}(jQuery);
|
@@ -1,447 +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
|
-
* DropdownMenu module.
|
11
|
-
* @module foundation.dropdown-menu
|
12
|
-
* @requires foundation.util.keyboard
|
13
|
-
* @requires foundation.util.box
|
14
|
-
* @requires foundation.util.nest
|
15
|
-
*/
|
16
|
-
|
17
|
-
var DropdownMenu = function () {
|
18
|
-
/**
|
19
|
-
* Creates a new instance of DropdownMenu.
|
20
|
-
* @class
|
21
|
-
* @fires DropdownMenu#init
|
22
|
-
* @param {jQuery} element - jQuery object to make into a dropdown menu.
|
23
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
24
|
-
*/
|
25
|
-
|
26
|
-
function DropdownMenu(element, options) {
|
27
|
-
_classCallCheck(this, DropdownMenu);
|
28
|
-
|
29
|
-
this.$element = element;
|
30
|
-
this.options = $.extend({}, DropdownMenu.defaults, this.$element.data(), options);
|
31
|
-
|
32
|
-
Foundation.Nest.Feather(this.$element, 'dropdown');
|
33
|
-
this._init();
|
34
|
-
|
35
|
-
Foundation.registerPlugin(this, 'DropdownMenu');
|
36
|
-
Foundation.Keyboard.register('DropdownMenu', {
|
37
|
-
'ENTER': 'open',
|
38
|
-
'SPACE': 'open',
|
39
|
-
'ARROW_RIGHT': 'next',
|
40
|
-
'ARROW_UP': 'up',
|
41
|
-
'ARROW_DOWN': 'down',
|
42
|
-
'ARROW_LEFT': 'previous',
|
43
|
-
'ESCAPE': 'close'
|
44
|
-
});
|
45
|
-
}
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Initializes the plugin, and calls _prepareMenu
|
49
|
-
* @private
|
50
|
-
* @function
|
51
|
-
*/
|
52
|
-
|
53
|
-
|
54
|
-
_createClass(DropdownMenu, [{
|
55
|
-
key: '_init',
|
56
|
-
value: function _init() {
|
57
|
-
var subs = this.$element.find('li.is-dropdown-submenu-parent');
|
58
|
-
this.$element.children('.is-dropdown-submenu-parent').children('.is-dropdown-submenu').addClass('first-sub');
|
59
|
-
|
60
|
-
this.$menuItems = this.$element.find('[role="menuitem"]');
|
61
|
-
this.$tabs = this.$element.children('[role="menuitem"]');
|
62
|
-
this.$tabs.find('ul.is-dropdown-submenu').addClass(this.options.verticalClass);
|
63
|
-
|
64
|
-
if (this.$element.hasClass(this.options.rightClass) || this.options.alignment === 'right' || Foundation.rtl() || this.$element.parents('.top-bar-right').is('*')) {
|
65
|
-
this.options.alignment = 'right';
|
66
|
-
subs.addClass('opens-left');
|
67
|
-
} else {
|
68
|
-
subs.addClass('opens-right');
|
69
|
-
}
|
70
|
-
this.changed = false;
|
71
|
-
this._events();
|
72
|
-
}
|
73
|
-
}, {
|
74
|
-
key: '_events',
|
75
|
-
|
76
|
-
/**
|
77
|
-
* Adds event listeners to elements within the menu
|
78
|
-
* @private
|
79
|
-
* @function
|
80
|
-
*/
|
81
|
-
value: function _events() {
|
82
|
-
var _this = this,
|
83
|
-
hasTouch = 'ontouchstart' in window || typeof window.ontouchstart !== 'undefined',
|
84
|
-
parClass = 'is-dropdown-submenu-parent';
|
85
|
-
|
86
|
-
// used for onClick and in the keyboard handlers
|
87
|
-
var handleClickFn = function (e) {
|
88
|
-
var $elem = $(e.target).parentsUntil('ul', '.' + parClass),
|
89
|
-
hasSub = $elem.hasClass(parClass),
|
90
|
-
hasClicked = $elem.attr('data-is-click') === 'true',
|
91
|
-
$sub = $elem.children('.is-dropdown-submenu');
|
92
|
-
|
93
|
-
if (hasSub) {
|
94
|
-
if (hasClicked) {
|
95
|
-
if (!_this.options.closeOnClick || !_this.options.clickOpen && !hasTouch || _this.options.forceFollow && hasTouch) {
|
96
|
-
return;
|
97
|
-
} else {
|
98
|
-
e.stopImmediatePropagation();
|
99
|
-
e.preventDefault();
|
100
|
-
_this._hide($elem);
|
101
|
-
}
|
102
|
-
} else {
|
103
|
-
e.preventDefault();
|
104
|
-
e.stopImmediatePropagation();
|
105
|
-
_this._show($elem.children('.is-dropdown-submenu'));
|
106
|
-
$elem.add($elem.parentsUntil(_this.$element, '.' + parClass)).attr('data-is-click', true);
|
107
|
-
}
|
108
|
-
} else {
|
109
|
-
return;
|
110
|
-
}
|
111
|
-
};
|
112
|
-
|
113
|
-
if (this.options.clickOpen || hasTouch) {
|
114
|
-
this.$menuItems.on('click.zf.dropdownmenu touchstart.zf.dropdownmenu', handleClickFn);
|
115
|
-
}
|
116
|
-
|
117
|
-
if (!this.options.disableHover) {
|
118
|
-
this.$menuItems.on('mouseenter.zf.dropdownmenu', function (e) {
|
119
|
-
var $elem = $(this),
|
120
|
-
hasSub = $elem.hasClass(parClass);
|
121
|
-
|
122
|
-
if (hasSub) {
|
123
|
-
clearTimeout(_this.delay);
|
124
|
-
_this.delay = setTimeout(function () {
|
125
|
-
_this._show($elem.children('.is-dropdown-submenu'));
|
126
|
-
}, _this.options.hoverDelay);
|
127
|
-
}
|
128
|
-
}).on('mouseleave.zf.dropdownmenu', function (e) {
|
129
|
-
var $elem = $(this),
|
130
|
-
hasSub = $elem.hasClass(parClass);
|
131
|
-
if (hasSub && _this.options.autoclose) {
|
132
|
-
if ($elem.attr('data-is-click') === 'true' && _this.options.clickOpen) {
|
133
|
-
return false;
|
134
|
-
}
|
135
|
-
|
136
|
-
clearTimeout(_this.delay);
|
137
|
-
_this.delay = setTimeout(function () {
|
138
|
-
_this._hide($elem);
|
139
|
-
}, _this.options.closingTime);
|
140
|
-
}
|
141
|
-
});
|
142
|
-
}
|
143
|
-
this.$menuItems.on('keydown.zf.dropdownmenu', function (e) {
|
144
|
-
var $element = $(e.target).parentsUntil('ul', '[role="menuitem"]'),
|
145
|
-
isTab = _this.$tabs.index($element) > -1,
|
146
|
-
$elements = isTab ? _this.$tabs : $element.siblings('li').add($element),
|
147
|
-
$prevElement,
|
148
|
-
$nextElement;
|
149
|
-
|
150
|
-
$elements.each(function (i) {
|
151
|
-
if ($(this).is($element)) {
|
152
|
-
$prevElement = $elements.eq(i - 1);
|
153
|
-
$nextElement = $elements.eq(i + 1);
|
154
|
-
return;
|
155
|
-
}
|
156
|
-
});
|
157
|
-
|
158
|
-
var nextSibling = function () {
|
159
|
-
if (!$element.is(':last-child')) {
|
160
|
-
$nextElement.children('a:first').focus();
|
161
|
-
e.preventDefault();
|
162
|
-
}
|
163
|
-
},
|
164
|
-
prevSibling = function () {
|
165
|
-
$prevElement.children('a:first').focus();
|
166
|
-
e.preventDefault();
|
167
|
-
},
|
168
|
-
openSub = function () {
|
169
|
-
var $sub = $element.children('ul.is-dropdown-submenu');
|
170
|
-
if ($sub.length) {
|
171
|
-
_this._show($sub);
|
172
|
-
$element.find('li > a:first').focus();
|
173
|
-
e.preventDefault();
|
174
|
-
} else {
|
175
|
-
return;
|
176
|
-
}
|
177
|
-
},
|
178
|
-
closeSub = function () {
|
179
|
-
//if ($element.is(':first-child')) {
|
180
|
-
var close = $element.parent('ul').parent('li');
|
181
|
-
close.children('a:first').focus();
|
182
|
-
_this._hide(close);
|
183
|
-
e.preventDefault();
|
184
|
-
//}
|
185
|
-
};
|
186
|
-
var functions = {
|
187
|
-
open: openSub,
|
188
|
-
close: function () {
|
189
|
-
_this._hide(_this.$element);
|
190
|
-
_this.$menuItems.find('a:first').focus(); // focus to first element
|
191
|
-
e.preventDefault();
|
192
|
-
},
|
193
|
-
handled: function () {
|
194
|
-
e.stopImmediatePropagation();
|
195
|
-
}
|
196
|
-
};
|
197
|
-
|
198
|
-
if (isTab) {
|
199
|
-
if (_this.$element.hasClass(_this.options.verticalClass)) {
|
200
|
-
// vertical menu
|
201
|
-
if (_this.options.alignment === 'left') {
|
202
|
-
// left aligned
|
203
|
-
$.extend(functions, {
|
204
|
-
down: nextSibling,
|
205
|
-
up: prevSibling,
|
206
|
-
next: openSub,
|
207
|
-
previous: closeSub
|
208
|
-
});
|
209
|
-
} else {
|
210
|
-
// right aligned
|
211
|
-
$.extend(functions, {
|
212
|
-
down: nextSibling,
|
213
|
-
up: prevSibling,
|
214
|
-
next: closeSub,
|
215
|
-
previous: openSub
|
216
|
-
});
|
217
|
-
}
|
218
|
-
} else {
|
219
|
-
// horizontal menu
|
220
|
-
$.extend(functions, {
|
221
|
-
next: nextSibling,
|
222
|
-
previous: prevSibling,
|
223
|
-
down: openSub,
|
224
|
-
up: closeSub
|
225
|
-
});
|
226
|
-
}
|
227
|
-
} else {
|
228
|
-
// not tabs -> one sub
|
229
|
-
if (_this.options.alignment === 'left') {
|
230
|
-
// left aligned
|
231
|
-
$.extend(functions, {
|
232
|
-
next: openSub,
|
233
|
-
previous: closeSub,
|
234
|
-
down: nextSibling,
|
235
|
-
up: prevSibling
|
236
|
-
});
|
237
|
-
} else {
|
238
|
-
// right aligned
|
239
|
-
$.extend(functions, {
|
240
|
-
next: closeSub,
|
241
|
-
previous: openSub,
|
242
|
-
down: nextSibling,
|
243
|
-
up: prevSibling
|
244
|
-
});
|
245
|
-
}
|
246
|
-
}
|
247
|
-
Foundation.Keyboard.handleKey(e, 'DropdownMenu', functions);
|
248
|
-
});
|
249
|
-
}
|
250
|
-
|
251
|
-
/**
|
252
|
-
* Adds an event handler to the body to close any dropdowns on a click.
|
253
|
-
* @function
|
254
|
-
* @private
|
255
|
-
*/
|
256
|
-
|
257
|
-
}, {
|
258
|
-
key: '_addBodyHandler',
|
259
|
-
value: function _addBodyHandler() {
|
260
|
-
var $body = $(document.body),
|
261
|
-
_this = this;
|
262
|
-
$body.off('mouseup.zf.dropdownmenu touchend.zf.dropdownmenu').on('mouseup.zf.dropdownmenu touchend.zf.dropdownmenu', function (e) {
|
263
|
-
var $link = _this.$element.find(e.target);
|
264
|
-
if ($link.length) {
|
265
|
-
return;
|
266
|
-
}
|
267
|
-
|
268
|
-
_this._hide();
|
269
|
-
$body.off('mouseup.zf.dropdownmenu touchend.zf.dropdownmenu');
|
270
|
-
});
|
271
|
-
}
|
272
|
-
|
273
|
-
/**
|
274
|
-
* Opens a dropdown pane, and checks for collisions first.
|
275
|
-
* @param {jQuery} $sub - ul element that is a submenu to show
|
276
|
-
* @function
|
277
|
-
* @private
|
278
|
-
* @fires DropdownMenu#show
|
279
|
-
*/
|
280
|
-
|
281
|
-
}, {
|
282
|
-
key: '_show',
|
283
|
-
value: function _show($sub) {
|
284
|
-
var idx = this.$tabs.index(this.$tabs.filter(function (i, el) {
|
285
|
-
return $(el).find($sub).length > 0;
|
286
|
-
}));
|
287
|
-
var $sibs = $sub.parent('li.is-dropdown-submenu-parent').siblings('li.is-dropdown-submenu-parent');
|
288
|
-
this._hide($sibs, idx);
|
289
|
-
$sub.css('visibility', 'hidden').addClass('js-dropdown-active').attr({ 'aria-hidden': false }).parent('li.is-dropdown-submenu-parent').addClass('is-active').attr({ 'aria-expanded': true });
|
290
|
-
var clear = Foundation.Box.ImNotTouchingYou($sub, null, true);
|
291
|
-
if (!clear) {
|
292
|
-
var oldClass = this.options.alignment === 'left' ? '-right' : '-left',
|
293
|
-
$parentLi = $sub.parent('.is-dropdown-submenu-parent');
|
294
|
-
$parentLi.removeClass('opens' + oldClass).addClass('opens-' + this.options.alignment);
|
295
|
-
clear = Foundation.Box.ImNotTouchingYou($sub, null, true);
|
296
|
-
if (!clear) {
|
297
|
-
$parentLi.removeClass('opens-' + this.options.alignment).addClass('opens-inner');
|
298
|
-
}
|
299
|
-
this.changed = true;
|
300
|
-
}
|
301
|
-
$sub.css('visibility', '');
|
302
|
-
if (this.options.closeOnClick) {
|
303
|
-
this._addBodyHandler();
|
304
|
-
}
|
305
|
-
/**
|
306
|
-
* Fires when the new dropdown pane is visible.
|
307
|
-
* @event DropdownMenu#show
|
308
|
-
*/
|
309
|
-
this.$element.trigger('show.zf.dropdownmenu', [$sub]);
|
310
|
-
}
|
311
|
-
|
312
|
-
/**
|
313
|
-
* Hides a single, currently open dropdown pane, if passed a parameter, otherwise, hides everything.
|
314
|
-
* @function
|
315
|
-
* @param {jQuery} $elem - element with a submenu to hide
|
316
|
-
* @param {Number} idx - index of the $tabs collection to hide
|
317
|
-
* @private
|
318
|
-
*/
|
319
|
-
|
320
|
-
}, {
|
321
|
-
key: '_hide',
|
322
|
-
value: function _hide($elem, idx) {
|
323
|
-
var $toClose;
|
324
|
-
if ($elem && $elem.length) {
|
325
|
-
$toClose = $elem;
|
326
|
-
} else if (idx !== undefined) {
|
327
|
-
$toClose = this.$tabs.not(function (i, el) {
|
328
|
-
return i === idx;
|
329
|
-
});
|
330
|
-
} else {
|
331
|
-
$toClose = this.$element;
|
332
|
-
}
|
333
|
-
var somethingToClose = $toClose.hasClass('is-active') || $toClose.find('.is-active').length > 0;
|
334
|
-
|
335
|
-
if (somethingToClose) {
|
336
|
-
$toClose.find('li.is-active').add($toClose).attr({
|
337
|
-
'aria-expanded': false,
|
338
|
-
'data-is-click': false
|
339
|
-
}).removeClass('is-active');
|
340
|
-
|
341
|
-
$toClose.find('ul.js-dropdown-active').attr({
|
342
|
-
'aria-hidden': true
|
343
|
-
}).removeClass('js-dropdown-active');
|
344
|
-
|
345
|
-
if (this.changed || $toClose.find('opens-inner').length) {
|
346
|
-
var oldClass = this.options.alignment === 'left' ? 'right' : 'left';
|
347
|
-
$toClose.find('li.is-dropdown-submenu-parent').add($toClose).removeClass('opens-inner opens-' + this.options.alignment).addClass('opens-' + oldClass);
|
348
|
-
this.changed = false;
|
349
|
-
}
|
350
|
-
/**
|
351
|
-
* Fires when the open menus are closed.
|
352
|
-
* @event DropdownMenu#hide
|
353
|
-
*/
|
354
|
-
this.$element.trigger('hide.zf.dropdownmenu', [$toClose]);
|
355
|
-
}
|
356
|
-
}
|
357
|
-
|
358
|
-
/**
|
359
|
-
* Destroys the plugin.
|
360
|
-
* @function
|
361
|
-
*/
|
362
|
-
|
363
|
-
}, {
|
364
|
-
key: 'destroy',
|
365
|
-
value: function destroy() {
|
366
|
-
this.$menuItems.off('.zf.dropdownmenu').removeAttr('data-is-click').removeClass('is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner');
|
367
|
-
$(document.body).off('.zf.dropdownmenu');
|
368
|
-
Foundation.Nest.Burn(this.$element, 'dropdown');
|
369
|
-
Foundation.unregisterPlugin(this);
|
370
|
-
}
|
371
|
-
}]);
|
372
|
-
|
373
|
-
return DropdownMenu;
|
374
|
-
}();
|
375
|
-
|
376
|
-
/**
|
377
|
-
* Default settings for plugin
|
378
|
-
*/
|
379
|
-
|
380
|
-
|
381
|
-
DropdownMenu.defaults = {
|
382
|
-
/**
|
383
|
-
* Disallows hover events from opening submenus
|
384
|
-
* @option
|
385
|
-
* @example false
|
386
|
-
*/
|
387
|
-
disableHover: false,
|
388
|
-
/**
|
389
|
-
* Allow a submenu to automatically close on a mouseleave event, if not clicked open.
|
390
|
-
* @option
|
391
|
-
* @example true
|
392
|
-
*/
|
393
|
-
autoclose: true,
|
394
|
-
/**
|
395
|
-
* Amount of time to delay opening a submenu on hover event.
|
396
|
-
* @option
|
397
|
-
* @example 50
|
398
|
-
*/
|
399
|
-
hoverDelay: 50,
|
400
|
-
/**
|
401
|
-
* Allow a submenu to open/remain open on parent click event. Allows cursor to move away from menu.
|
402
|
-
* @option
|
403
|
-
* @example true
|
404
|
-
*/
|
405
|
-
clickOpen: false,
|
406
|
-
/**
|
407
|
-
* Amount of time to delay closing a submenu on a mouseleave event.
|
408
|
-
* @option
|
409
|
-
* @example 500
|
410
|
-
*/
|
411
|
-
|
412
|
-
closingTime: 500,
|
413
|
-
/**
|
414
|
-
* Position of the menu relative to what direction the submenus should open. Handled by JS.
|
415
|
-
* @option
|
416
|
-
* @example 'left'
|
417
|
-
*/
|
418
|
-
alignment: 'left',
|
419
|
-
/**
|
420
|
-
* Allow clicks on the body to close any open submenus.
|
421
|
-
* @option
|
422
|
-
* @example true
|
423
|
-
*/
|
424
|
-
closeOnClick: true,
|
425
|
-
/**
|
426
|
-
* Class applied to vertical oriented menus, Foundation default is `vertical`. Update this if using your own class.
|
427
|
-
* @option
|
428
|
-
* @example 'vertical'
|
429
|
-
*/
|
430
|
-
verticalClass: 'vertical',
|
431
|
-
/**
|
432
|
-
* Class applied to right-side oriented menus, Foundation default is `align-right`. Update this if using your own class.
|
433
|
-
* @option
|
434
|
-
* @example 'align-right'
|
435
|
-
*/
|
436
|
-
rightClass: 'align-right',
|
437
|
-
/**
|
438
|
-
* Boolean to force overide the clicking of links to perform default action, on second touch event for mobile.
|
439
|
-
* @option
|
440
|
-
* @example false
|
441
|
-
*/
|
442
|
-
forceFollow: true
|
443
|
-
};
|
444
|
-
|
445
|
-
// Window exports
|
446
|
-
Foundation.plugin(DropdownMenu, 'DropdownMenu');
|
447
|
-
}(jQuery);
|