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.

436 lines
7.8 KiB

/*
* =====================================================
* Ratchet v2.0.0
* Copyright 2014 Connor Sears, Dave Gamache, and Jacob Thornton
* Licensed under http://www.opensource.org/licenses/MIT
*
* Designed and built by @connors, @dhg, and @fat.
* =====================================================
*/
body {
font-family: "Roboto", sans-serif;
font-size: 18px;
line-height: 22px;
color: #222222;
}
.content {
background-color: #f2f2f2;
}
.bar-nav ~ .content {
padding-top: 50px;
}
.bar-tab ~ .content {
padding-bottom: 50px;
}
.bar-header-secondary ~ .content {
padding-top: 100px;
}
11 years ago
a {
color: #33b5e5;
}
.bar {
height: 50px;
background-color: #dddddd;
border-bottom: 1px solid #b1b1b1;
box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07);
}
.bar.bar-header-secondary {
11 years ago
top: 50px;
}
.bar.bar-footer-secondary {
bottom: 50px;
}
.bar.bar-footer-secondary-tab {
bottom: 50px;
}
.bar-tab {
11 years ago
top: 0;
bottom: auto;
height: 50px;
11 years ago
border-top: 0;
}
11 years ago
.bar-tab .tab-item .icon {
margin-top: 0;
}
11 years ago
.bar-tab .tab-item.active .tab-label,
.bar-tab .tab-item.active .icon, .bar-tab .tab-item:active .tab-label,
.bar-tab .tab-item:active .icon {
color: #33b5e5;
}
.title {
position: static;
padding-left: 15px;
11 years ago
font-size: 18px;
11 years ago
line-height: 49px;
text-align: left;
}
11 years ago
.popover .bar {
border-radius: 0;
}
.popover .bar ~ .table-view {
padding-top: 50px;
}
.card {
border-color: #d9d9d9;
border-radius: 2px;
background-color: transparent;
}
11 years ago
.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;
}
11 years ago
.table-view .table-view-cell > a:not(.btn):active {
background-color: #33b5e5;
}
.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;
border-top: 0;
border-bottom: 2px solid #a9a9a9;
background-color: transparent;
}
.popover .table-view {
border-radius: 12px;
}
.table-view .btn {
11 years ago
margin-top: -4px;
}
select,
textarea,
input[type="text"],
11 years ago
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, 0.2);
11 years ago
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
11 years ago
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
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;
}
11 years ago
.btn {
padding: 8px 15px;
font-size: 14px;
color: #222222;
background-color: #cecece;
border: 0;
border-radius: 2px;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25);
}
11 years ago
.btn:active, .btn.active {
color: #222222;
border: 0;
background-color: #999999;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.bar .btn {
padding-top: 9px;
padding-bottom: 9px;
}
.bar .btn-link {
padding: 0;
color: #33b5e5;
11 years ago
font-size: 18px;
11 years ago
line-height: 49px;
}
.bar .btn-link:active, .bar .btn-link.active {
color: #1a9bcb;
}
11 years ago
.btn-primary {
color: #fff;
border: 0;
background-color: #33b5e5;
}
11 years ago
.btn-primary:active, .btn-primary.active {
color: #fff;
border: 0;
background-color: #1a9bcb;
}
11 years ago
.btn-positive {
color: #fff;
border: 0;
background-color: #99cc00;
}
11 years ago
.btn-positive:active, .btn-positive.active {
color: #fff;
border: 0;
background-color: #739900;
}
11 years ago
.btn-negative {
color: #fff;
border: 0;
background-color: #ff4444;
}
11 years ago
.btn-negative:active, .btn-negative.active {
color: #fff;
border: 0;
background-color: #ff1111;
}
11 years ago
.btn-outlined {
border: 1px solid #999999;
background-color: transparent;
box-shadow: none;
}
11 years ago
.btn-outlined.btn-primary {
border: 1px solid #33b5e5;
color: #33b5e5;
}
.btn-outlined.btn-primary:active {
border: 1px solid #33b5e5;
background-color: #33b5e5;
}
11 years ago
.btn-outlined.btn-positive {
border: 1px solid #99cc00;
color: #99cc00;
}
.btn-outlined.btn-positive:active {
border: 1px solid #99cc00;
background-color: #99cc00;
}
11 years ago
.btn-outlined.btn-negative {
border: 1px solid #ff4444;
color: #ff4444;
}
.btn-outlined.btn-negative:active {
border: 1px solid #ff4444;
background-color: #ff4444;
}
.btn-outlined:active {
border: 1px solid #999999;
background-color: #999999;
box-shadow: none;
}
11 years ago
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
color: #fff;
box-shadow: none;
}
11 years ago
.btn-link {
color: #33b5e5;
background-color: transparent;
border: none;
box-shadow: none;
}
11 years ago
.btn-link:active, .btn-link.active {
color: #1a9bcb;
background-color: transparent;
box-shadow: none;
}
.btn-block {
padding: 15px 0;
font-size: 18px;
}
11 years ago
.bar-nav .btn {
margin-top: 7px;
}
11 years ago
.bar-nav .btn-link {
11 years ago
margin-top: 0;
color: #33b5e5;
}
11 years ago
.bar-nav .btn-link:active {
color: #33b5e5;
opacity: .6;
}
.badge.badge-inverted {
color: #999999;
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: #99cc00;
}
.badge-positive.badge-inverted {
color: #99cc00;
background-color: transparent;
}
.badge-negative {
color: #fff;
background-color: #ff4444;
}
.badge-negative.badge-inverted {
color: #ff4444;
background-color: transparent;
}
.btn .badge {
background-color: rgba(0, 0, 0, 0.15);
}
.btn .badge.badge-inverted {
background-color: transparent;
}
.btn:active .badge {
color: #fff;
}
.segmented-control {
11 years ago
background-color: #cecece;
border: 0;
font-size: 14px;
border-radius: 2px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.segmented-control li {
11 years ago
border-left: 1px solid #999;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.segmented-control li > a {
11 years ago
padding-top: 10px;
padding-bottom: 10px;
11 years ago
color: #222222;
}
11 years ago
.segmented-control li:first-child {
border-left-width: 0;
}
.segmented-control li:active, .segmented-control li.active {
background-color: #999999;
}
.bar .segmented-control {
top: 7px;
}
.popover {
11 years ago
top: 100px;
border: 1px solid #9b9b9b;
border-radius: 0;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
-webkit-transition: -webkit-transform 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
transition: -webkit-transform 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.popover:before {
display: none;
}
.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;
11 years ago
border: 1px solid #b5b5b5;
border-radius: 0;
background-color: #bebebe;
11 years ago
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.toggle:before {
top: 1px;
right: auto;
left: 11px;
z-index: 3;
color: #fff;
}
.toggle.active {
background-color: #d7d7d7;
}
.toggle.active .toggle-handle {
margin-right: 2px;
background-color: #33b5e5;
border-color: #33b5e5;
-webkit-transform: translate3d(50px, 0, 0);
transform: translate3d(50px, 0, 0);
}
.toggle.active:before {
left: auto;
11 years ago
right: 14px;
color: #fff;
content: "On";
}
11 years ago
.bar .icon {
margin-top: 13px;
}