TokiCLI 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,355 @@
|
|
1
|
+
// Foundation by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
@import "global";
|
6
|
+
@import "type";
|
7
|
+
|
8
|
+
// Off Canvas Tab Bar Variables
|
9
|
+
$include-html-off-canvas-classes: $include-html-classes !default;
|
10
|
+
|
11
|
+
$tabbar-bg: #333 !default;
|
12
|
+
$tabbar-height: rem-calc(45) !default;
|
13
|
+
$tabbar-line-height: $tabbar-height !default;
|
14
|
+
$tabbar-color: #fff !default;
|
15
|
+
$tabbar-middle-padding: 0 rem-calc(10) !default;
|
16
|
+
|
17
|
+
// Off Canvas Divider Styles
|
18
|
+
$tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%) !default;
|
19
|
+
$tabbar-right-section-border: $tabbar-left-section-border;
|
20
|
+
|
21
|
+
|
22
|
+
// Off Canvas Tab Bar Headers
|
23
|
+
$tabbar-header-color: #fff !default;
|
24
|
+
$tabbar-header-weight: $font-weight-bold !default;
|
25
|
+
$tabbar-header-line-height: $tabbar-height !default;
|
26
|
+
$tabbar-header-margin: 0 !default;
|
27
|
+
|
28
|
+
// Off Canvas Menu Variables
|
29
|
+
$off-canvas-width: rem-calc(250) !default;
|
30
|
+
$off-canvas-bg: #333 !default;
|
31
|
+
|
32
|
+
// Off Canvas Menu List Variables
|
33
|
+
$off-canvas-label-padding: 0.3rem rem-calc(15) !default;
|
34
|
+
$off-canvas-label-color: #999 !default;
|
35
|
+
$off-canvas-label-text-transform: uppercase !default;
|
36
|
+
$off-canvas-label-font-weight: $font-weight-bold !default;
|
37
|
+
$off-canvas-label-bg: #444 !default;
|
38
|
+
$off-canvas-label-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%) !default;
|
39
|
+
$off-canvas-label-border-bottom: none !default;
|
40
|
+
$off-canvas-label-margin:0 !default;
|
41
|
+
$off-canvas-link-padding: rem-calc(10, 15) !default;
|
42
|
+
$off-canvas-link-color: rgba(#FFF, 0.7) !default;
|
43
|
+
$off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%) !default;
|
44
|
+
|
45
|
+
// Off Canvas Menu Icon Variables
|
46
|
+
$tabbar-menu-icon-color: #FFF !default;
|
47
|
+
$tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%) !default;
|
48
|
+
|
49
|
+
$tabbar-menu-icon-text-indent: rem-calc(35) !default;
|
50
|
+
$tabbar-menu-icon-width: $tabbar-height !default;
|
51
|
+
$tabbar-menu-icon-height: $tabbar-height !default;
|
52
|
+
$tabbar-menu-icon-line-height: rem-calc(33) !default;
|
53
|
+
$tabbar-menu-icon-padding: 0 !default;
|
54
|
+
|
55
|
+
$tabbar-hamburger-icon-width: rem-calc(16) !default;
|
56
|
+
$tabbar-hamburger-icon-left: false !default;
|
57
|
+
$tabbar-hamburger-icon-top: false !default;
|
58
|
+
$tapbar-hamburger-icon-thickness: 1px !default;
|
59
|
+
$tapbar-hamburger-icon-gap: 6px !default;
|
60
|
+
|
61
|
+
// Off Canvas Back-Link Overlay
|
62
|
+
$off-canvas-overlay-transition: background 300ms ease !default;
|
63
|
+
$off-canvas-overlay-cursor: pointer !default;
|
64
|
+
$off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5) !default;
|
65
|
+
$off-canvas-overlay-background: rgba(#FFF, 0.2) !default;
|
66
|
+
$off-canvas-overlay-background-hover: rgba(#FFF, 0.05) !default;
|
67
|
+
|
68
|
+
// Transition Variables
|
69
|
+
$menu-slide: "transform 500ms ease" !default;
|
70
|
+
|
71
|
+
|
72
|
+
// MIXINS
|
73
|
+
// Remove transition flicker on phones
|
74
|
+
@mixin kill-flicker {
|
75
|
+
// -webkit-transform: translateZ(0x);
|
76
|
+
-webkit-backface-visibility: hidden;
|
77
|
+
}
|
78
|
+
|
79
|
+
// Basic properties for the content wraps
|
80
|
+
@mixin wrap-base {
|
81
|
+
position: relative;
|
82
|
+
width: 100%;
|
83
|
+
}
|
84
|
+
|
85
|
+
@mixin translate3d($tx,$ty,$tz) {
|
86
|
+
-ms-transform: translate($tx,$ty);
|
87
|
+
-webkit-transform: translate3d($tx,$ty,$tz);
|
88
|
+
-moz-transform: translate3d($tx,$ty,$tz);
|
89
|
+
-ms-transform: translate3d($tx,$ty,$tz);
|
90
|
+
-o-transform: translate3d($tx,$ty,$tz);
|
91
|
+
transform: translate3d($tx,$ty,$tz)
|
92
|
+
}
|
93
|
+
|
94
|
+
// basic styles for off-canvas menu container
|
95
|
+
@mixin off-canvas-menu($position) {
|
96
|
+
@include kill-flicker;
|
97
|
+
* { @include kill-flicker; }
|
98
|
+
width: $off-canvas-width;
|
99
|
+
top: 0;
|
100
|
+
bottom: 0;
|
101
|
+
position: absolute;
|
102
|
+
overflow-y: auto;
|
103
|
+
background: $off-canvas-bg;
|
104
|
+
z-index: 1001;
|
105
|
+
box-sizing: content-box;
|
106
|
+
transition: transform 500ms ease 0s;
|
107
|
+
-webkit-overflow-scrolling: touch;
|
108
|
+
@if $position == left {
|
109
|
+
@include translate3d(-100%,0,0);
|
110
|
+
left: 0;
|
111
|
+
}
|
112
|
+
@if $position == right {
|
113
|
+
@include translate3d(100%,0,0);
|
114
|
+
right: 0;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
// OFF CANVAS WRAP
|
119
|
+
// Wrap visible content and prevent scroll bars
|
120
|
+
@mixin off-canvas-wrap {
|
121
|
+
@include kill-flicker;
|
122
|
+
@include wrap-base;
|
123
|
+
overflow: hidden;
|
124
|
+
&.move-right,
|
125
|
+
&.move-left { min-height: 100%; -webkit-overflow-scrolling: touch; }
|
126
|
+
}
|
127
|
+
|
128
|
+
// INNER WRAP
|
129
|
+
// Main content area that moves to reveal the off-canvas nav
|
130
|
+
@mixin inner-wrap {
|
131
|
+
@include kill-flicker;
|
132
|
+
@include wrap-base;
|
133
|
+
@include clearfix;
|
134
|
+
-webkit-transition: -webkit-#{$menu-slide};
|
135
|
+
-moz-transition: -moz-#{$menu-slide};
|
136
|
+
-ms-transition: -ms-#{$menu-slide};
|
137
|
+
-o-transition: -o-#{$menu-slide};
|
138
|
+
transition: #{$menu-slide};
|
139
|
+
}
|
140
|
+
|
141
|
+
// TAB BAR
|
142
|
+
// This is the tab bar base
|
143
|
+
@mixin tab-bar-base {
|
144
|
+
@include kill-flicker;
|
145
|
+
|
146
|
+
// base styles
|
147
|
+
background: $tabbar-bg;
|
148
|
+
color: $tabbar-color;
|
149
|
+
height: $tabbar-height;
|
150
|
+
line-height: $tabbar-height;
|
151
|
+
|
152
|
+
// make sure it's below the .exit-offcanvas link
|
153
|
+
position: relative;
|
154
|
+
// z-index: 999;
|
155
|
+
|
156
|
+
// Typography
|
157
|
+
h1,h2,h3,h4,h5,h6 {
|
158
|
+
color: $tabbar-header-color;
|
159
|
+
font-weight: $tabbar-header-weight;
|
160
|
+
line-height: $tabbar-header-line-height;
|
161
|
+
margin: $tabbar-header-margin;
|
162
|
+
}
|
163
|
+
h1,h2,h3,h4 { font-size: $h5-font-size; }
|
164
|
+
}
|
165
|
+
|
166
|
+
// SMALL SECTIONS
|
167
|
+
// These are small sections on the left and right that contain the off-canvas toggle buttons;
|
168
|
+
@mixin tabbar-small-section($position) {
|
169
|
+
width: $tabbar-height;
|
170
|
+
height: $tabbar-height;
|
171
|
+
position: absolute;
|
172
|
+
top: 0;
|
173
|
+
@if $position == left {
|
174
|
+
border-right: $tabbar-left-section-border;
|
175
|
+
// box-shadow: 1px 0 0 scale-color($tabbar-bg, $lightness: 13%);
|
176
|
+
left: 0;
|
177
|
+
}
|
178
|
+
@if $position == right {
|
179
|
+
border-left: $tabbar-right-section-border;
|
180
|
+
// box-shadow: -1px 0 0 scale-color($tabbar-bg, $lightness: -50%);
|
181
|
+
right:0;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
@mixin tab-bar-section {
|
186
|
+
padding: $tabbar-middle-padding;
|
187
|
+
position: absolute;
|
188
|
+
text-align: center;
|
189
|
+
height: $tabbar-height;
|
190
|
+
top: 0;
|
191
|
+
@media #{$medium-up} { text-align: left; }
|
192
|
+
|
193
|
+
// still need to make these non-presentational
|
194
|
+
&.left {
|
195
|
+
left: 0;
|
196
|
+
right: $tabbar-height;
|
197
|
+
}
|
198
|
+
&.right {
|
199
|
+
left: $tabbar-height;
|
200
|
+
right: 0;
|
201
|
+
}
|
202
|
+
&.middle {
|
203
|
+
left: $tabbar-height;
|
204
|
+
right: $tabbar-height;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
// OFF CANVAS LIST
|
209
|
+
// This is the list of links in the off-canvas menu
|
210
|
+
@mixin off-canvas-list {
|
211
|
+
list-style-type: none;
|
212
|
+
padding:0;
|
213
|
+
margin:0;
|
214
|
+
|
215
|
+
li {
|
216
|
+
label {
|
217
|
+
padding: $off-canvas-label-padding;
|
218
|
+
color: $off-canvas-label-color;
|
219
|
+
text-transform: $off-canvas-label-text-transform;
|
220
|
+
font-weight: $off-canvas-label-font-weight;
|
221
|
+
background: $off-canvas-label-bg;
|
222
|
+
border-top: $off-canvas-label-border-top;
|
223
|
+
border-bottom: $off-canvas-label-border-bottom;
|
224
|
+
margin: $off-canvas-label-margin;
|
225
|
+
}
|
226
|
+
a {
|
227
|
+
display: block;
|
228
|
+
padding: $off-canvas-link-padding;
|
229
|
+
color: $off-canvas-link-color;
|
230
|
+
border-bottom: $off-canvas-link-border-bottom;
|
231
|
+
&:hover { background: scale-color($tabbar-bg, $lightness: -30%); }
|
232
|
+
transition: background 300ms ease;
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
}
|
237
|
+
|
238
|
+
// BACK LINK
|
239
|
+
// This is an overlay that, when clicked, will toggle off the off canvas menu
|
240
|
+
@mixin back-link {
|
241
|
+
@include kill-flicker;
|
242
|
+
|
243
|
+
transition: $off-canvas-overlay-transition;
|
244
|
+
cursor: $off-canvas-overlay-cursor;
|
245
|
+
box-shadow: $off-canvas-overlay-box-shadow;
|
246
|
+
|
247
|
+
// fill the screen
|
248
|
+
display: block;
|
249
|
+
position: absolute;
|
250
|
+
background: $off-canvas-overlay-background;
|
251
|
+
top: 0;
|
252
|
+
bottom: 0;
|
253
|
+
left:0;
|
254
|
+
right:0;
|
255
|
+
z-index: 1002;
|
256
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
257
|
+
|
258
|
+
@media #{$medium-up} {
|
259
|
+
&:hover {
|
260
|
+
background: $off-canvas-overlay-background-hover;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
//
|
266
|
+
// DEFAULT CLASSES
|
267
|
+
//
|
268
|
+
@include exports("offcanvas") {
|
269
|
+
@if $include-html-off-canvas-classes {
|
270
|
+
|
271
|
+
.off-canvas-wrap { @include off-canvas-wrap; }
|
272
|
+
.inner-wrap { @include inner-wrap; }
|
273
|
+
|
274
|
+
.tab-bar { @include tab-bar-base; }
|
275
|
+
|
276
|
+
.left-small { @include tabbar-small-section($position: left); }
|
277
|
+
.right-small { @include tabbar-small-section($position: right); }
|
278
|
+
|
279
|
+
.tab-bar-section { @include tab-bar-section; }
|
280
|
+
|
281
|
+
// MENU BUTTON
|
282
|
+
// This is a little bonus. You don't need it for off canvas to work. Mixins to be written in the future.
|
283
|
+
.tab-bar .menu-icon {
|
284
|
+
text-indent: $tabbar-menu-icon-text-indent;
|
285
|
+
width: $tabbar-height;
|
286
|
+
height: $tabbar-height;
|
287
|
+
display: block;
|
288
|
+
line-height: $tabbar-menu-icon-line-height;
|
289
|
+
padding: $tabbar-menu-icon-padding;
|
290
|
+
color: $tabbar-menu-icon-color;
|
291
|
+
position: relative;
|
292
|
+
transform: translate3d(0,0,0);
|
293
|
+
|
294
|
+
// @include for the hamburger menu-icon
|
295
|
+
//
|
296
|
+
// Arguments as follows: ($width, $left, $top, $thickness, $gap, $color, $hover-color)
|
297
|
+
// $width - Width of hamburger icon in rem Default: $tabbar-hamburger-icon-width.
|
298
|
+
// $left - If false, icon will be centered horizontally || explicitly set value in rem Default: $tabbar-hamburger-icon-left= False
|
299
|
+
// $top - If false, icon will be centered vertically || explicitly set value in rem Default: = False
|
300
|
+
// $thickness - thickness of lines in hamburger icon, set value in px Default: $tapbar-hamburger-icon-thickness = 1px
|
301
|
+
// $gap - spacing between the lines in hamburger icon, set value in px Default: $tapbar-hamburger-icon-gap = 6px
|
302
|
+
// $color - icon color Default: $tabbar-menu-icon-color
|
303
|
+
// $hover-color - icon color when hovered Default: $tabbar-menu-icon-hover
|
304
|
+
// $offcanvas - Set to true
|
305
|
+
@include hamburger($tabbar-hamburger-icon-width, $tabbar-hamburger-icon-left, $tabbar-hamburger-icon-top, $tapbar-hamburger-icon-thickness, $tapbar-hamburger-icon-gap, $tabbar-menu-icon-color, $tabbar-menu-icon-hover, true)
|
306
|
+
}
|
307
|
+
|
308
|
+
.left-off-canvas-menu { @include off-canvas-menu($position: left); }
|
309
|
+
.right-off-canvas-menu { @include off-canvas-menu($position: right); }
|
310
|
+
|
311
|
+
ul.off-canvas-list { @include off-canvas-list; }
|
312
|
+
|
313
|
+
|
314
|
+
// ANIMATION CLASSES
|
315
|
+
// These classes are added with JS and trigger the actual animation.
|
316
|
+
.move-right {
|
317
|
+
> .inner-wrap {
|
318
|
+
@include translate3d($off-canvas-width,0,0);
|
319
|
+
}
|
320
|
+
.exit-off-canvas { @include back-link;}
|
321
|
+
}
|
322
|
+
|
323
|
+
.move-left {
|
324
|
+
> .inner-wrap {
|
325
|
+
@include translate3d(-($off-canvas-width),0,0);
|
326
|
+
|
327
|
+
}
|
328
|
+
.exit-off-canvas { @include back-link; }
|
329
|
+
}
|
330
|
+
.offcanvas-overlap {
|
331
|
+
.left-off-canvas-menu, .right-off-canvas-menu {
|
332
|
+
-ms-transform: none;
|
333
|
+
-webkit-transform: none;
|
334
|
+
-moz-transform: none;
|
335
|
+
-o-transform: none;
|
336
|
+
transform: none;
|
337
|
+
z-index: 1003;
|
338
|
+
}
|
339
|
+
.exit-offcanvas-menu {
|
340
|
+
@include back-link;
|
341
|
+
z-index: 1002;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
|
345
|
+
// Older browsers
|
346
|
+
.no-csstransforms {
|
347
|
+
.left-off-canvas-menu { left: -($off-canvas-width); }
|
348
|
+
.right-off-canvas-menu { right: -($off-canvas-width); }
|
349
|
+
|
350
|
+
.move-left > .inner-wrap { right: $off-canvas-width; }
|
351
|
+
.move-right > .inner-wrap { left: $off-canvas-width; }
|
352
|
+
}
|
353
|
+
|
354
|
+
}
|
355
|
+
}
|
@@ -0,0 +1,423 @@
|
|
1
|
+
// Foundation by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
@import "global";
|
6
|
+
|
7
|
+
// @variables
|
8
|
+
//
|
9
|
+
$include-html-orbit-classes: $include-html-classes !default;
|
10
|
+
|
11
|
+
// We use these to control the caption styles
|
12
|
+
$orbit-container-bg: none !default;
|
13
|
+
$orbit-caption-bg: rgba(51,51,51, 0.8) !default;
|
14
|
+
$orbit-caption-font-color: #fff !default;
|
15
|
+
$orbit-caption-font-size: rem-calc(14) !default;
|
16
|
+
$orbit-caption-position: "bottom" !default; // Supported values: "bottom", "under"
|
17
|
+
$orbit-caption-padding: rem-calc(10 14) !default;
|
18
|
+
$orbit-caption-height: auto !default;
|
19
|
+
|
20
|
+
// We use these to control the left/right nav styles
|
21
|
+
$orbit-nav-bg: transparent !default;
|
22
|
+
$orbit-nav-bg-hover: rgba(0,0,0,0.3) !default;
|
23
|
+
$orbit-nav-arrow-color: #fff !default;
|
24
|
+
$orbit-nav-arrow-color-hover: #fff !default;
|
25
|
+
|
26
|
+
// We use these to control the timer styles
|
27
|
+
$orbit-timer-bg: rgba(255,255,255,0.3) !default;
|
28
|
+
$orbit-timer-show-progress-bar: true !default;
|
29
|
+
|
30
|
+
// We use these to control the bullet nav styles
|
31
|
+
$orbit-bullet-nav-color: #ccc !default;
|
32
|
+
$orbit-bullet-nav-color-active: #999 !default;
|
33
|
+
$orbit-bullet-radius: rem-calc(9) !default;
|
34
|
+
|
35
|
+
// We use these to controls the style of slide numbers
|
36
|
+
$orbit-slide-number-bg: rgba(0,0,0,0) !default;
|
37
|
+
$orbit-slide-number-font-color: #fff !default;
|
38
|
+
$orbit-slide-number-padding: rem-calc(5) !default;
|
39
|
+
|
40
|
+
// We use these to controls the css animation
|
41
|
+
$orbit-animation-speed: 500ms !default;
|
42
|
+
$orbit-animation-ease: ease-in-out !default;
|
43
|
+
|
44
|
+
// Graceful Loading Wrapper and preloader
|
45
|
+
$wrapper-class: "slideshow-wrapper" !default;
|
46
|
+
$preloader-class: "preloader" !default;
|
47
|
+
|
48
|
+
// Hide controls on small
|
49
|
+
$orbit-nav-hide-for-small: true !default;
|
50
|
+
$orbit-bullet-hide-for-small: true !default;
|
51
|
+
$orbit-timer-hide-for-small: true !default;
|
52
|
+
|
53
|
+
// CSS Transform
|
54
|
+
// This function is needed in order to put in all of the browser prefixes.
|
55
|
+
// The normal tranform attribute still does not work properly across all browsers.
|
56
|
+
// In order to receive the transitionEnd events then you will still need to use the vendor prefixes
|
57
|
+
@mixin translate3d($x,$y,$z) {
|
58
|
+
-ms-transform:translate($x,$y);
|
59
|
+
|
60
|
+
-webkit-transform: translate3d($x,$y,$z);
|
61
|
+
-moz-transform: translate3d($x,$y,$z);
|
62
|
+
-o-transform: translate3d($x,$y,$z);
|
63
|
+
transform: translate3d($x,$y,$z);
|
64
|
+
}
|
65
|
+
|
66
|
+
@mixin rotate($d) {
|
67
|
+
-webkit-transform: rotate($d);
|
68
|
+
-moz-transform: rotate($d);
|
69
|
+
-ms-transform: rotate($d);
|
70
|
+
-o-transform: rotate($d);
|
71
|
+
transform: rotate($d);
|
72
|
+
}
|
73
|
+
|
74
|
+
@include exports("orbit") {
|
75
|
+
@if $include-html-orbit-classes {
|
76
|
+
|
77
|
+
@keyframes rotate {
|
78
|
+
from { @include rotate(0deg); }
|
79
|
+
to { @include rotate(360deg); }
|
80
|
+
}
|
81
|
+
|
82
|
+
/* Orbit Graceful Loading */
|
83
|
+
.#{$wrapper-class} {
|
84
|
+
position: relative;
|
85
|
+
|
86
|
+
ul {
|
87
|
+
// Prevent bullets showing before .orbit-container is loaded
|
88
|
+
list-style-type: none;
|
89
|
+
margin: 0;
|
90
|
+
|
91
|
+
// Hide all list items
|
92
|
+
li,
|
93
|
+
li .orbit-caption { display: none; }
|
94
|
+
|
95
|
+
// ...except for the first one
|
96
|
+
li:first-child { display: block; }
|
97
|
+
}
|
98
|
+
|
99
|
+
.orbit-container { background-color: transparent;
|
100
|
+
|
101
|
+
// Show images when .orbit-container is loaded
|
102
|
+
li { display: block;
|
103
|
+
|
104
|
+
.orbit-caption { display: block; }
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
// Orbit preloader
|
109
|
+
.#{$preloader-class} {
|
110
|
+
display: block;
|
111
|
+
width: 40px;
|
112
|
+
height: 40px;
|
113
|
+
position: absolute;
|
114
|
+
top: 50%;
|
115
|
+
left: 50%;
|
116
|
+
margin-top: -20px;
|
117
|
+
margin-left: -20px;
|
118
|
+
border: solid 3px;
|
119
|
+
border-color: #555 #fff;
|
120
|
+
@include radius(1000px);
|
121
|
+
animation-name: rotate;
|
122
|
+
animation-duration: 1.5s;
|
123
|
+
animation-iteration-count: infinite;
|
124
|
+
animation-timing-function: linear;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.orbit-container {
|
129
|
+
overflow: hidden;
|
130
|
+
width: 100%;
|
131
|
+
position: relative;
|
132
|
+
background: $orbit-container-bg;
|
133
|
+
|
134
|
+
.orbit-slides-container {
|
135
|
+
list-style: none;
|
136
|
+
margin: 0;
|
137
|
+
padding: 0;
|
138
|
+
position: relative;
|
139
|
+
|
140
|
+
// Prevents images (and captions) from disappearing after first rotation on Chrome for Android
|
141
|
+
-webkit-transform: translateZ(0);
|
142
|
+
|
143
|
+
img { display: block; max-width: 100%; }
|
144
|
+
|
145
|
+
&.fade > li {
|
146
|
+
opacity: 0;
|
147
|
+
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
148
|
+
@include translate3d(0,0,0);
|
149
|
+
&.animate-in {
|
150
|
+
opacity: 1;
|
151
|
+
z-index: 20;
|
152
|
+
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
153
|
+
}
|
154
|
+
&.animate-out {
|
155
|
+
z-index: 10;
|
156
|
+
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
&.swipe-next > li {
|
161
|
+
@include translate3d(100%,0,0);
|
162
|
+
&.animate-in {
|
163
|
+
@include translate3d(0,0,0);
|
164
|
+
transition-duration:$orbit-animation-speed;
|
165
|
+
}
|
166
|
+
&.animate-out {
|
167
|
+
@include translate3d(-100%,0,0);
|
168
|
+
transition-duration:$orbit-animation-speed;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
&.swipe-prev > li {
|
173
|
+
@include translate3d(-100%,0,0);
|
174
|
+
&.animate-in {
|
175
|
+
@include translate3d(0,0,0);
|
176
|
+
transition-duration:$orbit-animation-speed;
|
177
|
+
}
|
178
|
+
&.animate-out {
|
179
|
+
@include translate3d(100%,0,0);
|
180
|
+
transition-duration:$orbit-animation-speed;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
> li {
|
185
|
+
position: absolute;
|
186
|
+
top: 0;
|
187
|
+
left: 0;
|
188
|
+
width: 100%;
|
189
|
+
@include translate3d(100%,0,0);
|
190
|
+
|
191
|
+
> a { display: block; }
|
192
|
+
|
193
|
+
&.active {
|
194
|
+
opacity: 1;
|
195
|
+
// "relative" positioning is required for variable height of children.
|
196
|
+
position:relative;
|
197
|
+
top: 0;
|
198
|
+
left: 0;
|
199
|
+
@include translate3d(0,0,0);
|
200
|
+
}
|
201
|
+
|
202
|
+
.orbit-caption {
|
203
|
+
@if $orbit-caption-position == "bottom" {
|
204
|
+
position: absolute;
|
205
|
+
bottom: 0;
|
206
|
+
} @else if $orbit-caption-position == "under" {
|
207
|
+
position: relative;
|
208
|
+
}
|
209
|
+
|
210
|
+
background-color: $orbit-caption-bg;
|
211
|
+
color: $orbit-caption-font-color;
|
212
|
+
width: 100%;
|
213
|
+
padding: $orbit-caption-padding;
|
214
|
+
font-size: $orbit-caption-font-size;
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
.orbit-slide-number {
|
220
|
+
position: absolute;
|
221
|
+
top: 10px;
|
222
|
+
#{$default-float}: 10px;
|
223
|
+
font-size: 12px;
|
224
|
+
span { font-weight: $font-weight-bold; padding: $orbit-slide-number-padding;}
|
225
|
+
color: $orbit-slide-number-font-color;
|
226
|
+
background: $orbit-slide-number-bg;
|
227
|
+
z-index: 10;
|
228
|
+
}
|
229
|
+
|
230
|
+
.orbit-timer {
|
231
|
+
position: absolute;
|
232
|
+
top: 12px;
|
233
|
+
#{$opposite-direction}: 10px;
|
234
|
+
height: 6px;
|
235
|
+
width: 100px;
|
236
|
+
z-index: 10;
|
237
|
+
.orbit-progress {
|
238
|
+
@if $orbit-timer-show-progress-bar {
|
239
|
+
height: 3px;
|
240
|
+
background-color: $orbit-timer-bg;
|
241
|
+
display: block;
|
242
|
+
width: 0%;
|
243
|
+
position: relative;
|
244
|
+
right: 20px;
|
245
|
+
top: 5px;
|
246
|
+
} @else {
|
247
|
+
display:none; // This is used by the Javascript to not create a handler.
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
// Play button
|
252
|
+
& > span {
|
253
|
+
display: none;
|
254
|
+
position: absolute;
|
255
|
+
top: 0px;
|
256
|
+
#{$opposite-direction}: 0;
|
257
|
+
width: 11px;
|
258
|
+
height: 14px;
|
259
|
+
border: solid 4px #fff;
|
260
|
+
border-top: none;
|
261
|
+
border-bottom: none;
|
262
|
+
}
|
263
|
+
|
264
|
+
// Pause button
|
265
|
+
&.paused {
|
266
|
+
& > span {
|
267
|
+
#{$opposite-direction}: -4px;
|
268
|
+
top: 0px;
|
269
|
+
width: 11px;
|
270
|
+
height: 14px;
|
271
|
+
border: inset 8px;
|
272
|
+
border-left-style: solid;
|
273
|
+
@include rotate(180deg);
|
274
|
+
border-color: transparent #fff transparent transparent;
|
275
|
+
&.dark {
|
276
|
+
border-color: transparent #333 transparent transparent;
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
&:hover .orbit-timer > span { display: block; }
|
285
|
+
|
286
|
+
// Let's get those controls to be right in the center on each side
|
287
|
+
.orbit-prev,
|
288
|
+
.orbit-next {
|
289
|
+
position: absolute;
|
290
|
+
top: 45%;
|
291
|
+
margin-top: -25px;
|
292
|
+
width: 36px;
|
293
|
+
height: 60px;
|
294
|
+
line-height: 50px;
|
295
|
+
color: white;
|
296
|
+
background-color: $orbit-nav-bg;
|
297
|
+
text-indent: -9999px !important;
|
298
|
+
z-index: 10;
|
299
|
+
|
300
|
+
&:hover {
|
301
|
+
background-color: $orbit-nav-bg-hover;
|
302
|
+
}
|
303
|
+
|
304
|
+
& > span {
|
305
|
+
position: absolute;
|
306
|
+
top: 50%;
|
307
|
+
margin-top: -10px;
|
308
|
+
display: block;
|
309
|
+
width: 0;
|
310
|
+
height: 0;
|
311
|
+
border: inset 10px;
|
312
|
+
}
|
313
|
+
}
|
314
|
+
.orbit-prev { #{$default-float}: 0;
|
315
|
+
& > span {
|
316
|
+
border-#{$opposite-direction}-style: solid;
|
317
|
+
border-color: transparent;
|
318
|
+
border-#{$opposite-direction}-color: $orbit-nav-arrow-color;
|
319
|
+
}
|
320
|
+
&:hover > span {
|
321
|
+
border-#{$opposite-direction}-color: $orbit-nav-arrow-color-hover;
|
322
|
+
}
|
323
|
+
}
|
324
|
+
.orbit-next { #{$opposite-direction}: 0;
|
325
|
+
& > span {
|
326
|
+
border-color: transparent;
|
327
|
+
border-#{$default-float}-style: solid;
|
328
|
+
border-#{$default-float}-color: $orbit-nav-arrow-color;
|
329
|
+
#{$default-float}: 50%;
|
330
|
+
margin-#{$default-float}: -4px;
|
331
|
+
}
|
332
|
+
&:hover > span {
|
333
|
+
border-#{$default-float}-color: $orbit-nav-arrow-color-hover;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
|
337
|
+
.orbit-bullets-container { text-align: center; }
|
338
|
+
.orbit-bullets {
|
339
|
+
margin: 0 auto 30px auto;
|
340
|
+
overflow: hidden;
|
341
|
+
position: relative;
|
342
|
+
top: 10px;
|
343
|
+
float: none;
|
344
|
+
text-align: center;
|
345
|
+
display: block;
|
346
|
+
|
347
|
+
li {
|
348
|
+
display: inline-block;
|
349
|
+
width: $orbit-bullet-radius;
|
350
|
+
height: $orbit-bullet-radius;
|
351
|
+
background: $orbit-bullet-nav-color;
|
352
|
+
// float: $default-float;
|
353
|
+
float: none;
|
354
|
+
margin-#{$opposite-direction}: 6px;
|
355
|
+
@include radius(1000px);
|
356
|
+
|
357
|
+
&.active {
|
358
|
+
background: $orbit-bullet-nav-color-active;
|
359
|
+
}
|
360
|
+
|
361
|
+
&:last-child { margin-#{$opposite-direction}: 0; }
|
362
|
+
}
|
363
|
+
}
|
364
|
+
}
|
365
|
+
|
366
|
+
|
367
|
+
.touch {
|
368
|
+
.orbit-container {
|
369
|
+
.orbit-prev,
|
370
|
+
.orbit-next { display: none; }
|
371
|
+
}
|
372
|
+
|
373
|
+
.orbit-bullets { display: none; }
|
374
|
+
}
|
375
|
+
|
376
|
+
|
377
|
+
@media #{$medium-up} {
|
378
|
+
|
379
|
+
.touch {
|
380
|
+
.orbit-container {
|
381
|
+
.orbit-prev,
|
382
|
+
.orbit-next { display: inherit; }
|
383
|
+
}
|
384
|
+
|
385
|
+
.orbit-bullets { display: block; }
|
386
|
+
}
|
387
|
+
|
388
|
+
}
|
389
|
+
|
390
|
+
@media #{$small-only} {
|
391
|
+
.orbit-stack-on-small {
|
392
|
+
|
393
|
+
.orbit-slides-container {height: auto !important;}
|
394
|
+
.orbit-slides-container > * {
|
395
|
+
position: relative !important;
|
396
|
+
margin-left: 0% !important;
|
397
|
+
opacity: 1 !important;
|
398
|
+
-webkit-transform: none !important;
|
399
|
+
-moz-transform: none !important;
|
400
|
+
-ms-transform: none !important;
|
401
|
+
-o-transform: none !important;
|
402
|
+
transform: none !important;
|
403
|
+
transition: none !important;
|
404
|
+
}
|
405
|
+
|
406
|
+
@if $orbit-timer-hide-for-small {
|
407
|
+
.orbit-timer{display: none;}
|
408
|
+
}
|
409
|
+
@if $orbit-nav-hide-for-small {
|
410
|
+
.orbit-next,.orbit-prev{display: none;}
|
411
|
+
}
|
412
|
+
@if $orbit-bullet-hide-for-small {
|
413
|
+
.orbit-bullets{display: none;}
|
414
|
+
}
|
415
|
+
|
416
|
+
.orbit-slide-number {
|
417
|
+
display: none;
|
418
|
+
}
|
419
|
+
}
|
420
|
+
}
|
421
|
+
|
422
|
+
}
|
423
|
+
}
|