From 3a649b686c68817dd036945f8ecbd478973075f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Mon, 3 Mar 2014 21:21:35 +0100 Subject: [PATCH] Minify theme files --- Gruntfile.js | 6 ++++++ dist/ratchet-theme-android.min.css | 9 +++++++++ dist/ratchet-theme-ios.min.css | 9 +++++++++ docs/dist/ratchet-theme-android.min.css | 9 +++++++++ docs/dist/ratchet-theme-ios.min.css | 9 +++++++++ 5 files changed, 42 insertions(+) create mode 100644 dist/ratchet-theme-android.min.css create mode 100644 dist/ratchet-theme-ios.min.css create mode 100644 docs/dist/ratchet-theme-android.min.css create mode 100644 docs/dist/ratchet-theme-ios.min.css diff --git a/Gruntfile.js b/Gruntfile.js index 60bed31..dc636fa 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -90,6 +90,12 @@ module.exports = function(grunt) { src: '<%= meta.distPath %><%= pkg.name %>.css', dest: '<%= meta.distPath %><%= pkg.name %>.min.css' }, + theme: { + files: { + '<%= meta.distPath %><%= pkg.name %>-theme-ios.min.css': '<%= meta.distPath %><%= pkg.name %>-theme-ios.css', + '<%= meta.distPath %><%= pkg.name %>-theme-android.min.css' : '<%= meta.distPath %><%= pkg.name %>-theme-android.css' + } + }, docs: { src: [ '<%= meta.docsAssetsPath %>css/docs.css', diff --git a/dist/ratchet-theme-android.min.css b/dist/ratchet-theme-android.min.css new file mode 100644 index 0000000..8606762 --- /dev/null +++ b/dist/ratchet-theme-android.min.css @@ -0,0 +1,9 @@ +/*! + * ===================================================== + * Ratchet v2.0.0 (http://goratchet.com) + * Copyright 2014 Connor Sears + * Licensed under MIT. + * + * v2.0.0 designed by @connors. + * ===================================================== + */body{font-family:Roboto,sans-serif;font-size:18px;line-height:22px;color:#222}a{color:#33b5e5}a:active{color:#1a9bcb}.content{background-color:#f2f2f2}.bar-nav~.content{padding-top:50px}.bar-header-secondary~.content{padding-top:100px}.bar-tab~.content{padding-top:50px;padding-bottom:0}.bar-footer~.content{padding-bottom:50px}.bar-footer-secondary~.content{padding-bottom:100px}.btn{padding:8px 15px;font-size:14px;color:#222;background-color:#cecece;border:0;border-radius:2px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2),0 1px 1px rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2),0 1px 1px rgba(0,0,0,.25)}.btn:active,.btn.active{color:#222;border:0;background-color:#999;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2)}.btn-primary{color:#fff;border:0;background-color:#33b5e5}.btn-primary:active,.btn-primary.active{color:#fff;border:0;background-color:#1a9bcb}.btn-positive{color:#fff;border:0;background-color:#9c0}.btn-positive:active,.btn-positive.active{color:#fff;border:0;background-color:#739900}.btn-negative{color:#fff;border:0;background-color:#f44}.btn-negative:active,.btn-negative.active{color:#fff;border:0;background-color:#f11}.btn-outlined{border:1px solid #999;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-outlined.btn-primary{border:1px solid #33b5e5;color:#33b5e5}.btn-outlined.btn-primary:active{border:1px solid #33b5e5;background-color:#33b5e5}.btn-outlined.btn-positive{border:1px solid #9c0;color:#9c0}.btn-outlined.btn-positive:active{border:1px solid #9c0;background-color:#9c0}.btn-outlined.btn-negative{border:1px solid #f44;color:#f44}.btn-outlined.btn-negative:active{border:1px solid #f44;background-color:#f44}.btn-outlined:active{border:1px solid #999;background-color:#999;-webkit-box-shadow:none;box-shadow:none}.btn-outlined.btn-primary:active,.btn-outlined.btn-positive:active,.btn-outlined.btn-negative:active{color:#fff;-webkit-box-shadow:none;box-shadow:none}.btn-link{color:#33b5e5;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.btn-link:active,.btn-link.active{color:#1a9bcb;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-block{padding:15px 0;font-size:18px}.btn .badge{background-color:rgba(0,0,0,.15)}.btn .badge.badge-inverted{background-color:transparent}.btn:active .badge{color:#fff}.bar{height:50px;background-color:#ddd;border-bottom:1px solid #b1b1b1;-webkit-box-shadow:inset 0 -2px 0 #d2d2d2,0 3px 3px rgba(0,0,0,.07);box-shadow:inset 0 -2px 0 #d2d2d2,0 3px 3px rgba(0,0,0,.07)}.bar.bar-header-secondary{top:50px}.bar.bar-footer-secondary{bottom:50px}.bar.bar-footer-secondary-tab{bottom:50px}.bar .bar-footer,.bar .bar-footer-secondary,.bar .bar-footer-secondary-tab{border-bottom:0;border-top:1px solid #b1b1b1;-webkit-box-shadow:inset 0 -2px 0 #33b5e5;box-shadow:inset 0 -2px 0 #33b5e5}.bar-tab{top:0;bottom:auto;height:50px;border-top:0}.bar-tab .tab-item{color:#929292}.bar-tab .tab-item.active{color:#33b5e5;-webkit-box-shadow:inset 0 -2px 0 #33b5e5;box-shadow:inset 0 -2px 0 #33b5e5}.bar-tab .tab-item:active{color:#929292;background-color:#78c6e3}.bar-tab .tab-item .icon{top:3px;padding-top:0;padding-bottom:0}.title{position:static;padding-left:15px;font-size:18px;line-height:49px;text-align:left}.bar .btn{top:7px;padding-top:10px;padding-bottom:10px}.bar .btn-link{top:0;padding:0;color:#33b5e5;font-size:18px;line-height:49px}.bar .btn-link:active,.bar .btn-link.active{color:#1a9bcb}.bar .btn-link .icon{top:2px;padding:0}.bar .btn-block{top:4px}.bar .segmented-control{top:7px}.bar .icon{padding-top:13px;padding-bottom:13px}.bar .title .icon{padding:0}.bar .title .icon.icon-caret{top:10px;color:#777}.bar input[type=search]{height:35px}.badge.badge-inverted{color:#999;background-color:transparent}.badge-primary{color:#fff;background-color:#33b5e5}.badge-primary.badge-inverted{color:#33b5e5;background-color:transparent}.badge-positive{color:#fff;background-color:#9c0}.badge-positive.badge-inverted{color:#9c0;background-color:transparent}.badge-negative{color:#fff;background-color:#f44}.badge-negative.badge-inverted{color:#f44;background-color:transparent}.card{border-color:#d9d9d9;border-radius:2px;background-color:transparent}.table-view{background-color:transparent}.table-view .table-view-cell{border-bottom:1px solid #d9d9d9}.table-view .table-view-cell:last-child{background-image:none}.table-view .table-view-cell>a:not(.btn):active{background-color:#e0e0e0}.table-view .table-view-cell>a:not(.btn):active .icon{color:#fff}.table-view .table-view-divider{padding-top:25px;font-size:12px;font-weight:700;text-transform:uppercase;border-top:0;border-bottom:2px solid #a9a9a9;background-color:transparent}select,textarea,input[type=text],input[type=search],input[type=password],input[type=datetime],input[type=datetime-local],input[type=date],input[type=month],input[type=time],input[type=week],input[type=number],input[type=email],input[type=url],input[type=tel],input[type=color],.input-group{height:40px;padding:10px 15px;border:1px solid rgba(0,0,0,.2);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1)}input[type=search]{border-radius:2px}select,textarea,.input-group{height:auto}.input-group{padding:0;border:0}.input-group input{border:0;border-bottom:1px solid #d9d9d9;-webkit-box-shadow:none;box-shadow:none}.input-group input:last-child{background-image:none}.input-row{border-bottom:1px solid #d9d9d9}.input-row label+input{background-image:none;border-bottom:0}.segmented-control{font-size:14px;background-color:#cecece;border:0;border-radius:2px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.25);box-shadow:0 1px 1px rgba(0,0,0,.25)}.segmented-control .control-item{padding-top:10px;padding-bottom:10px;color:#222;border-left:1px solid #999;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2)}.segmented-control .control-item:first-child{border-left-width:0}.segmented-control .control-item:active,.segmented-control .control-item.active{background-color:#999}.segmented-control-primary{border:0}.segmented-control-primary .control-item{color:#fff;border-color:inherit}.segmented-control-primary .control-item:active,.segmented-control-primary .control-item.active{color:#fff;background-color:#33b5e5}.segmented-control-positive{border:0}.segmented-control-positive .control-item{color:#fff;border-color:inherit}.segmented-control-positive .control-item:active,.segmented-control-positive .control-item.active{color:#fff;background-color:#9c0}.segmented-control-negative{border:0}.segmented-control-negative .control-item{color:#fff;border-color:inherit}.segmented-control-negative .control-item:active,.segmented-control-negative .control-item.active{color:#fff;background-color:#f44}.popover{top:47px;left:15px;width:200px;margin-left:0;border:1px solid #9b9b9b;border-radius:0;-webkit-transition:-webkit-transform .1s ease-in-out,opacity .2s ease-in-out;-moz-transition:-moz-transform .1s ease-in-out,opacity .2s ease-in-out;transition:transform .1s ease-in-out,opacity .2s ease-in-out;-webkit-box-shadow:0 0 3px rgba(0,0,0,.2);box-shadow:0 0 3px rgba(0,0,0,.2);-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75)}.popover:before{display:none}.popover.visible{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.backdrop{background-color:transparent}.popover .bar{border-radius:0}.popover .bar-nav~.table-view{padding-top:50px}.popover .table-view{border-radius:12px}.toggle{width:104px;height:28px;border:2px solid #d7d7d7;border-radius:0;background-color:#d7d7d7}.toggle .toggle-handle{top:0;left:0;width:50px;height:24px;border:1px solid #b5b5b5;border-radius:2px;background-color:#bebebe;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.1)}.toggle:before{top:1px;right:auto;left:11px;z-index:3;color:#fff}.toggle.active{border:2px solid #d7d7d7;background-color:#d7d7d7}.toggle.active .toggle-handle{margin-right:2px;background-color:#33b5e5;border-color:#33b5e5;-webkit-transform:translate3d(50px,0,0);-ms-transform:translate3d(50px,0,0);transform:translate3d(50px,0,0)}.toggle.active:before{left:auto;right:14px;color:#fff;content:"On"}.navigate-left:after,.push-left:after{content:''}.navigate-right:after,.push-right:after{content:''}.icon-caret:before{content:'\e800'}.icon-down:before,.icon-down-nav:before{content:'\e801'}.icon-download:before{content:'\e802'}.icon-left:before,.icon-left-nav:before{content:'\e803'}.icon-more-vertical:before{content:'\e804'}.icon-more:before{content:'\e805'}.icon-right:before,.icon-right-nav:before{content:'\e806'}.icon-search:before{content:'\e807'}.icon-share:before{content:'\e808'}.icon-up:before,.icon-up-nav:before{content:'\e809'} \ No newline at end of file diff --git a/dist/ratchet-theme-ios.min.css b/dist/ratchet-theme-ios.min.css new file mode 100644 index 0000000..bcea061 --- /dev/null +++ b/dist/ratchet-theme-ios.min.css @@ -0,0 +1,9 @@ +/*! + * ===================================================== + * Ratchet v2.0.0 (http://goratchet.com) + * Copyright 2014 Connor Sears + * Licensed under MIT. + * + * v2.0.0 designed by @connors. + * ===================================================== + */a{color:#007aff}a:active{color:#0062cc}.content{background-color:#efeff4}.h5,h5,.h6,h6,p{color:#8f8f94}.h5,h5,.h6,h6{font-weight:400;text-transform:uppercase}.btn{border:1px solid #929292;color:#929292;background-color:rgba(247,247,247,.98);-webkit-transition:all;-moz-transition:all;transition:all;-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:linear;-moz-transition-timing-function:linear;transition-timing-function:linear}.btn:active,.btn.active{color:#fff;background-color:#929292}.btn-primary{color:#fff;border:1px solid #007aff;background-color:#007aff}.btn-primary:active,.btn-primary.active{border:1px solid #0062cc;background-color:#0062cc}.btn-positive{color:#fff;border:1px solid #4cd964;background-color:#4cd964}.btn-positive:active,.btn-positive.active{border:1px solid #2ac845;background-color:#2ac845}.btn-negative{color:#fff;border:1px solid #dd524d;background-color:#dd524d}.btn-negative:active,.btn-negative.active{border:1px solid #cf2d28;background-color:#cf2d28}.btn-outlined{background-color:transparent}.btn-outlined.btn-primary{color:#007aff}.btn-outlined.btn-positive{color:#4cd964}.btn-outlined.btn-negative{color:#dd524d}.btn-outlined.btn-primary:active,.btn-outlined.btn-positive:active,.btn-outlined.btn-negative:active{color:#fff}.btn-link{color:#007aff;background-color:transparent;border:none}.btn-link:active,.btn-link.active{color:#0062cc;background-color:transparent}.btn .badge{background-color:rgba(0,0,0,.15)}.btn .badge.badge-inverted{background-color:transparent}.btn:active .badge{color:#fff}.bar{border-bottom:0;background-color:rgba(247,247,247,.98);-webkit-box-shadow:0 0 1px rgba(0,0,0,.85);box-shadow:0 0 1px rgba(0,0,0,.85)}.bar.bar-header-secondary{top:44px}.bar.bar-footer-secondary{bottom:44px}.bar.bar-footer-secondary-tab{bottom:50px}.bar .bar-footer,.bar .bar-footer-secondary,.bar .bar-footer-secondary-tab{border-top:0;-webkit-box-shadow:0 0 -1px rgba(0,0,0,.85);box-shadow:0 0 -1px rgba(0,0,0,.85)}.bar-tab{border-top:0;-webkit-box-shadow:0 0 -1px rgba(0,0,0,.85);box-shadow:0 0 -1px rgba(0,0,0,.85)}.tab-item{color:#929292}.tab-item.active,.tab-item:active{color:#007aff}.bar-nav .btn-link{color:#007aff}.bar-nav .btn-link:active{color:#007aff;opacity:.6}.badge.badge-inverted{color:#929292;background-color:transparent}.badge-primary{color:#fff;background-color:#007aff}.badge-primary.badge-inverted{color:#007aff;background-color:transparent}.badge-positive{color:#fff;background-color:#4cd964}.badge-positive.badge-inverted{color:#4cd964;background-color:transparent}.badge-negative{color:#fff;background-color:#dd524d}.badge-negative.badge-inverted{color:#dd524d;background-color:transparent}.card .table-view{background-image:none}.card .table-view-cell:last-child{background-image:none}.table-view{border-top:0;border-bottom:0;background-image:url("data:image/svg+xml;utf8,"),url("data:image/svg+xml;utf8,");background-position:0 100%,0 0;background-repeat:no-repeat}.table-view .table-view-cell{border-bottom:0;background-image:url("data:image/svg+xml;utf8,");background-position:15px 100%;background-repeat:no-repeat}.table-view .table-view-cell:last-child{background-image:none}.table-view .table-view-divider{border-top:0;border-bottom:0;background-image:url("data:image/svg+xml;utf8,"),url("data:image/svg+xml;utf8,");background-position:0 100%,0 0;background-repeat:no-repeat}select,textarea,input[type=text],input[type=search],input[type=password],input[type=datetime],input[type=datetime-local],input[type=date],input[type=month],input[type=time],input[type=week],input[type=number],input[type=email],input[type=url],input[type=tel],input[type=color],.input-group{height:40px;padding:10px 15px;border:1px solid rgba(0,0,0,.2)}input[type=search]{height:34px;text-align:center;background-color:rgba(0,0,0,.1);border:0;border-radius:6px}input[type=search]:focus{text-align:left}select,textarea,.input-group{height:auto}.input-group{padding:0;border:0;background-image:url("data:image/svg+xml;utf8,"),url("data:image/svg+xml;utf8,");background-position:0 100%,0 0;background-repeat:no-repeat}.input-group input{border:0;background-image:url("data:image/svg+xml;utf8,");background-position:15px 100%;background-repeat:no-repeat}.input-group input:last-child{background-image:none}.input-row{border-bottom:0;background-image:url("data:image/svg+xml;utf8,");background-position:15px 100%;background-repeat:no-repeat}.input-row:last-child,.input-row label+input{background-image:none}.segmented-control{background-color:transparent;border:1px solid #929292}.segmented-control .control-item{color:#929292;border-color:#929292;-webkit-transition:background-color .1s linear;-moz-transition:background-color .1s linear;transition:background-color .1s linear}.segmented-control .control-item:active{background-color:#ebebeb}.segmented-control .control-item.active{color:#fff;background-color:#929292}.segmented-control-primary{border:1px solid #007aff}.segmented-control-primary .control-item{color:#007aff;border-color:inherit}.segmented-control-primary .control-item:active{background-color:#b3d7ff}.segmented-control-primary .control-item.active{color:#fff;background-color:#007aff}.segmented-control-positive{border:1px solid #4cd964}.segmented-control-positive .control-item{color:#4cd964;border-color:inherit}.segmented-control-positive .control-item:active{background-color:#dff8e3}.segmented-control-positive .control-item.active{color:#fff;background-color:#4cd964}.segmented-control-negative{border:1px solid #dd524d}.segmented-control-negative .control-item{color:#dd524d;border-color:inherit}.segmented-control-negative .control-item:active{background-color:#fae4e3}.segmented-control-negative .control-item.active{color:#fff;background-color:#dd524d}.popover{border-radius:12px;-webkit-transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out;-moz-transition:-moz-transform .2s ease-in-out,opacity .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out;-webkit-transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out;-moz-transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out;transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out}.popover:before{border-bottom:15px solid rgba(247,247,247,.98)}.popover .bar{-webkit-box-shadow:none;box-shadow:none}.popover .bar-nav{border-bottom:1px solid rgba(0,0,0,.15)}.popover .table-view{border-radius:12px;background-image:none}.modal{-webkit-transition-timing-function:cubic-bezier(0.1,.5,.1,1);-moz-transition-timing-function:cubic-bezier(0.1,.5,.1,1);transition-timing-function:cubic-bezier(0.1,.5,.1,1)}.modal.active{-webkit-transition-timing-function:cubic-bezier(0.1,.5,.1,1);-moz-transition-timing-function:cubic-bezier(0.1,.5,.1,1);transition-timing-function:cubic-bezier(0.1,.5,.1,1)}.toggle{width:47px;border:2px solid #e6e6e6;-webkit-box-shadow:inset 0 0 0 0 #e1e1e1;box-shadow:inset 0 0 0 0 #e1e1e1;-webkit-transition-property:box-shadow,border;-moz-transition-property:box-shadow,border;transition-property:box-shadow,border;-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s}.toggle .toggle-handle{border:1px solid rgba(0,0,0,.2);-webkit-transition-property:-webkit-transform,border,width;-moz-transition-property:-moz-transform,border,width;transition-property:transform,border,width;-webkit-box-shadow:0 3px 3px rgba(0,0,0,.08);box-shadow:0 3px 3px rgba(0,0,0,.08)}.toggle:before{display:none}.toggle.active{border:2px solid #4cd964;background-color:transparent;-webkit-box-shadow:inset 0 0 0 13px #4cd964;box-shadow:inset 0 0 0 13px #4cd964}.toggle.active .toggle-handle{-webkit-transform:translate3d(17px,0,0);-ms-transform:translate3d(17px,0,0);transform:translate3d(17px,0,0)}.toggle.active .toggle-handle{border-color:#4cd964}.content.fade{-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.content.sliding{-webkit-transition-timing-function:cubic-bezier(0.1,.5,.1,1);-moz-transition-timing-function:cubic-bezier(0.1,.5,.1,1);transition-timing-function:cubic-bezier(0.1,.5,.1,1)}.content.sliding.sliding-in,.content.sliding.right:not([class*=sliding-in]){-webkit-animation-name:fadeOverlay;-moz-animation-name:fadeOverlay;animation-name:fadeOverlay;-webkit-animation-duration:.4s;-moz-animation-duration:.4s;animation-duration:.4s}.content.sliding.right:not([class*=sliding-in]){-webkit-animation-direction:reverse;-moz-animation-direction:reverse;animation-direction:reverse}.content.sliding.left{-webkit-transform:translate3d(-20%,0,0);-ms-transform:translate3d(-20%,0,0);transform:translate3d(-20%,0,0)}@-webkit-keyframes fadeOverlay{from{-webkit-box-shadow:0 0 10px rgba(0,0,0,0),-320px 0 0 rgba(0,0,0,0);box-shadow:0 0 10px rgba(0,0,0,0),-320px 0 0 rgba(0,0,0,0)}to{-webkit-box-shadow:0 0 10px rgba(0,0,0,.3),-320px 0 0 rgba(0,0,0,.1);box-shadow:0 0 10px rgba(0,0,0,.3),-320px 0 0 rgba(0,0,0,.1)}} \ No newline at end of file diff --git a/docs/dist/ratchet-theme-android.min.css b/docs/dist/ratchet-theme-android.min.css new file mode 100644 index 0000000..8606762 --- /dev/null +++ b/docs/dist/ratchet-theme-android.min.css @@ -0,0 +1,9 @@ +/*! + * ===================================================== + * Ratchet v2.0.0 (http://goratchet.com) + * Copyright 2014 Connor Sears + * Licensed under MIT. + * + * v2.0.0 designed by @connors. + * ===================================================== + */body{font-family:Roboto,sans-serif;font-size:18px;line-height:22px;color:#222}a{color:#33b5e5}a:active{color:#1a9bcb}.content{background-color:#f2f2f2}.bar-nav~.content{padding-top:50px}.bar-header-secondary~.content{padding-top:100px}.bar-tab~.content{padding-top:50px;padding-bottom:0}.bar-footer~.content{padding-bottom:50px}.bar-footer-secondary~.content{padding-bottom:100px}.btn{padding:8px 15px;font-size:14px;color:#222;background-color:#cecece;border:0;border-radius:2px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2),0 1px 1px rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2),0 1px 1px rgba(0,0,0,.25)}.btn:active,.btn.active{color:#222;border:0;background-color:#999;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2)}.btn-primary{color:#fff;border:0;background-color:#33b5e5}.btn-primary:active,.btn-primary.active{color:#fff;border:0;background-color:#1a9bcb}.btn-positive{color:#fff;border:0;background-color:#9c0}.btn-positive:active,.btn-positive.active{color:#fff;border:0;background-color:#739900}.btn-negative{color:#fff;border:0;background-color:#f44}.btn-negative:active,.btn-negative.active{color:#fff;border:0;background-color:#f11}.btn-outlined{border:1px solid #999;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-outlined.btn-primary{border:1px solid #33b5e5;color:#33b5e5}.btn-outlined.btn-primary:active{border:1px solid #33b5e5;background-color:#33b5e5}.btn-outlined.btn-positive{border:1px solid #9c0;color:#9c0}.btn-outlined.btn-positive:active{border:1px solid #9c0;background-color:#9c0}.btn-outlined.btn-negative{border:1px solid #f44;color:#f44}.btn-outlined.btn-negative:active{border:1px solid #f44;background-color:#f44}.btn-outlined:active{border:1px solid #999;background-color:#999;-webkit-box-shadow:none;box-shadow:none}.btn-outlined.btn-primary:active,.btn-outlined.btn-positive:active,.btn-outlined.btn-negative:active{color:#fff;-webkit-box-shadow:none;box-shadow:none}.btn-link{color:#33b5e5;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.btn-link:active,.btn-link.active{color:#1a9bcb;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-block{padding:15px 0;font-size:18px}.btn .badge{background-color:rgba(0,0,0,.15)}.btn .badge.badge-inverted{background-color:transparent}.btn:active .badge{color:#fff}.bar{height:50px;background-color:#ddd;border-bottom:1px solid #b1b1b1;-webkit-box-shadow:inset 0 -2px 0 #d2d2d2,0 3px 3px rgba(0,0,0,.07);box-shadow:inset 0 -2px 0 #d2d2d2,0 3px 3px rgba(0,0,0,.07)}.bar.bar-header-secondary{top:50px}.bar.bar-footer-secondary{bottom:50px}.bar.bar-footer-secondary-tab{bottom:50px}.bar .bar-footer,.bar .bar-footer-secondary,.bar .bar-footer-secondary-tab{border-bottom:0;border-top:1px solid #b1b1b1;-webkit-box-shadow:inset 0 -2px 0 #33b5e5;box-shadow:inset 0 -2px 0 #33b5e5}.bar-tab{top:0;bottom:auto;height:50px;border-top:0}.bar-tab .tab-item{color:#929292}.bar-tab .tab-item.active{color:#33b5e5;-webkit-box-shadow:inset 0 -2px 0 #33b5e5;box-shadow:inset 0 -2px 0 #33b5e5}.bar-tab .tab-item:active{color:#929292;background-color:#78c6e3}.bar-tab .tab-item .icon{top:3px;padding-top:0;padding-bottom:0}.title{position:static;padding-left:15px;font-size:18px;line-height:49px;text-align:left}.bar .btn{top:7px;padding-top:10px;padding-bottom:10px}.bar .btn-link{top:0;padding:0;color:#33b5e5;font-size:18px;line-height:49px}.bar .btn-link:active,.bar .btn-link.active{color:#1a9bcb}.bar .btn-link .icon{top:2px;padding:0}.bar .btn-block{top:4px}.bar .segmented-control{top:7px}.bar .icon{padding-top:13px;padding-bottom:13px}.bar .title .icon{padding:0}.bar .title .icon.icon-caret{top:10px;color:#777}.bar input[type=search]{height:35px}.badge.badge-inverted{color:#999;background-color:transparent}.badge-primary{color:#fff;background-color:#33b5e5}.badge-primary.badge-inverted{color:#33b5e5;background-color:transparent}.badge-positive{color:#fff;background-color:#9c0}.badge-positive.badge-inverted{color:#9c0;background-color:transparent}.badge-negative{color:#fff;background-color:#f44}.badge-negative.badge-inverted{color:#f44;background-color:transparent}.card{border-color:#d9d9d9;border-radius:2px;background-color:transparent}.table-view{background-color:transparent}.table-view .table-view-cell{border-bottom:1px solid #d9d9d9}.table-view .table-view-cell:last-child{background-image:none}.table-view .table-view-cell>a:not(.btn):active{background-color:#e0e0e0}.table-view .table-view-cell>a:not(.btn):active .icon{color:#fff}.table-view .table-view-divider{padding-top:25px;font-size:12px;font-weight:700;text-transform:uppercase;border-top:0;border-bottom:2px solid #a9a9a9;background-color:transparent}select,textarea,input[type=text],input[type=search],input[type=password],input[type=datetime],input[type=datetime-local],input[type=date],input[type=month],input[type=time],input[type=week],input[type=number],input[type=email],input[type=url],input[type=tel],input[type=color],.input-group{height:40px;padding:10px 15px;border:1px solid rgba(0,0,0,.2);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1)}input[type=search]{border-radius:2px}select,textarea,.input-group{height:auto}.input-group{padding:0;border:0}.input-group input{border:0;border-bottom:1px solid #d9d9d9;-webkit-box-shadow:none;box-shadow:none}.input-group input:last-child{background-image:none}.input-row{border-bottom:1px solid #d9d9d9}.input-row label+input{background-image:none;border-bottom:0}.segmented-control{font-size:14px;background-color:#cecece;border:0;border-radius:2px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.25);box-shadow:0 1px 1px rgba(0,0,0,.25)}.segmented-control .control-item{padding-top:10px;padding-bottom:10px;color:#222;border-left:1px solid #999;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2)}.segmented-control .control-item:first-child{border-left-width:0}.segmented-control .control-item:active,.segmented-control .control-item.active{background-color:#999}.segmented-control-primary{border:0}.segmented-control-primary .control-item{color:#fff;border-color:inherit}.segmented-control-primary .control-item:active,.segmented-control-primary .control-item.active{color:#fff;background-color:#33b5e5}.segmented-control-positive{border:0}.segmented-control-positive .control-item{color:#fff;border-color:inherit}.segmented-control-positive .control-item:active,.segmented-control-positive .control-item.active{color:#fff;background-color:#9c0}.segmented-control-negative{border:0}.segmented-control-negative .control-item{color:#fff;border-color:inherit}.segmented-control-negative .control-item:active,.segmented-control-negative .control-item.active{color:#fff;background-color:#f44}.popover{top:47px;left:15px;width:200px;margin-left:0;border:1px solid #9b9b9b;border-radius:0;-webkit-transition:-webkit-transform .1s ease-in-out,opacity .2s ease-in-out;-moz-transition:-moz-transform .1s ease-in-out,opacity .2s ease-in-out;transition:transform .1s ease-in-out,opacity .2s ease-in-out;-webkit-box-shadow:0 0 3px rgba(0,0,0,.2);box-shadow:0 0 3px rgba(0,0,0,.2);-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75)}.popover:before{display:none}.popover.visible{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.backdrop{background-color:transparent}.popover .bar{border-radius:0}.popover .bar-nav~.table-view{padding-top:50px}.popover .table-view{border-radius:12px}.toggle{width:104px;height:28px;border:2px solid #d7d7d7;border-radius:0;background-color:#d7d7d7}.toggle .toggle-handle{top:0;left:0;width:50px;height:24px;border:1px solid #b5b5b5;border-radius:2px;background-color:#bebebe;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.1)}.toggle:before{top:1px;right:auto;left:11px;z-index:3;color:#fff}.toggle.active{border:2px solid #d7d7d7;background-color:#d7d7d7}.toggle.active .toggle-handle{margin-right:2px;background-color:#33b5e5;border-color:#33b5e5;-webkit-transform:translate3d(50px,0,0);-ms-transform:translate3d(50px,0,0);transform:translate3d(50px,0,0)}.toggle.active:before{left:auto;right:14px;color:#fff;content:"On"}.navigate-left:after,.push-left:after{content:''}.navigate-right:after,.push-right:after{content:''}.icon-caret:before{content:'\e800'}.icon-down:before,.icon-down-nav:before{content:'\e801'}.icon-download:before{content:'\e802'}.icon-left:before,.icon-left-nav:before{content:'\e803'}.icon-more-vertical:before{content:'\e804'}.icon-more:before{content:'\e805'}.icon-right:before,.icon-right-nav:before{content:'\e806'}.icon-search:before{content:'\e807'}.icon-share:before{content:'\e808'}.icon-up:before,.icon-up-nav:before{content:'\e809'} \ No newline at end of file diff --git a/docs/dist/ratchet-theme-ios.min.css b/docs/dist/ratchet-theme-ios.min.css new file mode 100644 index 0000000..bcea061 --- /dev/null +++ b/docs/dist/ratchet-theme-ios.min.css @@ -0,0 +1,9 @@ +/*! + * ===================================================== + * Ratchet v2.0.0 (http://goratchet.com) + * Copyright 2014 Connor Sears + * Licensed under MIT. + * + * v2.0.0 designed by @connors. + * ===================================================== + */a{color:#007aff}a:active{color:#0062cc}.content{background-color:#efeff4}.h5,h5,.h6,h6,p{color:#8f8f94}.h5,h5,.h6,h6{font-weight:400;text-transform:uppercase}.btn{border:1px solid #929292;color:#929292;background-color:rgba(247,247,247,.98);-webkit-transition:all;-moz-transition:all;transition:all;-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:linear;-moz-transition-timing-function:linear;transition-timing-function:linear}.btn:active,.btn.active{color:#fff;background-color:#929292}.btn-primary{color:#fff;border:1px solid #007aff;background-color:#007aff}.btn-primary:active,.btn-primary.active{border:1px solid #0062cc;background-color:#0062cc}.btn-positive{color:#fff;border:1px solid #4cd964;background-color:#4cd964}.btn-positive:active,.btn-positive.active{border:1px solid #2ac845;background-color:#2ac845}.btn-negative{color:#fff;border:1px solid #dd524d;background-color:#dd524d}.btn-negative:active,.btn-negative.active{border:1px solid #cf2d28;background-color:#cf2d28}.btn-outlined{background-color:transparent}.btn-outlined.btn-primary{color:#007aff}.btn-outlined.btn-positive{color:#4cd964}.btn-outlined.btn-negative{color:#dd524d}.btn-outlined.btn-primary:active,.btn-outlined.btn-positive:active,.btn-outlined.btn-negative:active{color:#fff}.btn-link{color:#007aff;background-color:transparent;border:none}.btn-link:active,.btn-link.active{color:#0062cc;background-color:transparent}.btn .badge{background-color:rgba(0,0,0,.15)}.btn .badge.badge-inverted{background-color:transparent}.btn:active .badge{color:#fff}.bar{border-bottom:0;background-color:rgba(247,247,247,.98);-webkit-box-shadow:0 0 1px rgba(0,0,0,.85);box-shadow:0 0 1px rgba(0,0,0,.85)}.bar.bar-header-secondary{top:44px}.bar.bar-footer-secondary{bottom:44px}.bar.bar-footer-secondary-tab{bottom:50px}.bar .bar-footer,.bar .bar-footer-secondary,.bar .bar-footer-secondary-tab{border-top:0;-webkit-box-shadow:0 0 -1px rgba(0,0,0,.85);box-shadow:0 0 -1px rgba(0,0,0,.85)}.bar-tab{border-top:0;-webkit-box-shadow:0 0 -1px rgba(0,0,0,.85);box-shadow:0 0 -1px rgba(0,0,0,.85)}.tab-item{color:#929292}.tab-item.active,.tab-item:active{color:#007aff}.bar-nav .btn-link{color:#007aff}.bar-nav .btn-link:active{color:#007aff;opacity:.6}.badge.badge-inverted{color:#929292;background-color:transparent}.badge-primary{color:#fff;background-color:#007aff}.badge-primary.badge-inverted{color:#007aff;background-color:transparent}.badge-positive{color:#fff;background-color:#4cd964}.badge-positive.badge-inverted{color:#4cd964;background-color:transparent}.badge-negative{color:#fff;background-color:#dd524d}.badge-negative.badge-inverted{color:#dd524d;background-color:transparent}.card .table-view{background-image:none}.card .table-view-cell:last-child{background-image:none}.table-view{border-top:0;border-bottom:0;background-image:url("data:image/svg+xml;utf8,"),url("data:image/svg+xml;utf8,");background-position:0 100%,0 0;background-repeat:no-repeat}.table-view .table-view-cell{border-bottom:0;background-image:url("data:image/svg+xml;utf8,");background-position:15px 100%;background-repeat:no-repeat}.table-view .table-view-cell:last-child{background-image:none}.table-view .table-view-divider{border-top:0;border-bottom:0;background-image:url("data:image/svg+xml;utf8,"),url("data:image/svg+xml;utf8,");background-position:0 100%,0 0;background-repeat:no-repeat}select,textarea,input[type=text],input[type=search],input[type=password],input[type=datetime],input[type=datetime-local],input[type=date],input[type=month],input[type=time],input[type=week],input[type=number],input[type=email],input[type=url],input[type=tel],input[type=color],.input-group{height:40px;padding:10px 15px;border:1px solid rgba(0,0,0,.2)}input[type=search]{height:34px;text-align:center;background-color:rgba(0,0,0,.1);border:0;border-radius:6px}input[type=search]:focus{text-align:left}select,textarea,.input-group{height:auto}.input-group{padding:0;border:0;background-image:url("data:image/svg+xml;utf8,"),url("data:image/svg+xml;utf8,");background-position:0 100%,0 0;background-repeat:no-repeat}.input-group input{border:0;background-image:url("data:image/svg+xml;utf8,");background-position:15px 100%;background-repeat:no-repeat}.input-group input:last-child{background-image:none}.input-row{border-bottom:0;background-image:url("data:image/svg+xml;utf8,");background-position:15px 100%;background-repeat:no-repeat}.input-row:last-child,.input-row label+input{background-image:none}.segmented-control{background-color:transparent;border:1px solid #929292}.segmented-control .control-item{color:#929292;border-color:#929292;-webkit-transition:background-color .1s linear;-moz-transition:background-color .1s linear;transition:background-color .1s linear}.segmented-control .control-item:active{background-color:#ebebeb}.segmented-control .control-item.active{color:#fff;background-color:#929292}.segmented-control-primary{border:1px solid #007aff}.segmented-control-primary .control-item{color:#007aff;border-color:inherit}.segmented-control-primary .control-item:active{background-color:#b3d7ff}.segmented-control-primary .control-item.active{color:#fff;background-color:#007aff}.segmented-control-positive{border:1px solid #4cd964}.segmented-control-positive .control-item{color:#4cd964;border-color:inherit}.segmented-control-positive .control-item:active{background-color:#dff8e3}.segmented-control-positive .control-item.active{color:#fff;background-color:#4cd964}.segmented-control-negative{border:1px solid #dd524d}.segmented-control-negative .control-item{color:#dd524d;border-color:inherit}.segmented-control-negative .control-item:active{background-color:#fae4e3}.segmented-control-negative .control-item.active{color:#fff;background-color:#dd524d}.popover{border-radius:12px;-webkit-transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out;-moz-transition:-moz-transform .2s ease-in-out,opacity .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out;-webkit-transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out;-moz-transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out;transition:-webkit-transform .2s ease-in-out,opacity .2s ease-in-out}.popover:before{border-bottom:15px solid rgba(247,247,247,.98)}.popover .bar{-webkit-box-shadow:none;box-shadow:none}.popover .bar-nav{border-bottom:1px solid rgba(0,0,0,.15)}.popover .table-view{border-radius:12px;background-image:none}.modal{-webkit-transition-timing-function:cubic-bezier(0.1,.5,.1,1);-moz-transition-timing-function:cubic-bezier(0.1,.5,.1,1);transition-timing-function:cubic-bezier(0.1,.5,.1,1)}.modal.active{-webkit-transition-timing-function:cubic-bezier(0.1,.5,.1,1);-moz-transition-timing-function:cubic-bezier(0.1,.5,.1,1);transition-timing-function:cubic-bezier(0.1,.5,.1,1)}.toggle{width:47px;border:2px solid #e6e6e6;-webkit-box-shadow:inset 0 0 0 0 #e1e1e1;box-shadow:inset 0 0 0 0 #e1e1e1;-webkit-transition-property:box-shadow,border;-moz-transition-property:box-shadow,border;transition-property:box-shadow,border;-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s}.toggle .toggle-handle{border:1px solid rgba(0,0,0,.2);-webkit-transition-property:-webkit-transform,border,width;-moz-transition-property:-moz-transform,border,width;transition-property:transform,border,width;-webkit-box-shadow:0 3px 3px rgba(0,0,0,.08);box-shadow:0 3px 3px rgba(0,0,0,.08)}.toggle:before{display:none}.toggle.active{border:2px solid #4cd964;background-color:transparent;-webkit-box-shadow:inset 0 0 0 13px #4cd964;box-shadow:inset 0 0 0 13px #4cd964}.toggle.active .toggle-handle{-webkit-transform:translate3d(17px,0,0);-ms-transform:translate3d(17px,0,0);transform:translate3d(17px,0,0)}.toggle.active .toggle-handle{border-color:#4cd964}.content.fade{-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.content.sliding{-webkit-transition-timing-function:cubic-bezier(0.1,.5,.1,1);-moz-transition-timing-function:cubic-bezier(0.1,.5,.1,1);transition-timing-function:cubic-bezier(0.1,.5,.1,1)}.content.sliding.sliding-in,.content.sliding.right:not([class*=sliding-in]){-webkit-animation-name:fadeOverlay;-moz-animation-name:fadeOverlay;animation-name:fadeOverlay;-webkit-animation-duration:.4s;-moz-animation-duration:.4s;animation-duration:.4s}.content.sliding.right:not([class*=sliding-in]){-webkit-animation-direction:reverse;-moz-animation-direction:reverse;animation-direction:reverse}.content.sliding.left{-webkit-transform:translate3d(-20%,0,0);-ms-transform:translate3d(-20%,0,0);transform:translate3d(-20%,0,0)}@-webkit-keyframes fadeOverlay{from{-webkit-box-shadow:0 0 10px rgba(0,0,0,0),-320px 0 0 rgba(0,0,0,0);box-shadow:0 0 10px rgba(0,0,0,0),-320px 0 0 rgba(0,0,0,0)}to{-webkit-box-shadow:0 0 10px rgba(0,0,0,.3),-320px 0 0 rgba(0,0,0,.1);box-shadow:0 0 10px rgba(0,0,0,.3),-320px 0 0 rgba(0,0,0,.1)}} \ No newline at end of file