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.

622 lines
12 KiB

/*!
* =====================================================
* 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)
*
* v2.0.2 designed by @connors.
* =====================================================
*/
body {
font-family: "Roboto", sans-serif;
font-size: 18px;
line-height: 22px;
11 years ago
color: #222;
}
a {
color: #33b5e5;
}
a:active {
color: #1a9bcb;
}
.content {
background-color: #f2f2f2;
}
.bar-nav ~ .content {
padding-top: 50px;
}
10 years ago
.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;
}
11 years ago
.btn {
padding: 8px 15px;
font-size: 14px;
11 years ago
color: #222;
background-color: #cecece;
border: 0;
border-radius: 2px;
11 years ago
-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);
}
11 years ago
.btn:active, .btn.active {
11 years ago
color: #222;
background-color: #999;
border: 0;
11 years ago
-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);
}
11 years ago
.btn-primary {
color: #fff;
background-color: #33b5e5;
11 years ago
border: 0;
}
11 years ago
.btn-primary:active, .btn-primary.active {
color: #fff;
background-color: #1a9bcb;
11 years ago
border: 0;
}
11 years ago
.btn-positive {
color: #fff;
11 years ago
background-color: #9c0;
border: 0;
}
11 years ago
.btn-positive:active, .btn-positive.active {
color: #fff;
background-color: #739900;
11 years ago
border: 0;
}
11 years ago
.btn-negative {
color: #fff;
11 years ago
background-color: #f44;
border: 0;
}
11 years ago
.btn-negative:active, .btn-negative.active {
color: #fff;
11 years ago
background-color: #f11;
border: 0;
}
11 years ago
.btn-outlined {
background-color: transparent;
11 years ago
border: 1px solid #999;
11 years ago
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
11 years ago
.btn-outlined.btn-primary {
color: #33b5e5;
11 years ago
border: 1px solid #33b5e5;
}
.btn-outlined.btn-primary:active {
background-color: #33b5e5;
11 years ago
border: 1px solid #33b5e5;
}
11 years ago
.btn-outlined.btn-positive {
11 years ago
color: #9c0;
border: 1px solid #9c0;
}
.btn-outlined.btn-positive:active {
11 years ago
background-color: #9c0;
border: 1px solid #9c0;
}
11 years ago
.btn-outlined.btn-negative {
11 years ago
color: #f44;
border: 1px solid #f44;
}
.btn-outlined.btn-negative:active {
11 years ago
background-color: #f44;
border: 1px solid #f44;
}
.btn-outlined:active {
11 years ago
background-color: #999;
border: 1px solid #999;
11 years ago
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
11 years ago
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
color: #fff;
11 years ago
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
11 years ago
.btn-link {
color: #33b5e5;
background-color: transparent;
border: none;
11 years ago
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
11 years ago
.btn-link:active, .btn-link.active {
color: #1a9bcb;
background-color: transparent;
11 years ago
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
.btn-block {
padding: 15px 0;
font-size: 18px;
}
.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 {
height: 50px;
11 years ago
background-color: #ddd;
border-bottom: 1px solid #b1b1b1;
11 years ago
-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-top: 1px solid #b1b1b1;
11 years ago
border-bottom: 0;
-webkit-box-shadow: inset 0 -2px 0 #33b5e5;
11 years ago
box-shadow: inset 0 -2px 0 #33b5e5;
}
.bar-tab {
top: 0;
bottom: auto;
height: 50px;
border-top: 0;
}
11 years ago
.bar-tab .tab-item {
color: #929292;
}
.bar-tab .tab-item.active {
color: #33b5e5;
11 years ago
-webkit-box-shadow: inset 0 -2px 0 #33b5e5;
11 years ago
box-shadow: inset 0 -2px 0 #33b5e5;
}
.bar-tab .tab-item:active {
color: #929292;
background-color: #78c6e3;
}
.bar-tab .tab-item .icon {
top: 3px;
11 years ago
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;
11 years ago
padding-top: 10px;
padding-bottom: 10px;
}
.bar .btn-link {
top: 0;
padding: 0;
font-size: 18px;
line-height: 49px;
11 years ago
color: #33b5e5;
}
.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;
11 years ago
color: #777;
}
.bar input[type="search"] {
height: 35px;
}
.badge.badge-inverted {
11 years ago
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;
11 years ago
background-color: #9c0;
}
.badge-positive.badge-inverted {
11 years ago
color: #9c0;
background-color: transparent;
}
.badge-negative {
color: #fff;
11 years ago
background-color: #f44;
}
.badge-negative.badge-inverted {
11 years ago
color: #f44;
background-color: transparent;
}
.card {
11 years ago
background-color: transparent;
border-color: #d9d9d9;
border-radius: 2px;
}
.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 {
11 years ago
color: inherit;
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: bold;
text-transform: uppercase;
11 years ago
background-color: transparent;
border-top: 0;
border-bottom: 2px solid #a9a9a9;
}
11 years ago
.table-view-cell .navigate-left > .btn,
.table-view-cell .navigate-left > .badge,
.table-view-cell .navigate-left > .toggle,
.table-view-cell .navigate-right > .btn,
.table-view-cell .navigate-right > .badge,
.table-view-cell .navigate-right > .toggle,
.table-view-cell .push-left > .btn,
.table-view-cell .push-left > .badge,
.table-view-cell .push-left > .toggle,
.table-view-cell .push-right > .btn,
.table-view-cell .push-right > .badge,
.table-view-cell .push-right > .toggle,
.table-view-cell > a .navigate-left > .btn,
.table-view-cell > a .navigate-left > .badge,
.table-view-cell > a .navigate-left > .toggle,
.table-view-cell > a .navigate-right > .btn,
.table-view-cell > a .navigate-right > .badge,
.table-view-cell > a .navigate-right > .toggle,
.table-view-cell > a .push-left > .btn,
.table-view-cell > a .push-left > .badge,
.table-view-cell > a .push-left > .toggle,
.table-view-cell > a .push-right > .btn,
.table-view-cell > a .push-right > .badge,
.table-view-cell > a .push-right > .toggle {
right: 15px;
}
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);
-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;
11 years ago
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
.input-group input:last-child {
background-image: none;
}
.input-row {
11 years ago
height: 40px;
border-bottom: 1px solid #d9d9d9;
}
11 years ago
.input-row label {
padding-top: 10px;
padding-bottom: 10px;
}
.input-row label + input {
background-image: none;
border-bottom: 0;
}
.segmented-control {
11 years ago
font-size: 14px;
11 years ago
background-color: #cecece;
border: 0;
border-radius: 2px;
11 years ago
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .25);
box-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}
11 years ago
.segmented-control .control-item {
11 years ago
padding-top: 10px;
padding-bottom: 10px;
11 years ago
color: #222;
11 years ago
border-left: 1px solid #999;
11 years ago
-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);
}
11 years ago
.segmented-control .control-item:first-child {
11 years ago
border-left-width: 0;
}
11 years ago
.segmented-control .control-item:active, .segmented-control .control-item.active {
11 years ago
background-color: #999;
11 years ago
}
11 years ago
.segmented-control-primary {
border: 0;
}
11 years ago
.segmented-control-primary .control-item {
color: #fff;
11 years ago
border-color: inherit;
}
11 years ago
.segmented-control-primary .control-item:active, .segmented-control-primary .control-item.active {
11 years ago
color: #fff;
background-color: #33b5e5;
}
.segmented-control-positive {
border: 0;
}
11 years ago
.segmented-control-positive .control-item {
color: #fff;
11 years ago
border-color: inherit;
}
11 years ago
.segmented-control-positive .control-item:active, .segmented-control-positive .control-item.active {
11 years ago
color: #fff;
11 years ago
background-color: #9c0;
11 years ago
}
.segmented-control-negative {
border: 0;
}
11 years ago
.segmented-control-negative .control-item {
color: #fff;
11 years ago
border-color: inherit;
}
11 years ago
.segmented-control-negative .control-item:active, .segmented-control-negative .control-item.active {
11 years ago
color: #fff;
11 years ago
background-color: #f44;
11 years ago
}
.popover {
11 years ago
top: 47px;
left: 15px;
width: 200px;
margin-left: 0;
11 years ago
border: 1px solid #9b9b9b;
border-radius: 0;
11 years ago
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .2);
box-shadow: 0 0 3px rgba(0, 0, 0, .2);
-webkit-transition: -webkit-transform .1s ease-in-out, opacity .2s ease-in-out;
11 years ago
-o-transition: -o-transform .1s ease-in-out, opacity .2s ease-in-out;
11 years ago
transition: transform .1s ease-in-out, opacity .2s ease-in-out;
-webkit-transform: scale(.75);
11 years ago
-o-transform: scale(.75);
11 years ago
transform: scale(.75);
11 years ago
}
.popover:before {
display: none;
}
11 years ago
.popover.visible {
-webkit-transform: scale(1);
11 years ago
-o-transform: scale(1);
11 years ago
transform: scale(1);
11 years ago
}
11 years ago
.backdrop {
background-color: transparent;
11 years ago
}
.popover .bar {
border-radius: 0;
}
.popover .bar-nav ~ .table-view {
padding-top: 50px;
}
.popover .table-view {
border-radius: 12px;
}
.toggle {
width: 104px;
height: 28px;
11 years ago
background-color: #d7d7d7;
border: 2px solid #d7d7d7;
border-radius: 0;
}
.toggle .toggle-handle {
top: 0;
left: 0;
width: 50px;
height: 24px;
11 years ago
background-color: #bebebe;
11 years ago
border: 1px solid #b5b5b5;
border-radius: 2px;
11 years ago
-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 {
background-color: #d7d7d7;
11 years ago
border: 2px solid #d7d7d7;
}
.toggle.active .toggle-handle {
11 years ago
margin-right: 2px;
background-color: #33b5e5;
border-color: #33b5e5;
-webkit-transform: translate3d(50px, 0, 0);
11 years ago
transform: translate3d(50px, 0, 0);
}
.toggle.active:before {
11 years ago
right: 14px;
11 years ago
left: auto;
color: #fff;
}
11 years ago
.navigate-left:after,
.push-left:after {
content: '';
}
11 years ago
.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';
}