jekyll-theme-pirati 7.6.2 → 8.0.0.pre.alpha3
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 +15 -15
- 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 +14 -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.fbbba5cee41a3fd5443c.js +0 -56
- data/assets/js/0.main.fbbba5cee41a3fd5443c.js.map +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.0.css +0 -2
- data/assets/js/main.fbbba5cee41a3fd5443c.0.css.map +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.css +0 -6
- data/assets/js/main.fbbba5cee41a3fd5443c.css.map +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.js +0 -1
- data/assets/js/main.fbbba5cee41a3fd5443c.js.map +0 -1
@@ -1,243 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
!function ($) {
|
4
|
-
|
5
|
-
var MutationObserver = function () {
|
6
|
-
var prefixes = ['WebKit', 'Moz', 'O', 'Ms', ''];
|
7
|
-
for (var i = 0; i < prefixes.length; i++) {
|
8
|
-
if (prefixes[i] + 'MutationObserver' in window) {
|
9
|
-
return window[prefixes[i] + 'MutationObserver'];
|
10
|
-
}
|
11
|
-
}
|
12
|
-
return false;
|
13
|
-
}();
|
14
|
-
|
15
|
-
var triggers = function (el, type) {
|
16
|
-
el.data(type).split(' ').forEach(function (id) {
|
17
|
-
$('#' + id)[type === 'close' ? 'trigger' : 'triggerHandler'](type + '.zf.trigger', [el]);
|
18
|
-
});
|
19
|
-
};
|
20
|
-
// Elements with [data-open] will reveal a plugin that supports it when clicked.
|
21
|
-
$(document).on('click.zf.trigger', '[data-open]', function () {
|
22
|
-
triggers($(this), 'open');
|
23
|
-
});
|
24
|
-
|
25
|
-
// Elements with [data-close] will close a plugin that supports it when clicked.
|
26
|
-
// If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
|
27
|
-
$(document).on('click.zf.trigger', '[data-close]', function () {
|
28
|
-
var id = $(this).data('close');
|
29
|
-
if (id) {
|
30
|
-
triggers($(this), 'close');
|
31
|
-
} else {
|
32
|
-
$(this).trigger('close.zf.trigger');
|
33
|
-
}
|
34
|
-
});
|
35
|
-
|
36
|
-
// Elements with [data-toggle] will toggle a plugin that supports it when clicked.
|
37
|
-
$(document).on('click.zf.trigger', '[data-toggle]', function () {
|
38
|
-
triggers($(this), 'toggle');
|
39
|
-
});
|
40
|
-
|
41
|
-
// Elements with [data-closable] will respond to close.zf.trigger events.
|
42
|
-
$(document).on('close.zf.trigger', '[data-closable]', function (e) {
|
43
|
-
e.stopPropagation();
|
44
|
-
var animation = $(this).data('closable');
|
45
|
-
|
46
|
-
if (animation !== '') {
|
47
|
-
Foundation.Motion.animateOut($(this), animation, function () {
|
48
|
-
$(this).trigger('closed.zf');
|
49
|
-
});
|
50
|
-
} else {
|
51
|
-
$(this).fadeOut().trigger('closed.zf');
|
52
|
-
}
|
53
|
-
});
|
54
|
-
|
55
|
-
$(document).on('focus.zf.trigger blur.zf.trigger', '[data-toggle-focus]', function () {
|
56
|
-
var id = $(this).data('toggle-focus');
|
57
|
-
$('#' + id).triggerHandler('toggle.zf.trigger', [$(this)]);
|
58
|
-
});
|
59
|
-
|
60
|
-
/**
|
61
|
-
* Fires once after all other scripts have loaded
|
62
|
-
* @function
|
63
|
-
* @private
|
64
|
-
*/
|
65
|
-
$(window).load(function () {
|
66
|
-
checkListeners();
|
67
|
-
});
|
68
|
-
|
69
|
-
function checkListeners() {
|
70
|
-
eventsListener();
|
71
|
-
resizeListener();
|
72
|
-
scrollListener();
|
73
|
-
closemeListener();
|
74
|
-
}
|
75
|
-
|
76
|
-
//******** only fires this function once on load, if there's something to watch ********
|
77
|
-
function closemeListener(pluginName) {
|
78
|
-
var yetiBoxes = $('[data-yeti-box]'),
|
79
|
-
plugNames = ['dropdown', 'tooltip', 'reveal'];
|
80
|
-
|
81
|
-
if (pluginName) {
|
82
|
-
if (typeof pluginName === 'string') {
|
83
|
-
plugNames.push(pluginName);
|
84
|
-
} else if (typeof pluginName === 'object' && typeof pluginName[0] === 'string') {
|
85
|
-
plugNames.concat(pluginName);
|
86
|
-
} else {
|
87
|
-
console.error('Plugin names must be strings');
|
88
|
-
}
|
89
|
-
}
|
90
|
-
if (yetiBoxes.length) {
|
91
|
-
var listeners = plugNames.map(function (name) {
|
92
|
-
return 'closeme.zf.' + name;
|
93
|
-
}).join(' ');
|
94
|
-
|
95
|
-
$(window).off(listeners).on(listeners, function (e, pluginId) {
|
96
|
-
var plugin = e.namespace.split('.')[0];
|
97
|
-
var plugins = $('[data-' + plugin + ']').not('[data-yeti-box="' + pluginId + '"]');
|
98
|
-
|
99
|
-
plugins.each(function () {
|
100
|
-
var _this = $(this);
|
101
|
-
|
102
|
-
_this.triggerHandler('close.zf.trigger', [_this]);
|
103
|
-
});
|
104
|
-
});
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
function resizeListener(debounce) {
|
109
|
-
var timer = void 0,
|
110
|
-
$nodes = $('[data-resize]');
|
111
|
-
if ($nodes.length) {
|
112
|
-
$(window).off('resize.zf.trigger').on('resize.zf.trigger', function (e) {
|
113
|
-
if (timer) {
|
114
|
-
clearTimeout(timer);
|
115
|
-
}
|
116
|
-
|
117
|
-
timer = setTimeout(function () {
|
118
|
-
|
119
|
-
if (!MutationObserver) {
|
120
|
-
//fallback for IE 9
|
121
|
-
$nodes.each(function () {
|
122
|
-
$(this).triggerHandler('resizeme.zf.trigger');
|
123
|
-
});
|
124
|
-
}
|
125
|
-
//trigger all listening elements and signal a resize event
|
126
|
-
$nodes.attr('data-events', "resize");
|
127
|
-
}, debounce || 10); //default time to emit resize event
|
128
|
-
});
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
function scrollListener(debounce) {
|
133
|
-
var timer = void 0,
|
134
|
-
$nodes = $('[data-scroll]');
|
135
|
-
if ($nodes.length) {
|
136
|
-
$(window).off('scroll.zf.trigger').on('scroll.zf.trigger', function (e) {
|
137
|
-
if (timer) {
|
138
|
-
clearTimeout(timer);
|
139
|
-
}
|
140
|
-
|
141
|
-
timer = setTimeout(function () {
|
142
|
-
|
143
|
-
if (!MutationObserver) {
|
144
|
-
//fallback for IE 9
|
145
|
-
$nodes.each(function () {
|
146
|
-
$(this).triggerHandler('scrollme.zf.trigger');
|
147
|
-
});
|
148
|
-
}
|
149
|
-
//trigger all listening elements and signal a scroll event
|
150
|
-
$nodes.attr('data-events', "scroll");
|
151
|
-
}, debounce || 10); //default time to emit scroll event
|
152
|
-
});
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
function eventsListener() {
|
157
|
-
if (!MutationObserver) {
|
158
|
-
return false;
|
159
|
-
}
|
160
|
-
var nodes = document.querySelectorAll('[data-resize], [data-scroll], [data-mutate]');
|
161
|
-
|
162
|
-
//element callback
|
163
|
-
var listeningElementsMutation = function (mutationRecordsList) {
|
164
|
-
var $target = $(mutationRecordsList[0].target);
|
165
|
-
//trigger the event handler for the element depending on type
|
166
|
-
switch ($target.attr("data-events")) {
|
167
|
-
|
168
|
-
case "resize":
|
169
|
-
$target.triggerHandler('resizeme.zf.trigger', [$target]);
|
170
|
-
break;
|
171
|
-
|
172
|
-
case "scroll":
|
173
|
-
$target.triggerHandler('scrollme.zf.trigger', [$target, window.pageYOffset]);
|
174
|
-
break;
|
175
|
-
|
176
|
-
// case "mutate" :
|
177
|
-
// console.log('mutate', $target);
|
178
|
-
// $target.triggerHandler('mutate.zf.trigger');
|
179
|
-
//
|
180
|
-
// //make sure we don't get stuck in an infinite loop from sloppy codeing
|
181
|
-
// if ($target.index('[data-mutate]') == $("[data-mutate]").length-1) {
|
182
|
-
// domMutationObserver();
|
183
|
-
// }
|
184
|
-
// break;
|
185
|
-
|
186
|
-
default:
|
187
|
-
return false;
|
188
|
-
//nothing
|
189
|
-
}
|
190
|
-
};
|
191
|
-
|
192
|
-
if (nodes.length) {
|
193
|
-
//for each element that needs to listen for resizing, scrolling, (or coming soon mutation) add a single observer
|
194
|
-
for (var i = 0; i <= nodes.length - 1; i++) {
|
195
|
-
var elementObserver = new MutationObserver(listeningElementsMutation);
|
196
|
-
elementObserver.observe(nodes[i], { attributes: true, childList: false, characterData: false, subtree: false, attributeFilter: ["data-events"] });
|
197
|
-
}
|
198
|
-
}
|
199
|
-
}
|
200
|
-
|
201
|
-
// ------------------------------------
|
202
|
-
|
203
|
-
// [PH]
|
204
|
-
// Foundation.CheckWatchers = checkWatchers;
|
205
|
-
Foundation.IHearYou = checkListeners;
|
206
|
-
// Foundation.ISeeYou = scrollListener;
|
207
|
-
// Foundation.IFeelYou = closemeListener;
|
208
|
-
}(jQuery);
|
209
|
-
|
210
|
-
// function domMutationObserver(debounce) {
|
211
|
-
// // !!! This is coming soon and needs more work; not active !!! //
|
212
|
-
// var timer,
|
213
|
-
// nodes = document.querySelectorAll('[data-mutate]');
|
214
|
-
// //
|
215
|
-
// if (nodes.length) {
|
216
|
-
// // var MutationObserver = (function () {
|
217
|
-
// // var prefixes = ['WebKit', 'Moz', 'O', 'Ms', ''];
|
218
|
-
// // for (var i=0; i < prefixes.length; i++) {
|
219
|
-
// // if (prefixes[i] + 'MutationObserver' in window) {
|
220
|
-
// // return window[prefixes[i] + 'MutationObserver'];
|
221
|
-
// // }
|
222
|
-
// // }
|
223
|
-
// // return false;
|
224
|
-
// // }());
|
225
|
-
//
|
226
|
-
//
|
227
|
-
// //for the body, we need to listen for all changes effecting the style and class attributes
|
228
|
-
// var bodyObserver = new MutationObserver(bodyMutation);
|
229
|
-
// bodyObserver.observe(document.body, { attributes: true, childList: true, characterData: false, subtree:true, attributeFilter:["style", "class"]});
|
230
|
-
//
|
231
|
-
//
|
232
|
-
// //body callback
|
233
|
-
// function bodyMutation(mutate) {
|
234
|
-
// //trigger all listening elements and signal a mutation event
|
235
|
-
// if (timer) { clearTimeout(timer); }
|
236
|
-
//
|
237
|
-
// timer = setTimeout(function() {
|
238
|
-
// bodyObserver.disconnect();
|
239
|
-
// $('[data-mutate]').attr('data-events',"mutate");
|
240
|
-
// }, debounce || 150);
|
241
|
-
// }
|
242
|
-
// }
|
243
|
-
// }
|
@@ -1,543 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
!function($) {
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Abide module.
|
7
|
-
* @module foundation.abide
|
8
|
-
*/
|
9
|
-
|
10
|
-
class Abide {
|
11
|
-
/**
|
12
|
-
* Creates a new instance of Abide.
|
13
|
-
* @class
|
14
|
-
* @fires Abide#init
|
15
|
-
* @param {Object} element - jQuery object to add the trigger to.
|
16
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
17
|
-
*/
|
18
|
-
constructor(element, options = {}) {
|
19
|
-
this.$element = element;
|
20
|
-
this.options = $.extend({}, Abide.defaults, this.$element.data(), options);
|
21
|
-
|
22
|
-
this._init();
|
23
|
-
|
24
|
-
Foundation.registerPlugin(this, 'Abide');
|
25
|
-
}
|
26
|
-
|
27
|
-
/**
|
28
|
-
* Initializes the Abide plugin and calls functions to get Abide functioning on load.
|
29
|
-
* @private
|
30
|
-
*/
|
31
|
-
_init() {
|
32
|
-
this.$inputs = this.$element.find('input, textarea, select');
|
33
|
-
|
34
|
-
this._events();
|
35
|
-
}
|
36
|
-
|
37
|
-
/**
|
38
|
-
* Initializes events for Abide.
|
39
|
-
* @private
|
40
|
-
*/
|
41
|
-
_events() {
|
42
|
-
this.$element.off('.abide')
|
43
|
-
.on('reset.zf.abide', () => {
|
44
|
-
this.resetForm();
|
45
|
-
})
|
46
|
-
.on('submit.zf.abide', () => {
|
47
|
-
return this.validateForm();
|
48
|
-
});
|
49
|
-
|
50
|
-
if (this.options.validateOn === 'fieldChange') {
|
51
|
-
this.$inputs
|
52
|
-
.off('change.zf.abide')
|
53
|
-
.on('change.zf.abide', (e) => {
|
54
|
-
this.validateInput($(e.target));
|
55
|
-
});
|
56
|
-
}
|
57
|
-
|
58
|
-
if (this.options.liveValidate) {
|
59
|
-
this.$inputs
|
60
|
-
.off('input.zf.abide')
|
61
|
-
.on('input.zf.abide', (e) => {
|
62
|
-
this.validateInput($(e.target));
|
63
|
-
});
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
/**
|
68
|
-
* Calls necessary functions to update Abide upon DOM change
|
69
|
-
* @private
|
70
|
-
*/
|
71
|
-
_reflow() {
|
72
|
-
this._init();
|
73
|
-
}
|
74
|
-
|
75
|
-
/**
|
76
|
-
* Checks whether or not a form element has the required attribute and if it's checked or not
|
77
|
-
* @param {Object} element - jQuery object to check for required attribute
|
78
|
-
* @returns {Boolean} Boolean value depends on whether or not attribute is checked or empty
|
79
|
-
*/
|
80
|
-
requiredCheck($el) {
|
81
|
-
if (!$el.attr('required')) return true;
|
82
|
-
|
83
|
-
var isGood = true;
|
84
|
-
|
85
|
-
switch ($el[0].type) {
|
86
|
-
case 'checkbox':
|
87
|
-
isGood = $el[0].checked;
|
88
|
-
break;
|
89
|
-
|
90
|
-
case 'select':
|
91
|
-
case 'select-one':
|
92
|
-
case 'select-multiple':
|
93
|
-
var opt = $el.find('option:selected');
|
94
|
-
if (!opt.length || !opt.val()) isGood = false;
|
95
|
-
break;
|
96
|
-
|
97
|
-
default:
|
98
|
-
if(!$el.val() || !$el.val().length) isGood = false;
|
99
|
-
}
|
100
|
-
|
101
|
-
return isGood;
|
102
|
-
}
|
103
|
-
|
104
|
-
/**
|
105
|
-
* Based on $el, get the first element with selector in this order:
|
106
|
-
* 1. The element's direct sibling('s).
|
107
|
-
* 3. The element's parent's children.
|
108
|
-
*
|
109
|
-
* This allows for multiple form errors per input, though if none are found, no form errors will be shown.
|
110
|
-
*
|
111
|
-
* @param {Object} $el - jQuery object to use as reference to find the form error selector.
|
112
|
-
* @returns {Object} jQuery object with the selector.
|
113
|
-
*/
|
114
|
-
findFormError($el) {
|
115
|
-
var $error = $el.siblings(this.options.formErrorSelector);
|
116
|
-
|
117
|
-
if (!$error.length) {
|
118
|
-
$error = $el.parent().find(this.options.formErrorSelector);
|
119
|
-
}
|
120
|
-
|
121
|
-
return $error;
|
122
|
-
}
|
123
|
-
|
124
|
-
/**
|
125
|
-
* Get the first element in this order:
|
126
|
-
* 2. The <label> with the attribute `[for="someInputId"]`
|
127
|
-
* 3. The `.closest()` <label>
|
128
|
-
*
|
129
|
-
* @param {Object} $el - jQuery object to check for required attribute
|
130
|
-
* @returns {Boolean} Boolean value depends on whether or not attribute is checked or empty
|
131
|
-
*/
|
132
|
-
findLabel($el) {
|
133
|
-
var id = $el[0].id;
|
134
|
-
var $label = this.$element.find(`label[for="${id}"]`);
|
135
|
-
|
136
|
-
if (!$label.length) {
|
137
|
-
return $el.closest('label');
|
138
|
-
}
|
139
|
-
|
140
|
-
return $label;
|
141
|
-
}
|
142
|
-
|
143
|
-
/**
|
144
|
-
* Get the set of labels associated with a set of radio els in this order
|
145
|
-
* 2. The <label> with the attribute `[for="someInputId"]`
|
146
|
-
* 3. The `.closest()` <label>
|
147
|
-
*
|
148
|
-
* @param {Object} $el - jQuery object to check for required attribute
|
149
|
-
* @returns {Boolean} Boolean value depends on whether or not attribute is checked or empty
|
150
|
-
*/
|
151
|
-
findRadioLabels($els) {
|
152
|
-
var labels = $els.map((i, el) => {
|
153
|
-
var id = el.id;
|
154
|
-
var $label = this.$element.find(`label[for="${id}"]`);
|
155
|
-
|
156
|
-
if (!$label.length) {
|
157
|
-
$label = $(el).closest('label');
|
158
|
-
}
|
159
|
-
return $label[0];
|
160
|
-
});
|
161
|
-
|
162
|
-
return $(labels);
|
163
|
-
}
|
164
|
-
|
165
|
-
/**
|
166
|
-
* Adds the CSS error class as specified by the Abide settings to the label, input, and the form
|
167
|
-
* @param {Object} $el - jQuery object to add the class to
|
168
|
-
*/
|
169
|
-
addErrorClasses($el) {
|
170
|
-
var $label = this.findLabel($el);
|
171
|
-
var $formError = this.findFormError($el);
|
172
|
-
|
173
|
-
if ($label.length) {
|
174
|
-
$label.addClass(this.options.labelErrorClass);
|
175
|
-
}
|
176
|
-
|
177
|
-
if ($formError.length) {
|
178
|
-
$formError.addClass(this.options.formErrorClass);
|
179
|
-
}
|
180
|
-
|
181
|
-
$el.addClass(this.options.inputErrorClass).attr('data-invalid', '');
|
182
|
-
}
|
183
|
-
|
184
|
-
/**
|
185
|
-
* Remove CSS error classes etc from an entire radio button group
|
186
|
-
* @param {String} groupName - A string that specifies the name of a radio button group
|
187
|
-
*
|
188
|
-
*/
|
189
|
-
|
190
|
-
removeRadioErrorClasses(groupName) {
|
191
|
-
var $els = this.$element.find(`:radio[name="${groupName}"]`);
|
192
|
-
var $labels = this.findRadioLabels($els);
|
193
|
-
var $formErrors = this.findFormError($els);
|
194
|
-
|
195
|
-
if ($labels.length) {
|
196
|
-
$labels.removeClass(this.options.labelErrorClass);
|
197
|
-
}
|
198
|
-
|
199
|
-
if ($formErrors.length) {
|
200
|
-
$formErrors.removeClass(this.options.formErrorClass);
|
201
|
-
}
|
202
|
-
|
203
|
-
$els.removeClass(this.options.inputErrorClass).removeAttr('data-invalid');
|
204
|
-
|
205
|
-
}
|
206
|
-
|
207
|
-
/**
|
208
|
-
* Removes CSS error class as specified by the Abide settings from the label, input, and the form
|
209
|
-
* @param {Object} $el - jQuery object to remove the class from
|
210
|
-
*/
|
211
|
-
removeErrorClasses($el) {
|
212
|
-
// radios need to clear all of the els
|
213
|
-
if($el[0].type == 'radio') {
|
214
|
-
return this.removeRadioErrorClasses($el.attr('name'));
|
215
|
-
}
|
216
|
-
|
217
|
-
var $label = this.findLabel($el);
|
218
|
-
var $formError = this.findFormError($el);
|
219
|
-
|
220
|
-
if ($label.length) {
|
221
|
-
$label.removeClass(this.options.labelErrorClass);
|
222
|
-
}
|
223
|
-
|
224
|
-
if ($formError.length) {
|
225
|
-
$formError.removeClass(this.options.formErrorClass);
|
226
|
-
}
|
227
|
-
|
228
|
-
$el.removeClass(this.options.inputErrorClass).removeAttr('data-invalid');
|
229
|
-
}
|
230
|
-
|
231
|
-
/**
|
232
|
-
* Goes through a form to find inputs and proceeds to validate them in ways specific to their type
|
233
|
-
* @fires Abide#invalid
|
234
|
-
* @fires Abide#valid
|
235
|
-
* @param {Object} element - jQuery object to validate, should be an HTML input
|
236
|
-
* @returns {Boolean} goodToGo - If the input is valid or not.
|
237
|
-
*/
|
238
|
-
validateInput($el) {
|
239
|
-
var clearRequire = this.requiredCheck($el),
|
240
|
-
validated = false,
|
241
|
-
customValidator = true,
|
242
|
-
validator = $el.attr('data-validator'),
|
243
|
-
equalTo = true;
|
244
|
-
|
245
|
-
// don't validate ignored inputs or hidden inputs
|
246
|
-
if ($el.is('[data-abide-ignore]') || $el.is('[type="hidden"]')) {
|
247
|
-
return true;
|
248
|
-
}
|
249
|
-
|
250
|
-
switch ($el[0].type) {
|
251
|
-
case 'radio':
|
252
|
-
validated = this.validateRadio($el.attr('name'));
|
253
|
-
break;
|
254
|
-
|
255
|
-
case 'checkbox':
|
256
|
-
validated = clearRequire;
|
257
|
-
break;
|
258
|
-
|
259
|
-
case 'select':
|
260
|
-
case 'select-one':
|
261
|
-
case 'select-multiple':
|
262
|
-
validated = clearRequire;
|
263
|
-
break;
|
264
|
-
|
265
|
-
default:
|
266
|
-
validated = this.validateText($el);
|
267
|
-
}
|
268
|
-
|
269
|
-
if (validator) {
|
270
|
-
customValidator = this.matchValidation($el, validator, $el.attr('required'));
|
271
|
-
}
|
272
|
-
|
273
|
-
if ($el.attr('data-equalto')) {
|
274
|
-
equalTo = this.options.validators.equalTo($el);
|
275
|
-
}
|
276
|
-
|
277
|
-
|
278
|
-
var goodToGo = [clearRequire, validated, customValidator, equalTo].indexOf(false) === -1;
|
279
|
-
var message = (goodToGo ? 'valid' : 'invalid') + '.zf.abide';
|
280
|
-
|
281
|
-
this[goodToGo ? 'removeErrorClasses' : 'addErrorClasses']($el);
|
282
|
-
|
283
|
-
/**
|
284
|
-
* Fires when the input is done checking for validation. Event trigger is either `valid.zf.abide` or `invalid.zf.abide`
|
285
|
-
* Trigger includes the DOM element of the input.
|
286
|
-
* @event Abide#valid
|
287
|
-
* @event Abide#invalid
|
288
|
-
*/
|
289
|
-
$el.trigger(message, [$el]);
|
290
|
-
|
291
|
-
return goodToGo;
|
292
|
-
}
|
293
|
-
|
294
|
-
/**
|
295
|
-
* Goes through a form and if there are any invalid inputs, it will display the form error element
|
296
|
-
* @returns {Boolean} noError - true if no errors were detected...
|
297
|
-
* @fires Abide#formvalid
|
298
|
-
* @fires Abide#forminvalid
|
299
|
-
*/
|
300
|
-
validateForm() {
|
301
|
-
var acc = [];
|
302
|
-
var _this = this;
|
303
|
-
|
304
|
-
this.$inputs.each(function() {
|
305
|
-
acc.push(_this.validateInput($(this)));
|
306
|
-
});
|
307
|
-
|
308
|
-
var noError = acc.indexOf(false) === -1;
|
309
|
-
|
310
|
-
this.$element.find('[data-abide-error]').css('display', (noError ? 'none' : 'block'));
|
311
|
-
|
312
|
-
/**
|
313
|
-
* Fires when the form is finished validating. Event trigger is either `formvalid.zf.abide` or `forminvalid.zf.abide`.
|
314
|
-
* Trigger includes the element of the form.
|
315
|
-
* @event Abide#formvalid
|
316
|
-
* @event Abide#forminvalid
|
317
|
-
*/
|
318
|
-
this.$element.trigger((noError ? 'formvalid' : 'forminvalid') + '.zf.abide', [this.$element]);
|
319
|
-
|
320
|
-
return noError;
|
321
|
-
}
|
322
|
-
|
323
|
-
/**
|
324
|
-
* Determines whether or a not a text input is valid based on the pattern specified in the attribute. If no matching pattern is found, returns true.
|
325
|
-
* @param {Object} $el - jQuery object to validate, should be a text input HTML element
|
326
|
-
* @param {String} pattern - string value of one of the RegEx patterns in Abide.options.patterns
|
327
|
-
* @returns {Boolean} Boolean value depends on whether or not the input value matches the pattern specified
|
328
|
-
*/
|
329
|
-
validateText($el, pattern) {
|
330
|
-
// A pattern can be passed to this function, or it will be infered from the input's "pattern" attribute, or it's "type" attribute
|
331
|
-
pattern = (pattern || $el.attr('pattern') || $el.attr('type'));
|
332
|
-
var inputText = $el.val();
|
333
|
-
var valid = false;
|
334
|
-
|
335
|
-
if (inputText.length) {
|
336
|
-
// If the pattern attribute on the element is in Abide's list of patterns, then test that regexp
|
337
|
-
if (this.options.patterns.hasOwnProperty(pattern)) {
|
338
|
-
valid = this.options.patterns[pattern].test(inputText);
|
339
|
-
}
|
340
|
-
// If the pattern name isn't also the type attribute of the field, then test it as a regexp
|
341
|
-
else if (pattern !== $el.attr('type')) {
|
342
|
-
valid = new RegExp(pattern).test(inputText);
|
343
|
-
}
|
344
|
-
else {
|
345
|
-
valid = true;
|
346
|
-
}
|
347
|
-
}
|
348
|
-
// An empty field is valid if it's not required
|
349
|
-
else if (!$el.prop('required')) {
|
350
|
-
valid = true;
|
351
|
-
}
|
352
|
-
|
353
|
-
return valid;
|
354
|
-
}
|
355
|
-
|
356
|
-
/**
|
357
|
-
* Determines whether or a not a radio input is valid based on whether or not it is required and selected. Although the function targets a single `<input>`, it validates by checking the `required` and `checked` properties of all radio buttons in its group.
|
358
|
-
* @param {String} groupName - A string that specifies the name of a radio button group
|
359
|
-
* @returns {Boolean} Boolean value depends on whether or not at least one radio input has been selected (if it's required)
|
360
|
-
*/
|
361
|
-
validateRadio(groupName) {
|
362
|
-
// If at least one radio in the group has the `required` attribute, the group is considered required
|
363
|
-
// Per W3C spec, all radio buttons in a group should have `required`, but we're being nice
|
364
|
-
var $group = this.$element.find(`:radio[name="${groupName}"]`);
|
365
|
-
var valid = false, required = false;
|
366
|
-
|
367
|
-
// For the group to be required, at least one radio needs to be required
|
368
|
-
$group.each((i, e) => {
|
369
|
-
if ($(e).attr('required')) {
|
370
|
-
required = true;
|
371
|
-
}
|
372
|
-
});
|
373
|
-
if(!required) valid=true;
|
374
|
-
|
375
|
-
if (!valid) {
|
376
|
-
// For the group to be valid, at least one radio needs to be checked
|
377
|
-
$group.each((i, e) => {
|
378
|
-
if ($(e).prop('checked')) {
|
379
|
-
valid = true;
|
380
|
-
}
|
381
|
-
});
|
382
|
-
};
|
383
|
-
|
384
|
-
return valid;
|
385
|
-
}
|
386
|
-
|
387
|
-
/**
|
388
|
-
* Determines if a selected input passes a custom validation function. Multiple validations can be used, if passed to the element with `data-validator="foo bar baz"` in a space separated listed.
|
389
|
-
* @param {Object} $el - jQuery input element.
|
390
|
-
* @param {String} validators - a string of function names matching functions in the Abide.options.validators object.
|
391
|
-
* @param {Boolean} required - self explanatory?
|
392
|
-
* @returns {Boolean} - true if validations passed.
|
393
|
-
*/
|
394
|
-
matchValidation($el, validators, required) {
|
395
|
-
required = required ? true : false;
|
396
|
-
|
397
|
-
var clear = validators.split(' ').map((v) => {
|
398
|
-
return this.options.validators[v]($el, required, $el.parent());
|
399
|
-
});
|
400
|
-
return clear.indexOf(false) === -1;
|
401
|
-
}
|
402
|
-
|
403
|
-
/**
|
404
|
-
* Resets form inputs and styles
|
405
|
-
* @fires Abide#formreset
|
406
|
-
*/
|
407
|
-
resetForm() {
|
408
|
-
var $form = this.$element,
|
409
|
-
opts = this.options;
|
410
|
-
|
411
|
-
$(`.${opts.labelErrorClass}`, $form).not('small').removeClass(opts.labelErrorClass);
|
412
|
-
$(`.${opts.inputErrorClass}`, $form).not('small').removeClass(opts.inputErrorClass);
|
413
|
-
$(`${opts.formErrorSelector}.${opts.formErrorClass}`).removeClass(opts.formErrorClass);
|
414
|
-
$form.find('[data-abide-error]').css('display', 'none');
|
415
|
-
$(':input', $form).not(':button, :submit, :reset, :hidden, :radio, :checkbox, [data-abide-ignore]').val('').removeAttr('data-invalid');
|
416
|
-
$(':input:radio', $form).not('[data-abide-ignore]').prop('checked',false).removeAttr('data-invalid');
|
417
|
-
$(':input:checkbox', $form).not('[data-abide-ignore]').prop('checked',false).removeAttr('data-invalid');
|
418
|
-
/**
|
419
|
-
* Fires when the form has been reset.
|
420
|
-
* @event Abide#formreset
|
421
|
-
*/
|
422
|
-
$form.trigger('formreset.zf.abide', [$form]);
|
423
|
-
}
|
424
|
-
|
425
|
-
/**
|
426
|
-
* Destroys an instance of Abide.
|
427
|
-
* Removes error styles and classes from elements, without resetting their values.
|
428
|
-
*/
|
429
|
-
destroy() {
|
430
|
-
var _this = this;
|
431
|
-
this.$element
|
432
|
-
.off('.abide')
|
433
|
-
.find('[data-abide-error]')
|
434
|
-
.css('display', 'none');
|
435
|
-
|
436
|
-
this.$inputs
|
437
|
-
.off('.abide')
|
438
|
-
.each(function() {
|
439
|
-
_this.removeErrorClasses($(this));
|
440
|
-
});
|
441
|
-
|
442
|
-
Foundation.unregisterPlugin(this);
|
443
|
-
}
|
444
|
-
}
|
445
|
-
|
446
|
-
/**
|
447
|
-
* Default settings for plugin
|
448
|
-
*/
|
449
|
-
Abide.defaults = {
|
450
|
-
/**
|
451
|
-
* The default event to validate inputs. Checkboxes and radios validate immediately.
|
452
|
-
* Remove or change this value for manual validation.
|
453
|
-
* @option
|
454
|
-
* @example 'fieldChange'
|
455
|
-
*/
|
456
|
-
validateOn: 'fieldChange',
|
457
|
-
|
458
|
-
/**
|
459
|
-
* Class to be applied to input labels on failed validation.
|
460
|
-
* @option
|
461
|
-
* @example 'is-invalid-label'
|
462
|
-
*/
|
463
|
-
labelErrorClass: 'is-invalid-label',
|
464
|
-
|
465
|
-
/**
|
466
|
-
* Class to be applied to inputs on failed validation.
|
467
|
-
* @option
|
468
|
-
* @example 'is-invalid-input'
|
469
|
-
*/
|
470
|
-
inputErrorClass: 'is-invalid-input',
|
471
|
-
|
472
|
-
/**
|
473
|
-
* Class selector to use to target Form Errors for show/hide.
|
474
|
-
* @option
|
475
|
-
* @example '.form-error'
|
476
|
-
*/
|
477
|
-
formErrorSelector: '.form-error',
|
478
|
-
|
479
|
-
/**
|
480
|
-
* Class added to Form Errors on failed validation.
|
481
|
-
* @option
|
482
|
-
* @example 'is-visible'
|
483
|
-
*/
|
484
|
-
formErrorClass: 'is-visible',
|
485
|
-
|
486
|
-
/**
|
487
|
-
* Set to true to validate text inputs on any value change.
|
488
|
-
* @option
|
489
|
-
* @example false
|
490
|
-
*/
|
491
|
-
liveValidate: false,
|
492
|
-
|
493
|
-
patterns: {
|
494
|
-
alpha : /^[a-zA-Z]+$/,
|
495
|
-
alpha_numeric : /^[a-zA-Z0-9]+$/,
|
496
|
-
integer : /^[-+]?\d+$/,
|
497
|
-
number : /^[-+]?\d*(?:[\.\,]\d+)?$/,
|
498
|
-
|
499
|
-
// amex, visa, diners
|
500
|
-
card : /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,
|
501
|
-
cvv : /^([0-9]){3,4}$/,
|
502
|
-
|
503
|
-
// http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address
|
504
|
-
email : /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,
|
505
|
-
|
506
|
-
url : /^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,
|
507
|
-
// abc.de
|
508
|
-
domain : /^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/,
|
509
|
-
|
510
|
-
datetime : /^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,
|
511
|
-
// YYYY-MM-DD
|
512
|
-
date : /(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,
|
513
|
-
// HH:MM:SS
|
514
|
-
time : /^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,
|
515
|
-
dateISO : /^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,
|
516
|
-
// MM/DD/YYYY
|
517
|
-
month_day_year : /^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,
|
518
|
-
// DD/MM/YYYY
|
519
|
-
day_month_year : /^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,
|
520
|
-
|
521
|
-
// #FFF or #FFFFFF
|
522
|
-
color : /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/
|
523
|
-
},
|
524
|
-
|
525
|
-
/**
|
526
|
-
* Optional validation functions to be used. `equalTo` being the only default included function.
|
527
|
-
* Functions should return only a boolean if the input is valid or not. Functions are given the following arguments:
|
528
|
-
* el : The jQuery element to validate.
|
529
|
-
* required : Boolean value of the required attribute be present or not.
|
530
|
-
* parent : The direct parent of the input.
|
531
|
-
* @option
|
532
|
-
*/
|
533
|
-
validators: {
|
534
|
-
equalTo: function (el, required, parent) {
|
535
|
-
return $(`#${el.attr('data-equalto')}`).val() === el.val();
|
536
|
-
}
|
537
|
-
}
|
538
|
-
}
|
539
|
-
|
540
|
-
// Window exports
|
541
|
-
Foundation.plugin(Abide, 'Abide');
|
542
|
-
|
543
|
-
}(jQuery);
|