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,364 +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
|
-
* Equalizer module.
|
11
|
-
* @module foundation.equalizer
|
12
|
-
*/
|
13
|
-
|
14
|
-
var Equalizer = function () {
|
15
|
-
/**
|
16
|
-
* Creates a new instance of Equalizer.
|
17
|
-
* @class
|
18
|
-
* @fires Equalizer#init
|
19
|
-
* @param {Object} element - jQuery object to add the trigger to.
|
20
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
21
|
-
*/
|
22
|
-
|
23
|
-
function Equalizer(element, options) {
|
24
|
-
_classCallCheck(this, Equalizer);
|
25
|
-
|
26
|
-
this.$element = element;
|
27
|
-
this.options = $.extend({}, Equalizer.defaults, this.$element.data(), options);
|
28
|
-
|
29
|
-
this._init();
|
30
|
-
|
31
|
-
Foundation.registerPlugin(this, 'Equalizer');
|
32
|
-
}
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Initializes the Equalizer plugin and calls functions to get equalizer functioning on load.
|
36
|
-
* @private
|
37
|
-
*/
|
38
|
-
|
39
|
-
|
40
|
-
_createClass(Equalizer, [{
|
41
|
-
key: '_init',
|
42
|
-
value: function _init() {
|
43
|
-
var eqId = this.$element.attr('data-equalizer') || '';
|
44
|
-
var $watched = this.$element.find('[data-equalizer-watch="' + eqId + '"]');
|
45
|
-
|
46
|
-
this.$watched = $watched.length ? $watched : this.$element.find('[data-equalizer-watch]');
|
47
|
-
this.$element.attr('data-resize', eqId || Foundation.GetYoDigits(6, 'eq'));
|
48
|
-
|
49
|
-
this.hasNested = this.$element.find('[data-equalizer]').length > 0;
|
50
|
-
this.isNested = this.$element.parentsUntil(document.body, '[data-equalizer]').length > 0;
|
51
|
-
this.isOn = false;
|
52
|
-
this._bindHandler = {
|
53
|
-
onResizeMeBound: this._onResizeMe.bind(this),
|
54
|
-
onPostEqualizedBound: this._onPostEqualized.bind(this)
|
55
|
-
};
|
56
|
-
|
57
|
-
var imgs = this.$element.find('img');
|
58
|
-
var tooSmall;
|
59
|
-
if (this.options.equalizeOn) {
|
60
|
-
tooSmall = this._checkMQ();
|
61
|
-
$(window).on('changed.zf.mediaquery', this._checkMQ.bind(this));
|
62
|
-
} else {
|
63
|
-
this._events();
|
64
|
-
}
|
65
|
-
if (tooSmall !== undefined && tooSmall === false || tooSmall === undefined) {
|
66
|
-
if (imgs.length) {
|
67
|
-
Foundation.onImagesLoaded(imgs, this._reflow.bind(this));
|
68
|
-
} else {
|
69
|
-
this._reflow();
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
/**
|
75
|
-
* Removes event listeners if the breakpoint is too small.
|
76
|
-
* @private
|
77
|
-
*/
|
78
|
-
|
79
|
-
}, {
|
80
|
-
key: '_pauseEvents',
|
81
|
-
value: function _pauseEvents() {
|
82
|
-
this.isOn = false;
|
83
|
-
this.$element.off({
|
84
|
-
'.zf.equalizer': this._bindHandler.onPostEqualizedBound,
|
85
|
-
'resizeme.zf.trigger': this._bindHandler.onResizeMeBound
|
86
|
-
});
|
87
|
-
}
|
88
|
-
|
89
|
-
/**
|
90
|
-
* function to handle $elements resizeme.zf.trigger, with bound this on _bindHandler.onResizeMeBound
|
91
|
-
* @private
|
92
|
-
*/
|
93
|
-
|
94
|
-
}, {
|
95
|
-
key: '_onResizeMe',
|
96
|
-
value: function _onResizeMe(e) {
|
97
|
-
this._reflow();
|
98
|
-
}
|
99
|
-
|
100
|
-
/**
|
101
|
-
* function to handle $elements postequalized.zf.equalizer, with bound this on _bindHandler.onPostEqualizedBound
|
102
|
-
* @private
|
103
|
-
*/
|
104
|
-
|
105
|
-
}, {
|
106
|
-
key: '_onPostEqualized',
|
107
|
-
value: function _onPostEqualized(e) {
|
108
|
-
if (e.target !== this.$element[0]) {
|
109
|
-
this._reflow();
|
110
|
-
}
|
111
|
-
}
|
112
|
-
|
113
|
-
/**
|
114
|
-
* Initializes events for Equalizer.
|
115
|
-
* @private
|
116
|
-
*/
|
117
|
-
|
118
|
-
}, {
|
119
|
-
key: '_events',
|
120
|
-
value: function _events() {
|
121
|
-
var _this = this;
|
122
|
-
this._pauseEvents();
|
123
|
-
if (this.hasNested) {
|
124
|
-
this.$element.on('postequalized.zf.equalizer', this._bindHandler.onPostEqualizedBound);
|
125
|
-
} else {
|
126
|
-
this.$element.on('resizeme.zf.trigger', this._bindHandler.onResizeMeBound);
|
127
|
-
}
|
128
|
-
this.isOn = true;
|
129
|
-
}
|
130
|
-
|
131
|
-
/**
|
132
|
-
* Checks the current breakpoint to the minimum required size.
|
133
|
-
* @private
|
134
|
-
*/
|
135
|
-
|
136
|
-
}, {
|
137
|
-
key: '_checkMQ',
|
138
|
-
value: function _checkMQ() {
|
139
|
-
var tooSmall = !Foundation.MediaQuery.atLeast(this.options.equalizeOn);
|
140
|
-
if (tooSmall) {
|
141
|
-
if (this.isOn) {
|
142
|
-
this._pauseEvents();
|
143
|
-
this.$watched.css('height', 'auto');
|
144
|
-
}
|
145
|
-
} else {
|
146
|
-
if (!this.isOn) {
|
147
|
-
this._events();
|
148
|
-
}
|
149
|
-
}
|
150
|
-
return tooSmall;
|
151
|
-
}
|
152
|
-
|
153
|
-
/**
|
154
|
-
* A noop version for the plugin
|
155
|
-
* @private
|
156
|
-
*/
|
157
|
-
|
158
|
-
}, {
|
159
|
-
key: '_killswitch',
|
160
|
-
value: function _killswitch() {
|
161
|
-
return;
|
162
|
-
}
|
163
|
-
|
164
|
-
/**
|
165
|
-
* Calls necessary functions to update Equalizer upon DOM change
|
166
|
-
* @private
|
167
|
-
*/
|
168
|
-
|
169
|
-
}, {
|
170
|
-
key: '_reflow',
|
171
|
-
value: function _reflow() {
|
172
|
-
if (!this.options.equalizeOnStack) {
|
173
|
-
if (this._isStacked()) {
|
174
|
-
this.$watched.css('height', 'auto');
|
175
|
-
return false;
|
176
|
-
}
|
177
|
-
}
|
178
|
-
if (this.options.equalizeByRow) {
|
179
|
-
this.getHeightsByRow(this.applyHeightByRow.bind(this));
|
180
|
-
} else {
|
181
|
-
this.getHeights(this.applyHeight.bind(this));
|
182
|
-
}
|
183
|
-
}
|
184
|
-
|
185
|
-
/**
|
186
|
-
* Manually determines if the first 2 elements are *NOT* stacked.
|
187
|
-
* @private
|
188
|
-
*/
|
189
|
-
|
190
|
-
}, {
|
191
|
-
key: '_isStacked',
|
192
|
-
value: function _isStacked() {
|
193
|
-
return this.$watched[0].getBoundingClientRect().top !== this.$watched[1].getBoundingClientRect().top;
|
194
|
-
}
|
195
|
-
|
196
|
-
/**
|
197
|
-
* Finds the outer heights of children contained within an Equalizer parent and returns them in an array
|
198
|
-
* @param {Function} cb - A non-optional callback to return the heights array to.
|
199
|
-
* @returns {Array} heights - An array of heights of children within Equalizer container
|
200
|
-
*/
|
201
|
-
|
202
|
-
}, {
|
203
|
-
key: 'getHeights',
|
204
|
-
value: function getHeights(cb) {
|
205
|
-
var heights = [];
|
206
|
-
for (var i = 0, len = this.$watched.length; i < len; i++) {
|
207
|
-
this.$watched[i].style.height = 'auto';
|
208
|
-
heights.push(this.$watched[i].offsetHeight);
|
209
|
-
}
|
210
|
-
cb(heights);
|
211
|
-
}
|
212
|
-
|
213
|
-
/**
|
214
|
-
* Finds the outer heights of children contained within an Equalizer parent and returns them in an array
|
215
|
-
* @param {Function} cb - A non-optional callback to return the heights array to.
|
216
|
-
* @returns {Array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
|
217
|
-
*/
|
218
|
-
|
219
|
-
}, {
|
220
|
-
key: 'getHeightsByRow',
|
221
|
-
value: function getHeightsByRow(cb) {
|
222
|
-
var lastElTopOffset = this.$watched.length ? this.$watched.first().offset().top : 0,
|
223
|
-
groups = [],
|
224
|
-
group = 0;
|
225
|
-
//group by Row
|
226
|
-
groups[group] = [];
|
227
|
-
for (var i = 0, len = this.$watched.length; i < len; i++) {
|
228
|
-
this.$watched[i].style.height = 'auto';
|
229
|
-
//maybe could use this.$watched[i].offsetTop
|
230
|
-
var elOffsetTop = $(this.$watched[i]).offset().top;
|
231
|
-
if (elOffsetTop != lastElTopOffset) {
|
232
|
-
group++;
|
233
|
-
groups[group] = [];
|
234
|
-
lastElTopOffset = elOffsetTop;
|
235
|
-
}
|
236
|
-
groups[group].push([this.$watched[i], this.$watched[i].offsetHeight]);
|
237
|
-
}
|
238
|
-
|
239
|
-
for (var j = 0, ln = groups.length; j < ln; j++) {
|
240
|
-
var heights = $(groups[j]).map(function () {
|
241
|
-
return this[1];
|
242
|
-
}).get();
|
243
|
-
var max = Math.max.apply(null, heights);
|
244
|
-
groups[j].push(max);
|
245
|
-
}
|
246
|
-
cb(groups);
|
247
|
-
}
|
248
|
-
|
249
|
-
/**
|
250
|
-
* Changes the CSS height property of each child in an Equalizer parent to match the tallest
|
251
|
-
* @param {array} heights - An array of heights of children within Equalizer container
|
252
|
-
* @fires Equalizer#preequalized
|
253
|
-
* @fires Equalizer#postequalized
|
254
|
-
*/
|
255
|
-
|
256
|
-
}, {
|
257
|
-
key: 'applyHeight',
|
258
|
-
value: function applyHeight(heights) {
|
259
|
-
var max = Math.max.apply(null, heights);
|
260
|
-
/**
|
261
|
-
* Fires before the heights are applied
|
262
|
-
* @event Equalizer#preequalized
|
263
|
-
*/
|
264
|
-
this.$element.trigger('preequalized.zf.equalizer');
|
265
|
-
|
266
|
-
this.$watched.css('height', max);
|
267
|
-
|
268
|
-
/**
|
269
|
-
* Fires when the heights have been applied
|
270
|
-
* @event Equalizer#postequalized
|
271
|
-
*/
|
272
|
-
this.$element.trigger('postequalized.zf.equalizer');
|
273
|
-
}
|
274
|
-
|
275
|
-
/**
|
276
|
-
* Changes the CSS height property of each child in an Equalizer parent to match the tallest by row
|
277
|
-
* @param {array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
|
278
|
-
* @fires Equalizer#preequalized
|
279
|
-
* @fires Equalizer#preequalizedRow
|
280
|
-
* @fires Equalizer#postequalizedRow
|
281
|
-
* @fires Equalizer#postequalized
|
282
|
-
*/
|
283
|
-
|
284
|
-
}, {
|
285
|
-
key: 'applyHeightByRow',
|
286
|
-
value: function applyHeightByRow(groups) {
|
287
|
-
/**
|
288
|
-
* Fires before the heights are applied
|
289
|
-
*/
|
290
|
-
this.$element.trigger('preequalized.zf.equalizer');
|
291
|
-
for (var i = 0, len = groups.length; i < len; i++) {
|
292
|
-
var groupsILength = groups[i].length,
|
293
|
-
max = groups[i][groupsILength - 1];
|
294
|
-
if (groupsILength <= 2) {
|
295
|
-
$(groups[i][0][0]).css({ 'height': 'auto' });
|
296
|
-
continue;
|
297
|
-
}
|
298
|
-
/**
|
299
|
-
* Fires before the heights per row are applied
|
300
|
-
* @event Equalizer#preequalizedRow
|
301
|
-
*/
|
302
|
-
this.$element.trigger('preequalizedrow.zf.equalizer');
|
303
|
-
for (var j = 0, lenJ = groupsILength - 1; j < lenJ; j++) {
|
304
|
-
$(groups[i][j][0]).css({ 'height': max });
|
305
|
-
}
|
306
|
-
/**
|
307
|
-
* Fires when the heights per row have been applied
|
308
|
-
* @event Equalizer#postequalizedRow
|
309
|
-
*/
|
310
|
-
this.$element.trigger('postequalizedrow.zf.equalizer');
|
311
|
-
}
|
312
|
-
/**
|
313
|
-
* Fires when the heights have been applied
|
314
|
-
*/
|
315
|
-
this.$element.trigger('postequalized.zf.equalizer');
|
316
|
-
}
|
317
|
-
|
318
|
-
/**
|
319
|
-
* Destroys an instance of Equalizer.
|
320
|
-
* @function
|
321
|
-
*/
|
322
|
-
|
323
|
-
}, {
|
324
|
-
key: 'destroy',
|
325
|
-
value: function destroy() {
|
326
|
-
this._pauseEvents();
|
327
|
-
this.$watched.css('height', 'auto');
|
328
|
-
|
329
|
-
Foundation.unregisterPlugin(this);
|
330
|
-
}
|
331
|
-
}]);
|
332
|
-
|
333
|
-
return Equalizer;
|
334
|
-
}();
|
335
|
-
|
336
|
-
/**
|
337
|
-
* Default settings for plugin
|
338
|
-
*/
|
339
|
-
|
340
|
-
|
341
|
-
Equalizer.defaults = {
|
342
|
-
/**
|
343
|
-
* Enable height equalization when stacked on smaller screens.
|
344
|
-
* @option
|
345
|
-
* @example true
|
346
|
-
*/
|
347
|
-
equalizeOnStack: true,
|
348
|
-
/**
|
349
|
-
* Enable height equalization row by row.
|
350
|
-
* @option
|
351
|
-
* @example false
|
352
|
-
*/
|
353
|
-
equalizeByRow: false,
|
354
|
-
/**
|
355
|
-
* String representing the minimum breakpoint size the plugin should equalize heights on.
|
356
|
-
* @option
|
357
|
-
* @example 'medium'
|
358
|
-
*/
|
359
|
-
equalizeOn: ''
|
360
|
-
};
|
361
|
-
|
362
|
-
// Window exports
|
363
|
-
Foundation.plugin(Equalizer, 'Equalizer');
|
364
|
-
}(jQuery);
|
@@ -1,227 +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
|
-
* Interchange module.
|
11
|
-
* @module foundation.interchange
|
12
|
-
* @requires foundation.util.mediaQuery
|
13
|
-
* @requires foundation.util.timerAndImageLoader
|
14
|
-
*/
|
15
|
-
|
16
|
-
var Interchange = function () {
|
17
|
-
/**
|
18
|
-
* Creates a new instance of Interchange.
|
19
|
-
* @class
|
20
|
-
* @fires Interchange#init
|
21
|
-
* @param {Object} element - jQuery object to add the trigger to.
|
22
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
23
|
-
*/
|
24
|
-
|
25
|
-
function Interchange(element, options) {
|
26
|
-
_classCallCheck(this, Interchange);
|
27
|
-
|
28
|
-
this.$element = element;
|
29
|
-
this.options = $.extend({}, Interchange.defaults, options);
|
30
|
-
this.rules = [];
|
31
|
-
this.currentPath = '';
|
32
|
-
|
33
|
-
this._init();
|
34
|
-
this._events();
|
35
|
-
|
36
|
-
Foundation.registerPlugin(this, 'Interchange');
|
37
|
-
}
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Initializes the Interchange plugin and calls functions to get interchange functioning on load.
|
41
|
-
* @function
|
42
|
-
* @private
|
43
|
-
*/
|
44
|
-
|
45
|
-
|
46
|
-
_createClass(Interchange, [{
|
47
|
-
key: '_init',
|
48
|
-
value: function _init() {
|
49
|
-
this._addBreakpoints();
|
50
|
-
this._generateRules();
|
51
|
-
this._reflow();
|
52
|
-
}
|
53
|
-
|
54
|
-
/**
|
55
|
-
* Initializes events for Interchange.
|
56
|
-
* @function
|
57
|
-
* @private
|
58
|
-
*/
|
59
|
-
|
60
|
-
}, {
|
61
|
-
key: '_events',
|
62
|
-
value: function _events() {
|
63
|
-
$(window).on('resize.zf.interchange', Foundation.util.throttle(this._reflow.bind(this), 50));
|
64
|
-
}
|
65
|
-
|
66
|
-
/**
|
67
|
-
* Calls necessary functions to update Interchange upon DOM change
|
68
|
-
* @function
|
69
|
-
* @private
|
70
|
-
*/
|
71
|
-
|
72
|
-
}, {
|
73
|
-
key: '_reflow',
|
74
|
-
value: function _reflow() {
|
75
|
-
var match;
|
76
|
-
|
77
|
-
// Iterate through each rule, but only save the last match
|
78
|
-
for (var i in this.rules) {
|
79
|
-
if (this.rules.hasOwnProperty(i)) {
|
80
|
-
var rule = this.rules[i];
|
81
|
-
|
82
|
-
if (window.matchMedia(rule.query).matches) {
|
83
|
-
match = rule;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
}
|
87
|
-
|
88
|
-
if (match) {
|
89
|
-
this.replace(match.path);
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
/**
|
94
|
-
* Gets the Foundation breakpoints and adds them to the Interchange.SPECIAL_QUERIES object.
|
95
|
-
* @function
|
96
|
-
* @private
|
97
|
-
*/
|
98
|
-
|
99
|
-
}, {
|
100
|
-
key: '_addBreakpoints',
|
101
|
-
value: function _addBreakpoints() {
|
102
|
-
for (var i in Foundation.MediaQuery.queries) {
|
103
|
-
if (Foundation.MediaQuery.queries.hasOwnProperty(i)) {
|
104
|
-
var query = Foundation.MediaQuery.queries[i];
|
105
|
-
Interchange.SPECIAL_QUERIES[query.name] = query.value;
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
|
110
|
-
/**
|
111
|
-
* Checks the Interchange element for the provided media query + content pairings
|
112
|
-
* @function
|
113
|
-
* @private
|
114
|
-
* @param {Object} element - jQuery object that is an Interchange instance
|
115
|
-
* @returns {Array} scenarios - Array of objects that have 'mq' and 'path' keys with corresponding keys
|
116
|
-
*/
|
117
|
-
|
118
|
-
}, {
|
119
|
-
key: '_generateRules',
|
120
|
-
value: function _generateRules(element) {
|
121
|
-
var rulesList = [];
|
122
|
-
var rules;
|
123
|
-
|
124
|
-
if (this.options.rules) {
|
125
|
-
rules = this.options.rules;
|
126
|
-
} else {
|
127
|
-
rules = this.$element.data('interchange').match(/\[.*?\]/g);
|
128
|
-
}
|
129
|
-
|
130
|
-
for (var i in rules) {
|
131
|
-
if (rules.hasOwnProperty(i)) {
|
132
|
-
var rule = rules[i].slice(1, -1).split(', ');
|
133
|
-
var path = rule.slice(0, -1).join('');
|
134
|
-
var query = rule[rule.length - 1];
|
135
|
-
|
136
|
-
if (Interchange.SPECIAL_QUERIES[query]) {
|
137
|
-
query = Interchange.SPECIAL_QUERIES[query];
|
138
|
-
}
|
139
|
-
|
140
|
-
rulesList.push({
|
141
|
-
path: path,
|
142
|
-
query: query
|
143
|
-
});
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
this.rules = rulesList;
|
148
|
-
}
|
149
|
-
|
150
|
-
/**
|
151
|
-
* Update the `src` property of an image, or change the HTML of a container, to the specified path.
|
152
|
-
* @function
|
153
|
-
* @param {String} path - Path to the image or HTML partial.
|
154
|
-
* @fires Interchange#replaced
|
155
|
-
*/
|
156
|
-
|
157
|
-
}, {
|
158
|
-
key: 'replace',
|
159
|
-
value: function replace(path) {
|
160
|
-
if (this.currentPath === path) return;
|
161
|
-
|
162
|
-
var _this = this,
|
163
|
-
trigger = 'replaced.zf.interchange';
|
164
|
-
|
165
|
-
// Replacing images
|
166
|
-
if (this.$element[0].nodeName === 'IMG') {
|
167
|
-
this.$element.attr('src', path).load(function () {
|
168
|
-
_this.currentPath = path;
|
169
|
-
}).trigger(trigger);
|
170
|
-
}
|
171
|
-
// Replacing background images
|
172
|
-
else if (path.match(/\.(gif|jpg|jpeg|png|svg|tiff)([?#].*)?/i)) {
|
173
|
-
this.$element.css({ 'background-image': 'url(' + path + ')' }).trigger(trigger);
|
174
|
-
}
|
175
|
-
// Replacing HTML
|
176
|
-
else {
|
177
|
-
$.get(path, function (response) {
|
178
|
-
_this.$element.html(response).trigger(trigger);
|
179
|
-
$(response).foundation();
|
180
|
-
_this.currentPath = path;
|
181
|
-
});
|
182
|
-
}
|
183
|
-
|
184
|
-
/**
|
185
|
-
* Fires when content in an Interchange element is done being loaded.
|
186
|
-
* @event Interchange#replaced
|
187
|
-
*/
|
188
|
-
// this.$element.trigger('replaced.zf.interchange');
|
189
|
-
}
|
190
|
-
|
191
|
-
/**
|
192
|
-
* Destroys an instance of interchange.
|
193
|
-
* @function
|
194
|
-
*/
|
195
|
-
|
196
|
-
}, {
|
197
|
-
key: 'destroy',
|
198
|
-
value: function destroy() {
|
199
|
-
//TODO this.
|
200
|
-
}
|
201
|
-
}]);
|
202
|
-
|
203
|
-
return Interchange;
|
204
|
-
}();
|
205
|
-
|
206
|
-
/**
|
207
|
-
* Default settings for plugin
|
208
|
-
*/
|
209
|
-
|
210
|
-
|
211
|
-
Interchange.defaults = {
|
212
|
-
/**
|
213
|
-
* Rules to be applied to Interchange elements. Set with the `data-interchange` array notation.
|
214
|
-
* @option
|
215
|
-
*/
|
216
|
-
rules: null
|
217
|
-
};
|
218
|
-
|
219
|
-
Interchange.SPECIAL_QUERIES = {
|
220
|
-
'landscape': 'screen and (orientation: landscape)',
|
221
|
-
'portrait': 'screen and (orientation: portrait)',
|
222
|
-
'retina': 'only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)'
|
223
|
-
};
|
224
|
-
|
225
|
-
// Window exports
|
226
|
-
Foundation.plugin(Interchange, 'Interchange');
|
227
|
-
}(jQuery);
|