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,129 @@
|
|
1
|
+
@import "global";
|
2
|
+
|
3
|
+
//
|
4
|
+
// @name _tables.scss
|
5
|
+
// @dependencies _global.scss
|
6
|
+
//
|
7
|
+
|
8
|
+
//
|
9
|
+
// @variables
|
10
|
+
//
|
11
|
+
|
12
|
+
$include-html-table-classes: $include-html-classes !default;
|
13
|
+
|
14
|
+
// These control the background color for the table and even rows
|
15
|
+
$table-bg: #fff !default;
|
16
|
+
$table-even-row-bg: #f9f9f9 !default;
|
17
|
+
|
18
|
+
// These control the table cell border style
|
19
|
+
$table-border-style: solid !default;
|
20
|
+
$table-border-size: 1px !default;
|
21
|
+
$table-border-color: #ddd !default;
|
22
|
+
|
23
|
+
// These control the table head styles
|
24
|
+
$table-head-bg: #f5f5f5 !default;
|
25
|
+
$table-head-font-size: rem-calc(14) !default;
|
26
|
+
$table-head-font-color: #222 !default;
|
27
|
+
$table-head-font-weight: $font-weight-bold !default;
|
28
|
+
$table-head-padding: rem-calc(8 10 10) !default;
|
29
|
+
|
30
|
+
// These control the table foot styles
|
31
|
+
$table-foot-bg: $table-head-bg !default;
|
32
|
+
$table-foot-font-size: $table-head-font-size !default;
|
33
|
+
$table-foot-font-color: $table-head-font-color !default;
|
34
|
+
$table-foot-font-weight: $table-head-font-weight !default;
|
35
|
+
$table-foot-padding: $table-head-padding !default;
|
36
|
+
|
37
|
+
// These control the caption
|
38
|
+
$table-caption-bg: transparent !default;
|
39
|
+
$table-caption-font-color: $table-head-font-color !default;
|
40
|
+
$table-caption-font-size: rem-calc(16) !default;
|
41
|
+
$table-caption-font-weight: bold !default;
|
42
|
+
|
43
|
+
// These control the row padding and font styles
|
44
|
+
$table-row-padding: rem-calc(9 10) !default;
|
45
|
+
$table-row-font-size: rem-calc(14) !default;
|
46
|
+
$table-row-font-color: #222 !default;
|
47
|
+
$table-line-height: rem-calc(18) !default;
|
48
|
+
|
49
|
+
// These are for controlling the display and margin of tables
|
50
|
+
$table-display: table-cell !default;
|
51
|
+
$table-margin-bottom: rem-calc(20) !default;
|
52
|
+
|
53
|
+
|
54
|
+
//
|
55
|
+
// @mixins
|
56
|
+
//
|
57
|
+
|
58
|
+
@mixin table {
|
59
|
+
background: $table-bg;
|
60
|
+
margin-bottom: $table-margin-bottom;
|
61
|
+
border: $table-border-style $table-border-size $table-border-color;
|
62
|
+
|
63
|
+
caption {
|
64
|
+
background: $table-caption-bg;
|
65
|
+
color: $table-caption-font-color;
|
66
|
+
font: {
|
67
|
+
size: $table-caption-font-size;
|
68
|
+
weight: $table-caption-font-weight;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
thead {
|
73
|
+
background: $table-head-bg;
|
74
|
+
|
75
|
+
tr {
|
76
|
+
th,
|
77
|
+
td {
|
78
|
+
padding: $table-head-padding;
|
79
|
+
font-size: $table-head-font-size;
|
80
|
+
font-weight: $table-head-font-weight;
|
81
|
+
color: $table-head-font-color;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
tfoot {
|
87
|
+
background: $table-foot-bg;
|
88
|
+
|
89
|
+
tr {
|
90
|
+
th,
|
91
|
+
td {
|
92
|
+
padding: $table-foot-padding;
|
93
|
+
font-size: $table-foot-font-size;
|
94
|
+
font-weight: $table-foot-font-weight;
|
95
|
+
color: $table-foot-font-color;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
tr {
|
101
|
+
th,
|
102
|
+
td {
|
103
|
+
padding: $table-row-padding;
|
104
|
+
font-size: $table-row-font-size;
|
105
|
+
color: $table-row-font-color;
|
106
|
+
text-align: $default-float;
|
107
|
+
}
|
108
|
+
|
109
|
+
&.even,
|
110
|
+
&.alt,
|
111
|
+
&:nth-of-type(even) { background: $table-even-row-bg; }
|
112
|
+
}
|
113
|
+
|
114
|
+
thead tr th,
|
115
|
+
tfoot tr th,
|
116
|
+
tfoot tr td,
|
117
|
+
tbody tr th,
|
118
|
+
tbody tr td,
|
119
|
+
tr td { display: $table-display; line-height: $table-line-height; }
|
120
|
+
}
|
121
|
+
|
122
|
+
|
123
|
+
@include exports("table") {
|
124
|
+
@if $include-html-table-classes {
|
125
|
+
table {
|
126
|
+
@include table;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
// Foundation by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
@import "global";
|
6
|
+
@import "grid";
|
7
|
+
@import "type";
|
8
|
+
|
9
|
+
//
|
10
|
+
// @variables
|
11
|
+
//
|
12
|
+
|
13
|
+
$include-html-tabs-classes: $include-html-classes !default;
|
14
|
+
|
15
|
+
$tabs-navigation-padding: rem-calc(16) !default;
|
16
|
+
$tabs-navigation-bg-color: #efefef !default;
|
17
|
+
$tabs-navigation-active-bg-color: #fff !default;
|
18
|
+
$tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%) !default;
|
19
|
+
$tabs-navigation-font-color: #222 !default;
|
20
|
+
$tabs-navigation-active-font-color: $tabs-navigation-font-color !default;
|
21
|
+
$tabs-navigation-font-size: rem-calc(16) !default;
|
22
|
+
$tabs-navigation-font-family: $body-font-family !default;
|
23
|
+
|
24
|
+
$tabs-content-margin-bottom: rem-calc(24) !default;
|
25
|
+
$tabs-content-padding: $column-gutter/2 !default;
|
26
|
+
|
27
|
+
$tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
28
|
+
|
29
|
+
@include exports("tab") {
|
30
|
+
@if $include-html-tabs-classes {
|
31
|
+
.tabs {
|
32
|
+
@include clearfix;
|
33
|
+
margin-bottom: 0 !important;
|
34
|
+
margin-left: 0;
|
35
|
+
dd, .tab-title {
|
36
|
+
position: relative;
|
37
|
+
margin-bottom: 0 !important;
|
38
|
+
list-style: none;
|
39
|
+
float: $default-float;
|
40
|
+
> a {
|
41
|
+
display: block;
|
42
|
+
background: $tabs-navigation-bg-color;
|
43
|
+
color: $tabs-navigation-font-color;
|
44
|
+
padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
|
45
|
+
font-family: $tabs-navigation-font-family;
|
46
|
+
font-size: $tabs-navigation-font-size;
|
47
|
+
&:hover { background: $tabs-navigation-hover-bg-color; }
|
48
|
+
}
|
49
|
+
&.active a { background: $tabs-navigation-active-bg-color; color:$tabs-navigation-active-font-color; }
|
50
|
+
}
|
51
|
+
&.radius {
|
52
|
+
dd:first-child, .tab:first-child {
|
53
|
+
a { @include side-radius($default-float, $global-radius); }
|
54
|
+
}
|
55
|
+
dd:last-child, .tab:last-child {
|
56
|
+
a { @include side-radius($opposite-direction, $global-radius); }
|
57
|
+
}
|
58
|
+
}
|
59
|
+
&.vertical {
|
60
|
+
dd, .tab {
|
61
|
+
position: inherit;
|
62
|
+
float: none;
|
63
|
+
display: block;
|
64
|
+
top: auto;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.tabs-content {
|
70
|
+
@include clearfix;
|
71
|
+
margin-bottom: $tabs-content-margin-bottom;
|
72
|
+
width: 100%;
|
73
|
+
> .content {
|
74
|
+
display: none;
|
75
|
+
float: $default-float;
|
76
|
+
padding: $tabs-content-padding 0;
|
77
|
+
width: 100%;
|
78
|
+
&.active { display: block; float: none; }
|
79
|
+
&.contained { padding: $tabs-content-padding; }
|
80
|
+
}
|
81
|
+
&.vertical {
|
82
|
+
display: block;
|
83
|
+
> .content { padding: 0 $tabs-content-padding; }
|
84
|
+
}
|
85
|
+
}
|
86
|
+
@media #{$medium-up} {
|
87
|
+
.tabs {
|
88
|
+
&.vertical {
|
89
|
+
width: 20%;
|
90
|
+
float: $default-float;
|
91
|
+
margin-bottom: $tabs-vertical-navigation-margin-bottom;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.tabs-content {
|
95
|
+
&.vertical {
|
96
|
+
width: 80%;
|
97
|
+
float: $default-float;
|
98
|
+
margin-#{$default-float}: -1px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
.no-js {
|
103
|
+
.tabs-content > .content {
|
104
|
+
display: block;
|
105
|
+
float: none;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
// Foundation by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
@import "global";
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
//
|
10
|
+
// @name _thumbs.scss
|
11
|
+
// @dependencies _globals.scss
|
12
|
+
//
|
13
|
+
|
14
|
+
//
|
15
|
+
// @variables
|
16
|
+
//
|
17
|
+
|
18
|
+
$include-html-media-classes: $include-html-classes !default;
|
19
|
+
|
20
|
+
// We use these to control border styles
|
21
|
+
$thumb-border-style: solid !default;
|
22
|
+
$thumb-border-width: 4px !default;
|
23
|
+
$thumb-border-color: #fff !default;
|
24
|
+
$thumb-box-shadow: 0 0 0 1px rgba(#000,.2) !default;
|
25
|
+
$thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5) !default;
|
26
|
+
|
27
|
+
// Radius and transition speed for thumbs
|
28
|
+
$thumb-radius: $global-radius !default;
|
29
|
+
$thumb-transition-speed: 200ms !default;
|
30
|
+
|
31
|
+
//
|
32
|
+
// @mixins
|
33
|
+
//
|
34
|
+
|
35
|
+
// We use this to create image thumbnail styles.
|
36
|
+
//
|
37
|
+
// $border-width - Width of border around thumbnail. Default: $thumb-border-width.
|
38
|
+
// $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow.
|
39
|
+
// $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover.
|
40
|
+
@mixin thumb(
|
41
|
+
$border-width:$thumb-border-width,
|
42
|
+
$box-shadow:$thumb-box-shadow,
|
43
|
+
$box-shadow-hover:$thumb-box-shadow-hover) {
|
44
|
+
line-height: 0;
|
45
|
+
display: inline-block;
|
46
|
+
border: $thumb-border-style $border-width $thumb-border-color;
|
47
|
+
max-width: 100%;
|
48
|
+
box-shadow: $box-shadow;
|
49
|
+
|
50
|
+
&:hover,
|
51
|
+
&:focus {
|
52
|
+
box-shadow: $box-shadow-hover;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
@include exports("thumb") {
|
58
|
+
@if $include-html-media-classes {
|
59
|
+
|
60
|
+
/* Image Thumbnails */
|
61
|
+
.th {
|
62
|
+
@include thumb;
|
63
|
+
@include single-transition(all,$thumb-transition-speed,ease-out);
|
64
|
+
|
65
|
+
&.radius { @include radius($thumb-radius); }
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
// Foundation by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
@import "global";
|
6
|
+
|
7
|
+
//
|
8
|
+
// Tooltip Variables
|
9
|
+
//
|
10
|
+
$include-html-tooltip-classes: $include-html-classes !default;
|
11
|
+
|
12
|
+
$has-tip-border-bottom: dotted 1px #ccc !default;
|
13
|
+
$has-tip-font-weight: $font-weight-bold !default;
|
14
|
+
$has-tip-font-color: #333 !default;
|
15
|
+
$has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%) !default;
|
16
|
+
$has-tip-font-color-hover: $primary-color !default;
|
17
|
+
$has-tip-cursor-type: help !default;
|
18
|
+
|
19
|
+
$tooltip-padding: rem-calc(12) !default;
|
20
|
+
$tooltip-bg: #333 !default;
|
21
|
+
$tooltip-font-size: rem-calc(14) !default;
|
22
|
+
$tooltip-font-weight: $font-weight-normal !default;
|
23
|
+
$tooltip-font-color: #fff !default;
|
24
|
+
$tooltip-line-height: 1.3 !default;
|
25
|
+
$tooltip-close-font-size: rem-calc(10) !default;
|
26
|
+
$tooltip-close-font-weight: $font-weight-normal !default;
|
27
|
+
$tooltip-close-font-color: #777 !default;
|
28
|
+
$tooltip-font-size-sml: rem-calc(14) !default;
|
29
|
+
$tooltip-radius: $global-radius !default;
|
30
|
+
$tooltip-rounded: $global-rounded !default;
|
31
|
+
$tooltip-pip-size: 5px !default;
|
32
|
+
|
33
|
+
@include exports("tooltip") {
|
34
|
+
@if $include-html-tooltip-classes {
|
35
|
+
|
36
|
+
/* Tooltips */
|
37
|
+
.has-tip {
|
38
|
+
border-bottom: $has-tip-border-bottom;
|
39
|
+
cursor: $has-tip-cursor-type;
|
40
|
+
font-weight: $has-tip-font-weight;
|
41
|
+
color: $has-tip-font-color;
|
42
|
+
|
43
|
+
&:hover,
|
44
|
+
&:focus {
|
45
|
+
border-bottom: $has-tip-border-bottom-hover;
|
46
|
+
color: $has-tip-font-color-hover;
|
47
|
+
}
|
48
|
+
|
49
|
+
&.tip-left,
|
50
|
+
&.tip-right { float: none !important; }
|
51
|
+
}
|
52
|
+
|
53
|
+
.tooltip {
|
54
|
+
display: none;
|
55
|
+
position: absolute;
|
56
|
+
z-index: 999;
|
57
|
+
font-weight: $tooltip-font-weight;
|
58
|
+
font-size: $tooltip-font-size;
|
59
|
+
line-height: $tooltip-line-height;
|
60
|
+
padding: $tooltip-padding;
|
61
|
+
max-width: 85%;
|
62
|
+
#{$default-float}: 50%;
|
63
|
+
width: 100%;
|
64
|
+
color: $tooltip-font-color;
|
65
|
+
background: $tooltip-bg;
|
66
|
+
|
67
|
+
&>.nub {
|
68
|
+
display: block;
|
69
|
+
#{$default-float}: $tooltip-pip-size;
|
70
|
+
position: absolute;
|
71
|
+
width: 0;
|
72
|
+
height: 0;
|
73
|
+
border: solid $tooltip-pip-size;
|
74
|
+
border-color: transparent transparent $tooltip-bg transparent;
|
75
|
+
top: -($tooltip-pip-size * 2);
|
76
|
+
|
77
|
+
&.rtl {
|
78
|
+
left: auto;
|
79
|
+
#{$opposite-direction}: $tooltip-pip-size;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
&.radius {
|
84
|
+
@include radius($tooltip-radius);
|
85
|
+
}
|
86
|
+
&.round {
|
87
|
+
@include radius($tooltip-rounded);
|
88
|
+
&>.nub {
|
89
|
+
left: 2rem;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
&.opened {
|
94
|
+
color: $has-tip-font-color-hover !important;
|
95
|
+
border-bottom: $has-tip-border-bottom-hover !important;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
.tap-to-close {
|
100
|
+
display: block;
|
101
|
+
font-size: $tooltip-close-font-size;
|
102
|
+
color: $tooltip-close-font-color;
|
103
|
+
font-weight: $tooltip-close-font-weight;
|
104
|
+
}
|
105
|
+
|
106
|
+
@media #{$small} {
|
107
|
+
.tooltip {
|
108
|
+
&>.nub {
|
109
|
+
border-color: transparent transparent $tooltip-bg transparent;
|
110
|
+
top: -($tooltip-pip-size * 2);
|
111
|
+
}
|
112
|
+
&.tip-top>.nub {
|
113
|
+
border-color: $tooltip-bg transparent transparent transparent;
|
114
|
+
top: auto;
|
115
|
+
bottom: -($tooltip-pip-size * 2);
|
116
|
+
}
|
117
|
+
|
118
|
+
&.tip-left,
|
119
|
+
&.tip-right { float: none !important; }
|
120
|
+
|
121
|
+
&.tip-left>.nub {
|
122
|
+
border-color: transparent transparent transparent $tooltip-bg;
|
123
|
+
right: -($tooltip-pip-size * 2);
|
124
|
+
left: auto;
|
125
|
+
top: 50%;
|
126
|
+
margin-top: -$tooltip-pip-size;
|
127
|
+
}
|
128
|
+
&.tip-right>.nub {
|
129
|
+
border-color: transparent $tooltip-bg transparent transparent;
|
130
|
+
right: auto;
|
131
|
+
left: -($tooltip-pip-size * 2);
|
132
|
+
top: 50%;
|
133
|
+
margin-top: -$tooltip-pip-size;
|
134
|
+
}
|
135
|
+
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
}
|
140
|
+
}
|
@@ -0,0 +1,644 @@
|
|
1
|
+
// Foundation by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
@import "global";
|
6
|
+
@import "grid";
|
7
|
+
@import "buttons";
|
8
|
+
|
9
|
+
//
|
10
|
+
// Top Bar Variables
|
11
|
+
//
|
12
|
+
$include-html-top-bar-classes: $include-html-classes !default;
|
13
|
+
|
14
|
+
// Background color for the top bar
|
15
|
+
$topbar-bg-color: #333 !default;
|
16
|
+
$topbar-bg: $topbar-bg-color !default;
|
17
|
+
|
18
|
+
// Height and margin
|
19
|
+
$topbar-height: 45px !default;
|
20
|
+
$topbar-margin-bottom: 0 !default;
|
21
|
+
|
22
|
+
// Controlling the styles for the title in the top bar
|
23
|
+
$topbar-title-weight: $font-weight-normal !default;
|
24
|
+
$topbar-title-font-size: rem-calc(17) !default;
|
25
|
+
|
26
|
+
// Style the top bar dropdown elements
|
27
|
+
$topbar-dropdown-bg: #333 !default;
|
28
|
+
$topbar-dropdown-link-color: #fff !default;
|
29
|
+
$topbar-dropdown-link-bg: #333 !default;
|
30
|
+
$topbar-dropdown-link-weight: $font-weight-normal !default;
|
31
|
+
$topbar-dropdown-toggle-size: 5px !default;
|
32
|
+
$topbar-dropdown-toggle-color: #fff !default;
|
33
|
+
$topbar-dropdown-toggle-alpha: 0.4 !default;
|
34
|
+
|
35
|
+
// Set the link colors and styles for top-level nav
|
36
|
+
$topbar-link-color: #fff !default;
|
37
|
+
$topbar-link-color-hover: #fff !default;
|
38
|
+
$topbar-link-color-active: #fff !default;
|
39
|
+
$topbar-link-color-active-hover: #fff !default;
|
40
|
+
$topbar-link-weight: $font-weight-normal !default;
|
41
|
+
$topbar-link-font-size: rem-calc(13) !default;
|
42
|
+
$topbar-link-hover-lightness: -10% !default; // Darken by 10%
|
43
|
+
$topbar-link-bg: $topbar-bg !default;
|
44
|
+
$topbar-link-bg-hover: #272727 !default;
|
45
|
+
$topbar-link-bg-active: $primary-color !default;
|
46
|
+
$topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%) !default;
|
47
|
+
$topbar-link-font-family: $body-font-family !default;
|
48
|
+
$topbar-link-text-transform: none !default;
|
49
|
+
$topbar-link-padding: $topbar-height / 3 !default;
|
50
|
+
|
51
|
+
$topbar-button-font-size: 0.75rem !default;
|
52
|
+
$topbar-button-top: 7px !default;
|
53
|
+
|
54
|
+
$topbar-dropdown-label-color: #777 !default;
|
55
|
+
$topbar-dropdown-label-text-transform: uppercase !default;
|
56
|
+
$topbar-dropdown-label-font-weight: $font-weight-bold !default;
|
57
|
+
$topbar-dropdown-label-font-size: rem-calc(10) !default;
|
58
|
+
$topbar-dropdown-label-bg: #333 !default;
|
59
|
+
|
60
|
+
// Top menu icon styles
|
61
|
+
$topbar-menu-link-transform: uppercase !default;
|
62
|
+
$topbar-menu-link-font-size: rem-calc(13) !default;
|
63
|
+
$topbar-menu-link-weight: $font-weight-bold !default;
|
64
|
+
$topbar-menu-link-color: #fff !default;
|
65
|
+
$topbar-menu-icon-color: #fff !default;
|
66
|
+
$topbar-menu-link-color-toggled: #888 !default;
|
67
|
+
$topbar-menu-icon-color-toggled: #888 !default;
|
68
|
+
|
69
|
+
// Transitions and breakpoint styles
|
70
|
+
$topbar-transition-speed: 300ms !default;
|
71
|
+
// Using rem-calc for the below breakpoint causes issues with top bar
|
72
|
+
$topbar-breakpoint: #{lower-bound($medium-range)} !default; // Change to 9999px for always mobile layout
|
73
|
+
$topbar-media-query: $medium-up !default;
|
74
|
+
|
75
|
+
// Divider Styles
|
76
|
+
$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
|
77
|
+
$topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%) !default;
|
78
|
+
|
79
|
+
// Sticky Class
|
80
|
+
$topbar-sticky-class: ".sticky" !default;
|
81
|
+
$topbar-arrows: true !default; //Set false to remove the triangle icon from the menu item
|
82
|
+
|
83
|
+
// Accessibility mixins for hiding and showing the menu dropdown items
|
84
|
+
@mixin topbar-hide-dropdown {
|
85
|
+
// Makes an element visually hidden by default, but visible when focused.
|
86
|
+
display: block;
|
87
|
+
@include element-invisible();
|
88
|
+
}
|
89
|
+
|
90
|
+
@mixin topbar-show-dropdown {
|
91
|
+
display: block;
|
92
|
+
@include element-invisible-off();
|
93
|
+
position: absolute !important; // Reset the position from static to absolute
|
94
|
+
}
|
95
|
+
|
96
|
+
@include exports("top-bar") {
|
97
|
+
|
98
|
+
@if $include-html-top-bar-classes {
|
99
|
+
|
100
|
+
// Used to provide media query values for javascript components.
|
101
|
+
// This class is generated despite the value of $include-html-top-bar-classes
|
102
|
+
// to ensure width calculations work correctly.
|
103
|
+
meta.foundation-mq-topbar {
|
104
|
+
font-family: "/" + unquote($topbar-media-query) + "/";
|
105
|
+
width: $topbar-breakpoint;
|
106
|
+
}
|
107
|
+
|
108
|
+
/* Wrapped around .top-bar to contain to grid width */
|
109
|
+
.contain-to-grid {
|
110
|
+
width: 100%;
|
111
|
+
background: $topbar-bg;
|
112
|
+
|
113
|
+
.top-bar { margin-bottom: $topbar-margin-bottom; }
|
114
|
+
}
|
115
|
+
|
116
|
+
// Wrapped around .top-bar to make it stick to the top
|
117
|
+
.fixed {
|
118
|
+
width: 100%;
|
119
|
+
#{$default-float}: 0;
|
120
|
+
position: fixed;
|
121
|
+
top: 0;
|
122
|
+
z-index: 99;
|
123
|
+
|
124
|
+
&.expanded:not(.top-bar) {
|
125
|
+
overflow-y: auto;
|
126
|
+
height: auto;
|
127
|
+
width: 100%;
|
128
|
+
max-height: 100%;
|
129
|
+
|
130
|
+
.title-area {
|
131
|
+
position: fixed;
|
132
|
+
width: 100%;
|
133
|
+
z-index: 99;
|
134
|
+
}
|
135
|
+
// Ensure you can scroll the menu on small screens
|
136
|
+
.top-bar-section {
|
137
|
+
z-index: 98;
|
138
|
+
margin-top: $topbar-height;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
.top-bar {
|
144
|
+
overflow: hidden;
|
145
|
+
height: $topbar-height;
|
146
|
+
line-height: $topbar-height;
|
147
|
+
position: relative;
|
148
|
+
background: $topbar-bg;
|
149
|
+
margin-bottom: $topbar-margin-bottom;
|
150
|
+
|
151
|
+
// Topbar Global list Styles
|
152
|
+
ul {
|
153
|
+
margin-bottom: 0;
|
154
|
+
list-style: none;
|
155
|
+
}
|
156
|
+
|
157
|
+
.row { max-width: none; }
|
158
|
+
|
159
|
+
form,
|
160
|
+
input { margin-bottom: 0; }
|
161
|
+
|
162
|
+
input { height: auto; padding-top: .35rem; padding-bottom: .35rem; font-size: $topbar-button-font-size; }
|
163
|
+
|
164
|
+
.button, button {
|
165
|
+
padding-top: .45rem;
|
166
|
+
padding-bottom: .35rem;
|
167
|
+
margin-bottom: 0;
|
168
|
+
font-size: $topbar-button-font-size;
|
169
|
+
// position: relative;
|
170
|
+
// top: -1px;
|
171
|
+
|
172
|
+
}
|
173
|
+
|
174
|
+
// Title Area
|
175
|
+
.title-area {
|
176
|
+
position: relative;
|
177
|
+
margin: 0;
|
178
|
+
}
|
179
|
+
|
180
|
+
.name {
|
181
|
+
height: $topbar-height;
|
182
|
+
margin: 0;
|
183
|
+
font-size: $rem-base;
|
184
|
+
|
185
|
+
h1 {
|
186
|
+
line-height: $topbar-height;
|
187
|
+
font-size: $topbar-title-font-size;
|
188
|
+
margin: 0;
|
189
|
+
a {
|
190
|
+
font-weight: $topbar-title-weight;
|
191
|
+
color: $topbar-link-color;
|
192
|
+
width: 75%;
|
193
|
+
display: block;
|
194
|
+
padding: 0 $topbar-link-padding;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
// Menu toggle button on small devices
|
200
|
+
.toggle-topbar {
|
201
|
+
position: absolute;
|
202
|
+
#{$opposite-direction}: 0;
|
203
|
+
top: 0;
|
204
|
+
|
205
|
+
a {
|
206
|
+
color: $topbar-link-color;
|
207
|
+
text-transform: $topbar-menu-link-transform;
|
208
|
+
font-size: $topbar-menu-link-font-size;
|
209
|
+
font-weight: $topbar-menu-link-weight;
|
210
|
+
position: relative;
|
211
|
+
display: block;
|
212
|
+
padding: 0 $topbar-link-padding;
|
213
|
+
height: $topbar-height;
|
214
|
+
line-height: $topbar-height;
|
215
|
+
}
|
216
|
+
|
217
|
+
// Adding the class "menu-icon" will add the 3-line icon people love and adore.
|
218
|
+
&.menu-icon {
|
219
|
+
#{$opposite-direction}: $topbar-link-padding;
|
220
|
+
top: 50%;
|
221
|
+
margin-top: -16px;
|
222
|
+
padding-#{$default-float}: 40px;
|
223
|
+
|
224
|
+
a {
|
225
|
+
@if $text-direction == rtl {
|
226
|
+
text-indent: -58px;
|
227
|
+
}
|
228
|
+
height: 34px;
|
229
|
+
line-height: 33px;
|
230
|
+
padding: 0;
|
231
|
+
color: $topbar-menu-link-color;
|
232
|
+
position: relative;
|
233
|
+
|
234
|
+
&::after {
|
235
|
+
// @include hamburger icon
|
236
|
+
//
|
237
|
+
// We use this to create the icon with three lines aka the hamburger icon, the menu-icon or the navicon
|
238
|
+
// $width - Width of hamburger icon
|
239
|
+
// $left - If false, icon will be centered horizontally || explicitly set value in rem
|
240
|
+
// $top - If false, icon will be centered vertically || explicitly set value in rem
|
241
|
+
// $thickness - thickness of lines in hamburger icon, set value in px
|
242
|
+
// $gap - spacing between the lines in hamburger icon, set value in px
|
243
|
+
// $color - icon color
|
244
|
+
// $hover-color - icon color during hover, here it is set the same as $color because the values are changed on line 264
|
245
|
+
// $offcanvas - Set to false of @include in topbar
|
246
|
+
@include hamburger(16px, false, 0, 1px, 6px, $topbar-menu-icon-color, $topbar-menu-icon-color, false );
|
247
|
+
#{$opposite-direction}: 0;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
|
253
|
+
// Change things up when the top-bar is expanded
|
254
|
+
&.expanded {
|
255
|
+
height: auto;
|
256
|
+
background: transparent;
|
257
|
+
|
258
|
+
.title-area { background: $topbar-bg; }
|
259
|
+
|
260
|
+
.toggle-topbar {
|
261
|
+
a { color: $topbar-menu-link-color-toggled;
|
262
|
+
&::after {
|
263
|
+
// Shh, don't tell, but box-shadows create the menu icon :)
|
264
|
+
box-shadow: 0 10px 0 1px $topbar-menu-icon-color-toggled,
|
265
|
+
0 16px 0 1px $topbar-menu-icon-color-toggled,
|
266
|
+
0 22px 0 1px $topbar-menu-icon-color-toggled;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
}
|
275
|
+
|
276
|
+
// Right and Left Navigation that stacked by default
|
277
|
+
.top-bar-section {
|
278
|
+
#{$default-float}: 0;
|
279
|
+
position: relative;
|
280
|
+
width: auto;
|
281
|
+
@include single-transition($default-float, $topbar-transition-speed);
|
282
|
+
|
283
|
+
ul {
|
284
|
+
padding: 0;
|
285
|
+
width: 100%;
|
286
|
+
height: auto;
|
287
|
+
display: block;
|
288
|
+
font-size: $rem-base;
|
289
|
+
margin: 0;
|
290
|
+
}
|
291
|
+
|
292
|
+
.divider,
|
293
|
+
[role="separator"] {
|
294
|
+
border-top: $topbar-divider-border-top;
|
295
|
+
clear: both;
|
296
|
+
height: 1px;
|
297
|
+
width: 100%;
|
298
|
+
}
|
299
|
+
|
300
|
+
ul li {
|
301
|
+
background: $topbar-dropdown-bg;
|
302
|
+
& > a {
|
303
|
+
display: block;
|
304
|
+
width: 100%;
|
305
|
+
color: $topbar-link-color;
|
306
|
+
padding: 12px 0 12px 0;
|
307
|
+
padding-#{$default-float}: $topbar-link-padding;
|
308
|
+
font-family: $topbar-link-font-family;
|
309
|
+
font-size: $topbar-link-font-size;
|
310
|
+
font-weight: $topbar-link-weight;
|
311
|
+
text-transform: $topbar-link-text-transform;
|
312
|
+
|
313
|
+
|
314
|
+
&.button {
|
315
|
+
font-size: $topbar-link-font-size;
|
316
|
+
padding-#{$opposite-direction}: $topbar-link-padding;
|
317
|
+
padding-#{$default-float}: $topbar-link-padding;
|
318
|
+
@include button-style($bg:$primary-color);
|
319
|
+
}
|
320
|
+
&.button.secondary { @include button-style($bg:$secondary-color); }
|
321
|
+
&.button.success { @include button-style($bg:$success-color); }
|
322
|
+
&.button.alert { @include button-style($bg:$alert-color); }
|
323
|
+
}
|
324
|
+
|
325
|
+
> button {
|
326
|
+
font-size: $topbar-link-font-size;
|
327
|
+
padding-#{$opposite-direction}: $topbar-link-padding;
|
328
|
+
padding-#{$default-float}: $topbar-link-padding;
|
329
|
+
@include button-style($bg:$primary-color);
|
330
|
+
|
331
|
+
&.secondary { @include button-style($bg:$secondary-color); }
|
332
|
+
&.success { @include button-style($bg:$success-color); }
|
333
|
+
&.alert { @include button-style($bg:$alert-color); }
|
334
|
+
}
|
335
|
+
|
336
|
+
// Apply the hover link color when it has that class
|
337
|
+
&:hover:not(.has-form) > a {
|
338
|
+
background: $topbar-link-bg-hover;
|
339
|
+
color: $topbar-link-color-hover;
|
340
|
+
|
341
|
+
}
|
342
|
+
|
343
|
+
// Apply the active link color when it has that class
|
344
|
+
&.active > a {
|
345
|
+
background: $topbar-link-bg-active;
|
346
|
+
color: $topbar-link-color-active;
|
347
|
+
&:hover {
|
348
|
+
background: $topbar-link-bg-active-hover;
|
349
|
+
color: $topbar-link-color-active-hover;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
}
|
353
|
+
|
354
|
+
// Add some extra padding for list items contains buttons
|
355
|
+
.has-form { padding: $topbar-link-padding; }
|
356
|
+
|
357
|
+
// Styling for list items that have a dropdown within them.
|
358
|
+
.has-dropdown {
|
359
|
+
position: relative;
|
360
|
+
|
361
|
+
& > a {
|
362
|
+
&:after {
|
363
|
+
@if ($topbar-arrows){
|
364
|
+
@include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), $default-float);
|
365
|
+
}
|
366
|
+
margin-#{$opposite-direction}: $topbar-link-padding;
|
367
|
+
margin-top: -($topbar-dropdown-toggle-size / 2) - 2;
|
368
|
+
position: absolute;
|
369
|
+
top: 50%;
|
370
|
+
#{$opposite-direction}: 0;
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
&.moved { position: static;
|
375
|
+
& > .dropdown {
|
376
|
+
@include topbar-show-dropdown();
|
377
|
+
width: 100%;
|
378
|
+
}
|
379
|
+
& > a:after {
|
380
|
+
display: none;
|
381
|
+
}
|
382
|
+
}
|
383
|
+
}
|
384
|
+
|
385
|
+
// Styling elements inside of dropdowns
|
386
|
+
.dropdown {
|
387
|
+
padding: 0;
|
388
|
+
position: absolute;
|
389
|
+
#{$default-float}: 100%;
|
390
|
+
top: 0;
|
391
|
+
z-index: 99;
|
392
|
+
@include topbar-hide-dropdown();
|
393
|
+
|
394
|
+
li {
|
395
|
+
width: 100%;
|
396
|
+
height: auto;
|
397
|
+
|
398
|
+
a {
|
399
|
+
font-weight: $topbar-dropdown-link-weight;
|
400
|
+
padding: 8px $topbar-link-padding;
|
401
|
+
&.parent-link {
|
402
|
+
font-weight: $topbar-link-weight;
|
403
|
+
}
|
404
|
+
}
|
405
|
+
|
406
|
+
&.title h5 {
|
407
|
+
margin-bottom: 0;
|
408
|
+
margin-top: 0;
|
409
|
+
a {
|
410
|
+
color: $topbar-link-color;
|
411
|
+
line-height: $topbar-height / 2;
|
412
|
+
display: block;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
&.has-form { padding: 8px $topbar-link-padding; }
|
416
|
+
.button, button { top: auto; }
|
417
|
+
}
|
418
|
+
|
419
|
+
label {
|
420
|
+
padding: 8px $topbar-link-padding 2px;
|
421
|
+
margin-bottom: 0;
|
422
|
+
text-transform: $topbar-dropdown-label-text-transform;
|
423
|
+
color: $topbar-dropdown-label-color;
|
424
|
+
font-weight: $topbar-dropdown-label-font-weight;
|
425
|
+
font-size: $topbar-dropdown-label-font-size;
|
426
|
+
}
|
427
|
+
}
|
428
|
+
}
|
429
|
+
|
430
|
+
.js-generated { display: block; }
|
431
|
+
|
432
|
+
|
433
|
+
// Top Bar styles intended for screen sizes above the breakpoint.
|
434
|
+
@media #{$topbar-media-query} {
|
435
|
+
.top-bar {
|
436
|
+
background: $topbar-bg;
|
437
|
+
@include clearfix;
|
438
|
+
overflow: visible;
|
439
|
+
|
440
|
+
.toggle-topbar { display: none; }
|
441
|
+
|
442
|
+
.title-area { float: $default-float; }
|
443
|
+
.name h1 a { width: auto; }
|
444
|
+
|
445
|
+
input,
|
446
|
+
.button,
|
447
|
+
button {
|
448
|
+
font-size: rem-calc(14);
|
449
|
+
position: relative;
|
450
|
+
top: $topbar-button-top;
|
451
|
+
}
|
452
|
+
|
453
|
+
&.expanded { background: $topbar-bg; }
|
454
|
+
}
|
455
|
+
|
456
|
+
.contain-to-grid .top-bar {
|
457
|
+
max-width: $row-width;
|
458
|
+
margin: 0 auto;
|
459
|
+
margin-bottom: $topbar-margin-bottom;
|
460
|
+
}
|
461
|
+
|
462
|
+
.top-bar-section {
|
463
|
+
@include single-transition(none,0,0);
|
464
|
+
#{$default-float}: 0 !important;
|
465
|
+
|
466
|
+
ul {
|
467
|
+
width: auto;
|
468
|
+
height: auto !important;
|
469
|
+
display: inline;
|
470
|
+
|
471
|
+
li {
|
472
|
+
float: $default-float;
|
473
|
+
.js-generated { display: none; }
|
474
|
+
}
|
475
|
+
}
|
476
|
+
|
477
|
+
li {
|
478
|
+
&.hover {
|
479
|
+
> a:not(.button) {
|
480
|
+
background: $topbar-link-bg-hover;
|
481
|
+
color: $topbar-link-color-hover;
|
482
|
+
}
|
483
|
+
}
|
484
|
+
&:not(.has-form) {
|
485
|
+
a:not(.button) {
|
486
|
+
padding: 0 $topbar-link-padding;
|
487
|
+
line-height: $topbar-height;
|
488
|
+
background: $topbar-link-bg;
|
489
|
+
&:hover { background: $topbar-link-bg-hover; }
|
490
|
+
}
|
491
|
+
}
|
492
|
+
&.active:not(.has-form) {
|
493
|
+
a:not(.button) {
|
494
|
+
padding: 0 $topbar-link-padding;
|
495
|
+
line-height: $topbar-height;
|
496
|
+
color: $topbar-link-color-active;
|
497
|
+
background: $topbar-link-bg-active;
|
498
|
+
&:hover { background: $topbar-link-bg-active-hover; }
|
499
|
+
}
|
500
|
+
}
|
501
|
+
}
|
502
|
+
|
503
|
+
.has-dropdown {
|
504
|
+
|
505
|
+
@if($topbar-arrows){
|
506
|
+
|
507
|
+
& > a {
|
508
|
+
padding-#{$opposite-direction}: $topbar-link-padding + 20 !important;
|
509
|
+
&:after {
|
510
|
+
@include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), top);
|
511
|
+
margin-top: -($topbar-dropdown-toggle-size / 2);
|
512
|
+
top: $topbar-height / 2;
|
513
|
+
}
|
514
|
+
}
|
515
|
+
|
516
|
+
}
|
517
|
+
|
518
|
+
&.moved { position: relative;
|
519
|
+
& > .dropdown {
|
520
|
+
@include topbar-hide-dropdown();
|
521
|
+
}
|
522
|
+
}
|
523
|
+
|
524
|
+
&.hover, &.not-click:hover {
|
525
|
+
& > .dropdown {
|
526
|
+
@include topbar-show-dropdown();
|
527
|
+
}
|
528
|
+
}
|
529
|
+
|
530
|
+
.dropdown li.has-dropdown {
|
531
|
+
& > a {
|
532
|
+
&:after {
|
533
|
+
border: none;
|
534
|
+
content: "\00bb";
|
535
|
+
top: 1rem;
|
536
|
+
margin-top: -1px;
|
537
|
+
#{$opposite-direction}: 5px;
|
538
|
+
line-height: 1.2;
|
539
|
+
}
|
540
|
+
}
|
541
|
+
}
|
542
|
+
|
543
|
+
}
|
544
|
+
|
545
|
+
.dropdown {
|
546
|
+
#{$default-float}: 0;
|
547
|
+
top: auto;
|
548
|
+
background: transparent;
|
549
|
+
min-width: 100%;
|
550
|
+
|
551
|
+
li {
|
552
|
+
a {
|
553
|
+
color: $topbar-dropdown-link-color;
|
554
|
+
line-height: $topbar-height;
|
555
|
+
white-space: nowrap;
|
556
|
+
padding: 12px $topbar-link-padding;
|
557
|
+
background: $topbar-dropdown-link-bg;
|
558
|
+
}
|
559
|
+
|
560
|
+
&:not(.has-form) a:not(.button) {
|
561
|
+
color: $topbar-dropdown-link-color;
|
562
|
+
background: $topbar-dropdown-link-bg;
|
563
|
+
}
|
564
|
+
&:not(.has-form):hover > a:not(.button) {
|
565
|
+
color: $topbar-link-color-hover;
|
566
|
+
background: $topbar-link-bg-hover;
|
567
|
+
}
|
568
|
+
|
569
|
+
label {
|
570
|
+
white-space: nowrap;
|
571
|
+
background: $topbar-dropdown-label-bg;
|
572
|
+
}
|
573
|
+
|
574
|
+
// Second Level Dropdowns
|
575
|
+
.dropdown {
|
576
|
+
#{$default-float}: 100%;
|
577
|
+
top: 0;
|
578
|
+
}
|
579
|
+
}
|
580
|
+
}
|
581
|
+
|
582
|
+
& > ul > .divider,
|
583
|
+
& > ul > [role="separator"] {
|
584
|
+
border-bottom: none;
|
585
|
+
border-top: none;
|
586
|
+
border-#{$opposite-direction}: $topbar-divider-border-bottom;
|
587
|
+
clear: none;
|
588
|
+
height: $topbar-height;
|
589
|
+
width: 0;
|
590
|
+
}
|
591
|
+
|
592
|
+
.has-form {
|
593
|
+
background: $topbar-link-bg;
|
594
|
+
padding: 0 $topbar-height / 3;
|
595
|
+
height: $topbar-height;
|
596
|
+
}
|
597
|
+
|
598
|
+
// Position overrides for ul.right and ul.left
|
599
|
+
.right {
|
600
|
+
li .dropdown {
|
601
|
+
#{$default-float}: auto;
|
602
|
+
#{$opposite-direction}: 0;
|
603
|
+
|
604
|
+
li .dropdown { #{$opposite-direction}: 100%; }
|
605
|
+
}
|
606
|
+
}
|
607
|
+
.left {
|
608
|
+
li .dropdown {
|
609
|
+
#{$opposite-direction}: auto;
|
610
|
+
#{$default-float}: 0;
|
611
|
+
|
612
|
+
li .dropdown { #{$default-float}: 100%; }
|
613
|
+
}
|
614
|
+
}
|
615
|
+
}
|
616
|
+
|
617
|
+
// Degrade gracefully when Javascript is disabled. Displays dropdown and changes
|
618
|
+
// background & text color on hover.
|
619
|
+
.no-js .top-bar-section {
|
620
|
+
ul li {
|
621
|
+
// Apply the hover link color when it has that class
|
622
|
+
&:hover > a {
|
623
|
+
background: $topbar-link-bg-hover;
|
624
|
+
color: $topbar-link-color-hover;
|
625
|
+
}
|
626
|
+
|
627
|
+
// Apply the active link color when it has that class
|
628
|
+
&:active > a {
|
629
|
+
background: $topbar-link-bg-active;
|
630
|
+
color: $topbar-link-color-active;
|
631
|
+
}
|
632
|
+
}
|
633
|
+
|
634
|
+
.has-dropdown {
|
635
|
+
&:hover {
|
636
|
+
& > .dropdown {
|
637
|
+
@include topbar-show-dropdown();
|
638
|
+
}
|
639
|
+
}
|
640
|
+
}
|
641
|
+
}
|
642
|
+
}
|
643
|
+
}
|
644
|
+
}
|