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,222 @@
|
|
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-button-classes: $include-html-classes !default;
|
11
|
+
|
12
|
+
// We use these to build padding for buttons.
|
13
|
+
$button-tny: rem-calc(10) !default;
|
14
|
+
$button-sml: rem-calc(14) !default;
|
15
|
+
$button-med: rem-calc(16) !default;
|
16
|
+
$button-lrg: rem-calc(18) !default;
|
17
|
+
|
18
|
+
// We use this to control the display property.
|
19
|
+
$button-display: inline-block !default;
|
20
|
+
$button-margin-bottom: rem-calc(20) !default;
|
21
|
+
|
22
|
+
// We use these to control button text styles.
|
23
|
+
$button-font-family: $body-font-family !default;
|
24
|
+
$button-font-color: #fff !default;
|
25
|
+
$button-font-color-alt: #333 !default;
|
26
|
+
$button-font-tny: rem-calc(11) !default;
|
27
|
+
$button-font-sml: rem-calc(13) !default;
|
28
|
+
$button-font-med: rem-calc(16) !default;
|
29
|
+
$button-font-lrg: rem-calc(20) !default;
|
30
|
+
$button-font-weight: $font-weight-normal !default;
|
31
|
+
$button-font-align: center !default;
|
32
|
+
|
33
|
+
// We use these to control various hover effects.
|
34
|
+
$button-function-factor: -20% !default;
|
35
|
+
|
36
|
+
// We use these to control button border styles.
|
37
|
+
$button-border-width: 0px !default;
|
38
|
+
$button-border-style: solid !default;
|
39
|
+
$button-bg: $primary-color !default;
|
40
|
+
$button-border-color: scale-color($button-bg, $lightness: $button-function-factor) !default;
|
41
|
+
|
42
|
+
// We use this to set the default radius used throughout the core.
|
43
|
+
$button-radius: $global-radius !default;
|
44
|
+
$button-round: $global-rounded !default;
|
45
|
+
|
46
|
+
// We use this to set default opacity for disabled buttons.
|
47
|
+
$button-disabled-opacity: 0.7 !default;
|
48
|
+
|
49
|
+
|
50
|
+
//
|
51
|
+
// @MIXIN
|
52
|
+
//
|
53
|
+
// We use this mixin to create a default button base.
|
54
|
+
//
|
55
|
+
// $style - Sets base styles. Can be set to false. Default: true.
|
56
|
+
// $display - Used to control display property. Default: $button-display || inline-block
|
57
|
+
|
58
|
+
@mixin button-base($style:true, $display:$button-display) {
|
59
|
+
@if $style {
|
60
|
+
border-style: $button-border-style;
|
61
|
+
border-width: $button-border-width;
|
62
|
+
cursor: $cursor-pointer-value;
|
63
|
+
font-family: $button-font-family;
|
64
|
+
font-weight: $button-font-weight;
|
65
|
+
line-height: normal;
|
66
|
+
margin: 0 0 $button-margin-bottom;
|
67
|
+
position: relative;
|
68
|
+
text-decoration: none;
|
69
|
+
text-align: $button-font-align;
|
70
|
+
-webkit-appearance: none;
|
71
|
+
-webkit-border-radius:0;
|
72
|
+
}
|
73
|
+
@if $display { display: $display; }
|
74
|
+
}
|
75
|
+
|
76
|
+
// @MIXIN
|
77
|
+
//
|
78
|
+
// We use this mixin to add button size styles
|
79
|
+
//
|
80
|
+
// $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12)
|
81
|
+
// $full-width - We can set $full-width:true to remove side padding extend width - Default: false
|
82
|
+
|
83
|
+
@mixin button-size($padding:$button-med, $full-width:false) {
|
84
|
+
|
85
|
+
// We control which padding styles come through,
|
86
|
+
// these can be turned off by setting $padding:false
|
87
|
+
@if $padding {
|
88
|
+
padding-top: $padding;
|
89
|
+
padding-#{$opposite-direction}: $padding * 2;
|
90
|
+
padding-bottom: $padding + rem-calc(1);
|
91
|
+
padding-#{$default-float}: $padding * 2;
|
92
|
+
|
93
|
+
// We control the font-size based on mixin input.
|
94
|
+
@if $padding == $button-med { font-size: $button-font-med; }
|
95
|
+
@else if $padding == $button-tny { font-size: $button-font-tny; }
|
96
|
+
@else if $padding == $button-sml { font-size: $button-font-sml; }
|
97
|
+
@else if $padding == $button-lrg { font-size: $button-font-lrg; }
|
98
|
+
}
|
99
|
+
|
100
|
+
// We can set $full-width:true to remove side padding extend width.
|
101
|
+
@if $full-width {
|
102
|
+
// We still need to check if $padding is set.
|
103
|
+
@if $padding {
|
104
|
+
padding-top: $padding;
|
105
|
+
padding-bottom: $padding + rem-calc(1);
|
106
|
+
} @else if $padding == false {
|
107
|
+
padding-top:0;
|
108
|
+
padding-bottom:0;
|
109
|
+
}
|
110
|
+
padding-right: 0;
|
111
|
+
padding-left: 0;
|
112
|
+
width: 100%;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
// @MIXIN
|
117
|
+
//
|
118
|
+
// We use this mixin to add button color styles
|
119
|
+
//
|
120
|
+
// $bg - Primary color set in settings file. Default: $button-bg.
|
121
|
+
// $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: true
|
122
|
+
// $disabled - We can set $disabled:true to create a disabled transparent button. Default: false
|
123
|
+
@mixin button-style($bg:$button-bg, $radius:false, $disabled:false) {
|
124
|
+
|
125
|
+
// We control which background styles are used,
|
126
|
+
// these can be removed by setting $bg:false
|
127
|
+
@if $bg {
|
128
|
+
// This find the lightness percentage of the background color.
|
129
|
+
$bg-lightness: lightness($bg);
|
130
|
+
|
131
|
+
background-color: $bg;
|
132
|
+
border-color: scale-color($bg, $lightness: $button-function-factor);
|
133
|
+
&:hover,
|
134
|
+
&:focus { background-color: scale-color($bg, $lightness: $button-function-factor); }
|
135
|
+
|
136
|
+
// We control the text color for you based on the background color.
|
137
|
+
@if $bg-lightness > 70% {
|
138
|
+
color: $button-font-color-alt;
|
139
|
+
&:hover,
|
140
|
+
&:focus { color: $button-font-color-alt; }
|
141
|
+
}
|
142
|
+
@else {
|
143
|
+
color: $button-font-color;
|
144
|
+
&:hover,
|
145
|
+
&:focus { color: $button-font-color; }
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
// We can set $disabled:true to create a disabled transparent button.
|
150
|
+
@if $disabled {
|
151
|
+
cursor: $cursor-default-value;
|
152
|
+
opacity: $button-disabled-opacity;
|
153
|
+
box-shadow: none;
|
154
|
+
&:hover,
|
155
|
+
&:focus { background-color: $bg; }
|
156
|
+
}
|
157
|
+
|
158
|
+
// We can control how much button radius us used.
|
159
|
+
@if $radius == true { @include radius($button-radius); }
|
160
|
+
@else if $radius { @include radius($radius); }
|
161
|
+
|
162
|
+
}
|
163
|
+
|
164
|
+
// @MIXIN
|
165
|
+
//
|
166
|
+
// We use this to quickly create buttons with a single mixin. As @jaredhardy puts it, "the kitchen sink mixin"
|
167
|
+
//
|
168
|
+
// $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12)
|
169
|
+
// $bg - Primary color set in settings file. Default: $button-bg.
|
170
|
+
// $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default:false.
|
171
|
+
// $full-width - We can set $full-width:true to remove side padding extend width. Default:false.
|
172
|
+
// $disabled - We can set $disabled:true to create a disabled transparent button. Default:false.
|
173
|
+
// $is-input - <input>'s and <button>'s take on strange padding. We added this to help fix that. Default:false.
|
174
|
+
// $is-prefix - Not used? Default:false.
|
175
|
+
@mixin button($padding:$button-med, $bg:$button-bg, $radius:false, $full-width:false, $disabled:false, $is-prefix:false) {
|
176
|
+
@include button-base;
|
177
|
+
@include button-size($padding, $full-width);
|
178
|
+
@include button-style($bg, $radius, $disabled);
|
179
|
+
}
|
180
|
+
|
181
|
+
|
182
|
+
@include exports("button") {
|
183
|
+
@if $include-html-button-classes {
|
184
|
+
|
185
|
+
// Default styles applied outside of media query
|
186
|
+
button, .button {
|
187
|
+
@include button-base;
|
188
|
+
@include button-size;
|
189
|
+
@include button-style;
|
190
|
+
|
191
|
+
@include single-transition(background-color);
|
192
|
+
|
193
|
+
&.secondary { @include button-style($bg:$secondary-color); }
|
194
|
+
&.success { @include button-style($bg:$success-color); }
|
195
|
+
&.alert { @include button-style($bg:$alert-color); }
|
196
|
+
|
197
|
+
&.large { @include button-size($padding:$button-lrg); }
|
198
|
+
&.small { @include button-size($padding:$button-sml); }
|
199
|
+
&.tiny { @include button-size($padding:$button-tny); }
|
200
|
+
&.expand { @include button-size($padding:null,$full-width:true); }
|
201
|
+
|
202
|
+
&.left-align { text-align: left; text-indent: rem-calc(12); }
|
203
|
+
&.right-align { text-align: right; padding-right: rem-calc(12); }
|
204
|
+
|
205
|
+
&.radius { @include button-style($bg:false, $radius:true); }
|
206
|
+
&.round { @include button-style($bg:false, $radius:$button-round); }
|
207
|
+
|
208
|
+
&.disabled, &[disabled] { @include button-style($bg:$button-bg, $disabled:true);
|
209
|
+
&.secondary { @include button-style($bg:$secondary-color, $disabled:true); }
|
210
|
+
&.success { @include button-style($bg:$success-color, $disabled:true); }
|
211
|
+
&.alert { @include button-style($bg:$alert-color, $disabled:true); }
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
@media #{$medium-up} {
|
216
|
+
button, .button {
|
217
|
+
@include button-base($style:false, $display:inline-block);
|
218
|
+
@include button-size($padding:false, $full-width:false);
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
@@ -0,0 +1,247 @@
|
|
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-clearing-classes: $include-html-classes !default;
|
11
|
+
|
12
|
+
// We use these to set the background colors for parts of Clearing.
|
13
|
+
$clearing-bg: #333 !default;
|
14
|
+
$clearing-caption-bg: $clearing-bg !default;
|
15
|
+
$clearing-carousel-bg: rgba(51,51,51,0.8) !default;
|
16
|
+
$clearing-img-bg: $clearing-bg !default;
|
17
|
+
|
18
|
+
// We use these to style the close button
|
19
|
+
$clearing-close-color: #ccc !default;
|
20
|
+
$clearing-close-size: 30px !default;
|
21
|
+
|
22
|
+
// We use these to style the arrows
|
23
|
+
$clearing-arrow-size: 12px !default;
|
24
|
+
$clearing-arrow-color: $clearing-close-color !default;
|
25
|
+
|
26
|
+
// We use these to style captions
|
27
|
+
$clearing-caption-font-color: #ccc !default;
|
28
|
+
$clearing-caption-font-size: 0.875em !default;
|
29
|
+
$clearing-caption-padding: 10px 30px 20px !default;
|
30
|
+
|
31
|
+
// We use these to make the image and carousel height and style
|
32
|
+
$clearing-active-img-height: 85% !default;
|
33
|
+
$clearing-carousel-height: 120px !default;
|
34
|
+
$clearing-carousel-thumb-width: 120px !default;
|
35
|
+
$clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
36
|
+
|
37
|
+
@include exports("clearing") {
|
38
|
+
@if $include-html-clearing-classes {
|
39
|
+
// We decided to not create a mixin for Clearing because it relies
|
40
|
+
// on predefined classes and structure to work properly.
|
41
|
+
// The variables above should give enough control.
|
42
|
+
|
43
|
+
/* Clearing Styles */
|
44
|
+
.clearing-thumbs, #{data('clearing')} {
|
45
|
+
@include clearfix;
|
46
|
+
margin-bottom: 0;
|
47
|
+
margin-#{$default-float}: 0;
|
48
|
+
list-style: none;
|
49
|
+
|
50
|
+
li {
|
51
|
+
float: $default-float;
|
52
|
+
margin-#{$opposite-direction}: 10px;
|
53
|
+
}
|
54
|
+
|
55
|
+
&[class*="block-grid-"] li {
|
56
|
+
margin-#{$opposite-direction}: 0;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.clearing-blackout {
|
61
|
+
background: $clearing-bg;
|
62
|
+
position: fixed;
|
63
|
+
width: 100%;
|
64
|
+
height: 100%;
|
65
|
+
top: 0;
|
66
|
+
#{$default-float}: 0;
|
67
|
+
z-index: 998;
|
68
|
+
|
69
|
+
.clearing-close { display: block; }
|
70
|
+
}
|
71
|
+
|
72
|
+
.clearing-container {
|
73
|
+
position: relative;
|
74
|
+
z-index: 998;
|
75
|
+
height: 100%;
|
76
|
+
overflow: hidden;
|
77
|
+
margin: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
.clearing-touch-label {
|
81
|
+
position: absolute;
|
82
|
+
top: 50%;
|
83
|
+
left: 50%;
|
84
|
+
color: #aaa;
|
85
|
+
font-size: 0.6em;
|
86
|
+
}
|
87
|
+
|
88
|
+
.visible-img {
|
89
|
+
height: 95%;
|
90
|
+
position: relative;
|
91
|
+
|
92
|
+
img {
|
93
|
+
position: absolute;
|
94
|
+
#{$default-float}: 50%;
|
95
|
+
top: 50%;
|
96
|
+
margin-#{$default-float}: -50%;
|
97
|
+
max-height: 100%;
|
98
|
+
max-width: 100%;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
.clearing-caption {
|
103
|
+
color: $clearing-caption-font-color;
|
104
|
+
font-size: $clearing-caption-font-size;
|
105
|
+
line-height: 1.3;
|
106
|
+
margin-bottom: 0;
|
107
|
+
text-align: center;
|
108
|
+
bottom: 0;
|
109
|
+
background: $clearing-caption-bg;
|
110
|
+
width: 100%;
|
111
|
+
padding: $clearing-caption-padding;
|
112
|
+
position: absolute;
|
113
|
+
#{$default-float}: 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
.clearing-close {
|
117
|
+
z-index: 999;
|
118
|
+
padding-#{$default-float}: 20px;
|
119
|
+
padding-top: 10px;
|
120
|
+
font-size: $clearing-close-size;
|
121
|
+
line-height: 1;
|
122
|
+
color: $clearing-close-color;
|
123
|
+
display: none;
|
124
|
+
|
125
|
+
&:hover,
|
126
|
+
&:focus { color: #ccc; }
|
127
|
+
}
|
128
|
+
|
129
|
+
.clearing-assembled .clearing-container { height: 100%;
|
130
|
+
.carousel > ul { display: none; }
|
131
|
+
}
|
132
|
+
|
133
|
+
// If you want to show a lightbox, but only have a single image come through as the thumbnail
|
134
|
+
.clearing-feature li {
|
135
|
+
display: none;
|
136
|
+
&.clearing-featured-img {
|
137
|
+
display: block;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
// Large screen overrides
|
142
|
+
@media #{$medium-up} {
|
143
|
+
.clearing-main-prev,
|
144
|
+
.clearing-main-next {
|
145
|
+
position: absolute;
|
146
|
+
height: 100%;
|
147
|
+
width: 40px;
|
148
|
+
top: 0;
|
149
|
+
& > span {
|
150
|
+
position: absolute;
|
151
|
+
top: 50%;
|
152
|
+
display: block;
|
153
|
+
width: 0;
|
154
|
+
height: 0;
|
155
|
+
border: solid $clearing-arrow-size;
|
156
|
+
&:hover { opacity: 0.8; }
|
157
|
+
}
|
158
|
+
}
|
159
|
+
.clearing-main-prev {
|
160
|
+
#{$default-float}: 0;
|
161
|
+
& > span {
|
162
|
+
#{$default-float}: 5px;
|
163
|
+
border-color: transparent;
|
164
|
+
border-#{$opposite-direction}-color: $clearing-arrow-color;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
.clearing-main-next {
|
168
|
+
#{$opposite-direction}: 0;
|
169
|
+
& > span {
|
170
|
+
border-color: transparent;
|
171
|
+
border-#{$default-float}-color: $clearing-arrow-color;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
.clearing-main-prev.disabled,
|
176
|
+
.clearing-main-next.disabled { opacity: 0.3; }
|
177
|
+
|
178
|
+
.clearing-assembled .clearing-container {
|
179
|
+
|
180
|
+
.carousel {
|
181
|
+
background: $clearing-carousel-bg;
|
182
|
+
height: $clearing-carousel-height;
|
183
|
+
margin-top: 10px;
|
184
|
+
text-align: center;
|
185
|
+
|
186
|
+
& > ul {
|
187
|
+
display: inline-block;
|
188
|
+
z-index: 999;
|
189
|
+
height: 100%;
|
190
|
+
position: relative;
|
191
|
+
float: none;
|
192
|
+
|
193
|
+
li {
|
194
|
+
display: block;
|
195
|
+
width: $clearing-carousel-thumb-width;
|
196
|
+
min-height: inherit;
|
197
|
+
float: $default-float;
|
198
|
+
overflow: hidden;
|
199
|
+
margin-#{$opposite-direction}: 0;
|
200
|
+
padding: 0;
|
201
|
+
position: relative;
|
202
|
+
cursor: $cursor-pointer-value;
|
203
|
+
opacity: 0.4;
|
204
|
+
clear: none;
|
205
|
+
|
206
|
+
&.fix-height {
|
207
|
+
img {
|
208
|
+
height: 100%;
|
209
|
+
max-width: none;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
a.th {
|
214
|
+
border: none;
|
215
|
+
box-shadow: none;
|
216
|
+
display: block;
|
217
|
+
}
|
218
|
+
|
219
|
+
img {
|
220
|
+
cursor: $cursor-pointer-value !important;
|
221
|
+
width: 100% !important;
|
222
|
+
}
|
223
|
+
|
224
|
+
&.visible { opacity: 1; }
|
225
|
+
&:hover { opacity: 0.8; }
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
.visible-img {
|
231
|
+
background: $clearing-img-bg;
|
232
|
+
overflow: hidden;
|
233
|
+
height: $clearing-active-img-height;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
.clearing-close {
|
238
|
+
position: absolute;
|
239
|
+
top: 10px;
|
240
|
+
#{$opposite-direction}: 20px;
|
241
|
+
padding-#{$default-float}: 0;
|
242
|
+
padding-top: 0;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
}
|
247
|
+
}
|