aacinfo-theme 0.2.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +25 -1
- data/_includes/footer.html +54 -0
- data/_includes/header.html +46 -0
- data/_includes/parts/content.html +6 -0
- data/_includes/parts/social-media.html +10 -0
- data/_includes/theme-menu.html +27 -28
- data/_layouts/theme.html +14 -26
- data/_layouts/title-page.html +22 -0
- data/_sass/_style.scss +122 -0
- data/_sass/components/_blockquotes.scss +62 -0
- data/_sass/components/_buttons.scss +100 -0
- data/_sass/components/_cards.scss +29 -0
- data/_sass/components/_dividers.scss +165 -0
- data/_sass/components/_featured-image.scss +14 -0
- data/_sass/components/_forms.scss +414 -0
- data/_sass/components/_links.scss +83 -0
- data/_sass/components/_pagination.scss +91 -0
- data/_sass/components/_selectric.scss +200 -0
- data/_sass/components/_slick-theme.scss +194 -0
- data/_sass/components/_slick.scss +98 -0
- data/_sass/components/_spinner.scss +356 -0
- data/_sass/components/_svg.scss +12 -0
- data/_sass/fontawesome/.bower.json +36 -0
- data/_sass/fontawesome/.gitignore +33 -0
- data/_sass/fontawesome/.npmignore +42 -0
- data/_sass/fontawesome/HELP-US-OUT.txt +7 -0
- data/_sass/fontawesome/bower.json +22 -0
- data/{assets → _sass/fontawesome}/css/font-awesome.css +547 -11
- data/_sass/fontawesome/css/font-awesome.css.map +7 -0
- data/_sass/fontawesome/css/font-awesome.min.css +4 -0
- data/_sass/fontawesome/fonts/FontAwesome.otf +0 -0
- data/_sass/fontawesome/fonts/fontawesome-webfont.eot +0 -0
- data/_sass/fontawesome/fonts/fontawesome-webfont.svg +2671 -0
- data/_sass/fontawesome/fonts/fontawesome-webfont.ttf +0 -0
- data/_sass/fontawesome/fonts/fontawesome-webfont.woff +0 -0
- data/_sass/fontawesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/_sass/fontawesome/less/animated.less +34 -0
- data/_sass/fontawesome/less/bordered-pulled.less +25 -0
- data/_sass/fontawesome/less/core.less +12 -0
- data/_sass/fontawesome/less/fixed-width.less +6 -0
- data/_sass/fontawesome/less/font-awesome.less +18 -0
- data/_sass/fontawesome/less/icons.less +789 -0
- data/_sass/fontawesome/less/larger.less +13 -0
- data/_sass/fontawesome/less/list.less +19 -0
- data/_sass/fontawesome/less/mixins.less +60 -0
- data/_sass/fontawesome/less/path.less +15 -0
- data/_sass/fontawesome/less/rotated-flipped.less +20 -0
- data/_sass/fontawesome/less/screen-reader.less +5 -0
- data/_sass/fontawesome/less/stacked.less +20 -0
- data/_sass/fontawesome/less/variables.less +800 -0
- data/_sass/fontawesome/scss/_animated.scss +34 -0
- data/_sass/fontawesome/scss/_bordered-pulled.scss +25 -0
- data/_sass/fontawesome/scss/_core.scss +12 -0
- data/_sass/fontawesome/scss/_fixed-width.scss +6 -0
- data/_sass/fontawesome/scss/_icons.scss +789 -0
- data/_sass/fontawesome/scss/_larger.scss +13 -0
- data/_sass/fontawesome/scss/_list.scss +19 -0
- data/_sass/fontawesome/scss/_mixins.scss +60 -0
- data/_sass/fontawesome/scss/_path.scss +15 -0
- data/_sass/fontawesome/scss/_rotated-flipped.scss +20 -0
- data/_sass/fontawesome/scss/_screen-reader.scss +5 -0
- data/_sass/fontawesome/scss/_stacked.scss +20 -0
- data/_sass/fontawesome/scss/_variables.scss +800 -0
- data/_sass/fontawesome/scss/font-awesome.scss +18 -0
- data/_sass/foundation-sites/.bower.json +44 -0
- data/_sass/foundation-sites/.bowerrc +3 -0
- data/_sass/foundation-sites/.eslintrc +64 -0
- data/_sass/foundation-sites/.github/ISSUE_TEMPLATE.md +21 -0
- data/_sass/foundation-sites/.github/PULL_REQUEST_TEMPLATE.md +9 -0
- data/_sass/foundation-sites/.sass-lint.yml +409 -0
- data/_sass/foundation-sites/.travis.yml +9 -0
- data/_sass/foundation-sites/LICENSE +22 -0
- data/_sass/foundation-sites/README.md +52 -0
- data/_sass/foundation-sites/_vendor/normalize-scss/sass/_normalize.scss +3 -0
- data/_sass/foundation-sites/_vendor/normalize-scss/sass/normalize/_import-now.scss +11 -0
- data/_sass/foundation-sites/_vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +676 -0
- data/_sass/foundation-sites/_vendor/normalize-scss/sass/normalize/_variables.scss +36 -0
- data/_sass/foundation-sites/_vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +61 -0
- data/_sass/foundation-sites/_vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
- data/_sass/foundation-sites/_vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
- data/_sass/foundation-sites/_vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
- data/_sass/foundation-sites/_vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
- data/_sass/foundation-sites/_vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
- data/_sass/foundation-sites/_vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
- data/_sass/foundation-sites/assets/foundation-flex.scss +3 -0
- data/_sass/foundation-sites/assets/foundation-rtl.scss +5 -0
- data/_sass/foundation-sites/assets/foundation.scss +3 -0
- data/_sass/foundation-sites/bower.json +34 -0
- data/_sass/foundation-sites/browserstack.json +32 -0
- data/_sass/foundation-sites/code-of-conduct.md +43 -0
- data/_sass/foundation-sites/customizer/complete.json +48 -0
- data/_sass/foundation-sites/customizer/config.yml +228 -0
- data/_sass/foundation-sites/customizer/essential.json +11 -0
- data/_sass/foundation-sites/customizer/index.html +169 -0
- data/_sass/foundation-sites/dist/css/foundation-flex.css +4566 -0
- data/_sass/foundation-sites/dist/css/foundation-flex.min.css +2 -0
- data/_sass/foundation-sites/dist/css/foundation-rtl.css +4006 -0
- data/_sass/foundation-sites/dist/css/foundation-rtl.min.css +2 -0
- data/_sass/foundation-sites/dist/css/foundation.css +4001 -0
- data/_sass/foundation-sites/dist/css/foundation.min.css +2 -0
- data/_sass/foundation-sites/dist/js/foundation.d.ts +496 -0
- data/_sass/foundation-sites/dist/js/foundation.js +10207 -0
- data/_sass/foundation-sites/dist/js/foundation.min.js +4 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.abide.js +637 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.abide.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.accordion.js +252 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.accordion.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.accordionMenu.js +318 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.accordionMenu.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.core.js +386 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.core.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.drilldown.js +565 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.drilldown.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.dropdown.js +465 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.dropdown.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.dropdownMenu.js +486 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.dropdownMenu.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.equalizer.js +374 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.equalizer.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.interchange.js +233 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.interchange.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.magellan.js +285 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.magellan.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.offcanvas.js +474 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.offcanvas.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.orbit.js +566 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.orbit.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.responsiveMenu.js +169 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.responsiveMenu.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.responsiveToggle.js +177 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.responsiveToggle.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.reveal.js +633 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.reveal.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.slider.js +762 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.slider.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.sticky.js +518 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.sticky.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.tabs.js +512 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.tabs.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.toggler.js +169 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.toggler.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.tooltip.js +492 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.tooltip.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.box.js +196 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.box.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.keyboard.js +163 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.keyboard.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.mediaQuery.js +233 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.mediaQuery.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.motion.js +103 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.motion.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.nest.js +74 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.nest.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.timerAndImageLoader.js +90 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.timerAndImageLoader.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.touch.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.triggers.js +261 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.util.triggers.min.js +1 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.zf.responsiveAccordionTabs.js +262 -0
- data/_sass/foundation-sites/dist/js/plugins/foundation.zf.responsiveAccordionTabs.min.js +1 -0
- data/_sass/foundation-sites/docslink.sh +3 -0
- data/_sass/foundation-sites/js/foundation.abide.js +584 -0
- data/_sass/foundation-sites/js/foundation.accordion.js +315 -0
- data/_sass/foundation-sites/js/foundation.accordionMenu.js +283 -0
- data/_sass/foundation-sites/js/foundation.core.js +378 -0
- data/_sass/foundation-sites/js/foundation.drilldown.js +518 -0
- data/_sass/foundation-sites/js/foundation.dropdown.js +432 -0
- data/_sass/foundation-sites/js/foundation.dropdownMenu.js +442 -0
- data/_sass/foundation-sites/js/foundation.equalizer.js +317 -0
- data/_sass/foundation-sites/js/foundation.interchange.js +203 -0
- data/_sass/foundation-sites/js/foundation.magellan.js +251 -0
- data/_sass/foundation-sites/js/foundation.offcanvas.js +434 -0
- data/_sass/foundation-sites/js/foundation.orbit.js +523 -0
- data/_sass/foundation-sites/js/foundation.responsiveMenu.js +147 -0
- data/_sass/foundation-sites/js/foundation.responsiveToggle.js +155 -0
- data/_sass/foundation-sites/js/foundation.reveal.js +603 -0
- data/_sass/foundation-sites/js/foundation.slider.js +697 -0
- data/_sass/foundation-sites/js/foundation.sticky.js +499 -0
- data/_sass/foundation-sites/js/foundation.tabs.js +490 -0
- data/_sass/foundation-sites/js/foundation.toggler.js +148 -0
- data/_sass/foundation-sites/js/foundation.tooltip.js +470 -0
- data/_sass/foundation-sites/js/foundation.util.box.js +195 -0
- data/_sass/foundation-sites/js/foundation.util.keyboard.js +152 -0
- data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +230 -0
- data/_sass/foundation-sites/js/foundation.util.motion.js +105 -0
- data/_sass/foundation-sites/js/foundation.util.nest.js +81 -0
- data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +88 -0
- data/_sass/foundation-sites/js/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/js/foundation.util.triggers.js +210 -0
- data/_sass/foundation-sites/js/foundation.zf.responsiveAccordionTabs.js +240 -0
- data/_sass/foundation-sites/scss/_global.scss +219 -0
- data/_sass/foundation-sites/scss/components/_accordion-menu.scss +36 -0
- data/_sass/foundation-sites/scss/components/_accordion.scss +150 -0
- data/_sass/foundation-sites/scss/components/_badge.scss +63 -0
- data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +100 -0
- data/_sass/foundation-sites/scss/components/_button-group.scss +253 -0
- data/_sass/foundation-sites/scss/components/_button.scss +332 -0
- data/_sass/foundation-sites/scss/components/_callout.scss +106 -0
- data/_sass/foundation-sites/scss/components/_card.scss +121 -0
- data/_sass/foundation-sites/scss/components/_close-button.scss +102 -0
- data/_sass/foundation-sites/scss/components/_drilldown.scss +93 -0
- data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +226 -0
- data/_sass/foundation-sites/scss/components/_dropdown.scss +72 -0
- data/_sass/foundation-sites/scss/components/_flex-video.scss +1 -0
- data/_sass/foundation-sites/scss/components/_flex.scss +34 -0
- data/_sass/foundation-sites/scss/components/_float.scss +27 -0
- data/_sass/foundation-sites/scss/components/_label.scss +64 -0
- data/_sass/foundation-sites/scss/components/_media-object.scss +114 -0
- data/_sass/foundation-sites/scss/components/_menu-icon.scss +9 -0
- data/_sass/foundation-sites/scss/components/_menu.scss +376 -0
- data/_sass/foundation-sites/scss/components/_off-canvas.scss +329 -0
- data/_sass/foundation-sites/scss/components/_orbit.scss +196 -0
- data/_sass/foundation-sites/scss/components/_pagination.scss +193 -0
- data/_sass/foundation-sites/scss/components/_progress-bar.scss +64 -0
- data/_sass/foundation-sites/scss/components/_responsive-embed.scss +70 -0
- data/_sass/foundation-sites/scss/components/_reveal.scss +178 -0
- data/_sass/foundation-sites/scss/components/_slider.scss +138 -0
- data/_sass/foundation-sites/scss/components/_sticky.scss +38 -0
- data/_sass/foundation-sites/scss/components/_switch.scss +247 -0
- data/_sass/foundation-sites/scss/components/_table.scss +329 -0
- data/_sass/foundation-sites/scss/components/_tabs.scss +196 -0
- data/_sass/foundation-sites/scss/components/_thumbnail.scss +67 -0
- data/_sass/foundation-sites/scss/components/_title-bar.scss +84 -0
- data/_sass/foundation-sites/scss/components/_tooltip.scss +107 -0
- data/_sass/foundation-sites/scss/components/_top-bar.scss +173 -0
- data/_sass/foundation-sites/scss/components/_visibility.scss +132 -0
- data/_sass/foundation-sites/scss/forms/_checkbox.scss +41 -0
- data/_sass/foundation-sites/scss/forms/_error.scss +88 -0
- data/_sass/foundation-sites/scss/forms/_fieldset.scss +54 -0
- data/_sass/foundation-sites/scss/forms/_forms.scss +34 -0
- data/_sass/foundation-sites/scss/forms/_help-text.scss +30 -0
- data/_sass/foundation-sites/scss/forms/_input-group.scss +135 -0
- data/_sass/foundation-sites/scss/forms/_label.scss +50 -0
- data/_sass/foundation-sites/scss/forms/_meter.scss +110 -0
- data/_sass/foundation-sites/scss/forms/_progress.scss +94 -0
- data/_sass/foundation-sites/scss/forms/_range.scss +149 -0
- data/_sass/foundation-sites/scss/forms/_select.scss +85 -0
- data/_sass/foundation-sites/scss/forms/_text.scss +170 -0
- data/_sass/foundation-sites/scss/foundation.scss +118 -0
- data/_sass/foundation-sites/scss/grid/_classes.scss +176 -0
- data/_sass/foundation-sites/scss/grid/_column.scss +112 -0
- data/_sass/foundation-sites/scss/grid/_flex-grid.scss +312 -0
- data/_sass/foundation-sites/scss/grid/_grid.scss +48 -0
- data/_sass/foundation-sites/scss/grid/_gutter.scss +82 -0
- data/_sass/foundation-sites/scss/grid/_layout.scss +76 -0
- data/_sass/foundation-sites/scss/grid/_position.scss +76 -0
- data/_sass/foundation-sites/scss/grid/_row.scss +99 -0
- data/_sass/foundation-sites/scss/grid/_size.scss +24 -0
- data/_sass/foundation-sites/scss/settings/_settings.scss +620 -0
- data/_sass/foundation-sites/scss/typography/_alignment.scss +22 -0
- data/_sass/foundation-sites/scss/typography/_base.scss +509 -0
- data/_sass/foundation-sites/scss/typography/_helpers.scss +78 -0
- data/_sass/foundation-sites/scss/typography/_print.scss +86 -0
- data/_sass/foundation-sites/scss/typography/_typography.scss +26 -0
- data/_sass/foundation-sites/scss/util/_breakpoint.scss +281 -0
- data/_sass/foundation-sites/scss/util/_color.scss +126 -0
- data/_sass/foundation-sites/scss/util/_direction.scss +31 -0
- data/_sass/foundation-sites/scss/util/_flex.scss +85 -0
- data/_sass/foundation-sites/scss/util/_math.scss +72 -0
- data/_sass/foundation-sites/scss/util/_mixins.scss +276 -0
- data/_sass/foundation-sites/scss/util/_selector.scss +41 -0
- data/_sass/foundation-sites/scss/util/_typography.scss +26 -0
- data/_sass/foundation-sites/scss/util/_unit.scss +152 -0
- data/_sass/foundation-sites/scss/util/_util.scss +14 -0
- data/_sass/foundation-sites/scss/util/_value.scss +160 -0
- data/_sass/global/_accessibility.scss +32 -0
- data/_sass/global/_functions.scss +7 -0
- data/_sass/global/_modernizr.scss +0 -0
- data/_sass/global/_settings.scss +657 -0
- data/_sass/global/_wp-admin.scss +24 -0
- data/_sass/global/_wp-overrides.scss +51 -0
- data/_sass/jquery/.bower.json +25 -0
- data/_sass/jquery/AUTHORS.txt +278 -0
- data/_sass/jquery/LICENSE.txt +36 -0
- data/_sass/jquery/README.md +65 -0
- data/_sass/jquery/bower.json +14 -0
- data/_sass/jquery/dist/jquery.js +9814 -0
- data/_sass/jquery/dist/jquery.min.js +4 -0
- data/_sass/jquery/dist/jquery.min.map +1 -0
- data/_sass/jquery/external/sizzle/LICENSE.txt +36 -0
- data/_sass/jquery/external/sizzle/dist/sizzle.js +2143 -0
- data/_sass/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/jquery/src/.jshintrc +29 -0
- data/_sass/jquery/src/ajax.js +845 -0
- data/_sass/jquery/src/ajax/jsonp.js +100 -0
- data/_sass/jquery/src/ajax/load.js +83 -0
- data/_sass/jquery/src/ajax/parseJSON.js +13 -0
- data/_sass/jquery/src/ajax/parseXML.js +27 -0
- data/_sass/jquery/src/ajax/script.js +68 -0
- data/_sass/jquery/src/ajax/var/location.js +3 -0
- data/_sass/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/jquery/src/ajax/var/rquery.js +3 -0
- data/_sass/jquery/src/ajax/xhr.js +167 -0
- data/_sass/jquery/src/attributes.js +11 -0
- data/_sass/jquery/src/attributes/attr.js +142 -0
- data/_sass/jquery/src/attributes/classes.js +177 -0
- data/_sass/jquery/src/attributes/prop.js +125 -0
- data/_sass/jquery/src/attributes/support.js +36 -0
- data/_sass/jquery/src/attributes/val.js +177 -0
- data/_sass/jquery/src/callbacks.js +232 -0
- data/_sass/jquery/src/core.js +494 -0
- data/_sass/jquery/src/core/access.js +65 -0
- data/_sass/jquery/src/core/init.js +134 -0
- data/_sass/jquery/src/core/parseHTML.js +41 -0
- data/_sass/jquery/src/core/ready.js +103 -0
- data/_sass/jquery/src/core/var/rsingleTag.js +5 -0
- data/_sass/jquery/src/css.js +502 -0
- data/_sass/jquery/src/css/addGetHookIf.js +24 -0
- data/_sass/jquery/src/css/adjustCSS.js +65 -0
- data/_sass/jquery/src/css/curCSS.js +60 -0
- data/_sass/jquery/src/css/defaultDisplay.js +72 -0
- data/_sass/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/_sass/jquery/src/css/showHide.js +48 -0
- data/_sass/jquery/src/css/support.js +121 -0
- data/_sass/jquery/src/css/var/cssExpand.js +3 -0
- data/_sass/jquery/src/css/var/getStyles.js +15 -0
- data/_sass/jquery/src/css/var/isHidden.js +16 -0
- data/_sass/jquery/src/css/var/rmargin.js +3 -0
- data/_sass/jquery/src/css/var/rnumnonpx.js +5 -0
- data/_sass/jquery/src/css/var/swap.js +24 -0
- data/_sass/jquery/src/data.js +187 -0
- data/_sass/jquery/src/data/Data.js +200 -0
- data/_sass/jquery/src/data/var/acceptData.js +18 -0
- data/_sass/jquery/src/data/var/dataPriv.js +5 -0
- data/_sass/jquery/src/data/var/dataUser.js +5 -0
- data/_sass/jquery/src/deferred.js +158 -0
- data/_sass/jquery/src/deprecated.js +32 -0
- data/_sass/jquery/src/dimensions.js +54 -0
- data/_sass/jquery/src/effects.js +629 -0
- data/_sass/jquery/src/effects/Tween.js +121 -0
- data/_sass/jquery/src/effects/animatedSelector.js +13 -0
- data/_sass/jquery/src/event.js +711 -0
- data/_sass/jquery/src/event/ajax.js +20 -0
- data/_sass/jquery/src/event/alias.js +27 -0
- data/_sass/jquery/src/event/focusin.js +53 -0
- data/_sass/jquery/src/event/support.js +9 -0
- data/_sass/jquery/src/event/trigger.js +183 -0
- data/_sass/jquery/src/exports/amd.js +24 -0
- data/_sass/jquery/src/exports/global.js +26 -0
- data/_sass/jquery/src/intro.js +44 -0
- data/_sass/jquery/src/jquery.js +37 -0
- data/_sass/jquery/src/manipulation.js +481 -0
- data/_sass/jquery/src/manipulation/_evalUrl.js +20 -0
- data/_sass/jquery/src/manipulation/buildFragment.js +102 -0
- data/_sass/jquery/src/manipulation/getAll.js +21 -0
- data/_sass/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/_sass/jquery/src/manipulation/support.js +33 -0
- data/_sass/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/_sass/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/_sass/jquery/src/manipulation/var/rtagName.js +3 -0
- data/_sass/jquery/src/manipulation/wrapMap.js +27 -0
- data/_sass/jquery/src/offset.js +218 -0
- data/_sass/jquery/src/outro.js +2 -0
- data/_sass/jquery/src/queue.js +143 -0
- data/_sass/jquery/src/queue/delay.js +22 -0
- data/_sass/jquery/src/selector-native.js +211 -0
- data/_sass/jquery/src/selector-sizzle.js +14 -0
- data/_sass/jquery/src/selector.js +1 -0
- data/_sass/jquery/src/serialize.js +125 -0
- data/_sass/jquery/src/traversing.js +175 -0
- data/_sass/jquery/src/traversing/findFilter.js +100 -0
- data/_sass/jquery/src/traversing/var/dir.js +20 -0
- data/_sass/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/_sass/jquery/src/traversing/var/siblings.js +15 -0
- data/_sass/jquery/src/var/arr.js +3 -0
- data/_sass/jquery/src/var/class2type.js +5 -0
- data/_sass/jquery/src/var/concat.js +5 -0
- data/_sass/jquery/src/var/document.js +3 -0
- data/_sass/jquery/src/var/documentElement.js +5 -0
- data/_sass/jquery/src/var/hasOwn.js +5 -0
- data/_sass/jquery/src/var/indexOf.js +5 -0
- data/_sass/jquery/src/var/pnum.js +3 -0
- data/_sass/jquery/src/var/push.js +5 -0
- data/_sass/jquery/src/var/rcssNum.js +7 -0
- data/_sass/jquery/src/var/rnotwhite.js +3 -0
- data/_sass/jquery/src/var/slice.js +5 -0
- data/_sass/jquery/src/var/support.js +5 -0
- data/_sass/jquery/src/var/toString.js +5 -0
- data/_sass/jquery/src/wrap.js +79 -0
- data/_sass/modules/_editor-style.scss +5 -0
- data/_sass/modules/_footer.scss +115 -0
- data/_sass/modules/_navigation.scss +570 -0
- data/_sass/modules/_sidebar.scss +66 -0
- data/_sass/modules/_twitter.scss +58 -0
- data/_sass/motion-ui/.bower.json +38 -0
- data/_sass/motion-ui/LICENSE +22 -0
- data/_sass/motion-ui/README.md +29 -0
- data/_sass/motion-ui/bower.json +28 -0
- data/_sass/motion-ui/composer.json +25 -0
- data/_sass/motion-ui/dist/motion-ui.css +634 -0
- data/_sass/motion-ui/dist/motion-ui.js +117 -0
- data/_sass/motion-ui/dist/motion-ui.min.css +1 -0
- data/_sass/motion-ui/dist/motion-ui.min.js +1 -0
- data/_sass/motion-ui/docs/animations.md +230 -0
- data/_sass/motion-ui/docs/classes.md +81 -0
- data/_sass/motion-ui/docs/configuration.md +63 -0
- data/_sass/motion-ui/docs/installation.md +50 -0
- data/_sass/motion-ui/docs/javascript.md +36 -0
- data/_sass/motion-ui/docs/readme.md +32 -0
- data/_sass/motion-ui/docs/transitions.md +112 -0
- data/_sass/motion-ui/docs/wow.md +35 -0
- data/_sass/motion-ui/gulpfile.js +90 -0
- data/_sass/motion-ui/lib/handlebars.js +8 -0
- data/_sass/motion-ui/motion-ui.js +105 -0
- data/_sass/motion-ui/motion-ui.scss +4 -0
- data/_sass/motion-ui/package.json +44 -0
- data/_sass/motion-ui/src/_classes.scss +109 -0
- data/_sass/motion-ui/src/_settings.scss +61 -0
- data/_sass/motion-ui/src/effects/_fade.scss +32 -0
- data/_sass/motion-ui/src/effects/_hinge.scss +65 -0
- data/_sass/motion-ui/src/effects/_shake.scss +15 -0
- data/_sass/motion-ui/src/effects/_slide.scss +41 -0
- data/_sass/motion-ui/src/effects/_spin.scss +28 -0
- data/_sass/motion-ui/src/effects/_wiggle.scss +13 -0
- data/_sass/motion-ui/src/effects/_zoom.scss +15 -0
- data/_sass/motion-ui/src/motion-ui.scss +29 -0
- data/_sass/motion-ui/src/transitions/_fade.scss +28 -0
- data/_sass/motion-ui/src/transitions/_hinge.scss +43 -0
- data/_sass/motion-ui/src/transitions/_slide.scss +42 -0
- data/_sass/motion-ui/src/transitions/_spin.scss +39 -0
- data/_sass/motion-ui/src/transitions/_zoom.scss +39 -0
- data/_sass/motion-ui/src/util/_animation.scss +7 -0
- data/_sass/motion-ui/src/util/_args.scss +15 -0
- data/_sass/motion-ui/src/util/_keyframe.scss +136 -0
- data/_sass/motion-ui/src/util/_selector.scss +23 -0
- data/_sass/motion-ui/src/util/_series.scss +54 -0
- data/_sass/motion-ui/src/util/_transition.scss +45 -0
- data/_sass/motion-ui/src/util/_unit.scss +7 -0
- data/_sass/templates/_archive.scss +66 -0
- data/_sass/templates/_page-accordion-sidebar.scss +137 -0
- data/_sass/templates/_page-contact.scss +33 -0
- data/_sass/templates/_page-default.scss +472 -0
- data/_sass/templates/_page-faq-sidebar.scss +77 -0
- data/_sass/templates/_page-front.scss +549 -0
- data/_sass/templates/_page-full-width.scss +11 -0
- data/_sass/templates/_page-highlights.scss +156 -0
- data/_sass/templates/_page-sidebar-left.scss +27 -0
- data/_sass/templates/_print.scss +69 -0
- data/_sass/templates/_single-post.scss +12 -0
- data/_sass/what-input/.bower.json +35 -0
- data/_sass/what-input/Gulpfile.js +104 -0
- data/_sass/what-input/LICENSE +21 -0
- data/_sass/what-input/README.md +178 -0
- data/_sass/what-input/bower.json +26 -0
- data/_sass/what-input/dist/lte-IE8.js +1 -0
- data/_sass/what-input/dist/what-input.js +337 -0
- data/_sass/what-input/dist/what-input.min.js +7 -0
- data/_sass/what-input/index.html +164 -0
- data/_sass/what-input/package.json +38 -0
- data/_sass/what-input/src/polyfills/ie8/EventListener.js +150 -0
- data/_sass/what-input/src/polyfills/ie8/indexOf.js +65 -0
- data/_sass/what-input/src/what-input.js +269 -0
- data/_sass/what-input/yarn.lock +3482 -0
- data/assets/css/style.scss +4 -0
- data/assets/{css → fonts}/comfortaa-bold-webfont.eot +0 -0
- data/assets/{css → fonts}/comfortaa-bold-webfont.svg +0 -0
- data/assets/{css → fonts}/comfortaa-bold-webfont.ttf +0 -0
- data/assets/{css → fonts}/comfortaa-bold-webfont.woff +0 -0
- data/assets/{css → fonts}/comfortaa-bold-webfont.woff2 +0 -0
- data/assets/{css → fonts}/comfortaa-regular-webfont.eot +0 -0
- data/assets/{css → fonts}/comfortaa-regular-webfont.svg +0 -0
- data/assets/{css → fonts}/comfortaa-regular-webfont.ttf +0 -0
- data/assets/{css → fonts}/comfortaa-regular-webfont.woff +0 -0
- data/assets/{css → fonts}/comfortaa-regular-webfont.woff2 +0 -0
- data/assets/{css → fonts}/raleway-regular-webfont.svg +0 -0
- data/assets/images/ace-centre-logo.png +0 -0
- data/assets/images/getting-started-with-aac-logo.png +0 -0
- data/assets/images/getting-started-with-aac.png +0 -0
- data/assets/images/icon/ace-icon-180x180.png +0 -0
- data/assets/images/icon/ace-icon-192x192.png +0 -0
- data/assets/images/icon/ace-icon-270x270.png +0 -0
- data/assets/images/icon/ace-icon-32x32.png +0 -0
- data/assets/javascript/scripts.js +10 -0
- metadata +477 -29
- data/_includes/theme-footer.html +0 -16
- data/_includes/theme-head.html +0 -48
- data/assets/css/bootstrap-select.min.css +0 -7
- data/assets/css/bootstrap-theme.css +0 -442
- data/assets/css/bootstrap.css +0 -6203
- data/assets/css/draganddrop.css +0 -210
- data/assets/css/fonts.css +0 -41
- data/assets/css/responsive.css +0 -90
- data/assets/css/style.css +0 -260
- data/assets/images/divider.png +0 -0
- data/assets/images/logo-1.png +0 -0
- data/assets/images/logo-2.png +0 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
.full-width-content > .wrapper > .content {
|
2
|
+
@include grid-column;
|
3
|
+
@include breakpoint(medium) {
|
4
|
+
@include grid-column(11);
|
5
|
+
@include grid-column-position(center);
|
6
|
+
}
|
7
|
+
@include breakpoint(large) {
|
8
|
+
@include grid-column(10);
|
9
|
+
@include grid-column-position(center);
|
10
|
+
}
|
11
|
+
}
|
@@ -0,0 +1,156 @@
|
|
1
|
+
.highlights-template {
|
2
|
+
.top-content,
|
3
|
+
.bottom-content {
|
4
|
+
.wrapper .content {
|
5
|
+
@include grid-column;
|
6
|
+
text-align: center;
|
7
|
+
font-size: rem-calc(18);
|
8
|
+
@include breakpoint(tablet) {
|
9
|
+
@include grid-column(11);
|
10
|
+
@include grid-column-position(center);
|
11
|
+
font-size: rem-calc(20);
|
12
|
+
}
|
13
|
+
@include breakpoint(large) {
|
14
|
+
@include grid-column(10);
|
15
|
+
@include grid-column-position(center);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
.top-content {
|
20
|
+
margin-bottom: 1rem;
|
21
|
+
}
|
22
|
+
.highlight-boxes-wrapper{
|
23
|
+
|
24
|
+
}
|
25
|
+
.highlight-boxes {
|
26
|
+
display: flex;
|
27
|
+
flex-wrap: wrap;
|
28
|
+
justify-content: center;
|
29
|
+
@include grid-layout(1, '.highlight', $grid-column-gutter);
|
30
|
+
margin-bottom: map-get($grid-column-gutter, small)*0.8;
|
31
|
+
.highlight {
|
32
|
+
max-width: 100%;
|
33
|
+
}
|
34
|
+
@include breakpoint(tablet) {
|
35
|
+
@include grid-layout(3, '.highlight', $grid-column-gutter);
|
36
|
+
margin-bottom: map-get($grid-column-gutter, medium)*0.8;
|
37
|
+
.highlight {
|
38
|
+
max-width: percentage(1/3);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
.highlight {
|
42
|
+
display: flex;
|
43
|
+
flex-direction: column;
|
44
|
+
flex: 1 1 auto;
|
45
|
+
margin-bottom: map-get($grid-column-gutter, small)*0.8;
|
46
|
+
@include breakpoint(medium) {
|
47
|
+
margin-bottom: map-get($grid-column-gutter, medium)*0.8;
|
48
|
+
}
|
49
|
+
a {
|
50
|
+
background: $ace-blue;
|
51
|
+
&:hover, &:focus {
|
52
|
+
background: $ace-blue-h;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
$highlight-colors: (
|
57
|
+
1: (
|
58
|
+
name: "lime",
|
59
|
+
color: $ace-lime,
|
60
|
+
hover: $ace-lime-h
|
61
|
+
),
|
62
|
+
2: (
|
63
|
+
name: "blue",
|
64
|
+
color: $ace-blue,
|
65
|
+
hover: $ace-blue-h
|
66
|
+
),
|
67
|
+
3: (
|
68
|
+
name: "orange",
|
69
|
+
color: $ace-orange,
|
70
|
+
hover: $ace-orange-h
|
71
|
+
),
|
72
|
+
4: (
|
73
|
+
name: "pink",
|
74
|
+
color: $ace-pink,
|
75
|
+
hover: $ace-pink-h
|
76
|
+
),
|
77
|
+
5: (
|
78
|
+
name: "gold",
|
79
|
+
color: $ace-gold,
|
80
|
+
hover: $ace-gold-h
|
81
|
+
),
|
82
|
+
6: (
|
83
|
+
name: "teal",
|
84
|
+
color: $ace-teal,
|
85
|
+
hover: $ace-teal-h
|
86
|
+
)
|
87
|
+
);
|
88
|
+
|
89
|
+
@each $i, $c-g in $highlight-colors {
|
90
|
+
|
91
|
+
$n: map-get($c-g, name);
|
92
|
+
$c: map-get($c-g, color);
|
93
|
+
$c-h: map-get($c-g, hover);
|
94
|
+
|
95
|
+
&.highlight-default:nth-of-type(6n + #{$i}) a {
|
96
|
+
background: $c;
|
97
|
+
&:hover, &:focus {
|
98
|
+
background: $c-h;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
&.highlight-#{$n} a {
|
103
|
+
background: $c;
|
104
|
+
&:hover, &:focus {
|
105
|
+
background: $c-h;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
a {
|
111
|
+
display: flex;
|
112
|
+
flex: 1 0 auto;
|
113
|
+
flex-direction: column;
|
114
|
+
position: relative;
|
115
|
+
text-align: center;
|
116
|
+
border-radius: 16px;
|
117
|
+
color: $white;
|
118
|
+
padding: rem-calc(24 24 32);
|
119
|
+
@include breakpoint(tablet) {
|
120
|
+
padding: rem-calc(30 30 40);
|
121
|
+
}
|
122
|
+
h2 {
|
123
|
+
display: flex;
|
124
|
+
flex-direction: column;
|
125
|
+
align-content: center;
|
126
|
+
justify-content: center;
|
127
|
+
flex: 1 0 auto;
|
128
|
+
font-size: rem-calc(24);
|
129
|
+
font-weight: 300;
|
130
|
+
margin: 0;
|
131
|
+
line-height: 1.05;
|
132
|
+
color: $white;
|
133
|
+
@include breakpoint(tablet) {
|
134
|
+
font-size: rem-calc(30);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
&:after {
|
138
|
+
content: '';
|
139
|
+
display: block;
|
140
|
+
position: absolute;
|
141
|
+
right: 0;
|
142
|
+
bottom: 8px;
|
143
|
+
left: 0;
|
144
|
+
height: 20px;
|
145
|
+
width: 20px;
|
146
|
+
margin: auto;
|
147
|
+
background: url('data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%2020%2020%22%20height%3D%2220%22%20width%3D%2220%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%2C.cls-3%7Bfill%3Anone%3B%7D.cls-2%7Bclip-path%3Aurl(%23clip-path)%3B%7D.cls-3%7Bstroke%3A%23fff%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%3Bstroke-width%3A3.39px%3B%7D%3C%2Fstyle%3E%3CclipPath%20id%3D%22clip-path%22%3E%3Crect%20class%3D%22cls-1%22%20x%3D%220.63%22%20y%3D%224.47%22%20width%3D%2218.75%22%20height%3D%2211.07%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3Ctitle%3Edown-chevron%3C%2Ftitle%3E%3Cg%20class%3D%22cls-2%22%3E%3Cpolyline%20class%3D%22cls-3%22%20points%3D%222.32%206.16%2010%2013.84%2017.68%206.16%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
|
148
|
+
background-position: center center;
|
149
|
+
background-repeat: no-repeat;
|
150
|
+
@include breakpoint(tablet) {
|
151
|
+
bottom: 12px;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#page-sidebar-left {
|
2
|
+
@include grid-row();
|
3
|
+
margin-top: 3rem;
|
4
|
+
|
5
|
+
.main-content {
|
6
|
+
@include breakpoint(small) {
|
7
|
+
@include grid-column(12);
|
8
|
+
}
|
9
|
+
|
10
|
+
@include breakpoint(medium) {
|
11
|
+
@include grid-column(8);
|
12
|
+
@include grid-col-pos(4);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
.sidebar {
|
17
|
+
@include breakpoint(small) {
|
18
|
+
@include grid-column(12);
|
19
|
+
}
|
20
|
+
|
21
|
+
@include breakpoint(medium) {
|
22
|
+
@include grid-column(4);
|
23
|
+
@include grid-col-pos(-8);
|
24
|
+
margin-top: 1rem;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
html, body {
|
2
|
+
width: 210mm;
|
3
|
+
height: 297mm;
|
4
|
+
}
|
5
|
+
|
6
|
+
a[href]:after {
|
7
|
+
display: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
header {
|
11
|
+
.title-bar {
|
12
|
+
display: block;
|
13
|
+
text-align: center;
|
14
|
+
.menu-icon {
|
15
|
+
display: none;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.top-top-bar,
|
21
|
+
.top-bar,
|
22
|
+
.header-right,
|
23
|
+
.breadcrumbs,
|
24
|
+
.sidebar,
|
25
|
+
.frm_rootline_group,
|
26
|
+
#footer-container {
|
27
|
+
display: none !important;
|
28
|
+
}
|
29
|
+
|
30
|
+
.sidebar-content .content {
|
31
|
+
@include grid-column;
|
32
|
+
@include grid-column-unposition;
|
33
|
+
}
|
34
|
+
|
35
|
+
.acc-content {
|
36
|
+
display: block !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
.highlights-template {
|
40
|
+
.highlight-boxes {
|
41
|
+
.highlight {
|
42
|
+
padding: 0.5rem;
|
43
|
+
margin-right: 1rem;
|
44
|
+
margin-bottom: 1rem;
|
45
|
+
a {
|
46
|
+
display: inline;
|
47
|
+
padding: 0;
|
48
|
+
h2 {
|
49
|
+
font-size: rem-calc(20);
|
50
|
+
}
|
51
|
+
&:after {
|
52
|
+
display: none;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.desktop-header {
|
60
|
+
justify-content: center;
|
61
|
+
}
|
62
|
+
|
63
|
+
h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote, q, a, figure, table, fieldset {
|
64
|
+
page-break-inside: avoid;
|
65
|
+
}
|
66
|
+
|
67
|
+
h1, h2, h3, h4, h5, h6, thead, header {
|
68
|
+
page-break-after: avoid;
|
69
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
.project-content .content {
|
2
|
+
@include grid-column;
|
3
|
+
@include breakpoint(tablet) {
|
4
|
+
@include grid-column(10);
|
5
|
+
@include grid-column-end;
|
6
|
+
}
|
7
|
+
@include breakpoint(medium) {
|
8
|
+
@include grid-column-offset(1);
|
9
|
+
@include grid-column(8);
|
10
|
+
@include grid-column-end;
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"name": "what-input",
|
3
|
+
"version": "4.0.6",
|
4
|
+
"homepage": "https://github.com/ten1seven/what-input",
|
5
|
+
"repository": {
|
6
|
+
"url": "https://github.com/ten1seven/what-input.git",
|
7
|
+
"type": "git"
|
8
|
+
},
|
9
|
+
"author": "Jeremy Fields <jeremy.fields@viget.com>",
|
10
|
+
"description": "A global utility for tracking the current input method (mouse, keyboard or touch).",
|
11
|
+
"main": "dist/what-input.js",
|
12
|
+
"keywords": [
|
13
|
+
"accessibility",
|
14
|
+
"a11y",
|
15
|
+
"input",
|
16
|
+
"javascript"
|
17
|
+
],
|
18
|
+
"license": "MIT",
|
19
|
+
"ignore": [
|
20
|
+
"**/.*",
|
21
|
+
"node_modules",
|
22
|
+
"bower_components",
|
23
|
+
"test",
|
24
|
+
"tests"
|
25
|
+
],
|
26
|
+
"_release": "4.0.6",
|
27
|
+
"_resolution": {
|
28
|
+
"type": "version",
|
29
|
+
"tag": "v4.0.6",
|
30
|
+
"commit": "c8e4018d6c6e6b998ad8bdbd0bee21a9f4fd154f"
|
31
|
+
},
|
32
|
+
"_source": "https://github.com/ten1seven/what-input.git",
|
33
|
+
"_target": "~4.0.3",
|
34
|
+
"_originalSource": "what-input"
|
35
|
+
}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
var banner = ['/**',
|
2
|
+
' * <%= pkg.name %> - <%= pkg.description %>',
|
3
|
+
' * @version v<%= pkg.version %>',
|
4
|
+
' * @link <%= pkg.homepage %>',
|
5
|
+
' * @license <%= pkg.license %>',
|
6
|
+
' */',
|
7
|
+
''].join('\n');
|
8
|
+
var browserSync = require('browser-sync').create();
|
9
|
+
var concat = require('gulp-concat');
|
10
|
+
var del = require('del');
|
11
|
+
var gulp = require('gulp');
|
12
|
+
var header = require('gulp-header');
|
13
|
+
var notify = require('gulp-notify');
|
14
|
+
var pkg = require('./package.json');
|
15
|
+
var plumber = require('gulp-plumber');
|
16
|
+
var rename = require('gulp-rename');
|
17
|
+
var runSequence = require('run-sequence');
|
18
|
+
var uglify = require('gulp-uglify');
|
19
|
+
var webpack = require('webpack-stream');
|
20
|
+
|
21
|
+
|
22
|
+
/*
|
23
|
+
--------------------
|
24
|
+
Clean task
|
25
|
+
--------------------
|
26
|
+
*/
|
27
|
+
|
28
|
+
gulp.task('clean', function () {
|
29
|
+
return del(['**/.DS_Store']);
|
30
|
+
});
|
31
|
+
|
32
|
+
|
33
|
+
/*
|
34
|
+
--------------------
|
35
|
+
Scripts tasks
|
36
|
+
--------------------
|
37
|
+
*/
|
38
|
+
|
39
|
+
gulp.task('scripts:main', function() {
|
40
|
+
return gulp.src(['./src/what-input.js'])
|
41
|
+
.pipe(webpack({
|
42
|
+
output: {
|
43
|
+
chunkFilename: '[name].js',
|
44
|
+
library: 'whatInput',
|
45
|
+
libraryTarget: 'umd',
|
46
|
+
umdNamedDefine: true
|
47
|
+
}
|
48
|
+
}))
|
49
|
+
.pipe(rename('what-input.js'))
|
50
|
+
.pipe(header(banner, { pkg : pkg } ))
|
51
|
+
.pipe(gulp.dest('./dist/'))
|
52
|
+
.pipe(uglify())
|
53
|
+
.pipe(rename({
|
54
|
+
suffix: '.min'
|
55
|
+
}))
|
56
|
+
.pipe(header(banner, { pkg : pkg } ))
|
57
|
+
.pipe(gulp.dest('./dist/'))
|
58
|
+
.pipe(notify('Build complete'));
|
59
|
+
});
|
60
|
+
|
61
|
+
gulp.task('scripts:ie8', function() {
|
62
|
+
return gulp.src(['./src/polyfills/ie8/*.js'])
|
63
|
+
.pipe(plumber({
|
64
|
+
errorHandler: notify.onError("Error: <%= error.message %>")
|
65
|
+
}))
|
66
|
+
.pipe(concat('lte-IE8.js'))
|
67
|
+
.pipe(uglify())
|
68
|
+
.pipe(gulp.dest('./dist/'))
|
69
|
+
.pipe(notify('IE8 scripts task complete'));
|
70
|
+
});
|
71
|
+
|
72
|
+
gulp.task('scripts', ['scripts:main', 'scripts:ie8']);
|
73
|
+
|
74
|
+
|
75
|
+
/*
|
76
|
+
--------------------
|
77
|
+
Default task
|
78
|
+
--------------------
|
79
|
+
*/
|
80
|
+
|
81
|
+
gulp.task('default', function() {
|
82
|
+
runSequence(
|
83
|
+
'clean',
|
84
|
+
[
|
85
|
+
'scripts'
|
86
|
+
],
|
87
|
+
function() {
|
88
|
+
browserSync.init({
|
89
|
+
server: {
|
90
|
+
baseDir: './'
|
91
|
+
}
|
92
|
+
});
|
93
|
+
|
94
|
+
gulp.watch([
|
95
|
+
'./src/what-input.js',
|
96
|
+
'./polyfills/*.js'
|
97
|
+
], ['scripts']).on('change', browserSync.reload);
|
98
|
+
|
99
|
+
gulp.watch([
|
100
|
+
'./*.html',
|
101
|
+
]).on('change', browserSync.reload);
|
102
|
+
}
|
103
|
+
);
|
104
|
+
});
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Jeremy Fields
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,178 @@
|
|
1
|
+
# What Input?
|
2
|
+
|
3
|
+
__A global utility for tracking the current input method (mouse, keyboard or touch).__
|
4
|
+
|
5
|
+
## What Input is now v4
|
6
|
+
|
7
|
+
What Input adds data attributes to the `<html>` tag based on the type of input being used. It also exposes a simple API that can be used for scripting interactions.
|
8
|
+
|
9
|
+
### Changes from v3
|
10
|
+
|
11
|
+
* `mousemove` and `pointermove` events no longer affect the `data-whatinput` attribute.
|
12
|
+
* A new `data-whatintent` attribute now works like v3. This change is intended to separate direct interaction from potential.
|
13
|
+
* Key logging and the corresponding `whatInput.keys()` API option have been removed.
|
14
|
+
* Event binding and attributes are now added to the `<html>` tag to eliminate the need to test for `DOMContentLoaded`.
|
15
|
+
* The `whatInput.set()` API option has been removed.
|
16
|
+
* A new set of `whatinput-types-[type]` classes are now added as inputs are detected. New classes are added but existing ones remain, creating the same output as what the `whatInput.types()` returns.
|
17
|
+
|
18
|
+
## How it works
|
19
|
+
|
20
|
+
What Input uses event bubbling on the `<html>` tag to watch for mouse, keyboard and touch events (via `mousedown`, `keydown` and `touchstart`). It then sets or updates a `data-whatinput` attribute.
|
21
|
+
|
22
|
+
Where present, Pointer Events are supported, but note that `pen` inputs are remapped to `touch`.
|
23
|
+
|
24
|
+
What Input also exposes a tiny API that allows the developer to ask for or set the current input.
|
25
|
+
|
26
|
+
_What Input does not make assumptions about the input environment before the page is directly interacted with._ However, the `mousemove` and `pointermove` events are used to set a `data-whatintent="mouse"` attribute to indicate that a mouse is being used _indirectly_.
|
27
|
+
|
28
|
+
### Interacting with Forms
|
29
|
+
|
30
|
+
Since interacting with a form requires use of the keyboard, What Input _does not switch the input type while form `<input>`s and `<textarea>`s are being interacted with_, preserving the last detected input type.
|
31
|
+
|
32
|
+
## Installing
|
33
|
+
|
34
|
+
Download the file directly...
|
35
|
+
|
36
|
+
or install via Bower...
|
37
|
+
|
38
|
+
```shell
|
39
|
+
bower install what-input
|
40
|
+
```
|
41
|
+
|
42
|
+
or install via NPM...
|
43
|
+
|
44
|
+
```shell
|
45
|
+
npm install what-input
|
46
|
+
```
|
47
|
+
|
48
|
+
## Usage
|
49
|
+
|
50
|
+
Include the script directly in your project.
|
51
|
+
|
52
|
+
```html
|
53
|
+
<script src="assets/scripts/what-input.js"></script>
|
54
|
+
```
|
55
|
+
|
56
|
+
Or require with a script loader.
|
57
|
+
|
58
|
+
```javascript
|
59
|
+
require('what-input');
|
60
|
+
|
61
|
+
// or
|
62
|
+
|
63
|
+
var whatInput = require('what-input');
|
64
|
+
```
|
65
|
+
|
66
|
+
What Input will start doing its thing while you do yours.
|
67
|
+
|
68
|
+
### Example Styling
|
69
|
+
|
70
|
+
```css
|
71
|
+
/**
|
72
|
+
* set a custom default :focus style
|
73
|
+
*/
|
74
|
+
|
75
|
+
/* default styling before what input executes */
|
76
|
+
:focus {
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
/* initial styling after what input has executed but before any interaction */
|
81
|
+
[data-whatinput="initial"] :focus {
|
82
|
+
outline: 2px dotted black;
|
83
|
+
}
|
84
|
+
|
85
|
+
/* mouse */
|
86
|
+
[data-whatinput="mouse"] :focus {
|
87
|
+
outline-color: red;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* keyboard */
|
91
|
+
[data-whatinput="keyboard"] :focus {
|
92
|
+
outline-color: green;
|
93
|
+
}
|
94
|
+
|
95
|
+
/* touch */
|
96
|
+
[data-whatinput="touch"] :focus {
|
97
|
+
outline-color: blue;
|
98
|
+
}
|
99
|
+
```
|
100
|
+
**Note:** If you remove outlines with `outline: none;`, be sure to provide clear visual `:focus` styles so the user can see which element they are on at any time for greater accessibility. Visit [W3C's WCAG 2.0 2.4.7 Guideline](https://www.w3.org/TR/UNDERSTANDING-WCAG20/navigation-mechanisms-focus-visible.html) to learn more.
|
101
|
+
|
102
|
+
### Scripting
|
103
|
+
|
104
|
+
#### Current Input
|
105
|
+
|
106
|
+
Ask What Input what the current input method is. This works best if asked after the events What Input is bound to (`mousedown`, `keydown` and `touchstart`).
|
107
|
+
|
108
|
+
```javascript
|
109
|
+
whatInput.ask(); // returns `mouse`, `keyboard` or `touch`
|
110
|
+
|
111
|
+
myButton.addEventListener('click', function() {
|
112
|
+
|
113
|
+
if (whatInput.ask() === 'mouse') {
|
114
|
+
// do mousy things
|
115
|
+
} else if (whatInput.ask() === 'keyboard') {
|
116
|
+
// do keyboard things
|
117
|
+
}
|
118
|
+
|
119
|
+
});
|
120
|
+
```
|
121
|
+
|
122
|
+
If it's necessary to know if `mousemove` is being used, use the `'loose'` option. For example:
|
123
|
+
|
124
|
+
```javascript
|
125
|
+
|
126
|
+
/*
|
127
|
+
nothing has happened but the mouse has moved
|
128
|
+
*/
|
129
|
+
|
130
|
+
whatInput.ask(); // returns `initial` because the page has not been directly interacted with
|
131
|
+
whatInput.ask('loose'); // returns `mouse` because mouse movement was detected
|
132
|
+
|
133
|
+
/*
|
134
|
+
the keyboard has been used, then the mouse was moved
|
135
|
+
*/
|
136
|
+
|
137
|
+
whatInput.ask(); // returns `keyboard` because the keyboard was the last direct page interaction
|
138
|
+
whatInput.ask('loose'); // returns `mouse` because mouse movement was the most recent action detected
|
139
|
+
```
|
140
|
+
|
141
|
+
Ask What Input to return an array of all the input types that have been used _so far_.
|
142
|
+
|
143
|
+
```javascript
|
144
|
+
whatInput.types(); // ex. returns ['mouse', 'keyboard']
|
145
|
+
```
|
146
|
+
|
147
|
+
## Compatibility
|
148
|
+
|
149
|
+
What Input works in all modern browsers. For compatibility with IE8, polyfills are required for:
|
150
|
+
|
151
|
+
* addEventListener
|
152
|
+
* IndexOf
|
153
|
+
|
154
|
+
Add your own, or grab the bundle included here.
|
155
|
+
|
156
|
+
```html
|
157
|
+
<!--[if lte IE 8]>
|
158
|
+
<script src="lte-IE8.js"></script>
|
159
|
+
<![endif]-->
|
160
|
+
```
|
161
|
+
|
162
|
+
## Demo
|
163
|
+
|
164
|
+
Check out the demo to see What Input in action.
|
165
|
+
|
166
|
+
http://ten1seven.github.io/what-input
|
167
|
+
|
168
|
+
## Acknowledgments
|
169
|
+
|
170
|
+
Special thanks to [Viget](http://viget.com/) for their encouragement and commitment to open source projects. Visit [code.viget.com](http://code.viget.com/) to see more projects from [Viget](http://viget.com).
|
171
|
+
|
172
|
+
Thanks to [mAAdhaTTah](https://github.com/mAAdhaTTah) for the initial conversion to Webpack.
|
173
|
+
|
174
|
+
What Input is written and maintained by [@ten1seven](https://github.com/ten1seven).
|
175
|
+
|
176
|
+
## License
|
177
|
+
|
178
|
+
What Input is freely available under the [MIT License](http://opensource.org/licenses/MIT).
|