jekyll-theme-pirati 7.6.1 → 8.0.0.pre.alpha2
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.6030a1757a9ee16ad8d3.js +0 -56
- data/assets/js/0.main.6030a1757a9ee16ad8d3.js.map +0 -1
- data/assets/js/main.6030a1757a9ee16ad8d3.0.css +0 -2
- data/assets/js/main.6030a1757a9ee16ad8d3.0.css.map +0 -1
- data/assets/js/main.6030a1757a9ee16ad8d3.css +0 -6
- data/assets/js/main.6030a1757a9ee16ad8d3.css.map +0 -1
- data/assets/js/main.6030a1757a9ee16ad8d3.js +0 -1
- data/assets/js/main.6030a1757a9ee16ad8d3.js.map +0 -1
@@ -1,648 +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
|
-
* Slider module.
|
11
|
-
* @module foundation.slider
|
12
|
-
* @requires foundation.util.motion
|
13
|
-
* @requires foundation.util.triggers
|
14
|
-
* @requires foundation.util.keyboard
|
15
|
-
* @requires foundation.util.touch
|
16
|
-
*/
|
17
|
-
|
18
|
-
var Slider = function () {
|
19
|
-
/**
|
20
|
-
* Creates a new instance of a drilldown menu.
|
21
|
-
* @class
|
22
|
-
* @param {jQuery} element - jQuery object to make into an accordion menu.
|
23
|
-
* @param {Object} options - Overrides to the default plugin settings.
|
24
|
-
*/
|
25
|
-
|
26
|
-
function Slider(element, options) {
|
27
|
-
_classCallCheck(this, Slider);
|
28
|
-
|
29
|
-
this.$element = element;
|
30
|
-
this.options = $.extend({}, Slider.defaults, this.$element.data(), options);
|
31
|
-
|
32
|
-
this._init();
|
33
|
-
|
34
|
-
Foundation.registerPlugin(this, 'Slider');
|
35
|
-
Foundation.Keyboard.register('Slider', {
|
36
|
-
'ltr': {
|
37
|
-
'ARROW_RIGHT': 'increase',
|
38
|
-
'ARROW_UP': 'increase',
|
39
|
-
'ARROW_DOWN': 'decrease',
|
40
|
-
'ARROW_LEFT': 'decrease',
|
41
|
-
'SHIFT_ARROW_RIGHT': 'increase_fast',
|
42
|
-
'SHIFT_ARROW_UP': 'increase_fast',
|
43
|
-
'SHIFT_ARROW_DOWN': 'decrease_fast',
|
44
|
-
'SHIFT_ARROW_LEFT': 'decrease_fast'
|
45
|
-
},
|
46
|
-
'rtl': {
|
47
|
-
'ARROW_LEFT': 'increase',
|
48
|
-
'ARROW_RIGHT': 'decrease',
|
49
|
-
'SHIFT_ARROW_LEFT': 'increase_fast',
|
50
|
-
'SHIFT_ARROW_RIGHT': 'decrease_fast'
|
51
|
-
}
|
52
|
-
});
|
53
|
-
}
|
54
|
-
|
55
|
-
/**
|
56
|
-
* Initilizes the plugin by reading/setting attributes, creating collections and setting the initial position of the handle(s).
|
57
|
-
* @function
|
58
|
-
* @private
|
59
|
-
*/
|
60
|
-
|
61
|
-
|
62
|
-
_createClass(Slider, [{
|
63
|
-
key: '_init',
|
64
|
-
value: function _init() {
|
65
|
-
this.inputs = this.$element.find('input');
|
66
|
-
this.handles = this.$element.find('[data-slider-handle]');
|
67
|
-
|
68
|
-
this.$handle = this.handles.eq(0);
|
69
|
-
this.$input = this.inputs.length ? this.inputs.eq(0) : $('#' + this.$handle.attr('aria-controls'));
|
70
|
-
this.$fill = this.$element.find('[data-slider-fill]').css(this.options.vertical ? 'height' : 'width', 0);
|
71
|
-
|
72
|
-
var isDbl = false,
|
73
|
-
_this = this;
|
74
|
-
if (this.options.disabled || this.$element.hasClass(this.options.disabledClass)) {
|
75
|
-
this.options.disabled = true;
|
76
|
-
this.$element.addClass(this.options.disabledClass);
|
77
|
-
}
|
78
|
-
if (!this.inputs.length) {
|
79
|
-
this.inputs = $().add(this.$input);
|
80
|
-
this.options.binding = true;
|
81
|
-
}
|
82
|
-
this._setInitAttr(0);
|
83
|
-
this._events(this.$handle);
|
84
|
-
|
85
|
-
if (this.handles[1]) {
|
86
|
-
this.options.doubleSided = true;
|
87
|
-
this.$handle2 = this.handles.eq(1);
|
88
|
-
this.$input2 = this.inputs.length > 1 ? this.inputs.eq(1) : $('#' + this.$handle2.attr('aria-controls'));
|
89
|
-
|
90
|
-
if (!this.inputs[1]) {
|
91
|
-
this.inputs = this.inputs.add(this.$input2);
|
92
|
-
}
|
93
|
-
isDbl = true;
|
94
|
-
|
95
|
-
this._setHandlePos(this.$handle, this.options.initialStart, true, function () {
|
96
|
-
|
97
|
-
_this._setHandlePos(_this.$handle2, _this.options.initialEnd, true);
|
98
|
-
});
|
99
|
-
// this.$handle.triggerHandler('click.zf.slider');
|
100
|
-
this._setInitAttr(1);
|
101
|
-
this._events(this.$handle2);
|
102
|
-
}
|
103
|
-
|
104
|
-
if (!isDbl) {
|
105
|
-
this._setHandlePos(this.$handle, this.options.initialStart, true);
|
106
|
-
}
|
107
|
-
}
|
108
|
-
|
109
|
-
/**
|
110
|
-
* Sets the position of the selected handle and fill bar.
|
111
|
-
* @function
|
112
|
-
* @private
|
113
|
-
* @param {jQuery} $hndl - the selected handle to move.
|
114
|
-
* @param {Number} location - floating point between the start and end values of the slider bar.
|
115
|
-
* @param {Function} cb - callback function to fire on completion.
|
116
|
-
* @fires Slider#moved
|
117
|
-
* @fires Slider#changed
|
118
|
-
*/
|
119
|
-
|
120
|
-
}, {
|
121
|
-
key: '_setHandlePos',
|
122
|
-
value: function _setHandlePos($hndl, location, noInvert, cb) {
|
123
|
-
// don't move if the slider has been disabled since its initialization
|
124
|
-
if (this.$element.hasClass(this.options.disabledClass)) {
|
125
|
-
return;
|
126
|
-
}
|
127
|
-
//might need to alter that slightly for bars that will have odd number selections.
|
128
|
-
location = parseFloat(location); //on input change events, convert string to number...grumble.
|
129
|
-
|
130
|
-
// prevent slider from running out of bounds, if value exceeds the limits set through options, override the value to min/max
|
131
|
-
if (location < this.options.start) {
|
132
|
-
location = this.options.start;
|
133
|
-
} else if (location > this.options.end) {
|
134
|
-
location = this.options.end;
|
135
|
-
}
|
136
|
-
|
137
|
-
var isDbl = this.options.doubleSided;
|
138
|
-
|
139
|
-
if (isDbl) {
|
140
|
-
//this block is to prevent 2 handles from crossing eachother. Could/should be improved.
|
141
|
-
if (this.handles.index($hndl) === 0) {
|
142
|
-
var h2Val = parseFloat(this.$handle2.attr('aria-valuenow'));
|
143
|
-
location = location >= h2Val ? h2Val - this.options.step : location;
|
144
|
-
} else {
|
145
|
-
var h1Val = parseFloat(this.$handle.attr('aria-valuenow'));
|
146
|
-
location = location <= h1Val ? h1Val + this.options.step : location;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
//this is for single-handled vertical sliders, it adjusts the value to account for the slider being "upside-down"
|
151
|
-
//for click and drag events, it's weird due to the scale(-1, 1) css property
|
152
|
-
if (this.options.vertical && !noInvert) {
|
153
|
-
location = this.options.end - location;
|
154
|
-
}
|
155
|
-
|
156
|
-
var _this = this,
|
157
|
-
vert = this.options.vertical,
|
158
|
-
hOrW = vert ? 'height' : 'width',
|
159
|
-
lOrT = vert ? 'top' : 'left',
|
160
|
-
handleDim = $hndl[0].getBoundingClientRect()[hOrW],
|
161
|
-
elemDim = this.$element[0].getBoundingClientRect()[hOrW],
|
162
|
-
|
163
|
-
//percentage of bar min/max value based on click or drag point
|
164
|
-
pctOfBar = percent(location - this.options.start, this.options.end - this.options.start).toFixed(2),
|
165
|
-
|
166
|
-
//number of actual pixels to shift the handle, based on the percentage obtained above
|
167
|
-
pxToMove = (elemDim - handleDim) * pctOfBar,
|
168
|
-
|
169
|
-
//percentage of bar to shift the handle
|
170
|
-
movement = (percent(pxToMove, elemDim) * 100).toFixed(this.options.decimal);
|
171
|
-
//fixing the decimal value for the location number, is passed to other methods as a fixed floating-point value
|
172
|
-
location = parseFloat(location.toFixed(this.options.decimal));
|
173
|
-
// declare empty object for css adjustments, only used with 2 handled-sliders
|
174
|
-
var css = {};
|
175
|
-
|
176
|
-
this._setValues($hndl, location);
|
177
|
-
|
178
|
-
// TODO update to calculate based on values set to respective inputs??
|
179
|
-
if (isDbl) {
|
180
|
-
var isLeftHndl = this.handles.index($hndl) === 0,
|
181
|
-
|
182
|
-
//empty variable, will be used for min-height/width for fill bar
|
183
|
-
dim,
|
184
|
-
|
185
|
-
//percentage w/h of the handle compared to the slider bar
|
186
|
-
handlePct = ~ ~(percent(handleDim, elemDim) * 100);
|
187
|
-
//if left handle, the math is slightly different than if it's the right handle, and the left/top property needs to be changed for the fill bar
|
188
|
-
if (isLeftHndl) {
|
189
|
-
//left or top percentage value to apply to the fill bar.
|
190
|
-
css[lOrT] = movement + '%';
|
191
|
-
//calculate the new min-height/width for the fill bar.
|
192
|
-
dim = parseFloat(this.$handle2[0].style[lOrT]) - movement + handlePct;
|
193
|
-
//this callback is necessary to prevent errors and allow the proper placement and initialization of a 2-handled slider
|
194
|
-
//plus, it means we don't care if 'dim' isNaN on init, it won't be in the future.
|
195
|
-
if (cb && typeof cb === 'function') {
|
196
|
-
cb();
|
197
|
-
} //this is only needed for the initialization of 2 handled sliders
|
198
|
-
} else {
|
199
|
-
//just caching the value of the left/bottom handle's left/top property
|
200
|
-
var handlePos = parseFloat(this.$handle[0].style[lOrT]);
|
201
|
-
//calculate the new min-height/width for the fill bar. Use isNaN to prevent false positives for numbers <= 0
|
202
|
-
//based on the percentage of movement of the handle being manipulated, less the opposing handle's left/top position, plus the percentage w/h of the handle itself
|
203
|
-
dim = movement - (isNaN(handlePos) ? this.options.initialStart / ((this.options.end - this.options.start) / 100) : handlePos) + handlePct;
|
204
|
-
}
|
205
|
-
// assign the min-height/width to our css object
|
206
|
-
css['min-' + hOrW] = dim + '%';
|
207
|
-
}
|
208
|
-
|
209
|
-
this.$element.one('finished.zf.animate', function () {
|
210
|
-
/**
|
211
|
-
* Fires when the handle is done moving.
|
212
|
-
* @event Slider#moved
|
213
|
-
*/
|
214
|
-
_this.$element.trigger('moved.zf.slider', [$hndl]);
|
215
|
-
});
|
216
|
-
|
217
|
-
//because we don't know exactly how the handle will be moved, check the amount of time it should take to move.
|
218
|
-
var moveTime = this.$element.data('dragging') ? 1000 / 60 : this.options.moveTime;
|
219
|
-
|
220
|
-
Foundation.Move(moveTime, $hndl, function () {
|
221
|
-
//adjusting the left/top property of the handle, based on the percentage calculated above
|
222
|
-
$hndl.css(lOrT, movement + '%');
|
223
|
-
|
224
|
-
if (!_this.options.doubleSided) {
|
225
|
-
//if single-handled, a simple method to expand the fill bar
|
226
|
-
_this.$fill.css(hOrW, pctOfBar * 100 + '%');
|
227
|
-
} else {
|
228
|
-
//otherwise, use the css object we created above
|
229
|
-
_this.$fill.css(css);
|
230
|
-
}
|
231
|
-
});
|
232
|
-
|
233
|
-
/**
|
234
|
-
* Fires when the value has not been change for a given time.
|
235
|
-
* @event Slider#changed
|
236
|
-
*/
|
237
|
-
clearTimeout(_this.timeout);
|
238
|
-
_this.timeout = setTimeout(function () {
|
239
|
-
_this.$element.trigger('changed.zf.slider', [$hndl]);
|
240
|
-
}, _this.options.changedDelay);
|
241
|
-
}
|
242
|
-
|
243
|
-
/**
|
244
|
-
* Sets the initial attribute for the slider element.
|
245
|
-
* @function
|
246
|
-
* @private
|
247
|
-
* @param {Number} idx - index of the current handle/input to use.
|
248
|
-
*/
|
249
|
-
|
250
|
-
}, {
|
251
|
-
key: '_setInitAttr',
|
252
|
-
value: function _setInitAttr(idx) {
|
253
|
-
var id = this.inputs.eq(idx).attr('id') || Foundation.GetYoDigits(6, 'slider');
|
254
|
-
this.inputs.eq(idx).attr({
|
255
|
-
'id': id,
|
256
|
-
'max': this.options.end,
|
257
|
-
'min': this.options.start,
|
258
|
-
'step': this.options.step
|
259
|
-
});
|
260
|
-
this.handles.eq(idx).attr({
|
261
|
-
'role': 'slider',
|
262
|
-
'aria-controls': id,
|
263
|
-
'aria-valuemax': this.options.end,
|
264
|
-
'aria-valuemin': this.options.start,
|
265
|
-
'aria-valuenow': idx === 0 ? this.options.initialStart : this.options.initialEnd,
|
266
|
-
'aria-orientation': this.options.vertical ? 'vertical' : 'horizontal',
|
267
|
-
'tabindex': 0
|
268
|
-
});
|
269
|
-
}
|
270
|
-
|
271
|
-
/**
|
272
|
-
* Sets the input and `aria-valuenow` values for the slider element.
|
273
|
-
* @function
|
274
|
-
* @private
|
275
|
-
* @param {jQuery} $handle - the currently selected handle.
|
276
|
-
* @param {Number} val - floating point of the new value.
|
277
|
-
*/
|
278
|
-
|
279
|
-
}, {
|
280
|
-
key: '_setValues',
|
281
|
-
value: function _setValues($handle, val) {
|
282
|
-
var idx = this.options.doubleSided ? this.handles.index($handle) : 0;
|
283
|
-
this.inputs.eq(idx).val(val);
|
284
|
-
$handle.attr('aria-valuenow', val);
|
285
|
-
}
|
286
|
-
|
287
|
-
/**
|
288
|
-
* Handles events on the slider element.
|
289
|
-
* Calculates the new location of the current handle.
|
290
|
-
* If there are two handles and the bar was clicked, it determines which handle to move.
|
291
|
-
* @function
|
292
|
-
* @private
|
293
|
-
* @param {Object} e - the `event` object passed from the listener.
|
294
|
-
* @param {jQuery} $handle - the current handle to calculate for, if selected.
|
295
|
-
* @param {Number} val - floating point number for the new value of the slider.
|
296
|
-
* TODO clean this up, there's a lot of repeated code between this and the _setHandlePos fn.
|
297
|
-
*/
|
298
|
-
|
299
|
-
}, {
|
300
|
-
key: '_handleEvent',
|
301
|
-
value: function _handleEvent(e, $handle, val) {
|
302
|
-
var value, hasVal;
|
303
|
-
if (!val) {
|
304
|
-
//click or drag events
|
305
|
-
e.preventDefault();
|
306
|
-
var _this = this,
|
307
|
-
vertical = this.options.vertical,
|
308
|
-
param = vertical ? 'height' : 'width',
|
309
|
-
direction = vertical ? 'top' : 'left',
|
310
|
-
eventOffset = vertical ? e.pageY : e.pageX,
|
311
|
-
halfOfHandle = this.$handle[0].getBoundingClientRect()[param] / 2,
|
312
|
-
barDim = this.$element[0].getBoundingClientRect()[param],
|
313
|
-
windowScroll = vertical ? $(window).scrollTop() : $(window).scrollLeft();
|
314
|
-
|
315
|
-
var elemOffset = this.$element.offset()[direction];
|
316
|
-
|
317
|
-
// touch events emulated by the touch util give position relative to screen, add window.scroll to event coordinates...
|
318
|
-
// best way to guess this is simulated is if clientY == pageY
|
319
|
-
if (e.clientY === e.pageY) {
|
320
|
-
eventOffset = eventOffset + windowScroll;
|
321
|
-
}
|
322
|
-
var eventFromBar = eventOffset - elemOffset;
|
323
|
-
var barXY;
|
324
|
-
if (eventFromBar < 0) {
|
325
|
-
barXY = 0;
|
326
|
-
} else if (eventFromBar > barDim) {
|
327
|
-
barXY = barDim;
|
328
|
-
} else {
|
329
|
-
barXY = eventFromBar;
|
330
|
-
}
|
331
|
-
offsetPct = percent(barXY, barDim);
|
332
|
-
|
333
|
-
value = (this.options.end - this.options.start) * offsetPct + this.options.start;
|
334
|
-
|
335
|
-
// turn everything around for RTL, yay math!
|
336
|
-
if (Foundation.rtl() && !this.options.vertical) {
|
337
|
-
value = this.options.end - value;
|
338
|
-
}
|
339
|
-
|
340
|
-
value = _this._adjustValue(null, value);
|
341
|
-
//boolean flag for the setHandlePos fn, specifically for vertical sliders
|
342
|
-
hasVal = false;
|
343
|
-
|
344
|
-
if (!$handle) {
|
345
|
-
//figure out which handle it is, pass it to the next function.
|
346
|
-
var firstHndlPos = absPosition(this.$handle, direction, barXY, param),
|
347
|
-
secndHndlPos = absPosition(this.$handle2, direction, barXY, param);
|
348
|
-
$handle = firstHndlPos <= secndHndlPos ? this.$handle : this.$handle2;
|
349
|
-
}
|
350
|
-
} else {
|
351
|
-
//change event on input
|
352
|
-
value = this._adjustValue(null, val);
|
353
|
-
hasVal = true;
|
354
|
-
}
|
355
|
-
|
356
|
-
this._setHandlePos($handle, value, hasVal);
|
357
|
-
}
|
358
|
-
|
359
|
-
/**
|
360
|
-
* Adjustes value for handle in regard to step value. returns adjusted value
|
361
|
-
* @function
|
362
|
-
* @private
|
363
|
-
* @param {jQuery} $handle - the selected handle.
|
364
|
-
* @param {Number} value - value to adjust. used if $handle is falsy
|
365
|
-
*/
|
366
|
-
|
367
|
-
}, {
|
368
|
-
key: '_adjustValue',
|
369
|
-
value: function _adjustValue($handle, value) {
|
370
|
-
var val,
|
371
|
-
step = this.options.step,
|
372
|
-
div = parseFloat(step / 2),
|
373
|
-
left,
|
374
|
-
prev_val,
|
375
|
-
next_val;
|
376
|
-
if (!!$handle) {
|
377
|
-
val = parseFloat($handle.attr('aria-valuenow'));
|
378
|
-
} else {
|
379
|
-
val = value;
|
380
|
-
}
|
381
|
-
left = val % step;
|
382
|
-
prev_val = val - left;
|
383
|
-
next_val = prev_val + step;
|
384
|
-
if (left === 0) {
|
385
|
-
return val;
|
386
|
-
}
|
387
|
-
val = val >= prev_val + div ? next_val : prev_val;
|
388
|
-
return val;
|
389
|
-
}
|
390
|
-
|
391
|
-
/**
|
392
|
-
* Adds event listeners to the slider elements.
|
393
|
-
* @function
|
394
|
-
* @private
|
395
|
-
* @param {jQuery} $handle - the current handle to apply listeners to.
|
396
|
-
*/
|
397
|
-
|
398
|
-
}, {
|
399
|
-
key: '_events',
|
400
|
-
value: function _events($handle) {
|
401
|
-
var _this = this,
|
402
|
-
curHandle,
|
403
|
-
timer;
|
404
|
-
|
405
|
-
this.inputs.off('change.zf.slider').on('change.zf.slider', function (e) {
|
406
|
-
var idx = _this.inputs.index($(this));
|
407
|
-
_this._handleEvent(e, _this.handles.eq(idx), $(this).val());
|
408
|
-
});
|
409
|
-
|
410
|
-
if (this.options.clickSelect) {
|
411
|
-
this.$element.off('click.zf.slider').on('click.zf.slider', function (e) {
|
412
|
-
if (_this.$element.data('dragging')) {
|
413
|
-
return false;
|
414
|
-
}
|
415
|
-
|
416
|
-
if (!$(e.target).is('[data-slider-handle]')) {
|
417
|
-
if (_this.options.doubleSided) {
|
418
|
-
_this._handleEvent(e);
|
419
|
-
} else {
|
420
|
-
_this._handleEvent(e, _this.$handle);
|
421
|
-
}
|
422
|
-
}
|
423
|
-
});
|
424
|
-
}
|
425
|
-
|
426
|
-
if (this.options.draggable) {
|
427
|
-
this.handles.addTouch();
|
428
|
-
|
429
|
-
var $body = $('body');
|
430
|
-
$handle.off('mousedown.zf.slider').on('mousedown.zf.slider', function (e) {
|
431
|
-
$handle.addClass('is-dragging');
|
432
|
-
_this.$fill.addClass('is-dragging'); //
|
433
|
-
_this.$element.data('dragging', true);
|
434
|
-
|
435
|
-
curHandle = $(e.currentTarget);
|
436
|
-
|
437
|
-
$body.on('mousemove.zf.slider', function (e) {
|
438
|
-
e.preventDefault();
|
439
|
-
_this._handleEvent(e, curHandle);
|
440
|
-
}).on('mouseup.zf.slider', function (e) {
|
441
|
-
_this._handleEvent(e, curHandle);
|
442
|
-
|
443
|
-
$handle.removeClass('is-dragging');
|
444
|
-
_this.$fill.removeClass('is-dragging');
|
445
|
-
_this.$element.data('dragging', false);
|
446
|
-
|
447
|
-
$body.off('mousemove.zf.slider mouseup.zf.slider');
|
448
|
-
});
|
449
|
-
})
|
450
|
-
// prevent events triggered by touch
|
451
|
-
.on('selectstart.zf.slider touchmove.zf.slider', function (e) {
|
452
|
-
e.preventDefault();
|
453
|
-
});
|
454
|
-
}
|
455
|
-
|
456
|
-
$handle.off('keydown.zf.slider').on('keydown.zf.slider', function (e) {
|
457
|
-
var _$handle = $(this),
|
458
|
-
idx = _this.options.doubleSided ? _this.handles.index(_$handle) : 0,
|
459
|
-
oldValue = parseFloat(_this.inputs.eq(idx).val()),
|
460
|
-
newValue;
|
461
|
-
|
462
|
-
// handle keyboard event with keyboard util
|
463
|
-
Foundation.Keyboard.handleKey(e, 'Slider', {
|
464
|
-
decrease: function () {
|
465
|
-
newValue = oldValue - _this.options.step;
|
466
|
-
},
|
467
|
-
increase: function () {
|
468
|
-
newValue = oldValue + _this.options.step;
|
469
|
-
},
|
470
|
-
decrease_fast: function () {
|
471
|
-
newValue = oldValue - _this.options.step * 10;
|
472
|
-
},
|
473
|
-
increase_fast: function () {
|
474
|
-
newValue = oldValue + _this.options.step * 10;
|
475
|
-
},
|
476
|
-
handled: function () {
|
477
|
-
// only set handle pos when event was handled specially
|
478
|
-
e.preventDefault();
|
479
|
-
_this._setHandlePos(_$handle, newValue, true);
|
480
|
-
}
|
481
|
-
});
|
482
|
-
/*if (newValue) { // if pressed key has special function, update value
|
483
|
-
e.preventDefault();
|
484
|
-
_this._setHandlePos(_$handle, newValue);
|
485
|
-
}*/
|
486
|
-
});
|
487
|
-
}
|
488
|
-
|
489
|
-
/**
|
490
|
-
* Destroys the slider plugin.
|
491
|
-
*/
|
492
|
-
|
493
|
-
}, {
|
494
|
-
key: 'destroy',
|
495
|
-
value: function destroy() {
|
496
|
-
this.handles.off('.zf.slider');
|
497
|
-
this.inputs.off('.zf.slider');
|
498
|
-
this.$element.off('.zf.slider');
|
499
|
-
|
500
|
-
Foundation.unregisterPlugin(this);
|
501
|
-
}
|
502
|
-
}]);
|
503
|
-
|
504
|
-
return Slider;
|
505
|
-
}();
|
506
|
-
|
507
|
-
Slider.defaults = {
|
508
|
-
/**
|
509
|
-
* Minimum value for the slider scale.
|
510
|
-
* @option
|
511
|
-
* @example 0
|
512
|
-
*/
|
513
|
-
start: 0,
|
514
|
-
/**
|
515
|
-
* Maximum value for the slider scale.
|
516
|
-
* @option
|
517
|
-
* @example 100
|
518
|
-
*/
|
519
|
-
end: 100,
|
520
|
-
/**
|
521
|
-
* Minimum value change per change event.
|
522
|
-
* @option
|
523
|
-
* @example 1
|
524
|
-
*/
|
525
|
-
step: 1,
|
526
|
-
/**
|
527
|
-
* Value at which the handle/input *(left handle/first input)* should be set to on initialization.
|
528
|
-
* @option
|
529
|
-
* @example 0
|
530
|
-
*/
|
531
|
-
initialStart: 0,
|
532
|
-
/**
|
533
|
-
* Value at which the right handle/second input should be set to on initialization.
|
534
|
-
* @option
|
535
|
-
* @example 100
|
536
|
-
*/
|
537
|
-
initialEnd: 100,
|
538
|
-
/**
|
539
|
-
* Allows the input to be located outside the container and visible. Set to by the JS
|
540
|
-
* @option
|
541
|
-
* @example false
|
542
|
-
*/
|
543
|
-
binding: false,
|
544
|
-
/**
|
545
|
-
* Allows the user to click/tap on the slider bar to select a value.
|
546
|
-
* @option
|
547
|
-
* @example true
|
548
|
-
*/
|
549
|
-
clickSelect: true,
|
550
|
-
/**
|
551
|
-
* Set to true and use the `vertical` class to change alignment to vertical.
|
552
|
-
* @option
|
553
|
-
* @example false
|
554
|
-
*/
|
555
|
-
vertical: false,
|
556
|
-
/**
|
557
|
-
* Allows the user to drag the slider handle(s) to select a value.
|
558
|
-
* @option
|
559
|
-
* @example true
|
560
|
-
*/
|
561
|
-
draggable: true,
|
562
|
-
/**
|
563
|
-
* Disables the slider and prevents event listeners from being applied. Double checked by JS with `disabledClass`.
|
564
|
-
* @option
|
565
|
-
* @example false
|
566
|
-
*/
|
567
|
-
disabled: false,
|
568
|
-
/**
|
569
|
-
* Allows the use of two handles. Double checked by the JS. Changes some logic handling.
|
570
|
-
* @option
|
571
|
-
* @example false
|
572
|
-
*/
|
573
|
-
doubleSided: false,
|
574
|
-
/**
|
575
|
-
* Potential future feature.
|
576
|
-
*/
|
577
|
-
// steps: 100,
|
578
|
-
/**
|
579
|
-
* Number of decimal places the plugin should go to for floating point precision.
|
580
|
-
* @option
|
581
|
-
* @example 2
|
582
|
-
*/
|
583
|
-
decimal: 2,
|
584
|
-
/**
|
585
|
-
* Time delay for dragged elements.
|
586
|
-
*/
|
587
|
-
// dragDelay: 0,
|
588
|
-
/**
|
589
|
-
* Time, in ms, to animate the movement of a slider handle if user clicks/taps on the bar. Needs to be manually set if updating the transition time in the Sass settings.
|
590
|
-
* @option
|
591
|
-
* @example 200
|
592
|
-
*/
|
593
|
-
moveTime: 200, //update this if changing the transition time in the sass
|
594
|
-
/**
|
595
|
-
* Class applied to disabled sliders.
|
596
|
-
* @option
|
597
|
-
* @example 'disabled'
|
598
|
-
*/
|
599
|
-
disabledClass: 'disabled',
|
600
|
-
/**
|
601
|
-
* Will invert the default layout for a vertical<span data-tooltip title="who would do this???"> </span>slider.
|
602
|
-
* @option
|
603
|
-
* @example false
|
604
|
-
*/
|
605
|
-
invertVertical: false,
|
606
|
-
/**
|
607
|
-
* Milliseconds before the `changed.zf-slider` event is triggered after value change.
|
608
|
-
* @option
|
609
|
-
* @example 500
|
610
|
-
*/
|
611
|
-
changedDelay: 500
|
612
|
-
};
|
613
|
-
|
614
|
-
function percent(frac, num) {
|
615
|
-
return frac / num;
|
616
|
-
}
|
617
|
-
function absPosition($handle, dir, clickPos, param) {
|
618
|
-
return Math.abs($handle.position()[dir] + $handle[param]() / 2 - clickPos);
|
619
|
-
}
|
620
|
-
|
621
|
-
// Window exports
|
622
|
-
Foundation.plugin(Slider, 'Slider');
|
623
|
-
}(jQuery);
|
624
|
-
|
625
|
-
//*********this is in case we go to static, absolute positions instead of dynamic positioning********
|
626
|
-
// this.setSteps(function() {
|
627
|
-
// _this._events();
|
628
|
-
// var initStart = _this.options.positions[_this.options.initialStart - 1] || null;
|
629
|
-
// var initEnd = _this.options.initialEnd ? _this.options.position[_this.options.initialEnd - 1] : null;
|
630
|
-
// if (initStart || initEnd) {
|
631
|
-
// _this._handleEvent(initStart, initEnd);
|
632
|
-
// }
|
633
|
-
// });
|
634
|
-
|
635
|
-
//***********the other part of absolute positions*************
|
636
|
-
// Slider.prototype.setSteps = function(cb) {
|
637
|
-
// var posChange = this.$element.outerWidth() / this.options.steps;
|
638
|
-
// var counter = 0
|
639
|
-
// while(counter < this.options.steps) {
|
640
|
-
// if (counter) {
|
641
|
-
// this.options.positions.push(this.options.positions[counter - 1] + posChange);
|
642
|
-
// } else {
|
643
|
-
// this.options.positions.push(posChange);
|
644
|
-
// }
|
645
|
-
// counter++;
|
646
|
-
// }
|
647
|
-
// cb();
|
648
|
-
// };
|