TokiCLI 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +7 -0
- data/README.md +56 -10
- data/TokiCLI.gemspec +5 -2
- data/lib/API/dbapi.rb +104 -67
- data/lib/API/helpers.rb +47 -3
- data/lib/TokiCLI/app.rb +88 -12
- data/lib/TokiCLI/version.rb +1 -1
- data/lib/TokiCLI/view.rb +5 -1
- data/lib/TokiServer/Gemfile +6 -0
- data/lib/TokiServer/README.md +37 -0
- data/lib/TokiServer/bower.json +8 -0
- data/lib/TokiServer/bower_components/fastclick/.bower.json +23 -0
- data/lib/TokiServer/bower_components/fastclick/LICENSE +22 -0
- data/lib/TokiServer/bower_components/fastclick/README.md +133 -0
- data/lib/TokiServer/bower_components/fastclick/bower.json +13 -0
- data/lib/TokiServer/bower_components/fastclick/lib/fastclick.js +790 -0
- data/lib/TokiServer/bower_components/foundation/.bower.json +30 -0
- data/lib/TokiServer/bower_components/foundation/bower.json +20 -0
- data/lib/TokiServer/bower_components/foundation/css/foundation.css +4860 -0
- data/lib/TokiServer/bower_components/foundation/css/normalize.css +320 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation.js +5543 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation.min.js +3 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.abide.js +299 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.accordion.js +59 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.alert.js +43 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.clearing.js +534 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.dropdown.js +311 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.equalizer.js +74 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.interchange.js +331 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.joyride.js +843 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.js +611 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.magellan.js +178 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.offcanvas.js +108 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.orbit.js +610 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.reveal.js +437 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.slider.js +199 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.tab.js +167 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.tooltip.js +298 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.topbar.js +425 -0
- data/lib/TokiServer/bower_components/foundation/js/vendor/fastclick.js +9 -0
- data/lib/TokiServer/bower_components/foundation/js/vendor/jquery.cookie.js +8 -0
- data/lib/TokiServer/bower_components/foundation/js/vendor/jquery.js +26 -0
- data/lib/TokiServer/bower_components/foundation/js/vendor/modernizr.js +8 -0
- data/lib/TokiServer/bower_components/foundation/js/vendor/placeholder.js +2 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation.scss +45 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/_functions.scss +101 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/_settings.scss +1289 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_accordion.scss +53 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +126 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_block-grid.scss +132 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +127 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_button-groups.scss +108 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_buttons.scss +222 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_clearing.scss +247 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +129 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_dropdown.scss +248 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_flex-video.scss +51 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_forms.scss +498 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_global.scss +429 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_grid.scss +260 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_inline-lists.scss +57 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_joyride.scss +220 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_keystrokes.scss +61 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_labels.scss +104 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_magellan.scss +34 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_offcanvas.scss +355 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_orbit.scss +423 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_pagination.scss +150 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_panels.scss +90 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +150 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_progress-bars.scss +79 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_range-slider.scss +148 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_reveal-new.scss +0 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_reveal.scss +216 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_side-nav.scss +115 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_split-buttons.scss +191 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_sub-nav.scss +125 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_switch.scss +294 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tables.scss +129 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tabs.scss +109 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_thumbs.scss +68 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tooltips.scss +140 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_top-bar.scss +644 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_type.scss +511 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_visibility.scss +408 -0
- data/lib/TokiServer/bower_components/foundation/scss/normalize.scss +425 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/.bower.json +17 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/.gitattributes +1 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/.gitignore +1 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/LICENSE-MIT.txt +20 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/README.md +76 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/bower.json +5 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/demo.html +55 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/jquery.placeholder.js +185 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/tests/index.html +32 -0
- data/lib/TokiServer/bower_components/jquery-placeholder/tests/tests.js +134 -0
- data/lib/TokiServer/bower_components/jquery.cookie/.bower.json +28 -0
- data/lib/TokiServer/bower_components/jquery.cookie/jquery.cookie.js +117 -0
- data/lib/TokiServer/bower_components/jquery/.bower.json +37 -0
- data/lib/TokiServer/bower_components/jquery/MIT-LICENSE.txt +21 -0
- data/lib/TokiServer/bower_components/jquery/bower.json +27 -0
- data/lib/TokiServer/bower_components/jquery/dist/jquery.js +9190 -0
- data/lib/TokiServer/bower_components/jquery/dist/jquery.min.js +5 -0
- data/lib/TokiServer/bower_components/jquery/dist/jquery.min.map +1 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax.js +806 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/jsonp.js +89 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/load.js +75 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/parseJSON.js +13 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/parseXML.js +28 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/script.js +64 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/var/nonce.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/var/rquery.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/ajax/xhr.js +135 -0
- data/lib/TokiServer/bower_components/jquery/src/attributes.js +11 -0
- data/lib/TokiServer/bower_components/jquery/src/attributes/attr.js +143 -0
- data/lib/TokiServer/bower_components/jquery/src/attributes/classes.js +158 -0
- data/lib/TokiServer/bower_components/jquery/src/attributes/prop.js +96 -0
- data/lib/TokiServer/bower_components/jquery/src/attributes/support.js +35 -0
- data/lib/TokiServer/bower_components/jquery/src/attributes/val.js +163 -0
- data/lib/TokiServer/bower_components/jquery/src/callbacks.js +205 -0
- data/lib/TokiServer/bower_components/jquery/src/core.js +498 -0
- data/lib/TokiServer/bower_components/jquery/src/core/access.js +60 -0
- data/lib/TokiServer/bower_components/jquery/src/core/init.js +123 -0
- data/lib/TokiServer/bower_components/jquery/src/core/parseHTML.js +39 -0
- data/lib/TokiServer/bower_components/jquery/src/core/ready.js +97 -0
- data/lib/TokiServer/bower_components/jquery/src/core/var/rsingleTag.js +4 -0
- data/lib/TokiServer/bower_components/jquery/src/css.js +451 -0
- data/lib/TokiServer/bower_components/jquery/src/css/addGetHookIf.js +24 -0
- data/lib/TokiServer/bower_components/jquery/src/css/curCSS.js +57 -0
- data/lib/TokiServer/bower_components/jquery/src/css/defaultDisplay.js +70 -0
- data/lib/TokiServer/bower_components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/lib/TokiServer/bower_components/jquery/src/css/support.js +91 -0
- data/lib/TokiServer/bower_components/jquery/src/css/swap.js +28 -0
- data/lib/TokiServer/bower_components/jquery/src/css/var/cssExpand.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/css/var/getStyles.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/css/var/isHidden.js +13 -0
- data/lib/TokiServer/bower_components/jquery/src/css/var/rmargin.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/css/var/rnumnonpx.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/data.js +179 -0
- data/lib/TokiServer/bower_components/jquery/src/data/Data.js +181 -0
- data/lib/TokiServer/bower_components/jquery/src/data/accepts.js +20 -0
- data/lib/TokiServer/bower_components/jquery/src/data/var/data_priv.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/data/var/data_user.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/deferred.js +149 -0
- data/lib/TokiServer/bower_components/jquery/src/deprecated.js +13 -0
- data/lib/TokiServer/bower_components/jquery/src/dimensions.js +50 -0
- data/lib/TokiServer/bower_components/jquery/src/effects.js +649 -0
- data/lib/TokiServer/bower_components/jquery/src/effects/Tween.js +114 -0
- data/lib/TokiServer/bower_components/jquery/src/effects/animatedSelector.js +13 -0
- data/lib/TokiServer/bower_components/jquery/src/event.js +868 -0
- data/lib/TokiServer/bower_components/jquery/src/event/alias.js +39 -0
- data/lib/TokiServer/bower_components/jquery/src/event/support.js +9 -0
- data/lib/TokiServer/bower_components/jquery/src/exports/amd.js +24 -0
- data/lib/TokiServer/bower_components/jquery/src/exports/global.js +32 -0
- data/lib/TokiServer/bower_components/jquery/src/intro.js +44 -0
- data/lib/TokiServer/bower_components/jquery/src/jquery.js +36 -0
- data/lib/TokiServer/bower_components/jquery/src/manipulation.js +582 -0
- data/lib/TokiServer/bower_components/jquery/src/manipulation/_evalUrl.js +18 -0
- data/lib/TokiServer/bower_components/jquery/src/manipulation/support.js +31 -0
- data/lib/TokiServer/bower_components/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/offset.js +204 -0
- data/lib/TokiServer/bower_components/jquery/src/outro.js +1 -0
- data/lib/TokiServer/bower_components/jquery/src/queue.js +142 -0
- data/lib/TokiServer/bower_components/jquery/src/queue/delay.js +22 -0
- data/lib/TokiServer/bower_components/jquery/src/selector-native.js +172 -0
- data/lib/TokiServer/bower_components/jquery/src/selector-sizzle.js +14 -0
- data/lib/TokiServer/bower_components/jquery/src/selector.js +1 -0
- data/lib/TokiServer/bower_components/jquery/src/serialize.js +111 -0
- data/lib/TokiServer/bower_components/jquery/src/sizzle/dist/sizzle.js +2044 -0
- data/lib/TokiServer/bower_components/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/lib/TokiServer/bower_components/jquery/src/traversing.js +200 -0
- data/lib/TokiServer/bower_components/jquery/src/traversing/findFilter.js +100 -0
- data/lib/TokiServer/bower_components/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/lib/TokiServer/bower_components/jquery/src/var/arr.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/var/class2type.js +4 -0
- data/lib/TokiServer/bower_components/jquery/src/var/concat.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/var/hasOwn.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/var/indexOf.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/var/pnum.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/var/push.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/var/rnotwhite.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/var/slice.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/var/strundefined.js +3 -0
- data/lib/TokiServer/bower_components/jquery/src/var/support.js +4 -0
- data/lib/TokiServer/bower_components/jquery/src/var/toString.js +5 -0
- data/lib/TokiServer/bower_components/jquery/src/wrap.js +78 -0
- data/lib/TokiServer/bower_components/modernizr/.bower.json +14 -0
- data/lib/TokiServer/bower_components/modernizr/.editorconfig +10 -0
- data/lib/TokiServer/bower_components/modernizr/.gitignore +2 -0
- data/lib/TokiServer/bower_components/modernizr/.travis.yml +6 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/a-download.js +8 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/audio-audiodata-api.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/audio-webaudio-api.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/battery-api.js +8 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/battery-level.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/blob-constructor.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/canvas-todataurl-type.js +28 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/contenteditable.js +9 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/contentsecuritypolicy.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/contextmenu.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/cookies.js +15 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/cors.js +3 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js +19 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-backgroundposition-xy.js +15 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-backgroundrepeat.js +31 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-backgroundsizecover.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-boxsizing.js +9 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-calc.js +12 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-cubicbezierrange.js +8 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-displayrunin.js +18 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-displaytable.js +27 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-filters.js +7 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-hyphens.js +205 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-lastchild.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-mask.js +12 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-mediaqueries.js +3 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-objectfit.js +6 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-overflow-scrolling.js +9 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-pointerevents.js +25 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-positionsticky.js +13 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-regions.js +55 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-remunit.js +19 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-resize.js +8 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-scrollbars.js +19 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-shapes.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-subpixelfont.js +23 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-supports.js +6 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-userselect.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-vhunit.js +14 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-vmaxunit.js +14 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-vminunit.js +14 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/css-vwunit.js +14 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/custom-protocol-handler.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/dart.js +6 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/dataview-api.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/dom-classlist.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/dom-createElement-attrs.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/dom-dataset.js +9 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/dom-microdata.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/elem-datalist.js +12 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/elem-details.js +25 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/elem-output.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/elem-progress-meter.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/elem-ruby.js +53 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/elem-time.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/elem-track.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/emoji.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/es5-strictmode.js +7 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/event-deviceorientation-motion.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/exif-orientation.js +32 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/file-api.js +12 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/file-filesystem.js +9 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/forms-fileinput.js +13 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/forms-formattribute.js +29 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/forms-inputnumber-l10n.js +32 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/forms-placeholder.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/forms-speechinput.js +19 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/forms-validation.js +62 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/fullscreen-api.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/gamepad.js +12 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/getusermedia.js +5 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/ie8compat.js +12 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/iframe-sandbox.js +5 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/iframe-seamless.js +5 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/iframe-srcdoc.js +5 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/img-apng.js +26 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/img-webp.js +20 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/json.js +7 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/lists-reversed.js +6 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/mathml.js +23 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/network-connection.js +22 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/network-eventsource.js +5 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/network-xhr2.js +13 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/notification.js +10 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/performance.js +5 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/pointerlock-api.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/quota-management-api.js +11 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/requestanimationframe.js +7 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/script-async.js +3 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/script-defer.js +3 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/style-scoped.js +6 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/svg-filters.js +13 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/unicode.js +32 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/url-data-uri.js +26 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/userdata.js +7 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/vibration.js +4 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/web-intents.js +6 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/webgl-extensions.js +42 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/websockets-binary.js +20 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/window-framed.js +8 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/workers-blobworkers.js +66 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/workers-dataworkers.js +34 -0
- data/lib/TokiServer/bower_components/modernizr/feature-detects/workers-sharedworkers.js +3 -0
- data/lib/TokiServer/bower_components/modernizr/grunt.js +69 -0
- data/lib/TokiServer/bower_components/modernizr/media/Modernizr 2 Logo.ai +292 -1
- data/lib/TokiServer/bower_components/modernizr/media/Modernizr 2 Logo.eps +0 -0
- data/lib/TokiServer/bower_components/modernizr/media/Modernizr 2 Logo.pdf +292 -1
- data/lib/TokiServer/bower_components/modernizr/media/Modernizr 2 Logo.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/media/Modernizr 2 Logo.svg +35 -0
- data/lib/TokiServer/bower_components/modernizr/modernizr.js +1406 -0
- data/lib/TokiServer/bower_components/modernizr/readme.md +28 -0
- data/lib/TokiServer/bower_components/modernizr/test/basic.html +65 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse.html +1451 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/Windsong-webfont.eot +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/Windsong-webfont.otf +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/Windsong-webfont.svg +147 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/Windsong-webfont.ttf +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/Windsong-webfont.woff +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/alpha.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/apng_test.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/before-after.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/form_validation.html +15 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/ga.js +43 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/green5x5.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/hashchange.html +16 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/jquery.min.js +18 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/mathml.html +120 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/mathml_ref.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/modernizr-1.7.min.js +2 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/png_alpha_result.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/pushstate.html +40 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/red30x30.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/ruby.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/stroked-text.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/style.css +168 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/svg-html-blur.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/svg-img.svg +5 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/svg-img.svg.1 +5 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/svg_blur.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/table.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/text-shadow1.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/text-shadow2.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/windsong_font.png +0 -0
- data/lib/TokiServer/bower_components/modernizr/test/caniuse_files/xhtml.html +14 -0
- data/lib/TokiServer/bower_components/modernizr/test/index.html +104 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/basic.html +65 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/dumpdata.js +75 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/lib/detect-global.js +153 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/lib/jquery-1.7b2.js +9279 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/lib/jsonselect.js +279 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/lib/polyfills.js +96 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/lib/uaparser.js +215 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/setup.js +44 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/unit-caniuse.js +191 -0
- data/lib/TokiServer/bower_components/modernizr/test/js/unit.js +669 -0
- data/lib/TokiServer/bower_components/modernizr/test/qunit/qunit.css +231 -0
- data/lib/TokiServer/bower_components/modernizr/test/qunit/qunit.js +1932 -0
- data/lib/TokiServer/bower_components/modernizr/test/qunit/run-qunit.js +72 -0
- data/lib/TokiServer/config.rb +25 -0
- data/lib/TokiServer/humans.txt +8 -0
- data/lib/TokiServer/itunesicon.rb +60 -0
- data/lib/TokiServer/js/app.js +3 -0
- data/lib/TokiServer/public/stylesheets/app.css +8094 -0
- data/lib/TokiServer/robots.txt +4 -0
- data/lib/TokiServer/scss/_settings.scss +1240 -0
- data/lib/TokiServer/scss/app.scss +102 -0
- data/lib/TokiServer/tokiserver.rb +377 -0
- data/lib/TokiServer/views/apps_total.erb +28 -0
- data/lib/TokiServer/views/error.erb +25 -0
- data/lib/TokiServer/views/index.erb +191 -0
- data/lib/TokiServer/views/layout.erb +20 -0
- data/lib/TokiServer/views/name_log.erb +50 -0
- data/lib/TokiServer/views/name_split.erb +37 -0
- data/lib/TokiServer/views/name_total.erb +34 -0
- metadata +416 -4
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
// Foundation by ZURB
|
|
2
|
+
// foundation.zurb.com
|
|
3
|
+
// Licensed under MIT Open Source
|
|
4
|
+
|
|
5
|
+
@import "../functions";
|
|
6
|
+
//
|
|
7
|
+
// Foundation Variables
|
|
8
|
+
//
|
|
9
|
+
|
|
10
|
+
// Data attribute namespace
|
|
11
|
+
// styles get applied to [data-mysite-plugin], etc
|
|
12
|
+
$namespace: false !default;
|
|
13
|
+
|
|
14
|
+
// Control the inclusion of experimental properties
|
|
15
|
+
$experimental: true !default;
|
|
16
|
+
|
|
17
|
+
// The default font-size is set to 100% of the browser style sheet (usually 16px)
|
|
18
|
+
// for compatibility with browser-based text zoom or user-set defaults.
|
|
19
|
+
|
|
20
|
+
// Since the typical default browser font-size is 16px, that makes the calculation for grid size.
|
|
21
|
+
// If you want your base font-size to be different and not have it affect the grid breakpoints,
|
|
22
|
+
// set $rem-base to $base-font-size and make sure $base-font-size is a px value.
|
|
23
|
+
$base-font-size: 100% !default;
|
|
24
|
+
|
|
25
|
+
// $base-line-height is 24px while $base-font-size is 16px
|
|
26
|
+
$base-line-height: 150% !default;
|
|
27
|
+
|
|
28
|
+
//
|
|
29
|
+
// Global Foundation Mixins
|
|
30
|
+
//
|
|
31
|
+
|
|
32
|
+
// @mixins
|
|
33
|
+
//
|
|
34
|
+
// We use this to optionally include experimental or
|
|
35
|
+
// explicitly vendor prefixed properties
|
|
36
|
+
@mixin experimental() {
|
|
37
|
+
@if $experimental {
|
|
38
|
+
@content;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// @mixins
|
|
43
|
+
//
|
|
44
|
+
// We use this to control border radius.
|
|
45
|
+
// $radius - Default: $global-radius || 4px
|
|
46
|
+
@mixin radius($radius:$global-radius) {
|
|
47
|
+
@if $radius {
|
|
48
|
+
border-radius: $radius;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// @mixins
|
|
53
|
+
//
|
|
54
|
+
// We use this to create equal side border radius on elements.
|
|
55
|
+
// $side - Options: left, right, top, bottom
|
|
56
|
+
@mixin side-radius($side, $radius:$global-radius) {
|
|
57
|
+
@if ($side == left or $side == right) {
|
|
58
|
+
border-bottom-#{$side}-radius: $radius;
|
|
59
|
+
border-top-#{$side}-radius: $radius;
|
|
60
|
+
} @else {
|
|
61
|
+
border-#{$side}-left-radius: $radius;
|
|
62
|
+
border-#{$side}-right-radius: $radius;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// @mixins
|
|
67
|
+
//
|
|
68
|
+
// We can control whether or not we have inset shadows edges.
|
|
69
|
+
// $active - Default: true, Options: false
|
|
70
|
+
@mixin inset-shadow($active:true) {
|
|
71
|
+
box-shadow: $shiny-edge-size $shiny-edge-color inset;
|
|
72
|
+
|
|
73
|
+
@if $active { &:active {
|
|
74
|
+
box-shadow: $shiny-edge-size $shiny-edge-active-color inset; } }
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// @mixins
|
|
78
|
+
//
|
|
79
|
+
// We use this to add transitions to elements
|
|
80
|
+
// $property - Default: all, Options: http://www.w3.org/TR/css3-transitions/#animatable-properties
|
|
81
|
+
// $speed - Default: 300ms
|
|
82
|
+
// $ease - Default:ease-out, Options: http://css-tricks.com/almanac/properties/t/transition-timing-function/
|
|
83
|
+
@mixin single-transition($property:all, $speed:300ms, $ease:ease-out) {
|
|
84
|
+
transition: $property $speed $ease;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// @mixins
|
|
88
|
+
//
|
|
89
|
+
// We use this to add box-sizing across browser prefixes
|
|
90
|
+
@mixin box-sizing($type:border-box) {
|
|
91
|
+
-webkit-box-sizing: $type; // Android < 2.3, iOS < 4
|
|
92
|
+
-moz-box-sizing: $type; // Firefox < 29
|
|
93
|
+
box-sizing: $type; // Chrome, IE 8+, Opera, Safari 5.1
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// @mixins
|
|
97
|
+
//
|
|
98
|
+
// We use this to create isosceles triangles
|
|
99
|
+
// $triangle-size - Used to set border-size. No default, set a px or em size.
|
|
100
|
+
// $triangle-color - Used to set border-color which makes up triangle. No default
|
|
101
|
+
// $triangle-direction - Used to determine which direction triangle points. Options: top, bottom, left, right
|
|
102
|
+
@mixin css-triangle($triangle-size, $triangle-color, $triangle-direction) {
|
|
103
|
+
content: "";
|
|
104
|
+
display: block;
|
|
105
|
+
width: 0;
|
|
106
|
+
height: 0;
|
|
107
|
+
border: inset $triangle-size;
|
|
108
|
+
@if ($triangle-direction == top) {
|
|
109
|
+
border-color: $triangle-color transparent transparent transparent;
|
|
110
|
+
border-top-style: solid;
|
|
111
|
+
}
|
|
112
|
+
@if ($triangle-direction == bottom) {
|
|
113
|
+
border-color: transparent transparent $triangle-color transparent;
|
|
114
|
+
border-bottom-style: solid;
|
|
115
|
+
}
|
|
116
|
+
@if ($triangle-direction == left) {
|
|
117
|
+
border-color: transparent transparent transparent $triangle-color;
|
|
118
|
+
border-left-style: solid;
|
|
119
|
+
}
|
|
120
|
+
@if ($triangle-direction == right) {
|
|
121
|
+
border-color: transparent $triangle-color transparent transparent;
|
|
122
|
+
border-right-style: solid;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// @mixins
|
|
127
|
+
//
|
|
128
|
+
// We use this to create the icon with three lines aka the hamburger icon, the menu-icon or the navicon
|
|
129
|
+
// $width - Width of hamburger icon in rem
|
|
130
|
+
// $left - If false, icon will be centered horizontally || explicitly set value in rem
|
|
131
|
+
// $top - If false, icon will be centered vertically || explicitly set value in rem
|
|
132
|
+
// $thickness - thickness of lines in hamburger icon, set value in px
|
|
133
|
+
// $gap - spacing between the lines in hamburger icon, set value in px
|
|
134
|
+
// $color - icon color
|
|
135
|
+
// $hover-color - icon color during hover
|
|
136
|
+
// $offcanvas - Set to true of @include in offcanvas
|
|
137
|
+
@mixin hamburger($width, $left, $top, $thickness, $gap, $color, $hover-color, $offcanvas) {
|
|
138
|
+
span:after {
|
|
139
|
+
content: '';
|
|
140
|
+
position: absolute;
|
|
141
|
+
display: block;
|
|
142
|
+
height: 0;
|
|
143
|
+
|
|
144
|
+
@if $offcanvas {
|
|
145
|
+
@if $top {
|
|
146
|
+
top: $top;
|
|
147
|
+
}
|
|
148
|
+
@else {
|
|
149
|
+
top: 50%;
|
|
150
|
+
margin-top: -$width/2;
|
|
151
|
+
}
|
|
152
|
+
@if $left {
|
|
153
|
+
left: $left;
|
|
154
|
+
}
|
|
155
|
+
@else {
|
|
156
|
+
left: ($tabbar-menu-icon-width - $width)/2;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
box-shadow:
|
|
161
|
+
0 0px 0 $thickness $color,
|
|
162
|
+
0 $gap + $thickness 0 $thickness $color,
|
|
163
|
+
0 (2 * $gap + 2*$thickness) 0 $thickness $color;
|
|
164
|
+
width: $width;
|
|
165
|
+
}
|
|
166
|
+
span:hover:after {
|
|
167
|
+
box-shadow:
|
|
168
|
+
0 0px 0 $thickness $hover-color,
|
|
169
|
+
0 $gap + $thickness 0 $thickness $hover-color,
|
|
170
|
+
0 (2 * $gap + 2*$thickness) 0 $thickness $hover-color;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// We use this to do clear floats
|
|
175
|
+
@mixin clearfix {
|
|
176
|
+
&:before, &:after { content: " "; display: table; }
|
|
177
|
+
&:after { clear: both; }
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// @mixins
|
|
181
|
+
//
|
|
182
|
+
// We use this to add a glowing effect to block elements
|
|
183
|
+
// $selector - Used for selector state. Default: focus, Options: hover, active, visited
|
|
184
|
+
// $fade-time - Default: 300ms
|
|
185
|
+
// $glowing-effect-color - Default: fade-out($primary-color, .25)
|
|
186
|
+
@mixin block-glowing-effect($selector:focus, $fade-time:300ms, $glowing-effect-color:fade-out($primary-color, .25)) {
|
|
187
|
+
transition: box-shadow $fade-time, border-color $fade-time ease-in-out;
|
|
188
|
+
|
|
189
|
+
&:#{$selector} {
|
|
190
|
+
box-shadow: 0 0 5px $glowing-effect-color;
|
|
191
|
+
border-color: $glowing-effect-color;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// @mixins
|
|
196
|
+
//
|
|
197
|
+
// We use this to translate elements in 2D
|
|
198
|
+
// $horizontal: Default: 0
|
|
199
|
+
// $vertical: Default: 0
|
|
200
|
+
@mixin translate2d($horizontal:0, $vertical:0) {
|
|
201
|
+
transform: translate($horizontal,$vertical)
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// @mixins
|
|
205
|
+
//
|
|
206
|
+
// Makes an element visually hidden, but accessible.
|
|
207
|
+
// @see http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
|
208
|
+
@mixin element-invisible {
|
|
209
|
+
position: absolute !important;
|
|
210
|
+
height: 1px;
|
|
211
|
+
width: 1px;
|
|
212
|
+
overflow: hidden;
|
|
213
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// @mixins
|
|
217
|
+
//
|
|
218
|
+
// Turns off the element-invisible effect.
|
|
219
|
+
@mixin element-invisible-off {
|
|
220
|
+
position: static !important;
|
|
221
|
+
height: auto;
|
|
222
|
+
width: auto;
|
|
223
|
+
overflow: visible;
|
|
224
|
+
clip: auto;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// We use these to define default font weights
|
|
228
|
+
$font-weight-normal: normal !default;
|
|
229
|
+
$font-weight-bold: bold !default;
|
|
230
|
+
|
|
231
|
+
// We use these to control various global styles
|
|
232
|
+
$body-bg: #fff !default;
|
|
233
|
+
$body-font-color: #222 !default;
|
|
234
|
+
$body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
|
|
235
|
+
$body-font-weight: $font-weight-normal !default;
|
|
236
|
+
$body-font-style: normal !default;
|
|
237
|
+
|
|
238
|
+
// We use this to control font-smoothing
|
|
239
|
+
$font-smoothing: antialiased !default;
|
|
240
|
+
|
|
241
|
+
// We use these to control text direction settings
|
|
242
|
+
$text-direction: ltr !default;
|
|
243
|
+
$default-float: left !default;
|
|
244
|
+
$opposite-direction: right !default;
|
|
245
|
+
@if $text-direction == ltr {
|
|
246
|
+
$default-float: left;
|
|
247
|
+
$opposite-direction: right;
|
|
248
|
+
} @else {
|
|
249
|
+
$default-float: right;
|
|
250
|
+
$opposite-direction: left;
|
|
251
|
+
}
|
|
252
|
+
// We use these as default colors throughout
|
|
253
|
+
$primary-color: #008CBA !default;
|
|
254
|
+
$secondary-color: #e7e7e7 !default;
|
|
255
|
+
$alert-color: #f04124 !default;
|
|
256
|
+
$success-color: #43AC6A !default;
|
|
257
|
+
$warning-color: #f08a24 !default;
|
|
258
|
+
$info-color: #a0d3e8 !default;
|
|
259
|
+
|
|
260
|
+
// We use these to make sure border radius matches unless we want it different.
|
|
261
|
+
$global-radius: 3px !default;
|
|
262
|
+
$global-rounded: 1000px !default;
|
|
263
|
+
|
|
264
|
+
// We use these to control inset shadow shiny edges and depressions.
|
|
265
|
+
$shiny-edge-size: 0 1px 0 !default;
|
|
266
|
+
$shiny-edge-color: rgba(#fff, .5) !default;
|
|
267
|
+
$shiny-edge-active-color: rgba(#000, .2) !default;
|
|
268
|
+
|
|
269
|
+
// We use this to control whether or not CSS classes come through in the gem files.
|
|
270
|
+
$include-html-classes: true !default;
|
|
271
|
+
$include-print-styles: true !default;
|
|
272
|
+
$include-html-global-classes: $include-html-classes !default;
|
|
273
|
+
|
|
274
|
+
$column-gutter: rem-calc(30) !default;
|
|
275
|
+
|
|
276
|
+
// Media Query Ranges
|
|
277
|
+
$small-range: (0em, 40em) !default;
|
|
278
|
+
$medium-range: (40.063em, 64em) !default;
|
|
279
|
+
$large-range: (64.063em, 90em) !default;
|
|
280
|
+
$xlarge-range: (90.063em, 120em) !default;
|
|
281
|
+
$xxlarge-range: (120.063em, 99999999em) !default;
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
$screen: "only screen" !default;
|
|
285
|
+
|
|
286
|
+
$landscape: "#{$screen} and (orientation: landscape)" !default;
|
|
287
|
+
$portrait: "#{$screen} and (orientation: portrait)" !default;
|
|
288
|
+
|
|
289
|
+
$small-up: $screen !default;
|
|
290
|
+
$small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})" !default;
|
|
291
|
+
|
|
292
|
+
$medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})" !default;
|
|
293
|
+
$medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})" !default;
|
|
294
|
+
|
|
295
|
+
$large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})" !default;
|
|
296
|
+
$large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})" !default;
|
|
297
|
+
|
|
298
|
+
$xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})" !default;
|
|
299
|
+
$xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})" !default;
|
|
300
|
+
|
|
301
|
+
$xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})" !default;
|
|
302
|
+
$xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})" !default;
|
|
303
|
+
|
|
304
|
+
// Legacy
|
|
305
|
+
$small: $medium-up;
|
|
306
|
+
$medium: $medium-up;
|
|
307
|
+
$large: $large-up;
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
//We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
|
|
311
|
+
$cursor-crosshair-value: crosshair !default;
|
|
312
|
+
$cursor-default-value: default !default;
|
|
313
|
+
$cursor-pointer-value: pointer !default;
|
|
314
|
+
$cursor-help-value: help !default;
|
|
315
|
+
$cursor-text-value: text !default;
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
@include exports("global") {
|
|
319
|
+
|
|
320
|
+
// Meta styles are included in all builds, as they are a dependancy of the Javascript.
|
|
321
|
+
// Used to provide media query values for javascript components.
|
|
322
|
+
// Forward slash placed around everything to convince PhantomJS to read the value.
|
|
323
|
+
|
|
324
|
+
meta.foundation-version {
|
|
325
|
+
font-family: "/5.2.3/";
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
meta.foundation-mq-small {
|
|
329
|
+
font-family: "/" + unquote($small-up) + "/";
|
|
330
|
+
width: lower-bound($small-range);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
meta.foundation-mq-medium {
|
|
334
|
+
font-family: "/" + unquote($medium-up) + "/";
|
|
335
|
+
width: lower-bound($medium-range);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
meta.foundation-mq-large {
|
|
339
|
+
font-family: "/" + unquote($large-up) + "/";
|
|
340
|
+
width: lower-bound($large-range);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
meta.foundation-mq-xlarge {
|
|
344
|
+
font-family: "/" + unquote($xlarge-up) + "/";
|
|
345
|
+
width: lower-bound($xlarge-range);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
meta.foundation-mq-xxlarge {
|
|
349
|
+
font-family: "/" + unquote($xxlarge-up) + "/";
|
|
350
|
+
width: lower-bound($xxlarge-range);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
meta.foundation-data-attribute-namespace {
|
|
354
|
+
font-family: #{$namespace};
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
@if $include-html-global-classes {
|
|
358
|
+
|
|
359
|
+
// Must be 100% for off canvas to work
|
|
360
|
+
html, body { height: 100%; }
|
|
361
|
+
|
|
362
|
+
// Set box-sizing globally to handle padding and border widths
|
|
363
|
+
*,
|
|
364
|
+
*:before,
|
|
365
|
+
*:after {
|
|
366
|
+
@include box-sizing(border-box);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
html,
|
|
370
|
+
body { font-size: $base-font-size; }
|
|
371
|
+
|
|
372
|
+
// Default body styles
|
|
373
|
+
body {
|
|
374
|
+
background: $body-bg;
|
|
375
|
+
color: $body-font-color;
|
|
376
|
+
padding: 0;
|
|
377
|
+
margin: 0;
|
|
378
|
+
font-family: $body-font-family;
|
|
379
|
+
font-weight: $body-font-weight;
|
|
380
|
+
font-style: $body-font-style;
|
|
381
|
+
line-height: 1; // Set to $base-line-height to take on browser default of 150%
|
|
382
|
+
position: relative;
|
|
383
|
+
cursor: $cursor-default-value;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
a:hover { cursor: $cursor-pointer-value; }
|
|
387
|
+
|
|
388
|
+
// Grid Defaults to get images and embeds to work properly
|
|
389
|
+
img { max-width: 100%; height: auto; }
|
|
390
|
+
|
|
391
|
+
img { -ms-interpolation-mode: bicubic; }
|
|
392
|
+
|
|
393
|
+
#map_canvas,
|
|
394
|
+
.map_canvas {
|
|
395
|
+
img,
|
|
396
|
+
embed,
|
|
397
|
+
object { max-width: none !important;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
// Miscellaneous useful HTML classes
|
|
402
|
+
.left { float: left !important; }
|
|
403
|
+
.right { float: right !important; }
|
|
404
|
+
.clearfix { @include clearfix; }
|
|
405
|
+
.hide { display: none; }
|
|
406
|
+
|
|
407
|
+
// Font smoothing
|
|
408
|
+
// Antialiased font smoothing works best for light text on a dark background.
|
|
409
|
+
// Apply to single elements instead of globally to body.
|
|
410
|
+
// Note this only applies to webkit-based desktop browsers and Firefox 25 (and later) on the Mac.
|
|
411
|
+
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
|
412
|
+
|
|
413
|
+
// Get rid of gap under images by making them display: inline-block; by default
|
|
414
|
+
img {
|
|
415
|
+
display: inline-block;
|
|
416
|
+
vertical-align: middle;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
//
|
|
420
|
+
// Global resets for forms
|
|
421
|
+
//
|
|
422
|
+
|
|
423
|
+
// Make sure textarea takes on height automatically
|
|
424
|
+
textarea { height: auto; min-height: 50px; }
|
|
425
|
+
|
|
426
|
+
// Make select elements 100% width by default
|
|
427
|
+
select { width: 100%; }
|
|
428
|
+
}
|
|
429
|
+
}
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
// Foundation by ZURB
|
|
2
|
+
// foundation.zurb.com
|
|
3
|
+
// Licensed under MIT Open Source
|
|
4
|
+
|
|
5
|
+
@import "global";
|
|
6
|
+
|
|
7
|
+
//
|
|
8
|
+
// @variables
|
|
9
|
+
//
|
|
10
|
+
$include-html-grid-classes: $include-html-classes !default;
|
|
11
|
+
$include-xl-html-grid-classes: false !default;
|
|
12
|
+
|
|
13
|
+
$row-width: rem-calc(1000) !default;
|
|
14
|
+
$total-columns: 12 !default;
|
|
15
|
+
|
|
16
|
+
//
|
|
17
|
+
// Grid Functions
|
|
18
|
+
//
|
|
19
|
+
|
|
20
|
+
// Deprecated: We'll drop support for this in 5.1, use grid-calc()
|
|
21
|
+
@function gridCalc($colNumber, $totalColumns) {
|
|
22
|
+
@warn "gridCalc() is deprecated, use grid-calc()";
|
|
23
|
+
@return grid-calc($colNumber, $totalColumns);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// @FUNCTION
|
|
27
|
+
// $colNumber - Found in settings file
|
|
28
|
+
// $totalColumns - Found in settings file
|
|
29
|
+
@function grid-calc($colNumber, $totalColumns) {
|
|
30
|
+
@return percentage(($colNumber / $totalColumns));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
//
|
|
34
|
+
// @mixins
|
|
35
|
+
//
|
|
36
|
+
|
|
37
|
+
// For creating container, nested, and collapsed rows.
|
|
38
|
+
//
|
|
39
|
+
//
|
|
40
|
+
// $behavior - Any special behavior for this row? Default: false. Options: nest, collapse, nest-collapse, false.
|
|
41
|
+
@mixin grid-row($behavior: false) {
|
|
42
|
+
|
|
43
|
+
// use @include grid-row(nest); to include a nested row
|
|
44
|
+
@if $behavior == nest {
|
|
45
|
+
width: auto;
|
|
46
|
+
margin-#{$default-float}: -($column-gutter/2);
|
|
47
|
+
margin-#{$opposite-direction}: -($column-gutter/2);
|
|
48
|
+
margin-top: 0;
|
|
49
|
+
margin-bottom: 0;
|
|
50
|
+
max-width: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// use @include grid-row(collapse); to collapsed a container row margins
|
|
54
|
+
@else if $behavior == collapse {
|
|
55
|
+
width: 100%;
|
|
56
|
+
margin: 0;
|
|
57
|
+
max-width: $row-width;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// use @include grid-row(nest-collapse); to collapse outer margins on a nested row
|
|
61
|
+
@else if $behavior == nest-collapse {
|
|
62
|
+
width: auto;
|
|
63
|
+
margin: 0;
|
|
64
|
+
max-width: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// use @include grid-row; to use a container row
|
|
68
|
+
@else {
|
|
69
|
+
width: 100%;
|
|
70
|
+
margin-#{$default-float}: auto;
|
|
71
|
+
margin-#{$opposite-direction}: auto;
|
|
72
|
+
margin-top: 0;
|
|
73
|
+
margin-bottom: 0;
|
|
74
|
+
max-width: $row-width;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Clearfix for all rows
|
|
78
|
+
@include clearfix();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Creates a column, should be used inside of a media query to control layouts
|
|
82
|
+
//
|
|
83
|
+
// $columns - The number of columns this should be
|
|
84
|
+
// $last-column - Is this the last column? Default: false.
|
|
85
|
+
// $center - Center these columns? Default: false.
|
|
86
|
+
// $offset - # of columns to offset. Default: false.
|
|
87
|
+
// $push - # of columns to push. Default: false.
|
|
88
|
+
// $pull - # of columns to pull. Default: false.
|
|
89
|
+
// $collapse - Get rid of gutter padding on column? Default: false.
|
|
90
|
+
// $float - Should this float? Default: true. Options: true, false, left, right.
|
|
91
|
+
@mixin grid-column(
|
|
92
|
+
$columns:false,
|
|
93
|
+
$last-column:false,
|
|
94
|
+
$center:false,
|
|
95
|
+
$offset:false,
|
|
96
|
+
$push:false,
|
|
97
|
+
$pull:false,
|
|
98
|
+
$collapse:false,
|
|
99
|
+
$float:true,
|
|
100
|
+
$position:false) {
|
|
101
|
+
|
|
102
|
+
// If positioned for default .column, include relative position
|
|
103
|
+
// push and pull require position set
|
|
104
|
+
@if $position or $push or $pull {
|
|
105
|
+
position: relative;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// If collapsed, get rid of gutter padding
|
|
109
|
+
@if $collapse {
|
|
110
|
+
padding-left: 0;
|
|
111
|
+
padding-right: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Gutter padding whenever a column isn't set to collapse
|
|
115
|
+
// (use $collapse:null to do nothing)
|
|
116
|
+
@else if $collapse == false {
|
|
117
|
+
padding-left: $column-gutter / 2;
|
|
118
|
+
padding-right: $column-gutter / 2;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// If a column number is given, calculate width
|
|
122
|
+
@if $columns {
|
|
123
|
+
width: grid-calc($columns, $total-columns);
|
|
124
|
+
|
|
125
|
+
// If last column, float naturally instead of to the right
|
|
126
|
+
@if $last-column { float: $opposite-direction; }
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Source Ordering, adds left/right depending on which you use.
|
|
130
|
+
@if $push { #{$default-float}: grid-calc($push, $total-columns); #{$opposite-direction}: auto; }
|
|
131
|
+
@if $pull { #{$opposite-direction}: grid-calc($pull, $total-columns); #{$default-float}: auto; }
|
|
132
|
+
|
|
133
|
+
@if $float {
|
|
134
|
+
@if $float == left or $float == true { float: $default-float; }
|
|
135
|
+
@else if $float == right { float: $opposite-direction; }
|
|
136
|
+
@else { float: none; }
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// If centered, get rid of float and add appropriate margins
|
|
140
|
+
@if $center {
|
|
141
|
+
margin-#{$default-float}: auto;
|
|
142
|
+
margin-#{$opposite-direction}: auto;
|
|
143
|
+
float: none !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// If offset, calculate appropriate margins
|
|
147
|
+
@if $offset { margin-#{$default-float}: grid-calc($offset, $total-columns) !important; }
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// Create presentational classes for grid
|
|
152
|
+
//
|
|
153
|
+
// $size - Name of class to use, i.e. "large" will generate .large-1, .large-2, etc.
|
|
154
|
+
@mixin grid-html-classes($size) {
|
|
155
|
+
|
|
156
|
+
@for $i from 0 through $total-columns - 1 {
|
|
157
|
+
.#{$size}-push-#{$i} {
|
|
158
|
+
@include grid-column($push:$i, $collapse:null, $float:false);
|
|
159
|
+
}
|
|
160
|
+
.#{$size}-pull-#{$i} {
|
|
161
|
+
@include grid-column($pull:$i, $collapse:null, $float:false);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.column,
|
|
166
|
+
.columns { @include grid-column($columns:false, $position:true); }
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
@for $i from 1 through $total-columns {
|
|
170
|
+
.#{$size}-#{$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
[class*="column"] + [class*="column"]:last-child { float: $opposite-direction; }
|
|
174
|
+
[class*="column"] + [class*="column"].end { float: $default-float; }
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
@for $i from 0 through $total-columns - 1 {
|
|
178
|
+
.#{$size}-offset-#{$i} { @include grid-column($offset:$i, $collapse:null,$float:false); }
|
|
179
|
+
}
|
|
180
|
+
.#{$size}-reset-order {
|
|
181
|
+
margin-#{$default-float}: 0;
|
|
182
|
+
margin-#{$opposite-direction}: 0;
|
|
183
|
+
left: auto;
|
|
184
|
+
right: auto;
|
|
185
|
+
float: $default-float;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.column.#{$size}-centered,
|
|
189
|
+
.columns.#{$size}-centered { @include grid-column($center:true, $collapse:null, $float:false); }
|
|
190
|
+
|
|
191
|
+
.column.#{$size}-uncentered,
|
|
192
|
+
.columns.#{$size}-uncentered {
|
|
193
|
+
margin-#{$default-float}: 0;
|
|
194
|
+
margin-#{$opposite-direction}: 0;
|
|
195
|
+
float: $default-float !important;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.column.#{$size}-uncentered.opposite,
|
|
199
|
+
.columns.#{$size}-uncentered.opposite {
|
|
200
|
+
float: $opposite-direction;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@include exports("grid") {
|
|
205
|
+
@if $include-html-grid-classes {
|
|
206
|
+
.row {
|
|
207
|
+
@include grid-row;
|
|
208
|
+
|
|
209
|
+
&.collapse {
|
|
210
|
+
> .column,
|
|
211
|
+
> .columns { @include grid-column($collapse:true, $float:false); }
|
|
212
|
+
|
|
213
|
+
.row {margin-left:0; margin-right:0;}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.row { @include grid-row($behavior:nest);
|
|
217
|
+
&.collapse { @include grid-row($behavior:nest-collapse); }
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.column,
|
|
222
|
+
.columns { @include grid-column($columns:$total-columns); }
|
|
223
|
+
|
|
224
|
+
@media #{$small-up} {
|
|
225
|
+
@include grid-html-classes($size:small);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media #{$medium-up} {
|
|
229
|
+
@include grid-html-classes($size:medium);
|
|
230
|
+
// Old push and pull classes
|
|
231
|
+
@for $i from 0 through $total-columns - 1 {
|
|
232
|
+
.push-#{$i} {
|
|
233
|
+
@include grid-column($push:$i, $collapse:null, $float:false);
|
|
234
|
+
}
|
|
235
|
+
.pull-#{$i} {
|
|
236
|
+
@include grid-column($pull:$i, $collapse:null, $float:false);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
@media #{$large-up} {
|
|
241
|
+
@include grid-html-classes($size:large);
|
|
242
|
+
@for $i from 0 through $total-columns - 1 {
|
|
243
|
+
.push-#{$i} {
|
|
244
|
+
@include grid-column($push:$i, $collapse:null, $float:false);
|
|
245
|
+
}
|
|
246
|
+
.pull-#{$i} {
|
|
247
|
+
@include grid-column($pull:$i, $collapse:null, $float:false);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
@if $include-xl-html-grid-classes {
|
|
253
|
+
@media #{$xlarge-up} {
|
|
254
|
+
@include grid-html-classes($size:xlarge);
|
|
255
|
+
}
|
|
256
|
+
@media #{$xxlarge-up} {
|
|
257
|
+
@include grid-html-classes($size:xxlarge);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|