Build mobile apps with simple HTML, CSS, and JS components. http://goratchet.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

447 lines
10 KiB

/*!
11 years ago
* =====================================================
* Ratchet v2.0.2 (http://goratchet.com)
10 years ago
* Copyright 2015 Connor Sears
* Licensed under MIT (https://github.com/twbs/ratchet/blob/master/LICENSE)
11 years ago
*
* v2.0.2 designed by @connors.
11 years ago
* =====================================================
*/
11 years ago
a {
color: #007aff;
}
a:active {
color: #0062cc;
}
11 years ago
.content {
background-color: #efeff4;
}
.h5, h5,
.h6, h6,
p {
color: #8f8f94;
}
.h5, h5,
.h6, h6 {
font-weight: normal;
text-transform: uppercase;
}
11 years ago
.btn {
11 years ago
color: #929292;
11 years ago
background-color: rgba(247, 247, 247, .98);
border: 1px solid #929292;
-webkit-transition: all;
11 years ago
transition: all;
11 years ago
-webkit-transition-timing-function: linear;
11 years ago
transition-timing-function: linear;
-webkit-transition-duration: .2s;
transition-duration: .2s;
11 years ago
}
11 years ago
.btn:active, .btn.active {
11 years ago
color: #fff;
background-color: #929292;
}
11 years ago
.btn-primary {
color: #fff;
11 years ago
background-color: #007aff;
11 years ago
border: 1px solid #007aff;
11 years ago
}
11 years ago
.btn-primary:active, .btn-primary.active {
background-color: #0062cc;
11 years ago
border: 1px solid #0062cc;
}
11 years ago
11 years ago
.btn-positive {
color: #fff;
11 years ago
background-color: #4cd964;
11 years ago
border: 1px solid #4cd964;
11 years ago
}
11 years ago
.btn-positive:active, .btn-positive.active {
background-color: #2ac845;
11 years ago
border: 1px solid #2ac845;
}
11 years ago
11 years ago
.btn-negative {
color: #fff;
11 years ago
background-color: #dd524d;
11 years ago
border: 1px solid #dd524d;
11 years ago
}
11 years ago
.btn-negative:active, .btn-negative.active {
background-color: #cf2d28;
11 years ago
border: 1px solid #cf2d28;
}
11 years ago
11 years ago
.btn-outlined {
background-color: transparent;
11 years ago
}
11 years ago
.btn-outlined.btn-primary {
11 years ago
color: #007aff;
}
11 years ago
.btn-outlined.btn-positive {
color: #4cd964;
}
11 years ago
.btn-outlined.btn-negative {
color: #dd524d;
}
11 years ago
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
color: #fff;
}
11 years ago
11 years ago
.btn-link {
11 years ago
color: #007aff;
background-color: transparent;
border: none;
}
11 years ago
.btn-link:active, .btn-link.active {
color: #0062cc;
background-color: transparent;
11 years ago
}
.btn .badge {
11 years ago
background-color: rgba(0, 0, 0, .15);
}
.btn .badge.badge-inverted {
background-color: transparent;
}
.btn:active .badge {
color: #fff;
}
.bar {
11 years ago
background-color: rgba(247, 247, 247, .98);
border-bottom: 0;
11 years ago
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;
}
.bar-tab {
11 years ago
border-top: 0;
}
11 years ago
.tab-item {
color: #929292;
}
.tab-item.active, .tab-item:active {
color: #007aff;
}
11 years ago
.bar-nav .btn-link {
11 years ago
color: #007aff;
11 years ago
}
11 years ago
.bar-nav .btn-link:active {
color: #007aff;
opacity: .6;
11 years ago
}
11 years ago
.badge.badge-inverted {
11 years ago
color: #929292;
background-color: transparent;
11 years ago
}
.badge-primary {
11 years ago
color: #fff;
background-color: #007aff;
11 years ago
}
.badge-primary.badge-inverted {
color: #007aff;
background-color: transparent;
}
11 years ago
.badge-positive {
color: #fff;
background-color: #4cd964;
11 years ago
}
.badge-positive.badge-inverted {
color: #4cd964;
background-color: transparent;
}
11 years ago
.badge-negative {
color: #fff;
background-color: #dd524d;
11 years ago
}
.badge-negative.badge-inverted {
color: #dd524d;
background-color: transparent;
}
11 years ago
.card .table-view {
background-image: none;
}
.card .table-view-cell:last-child {
background-image: none;
}
.table-view {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
background-repeat: no-repeat;
11 years ago
background-position: 0 100%, 0 0;
border-top: 0;
border-bottom: 0;
}
.table-view .table-view-cell {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
background-repeat: no-repeat;
11 years ago
background-position: 15px 100%;
border-bottom: 0;
}
.table-view .table-view-cell:last-child {
background-image: none;
}
11 years ago
.table-view .table-view-cell > a:not(.btn):active {
color: inherit;
}
.table-view .table-view-divider {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
background-repeat: no-repeat;
11 years ago
background-position: 0 100%, 0 0;
border-top: 0;
border-bottom: 0;
}
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;
11 years ago
border: 1px solid rgba(0, 0, 0, .2);
}
input[type="search"] {
height: 34px;
text-align: center;
11 years ago
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;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
background-repeat: no-repeat;
11 years ago
background-position: 0 100%, 0 0;
border: 0;
}
.input-group input {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
background-repeat: no-repeat;
11 years ago
background-position: 15px 100%;
border: 0;
}
.input-group input:last-child {
background-image: none;
}
.input-row {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
background-repeat: no-repeat;
11 years ago
background-position: 15px 100%;
border-bottom: 0;
}
.input-row:last-child,
.input-row label + input {
background-image: none;
11 years ago
}
.segmented-control {
11 years ago
background-color: transparent;
border: 1px solid #929292;
11 years ago
}
11 years ago
.segmented-control .control-item {
color: #929292;
border-color: #929292;
11 years ago
-webkit-transition: background-color .1s linear;
transition: background-color .1s linear;
11 years ago
}
11 years ago
.segmented-control .control-item:active {
background-color: #ebebeb;
11 years ago
}
11 years ago
.segmented-control .control-item.active {
color: #fff;
11 years ago
background-color: #929292;
}
.segmented-control-primary {
border: 1px solid #007aff;
}
11 years ago
.segmented-control-primary .control-item {
color: #007aff;
11 years ago
border-color: inherit;
}
11 years ago
.segmented-control-primary .control-item:active {
background-color: #b3d7ff;
}
11 years ago
.segmented-control-primary .control-item.active {
color: #fff;
11 years ago
background-color: #007aff;
}
.segmented-control-positive {
border: 1px solid #4cd964;
}
11 years ago
.segmented-control-positive .control-item {
color: #4cd964;
11 years ago
border-color: inherit;
}
11 years ago
.segmented-control-positive .control-item:active {
background-color: #dff8e3;
}
11 years ago
.segmented-control-positive .control-item.active {
color: #fff;
11 years ago
background-color: #4cd964;
}
.segmented-control-negative {
border: 1px solid #dd524d;
}
11 years ago
.segmented-control-negative .control-item {
color: #dd524d;
11 years ago
border-color: inherit;
}
11 years ago
.segmented-control-negative .control-item:active {
background-color: #fae4e3;
}
11 years ago
.segmented-control-negative .control-item.active {
color: #fff;
11 years ago
background-color: #dd524d;
}
11 years ago
.popover {
border-radius: 12px;
11 years ago
-webkit-transition: -webkit-transform .2s ease-in-out, opacity .2s ease-in-out;
transition: -webkit-transform .2s ease-in-out, opacity .2s ease-in-out;
11 years ago
}
11 years ago
.popover:before {
11 years ago
border-bottom: 15px solid rgba(247, 247, 247, .98);
11 years ago
}
11 years ago
.popover .bar {
11 years ago
box-shadow: none;
11 years ago
}
11 years ago
.popover .bar-nav {
11 years ago
border-bottom: 1px solid rgba(0, 0, 0, .15);
11 years ago
}
11 years ago
.popover .table-view {
11 years ago
background-image: none;
11 years ago
border-radius: 12px;
}
11 years ago
.modal {
11 years ago
-webkit-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
transition-timing-function: cubic-bezier(.1, .5, .1, 1);
11 years ago
}
.modal.active {
11 years ago
-webkit-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
transition-timing-function: cubic-bezier(.1, .5, .1, 1);
11 years ago
}
.toggle {
width: 47px;
11 years ago
border: 2px solid #e6e6e6;
11 years ago
box-shadow: inset 0 0 0 0 #e1e1e1;
11 years ago
-webkit-transition-duration: .2s;
transition-duration: .2s;
11 years ago
-webkit-transition-property: box-shadow, border;
11 years ago
transition-property: box-shadow, border;
11 years ago
}
.toggle .toggle-handle {
11 years ago
border: 1px solid rgba(0, 0, 0, .2);
11 years ago
box-shadow: 0 3px 3px rgba(0, 0, 0, .08);
-webkit-transition-property: -webkit-transform, border, width;
11 years ago
transition-property: transform, border, width;
11 years ago
}
.toggle:before {
display: none;
}
11 years ago
.toggle.active {
background-color: transparent;
11 years ago
border: 2px solid #4cd964;
11 years ago
box-shadow: inset 0 0 0 13px #4cd964;
11 years ago
}
.toggle.active .toggle-handle {
-webkit-transform: translate3d(17px, 0, 0);
11 years ago
transform: translate3d(17px, 0, 0);
}
11 years ago
.toggle.active .toggle-handle {
border-color: #4cd964;
}
11 years ago
.content.fade {
11 years ago
-webkit-transition: opacity .2s ease-in-out;
transition: opacity .2s ease-in-out;
11 years ago
}
11 years ago
.content.sliding {
11 years ago
-webkit-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
transition-timing-function: cubic-bezier(.1, .5, .1, 1);
11 years ago
}
11 years ago
.content.sliding.sliding-in, .content.sliding.right:not([class*="sliding-in"]) {
11 years ago
-webkit-animation-name: fadeOverlay;
11 years ago
animation-name: fadeOverlay;
-webkit-animation-duration: .4s;
animation-duration: .4s;
11 years ago
}
11 years ago
.content.sliding.right:not([class*="sliding-in"]) {
11 years ago
-webkit-animation-direction: reverse;
11 years ago
animation-direction: reverse;
11 years ago
}
11 years ago
.content.sliding.left {
11 years ago
-webkit-transform: translate3d(-20%, 0, 0);
11 years ago
transform: translate3d(-20%, 0, 0);
11 years ago
}
@-webkit-keyframes fadeOverlay {
from {
11 years ago
box-shadow: 0 0 10px transparent, -320px 0 0 transparent;
11 years ago
}
to {
11 years ago
box-shadow: 0 0 10px rgba(0, 0, 0, .3), -320px 0 0 rgba(0, 0, 0, .1);
11 years ago
}
}