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.

1294 lines
28 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.
* =====================================================
*/
.platform-ios {
@-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, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1);
}
}
}
.platform-ios .content {
background-color: #efeff4;
}
.platform-ios [class*="bar-"] {
border-bottom: 0;
background-color: rgba(247, 247, 247, 0.98);
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
box-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
}
.platform-ios [class*="bar-"].bar-header-secondary {
top: 44px;
}
.platform-ios [class*="bar-"].bar-footer-secondary {
bottom: 44px;
}
.platform-ios [class*="bar-"].bar-footer-secondary-tab {
bottom: 50px;
}
.platform-ios .bar-tab {
border-top: 0;
-webkit-box-shadow: 0 0 -1px rgba(0, 0, 0, 0.85);
box-shadow: 0 0 -1px rgba(0, 0, 0, 0.85);
}
.platform-ios .tab-item.active .tab-label,
.platform-ios .tab-item.active .icon, .platform-ios .tab-item:active .tab-label,
.platform-ios .tab-item:active .icon {
color: #007aff;
}
.platform-ios .popover .bar-nav {
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.platform-ios .table-view .table-view-cell {
border-bottom: 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>");
background-position: 15px 100%;
background-repeat: no-repeat;
}
.platform-ios .table-view .table-view-cell:last-child {
background-image: none;
}
.platform-ios .table-view .table-view-divider {
border-top: 0;
border-bottom: 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-position: 0 100%, 0 0%;
background-repeat: no-repeat;
}
.platform-ios .popover .table-view {
border-radius: 12px;
}
.platform-ios .card .table-view li:last-child {
background-image: none;
}
.platform-ios select,
.platform-ios textarea,
.platform-ios input[type="text"],
.platform-ios input[type=search],
.platform-ios input[type="password"],
.platform-ios input[type="datetime"],
.platform-ios input[type="datetime-local"],
.platform-ios input[type="date"],
.platform-ios input[type="month"],
.platform-ios input[type="time"],
.platform-ios input[type="week"],
.platform-ios input[type="number"],
.platform-ios input[type="email"],
.platform-ios input[type="url"],
.platform-ios input[type="tel"],
.platform-ios input[type="color"],
.platform-ios .input-group {
height: 40px;
padding: 10px 15px;
border: 1px solid rgba(0, 0, 0, 0.2);
}
.platform-ios input[type=search] {
height: 34px;
text-align: center;
background-color: rgba(0, 0, 0, 0.1);
border: 0;
border-radius: 6px;
}
.platform-ios input[type=search]:focus {
text-align: left;
}
.platform-ios select,
.platform-ios textarea,
.platform-ios .input-group {
height: auto;
}
.platform-ios .input-group {
padding: 0;
}
.platform-ios .input-group input {
border: 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>");
background-position: 15px 100%;
background-repeat: no-repeat;
}
.platform-ios .input-group input:last-child {
background-image: none;
}
.platform-ios .input-row {
border-bottom: 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>");
background-position: 15px 100%;
background-repeat: no-repeat;
}
.platform-ios .input-row:last-child,
.platform-ios .input-row label + input {
background-image: none;
}
.platform-ios [class*="button"] {
border: 1px solid #929292;
color: #929292;
background-color: rgba(247, 247, 247, 0.98);
-webkit-transition: all;
transition: all;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-timing-function: linear;
transition-timing-function: linear;
}
.platform-ios [class*="button"]:active, .platform-ios [class*="button"].active {
color: #fff;
background-color: #929292;
}
.platform-ios .button-primary {
color: #fff;
border: 1px solid #007aff;
background-color: #007aff;
}
.platform-ios .button-primary:active, .platform-ios .button-primary.active {
border: 1px solid #0062cc;
background-color: #0062cc;
}
.platform-ios .button-positive {
color: #fff;
border: 1px solid #4cd964;
background-color: #4cd964;
}
.platform-ios .button-positive:active, .platform-ios .button-positive.active {
border: 1px solid #2ac845;
background-color: #2ac845;
}
.platform-ios .button-negative {
color: #fff;
border: 1px solid #dd524d;
background-color: #dd524d;
}
.platform-ios .button-negative:active, .platform-ios .button-negative.active {
border: 1px solid #cf2d28;
background-color: #cf2d28;
}
.platform-ios .button-outlined {
background-color: transparent;
}
.platform-ios .button-outlined.button-primary {
color: #007aff;
}
.platform-ios .button-outlined.button-positive {
color: #4cd964;
}
.platform-ios .button-outlined.button-negative {
color: #dd524d;
}
.platform-ios .button-outlined.button-primary:active, .platform-ios .button-outlined.button-positive:active, .platform-ios .button-outlined.button-negative:active {
color: #fff;
}
.platform-ios .button-link {
color: #007aff;
background-color: transparent;
border: none;
}
.platform-ios .button-link:active, .platform-ios .button-link.active {
color: #0062cc;
background-color: transparent;
}
.platform-ios .bar-nav .button-link {
color: #007aff;
}
.platform-ios .bar-nav .button-link:active {
color: #007aff;
opacity: .6;
}
.platform-ios [class*="badge"].badge-inverted {
color: #929292;
}
.platform-ios .badge-primary {
color: #fff;
background-color: #007aff;
}
.platform-ios .badge-primary.badge-inverted {
color: #007aff;
}
.platform-ios .badge-positive {
color: #fff;
background-color: #4cd964;
}
.platform-ios .badge-positive.badge-inverted {
color: #4cd964;
}
.platform-ios .badge-negative {
color: #fff;
background-color: #dd524d;
}
.platform-ios .badge-negative.badge-inverted {
color: #dd524d;
}
.platform-ios .segmented-controller {
color: #929292;
background-color: transparent;
border: 1px solid #929292;
}
.platform-ios .segmented-controller li {
border-color: #929292;
-webkit-transition: background-color 0.1s linear;
transition: background-color 0.1s linear;
}
.platform-ios .segmented-controller li:active {
background-color: #ebebeb;
}
.platform-ios .segmented-controller li.selected {
background-color: #929292;
}
.platform-ios .segmented-controller li.selected > a {
color: #fff;
}
.platform-ios .segmented-controller-primary {
border: 1px solid #007aff;
}
.platform-ios .segmented-controller-primary li {
border-color: inherit;
}
.platform-ios .segmented-controller-primary li > a {
color: #007aff;
}
.platform-ios .segmented-controller-primary li:active {
background-color: #b3d7ff;
}
.platform-ios .segmented-controller-primary li.selected {
background-color: #007aff;
}
.platform-ios .segmented-controller-primary li.selected > a {
color: #fff;
}
.platform-ios .segmented-controller-positive {
border: 1px solid #4cd964;
}
.platform-ios .segmented-controller-positive li {
border-color: inherit;
}
.platform-ios .segmented-controller-positive li > a {
color: #4cd964;
}
.platform-ios .segmented-controller-positive li:active {
background-color: #dff8e3;
}
.platform-ios .segmented-controller-positive li.selected {
background-color: #4cd964;
}
.platform-ios .segmented-controller-positive li.selected > a {
color: #fff;
}
.platform-ios .segmented-controller-negative {
border: 1px solid #dd524d;
}
.platform-ios .segmented-controller-negative li {
border-color: inherit;
}
.platform-ios .segmented-controller-negative li > a {
color: #dd524d;
}
.platform-ios .segmented-controller-negative li:active {
background-color: #fae4e3;
}
.platform-ios .segmented-controller-negative li.selected {
background-color: #dd524d;
}
.platform-ios .segmented-controller-negative li.selected > a {
color: #fff;
}
.platform-ios .popover {
border-radius: 12px;
-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;
}
.platform-ios .popover:after {
border-bottom: 15px solid rgba(247, 247, 247, 0.98);
}
.platform-ios .modal {
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
}
.platform-ios .modal.active {
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
}
.platform-ios .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;
transition-property: box-shadow, border;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
}
.platform-ios .toggle .toggle-handle {
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08);
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08);
-webkit-transition-property: -webkit-transform, border, width;
transition-property: -webkit-transform, border, width;
}
.platform-ios .toggle:before {
display: none;
}
.platform-ios .toggle:active .toggle-handle {
width: 35px;
}
.platform-ios .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;
}
.platform-ios .toggle.active .toggle-handle {
-webkit-transform: translate3d(17px, 0, 0);
transform: translate3d(17px, 0, 0);
}
.platform-ios .toggle.active:active .toggle-handle,
.platform-ios .toggle.active .toggle-handle:active {
-webkit-transform: translate3d(10px, 0, 0) !important;
transform: translate3d(10px, 0, 0) !important;
}
.platform-ios .toggle.active .toggle-handle {
border-color: #4cd964;
}
.platform-ios .content.fade {
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
}
.platform-ios .content.slide {
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
}
.platform-ios .content.slide.sliding-in, .platform-ios .content.slide.right:not([class*="sliding-in"]) {
-webkit-animation-name: fadeOverlay;
animation-name: fadeOverlay;
-webkit-animation-duration: 0.4s;
animation-duration: 0.4s;
}
.platform-ios .content.slide.right:not([class*="sliding-in"]) {
-webkit-animation-direction: reverse;
animation-direction: reverse;
}
.platform-ios .content.slide.left {
-webkit-transform: translate3d(-20%, 0, 0);
transform: translate3d(-20%, 0, 0);
}
.platform-android .content {
background: #111111;
background: -moz-linear-gradient(top, #111111 0%, #2b2b2b 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #111111), color-stop(100%, #2b2b2b));
background: -webkit-linear-gradient(top, #111111 0%, #2b2b2b 100%);
background: -o-linear-gradient(top, #111111 0%, #2b2b2b 100%);
background: -ms-linear-gradient(top, #111111 0%, #2b2b2b 100%);
background: linear-gradient(to bottom, #111111 0%, #2b2b2b 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$color-form', endColorstr='$color-to',GradientType=0 );
}
.platform-android [class*="bar-"] {
height: 50px;
background-color: #111111;
border-bottom: 1px solid #565656;
}
.platform-android [class*="bar-"].bar-header-secondary {
top: 51px;
}
.platform-android .bar-tab {
height: 70px;
border-top: 1px solid #565656;
border-bottom: 0;
}
.platform-android .title {
position: static;
padding-left: 10px;
line-height: 50px;
color: white;
text-align: left;
}
.platform-android .popover .bar-nav {
border-bottom: 1px solid #565656;
}
.platform-android .table-view .table-view-cell {
border-bottom: 1px solid #565656;
}
.platform-android .table-view .table-view-cell:last-child {
background-image: none;
}
.platform-android .table-view .table-view-divider {
border-top: 0;
border-bottom: 0;
}
.platform-android .popover .table-view {
border-radius: 12px;
}
.platform-android select,
.platform-android textarea,
.platform-android input[type="text"],
.platform-android input[type=search],
.platform-android input[type="password"],
.platform-android input[type="datetime"],
.platform-android input[type="datetime-local"],
.platform-android input[type="date"],
.platform-android input[type="month"],
.platform-android input[type="time"],
.platform-android input[type="week"],
.platform-android input[type="number"],
.platform-android input[type="email"],
.platform-android input[type="url"],
.platform-android input[type="tel"],
.platform-android input[type="color"],
.platform-android .input-group {
height: 40px;
padding: 10px 15px;
border: 1px solid rgba(0, 0, 0, 0.2);
}
.platform-android input[type=search] {
height: 34px;
text-align: center;
background-color: rgba(0, 0, 0, 0.1);
border: 0;
border-radius: 6px;
}
.platform-android input[type=search]:focus {
text-align: left;
}
.platform-android select,
.platform-android textarea,
.platform-android .input-group {
height: auto;
}
.platform-android .input-group {
padding: 0;
}
.platform-android .input-group input {
border: 0;
}
.platform-android .input-group input:last-child {
background-image: none;
}
.platform-android .input-row {
border-bottom: 0;
}
.platform-android .input-row:last-child,
.platform-android .input-row label + input {
background-image: none;
}
.platform-android [class*="button"] {
border: 1px solid #565656;
color: white;
background-color: #111111;
border-radius: 3px;
}
.platform-android [class*="button"]:active, .platform-android [class*="button"].active {
color: #fff;
background-color: white;
}
.platform-android [class*="bar-"] [class*="button"] {
padding-top: 9px;
padding-bottom: 9px;
}
.platform-android [class*="bar-"] .button-link {
padding: 0;
color: #33b5e5;
line-height: 50px;
}
.platform-android [class*="bar-"] .button-link:active, .platform-android [class*="bar-"] .button-link.active {
color: #1a9bcb;
}
.platform-android .button-primary {
color: #fff;
border: 1px solid #33b5e5;
background-color: #33b5e5;
}
.platform-android .button-primary:active, .platform-android .button-primary.active {
border: 1px solid #1a9bcb;
background-color: #1a9bcb;
}
.platform-android .button-positive {
color: #fff;
border: 1px solid #81c700;
background-color: #81c700;
}
.platform-android .button-positive:active, .platform-android .button-positive.active {
border: 1px solid #609400;
background-color: #609400;
}
.platform-android .button-negative {
color: #fff;
border: 1px solid #f20754;
background-color: #f20754;
}
.platform-android .button-negative:active, .platform-android .button-negative.active {
border: 1px solid #c00643;
background-color: #c00643;
}
.platform-android .button-outlined {
background-color: transparent;
}
.platform-android .button-outlined.button-primary {
color: #33b5e5;
}
.platform-android .button-outlined.button-positive {
color: #81c700;
}
.platform-android .button-outlined.button-negative {
color: #f20754;
}
.platform-android .button-outlined.button-primary:active, .platform-android .button-outlined.button-positive:active, .platform-android .button-outlined.button-negative:active {
color: #fff;
}
.platform-android .button-link {
color: #33b5e5;
background-color: transparent;
border: none;
}
.platform-android .button-link:active, .platform-android .button-link.active {
color: #1a9bcb;
background-color: transparent;
}
.platform-android .bar-nav .button-link {
color: #33b5e5;
}
.platform-android .bar-nav .button-link:active {
color: #33b5e5;
opacity: .6;
}
.platform-android [class*="badge"].badge-inverted {
color: white;
}
.platform-android .badge-primary {
color: #fff;
background-color: #33b5e5;
}
.platform-android .badge-primary.badge-inverted {
color: #33b5e5;
}
.platform-android .badge-positive {
color: #fff;
background-color: #81c700;
}
.platform-android .badge-positive.badge-inverted {
color: #81c700;
}
.platform-android .badge-negative {
color: #fff;
background-color: #f20754;
}
.platform-android .badge-negative.badge-inverted {
color: #f20754;
}
.platform-android .segmented-controller {
background-color: transparent;
border: 1px solid #33b5e5;
border-radius: 3px;
}
.platform-android .segmented-controller li {
border-left: 1px solid #33b5e5;
}
.platform-android .segmented-controller li > a {
padding-top: 9px;
padding-bottom: 10px;
color: #33b5e5;
}
.platform-android .segmented-controller li.selected {
background-color: #33b5e5;
}
.platform-android .popover {
border-radius: 12px;
}
.platform-android .popover:after {
border-bottom: 15px solid #111111;
}
.platform-android .toggle .toggle-handle {
border: 1px solid #565656;
}
.platform-android .toggle:active .toggle-handle {
width: 35px;
}
.platform-android .toggle.active {
border: 2px solid #81c700;
background-color: #81c700;
}
.platform-android .toggle.active .toggle-handle {
border-color: #81c700;
}
html,
body {
width: 100%;
height: 100%;
}
body {
position: relative !important;
font: 14px/1.5 "adelle-sans",sans-serif;
color: #333;
background-color: #fff;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
}
.docs-header {
background-image: linear-gradient(45deg, #336f90 0%, #254456 100%);
}
.docs-nav {
position: relative;
padding-top: 12px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.docs-nav .icon,
.docs-nav .version {
position: absolute;
color: #fff;
opacity: .4;
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
}
.docs-nav .icon:hover,
.docs-nav .version:hover {
opacity: 1;
}
.docs-nav .icon {
top: 18px;
right: 0;
cursor: pointer;
}
.docs-nav .version {
top: 21px;
left: 0;
}
.docs-nav,
.docs-header-content {
text-align: center;
}
.docs-header-content {
padding-top: 50px;
padding-bottom: 50px;
}
.docs-header-content .button {
padding: 15px 30px 16px;
font-size: 18px;
color: #00d1fe;
border-color: #00d1fe;
-webkit-transition: all 0.2s linear;
transition: all 0.2s linear;
}
.docs-header-content .button:hover {
color: #63e3ff;
border-color: #63e3ff;
}
.docs-header-content .button:active {
opacity: .5;
background-color: transparent;
}
.docs-header-content .button-primary {
margin-left: 10px;
color: #fff;
border-color: #00d1fe;
background-color: #00d1fe;
}
.docs-header-content .button-primary:hover {
color: #fff;
border-color: #63e3ff;
background-color: #63e3ff;
}
.docs-header-content .button-primary:active {
background-color: #63e3ff;
}
.docs-title,
.docs-subtitle {
color: #fff;
}
.docs-title {
margin: 0;
font-size: 22px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 6px;
}
.docs-subtitle {
max-width: 750px;
margin: 0 auto 20px;
font-size: 24px;
font-weight: 100;
line-height: 34px;
}
.docs-sub-content {
padding-top: 50px;
color: #fff;
text-align: center;
}
.docs-sub-content .page-title,
.docs-sub-content .page-description {
margin-top: 0;
margin-bottom: 0;
font-weight: 300;
}
.docs-sub-content .page-title {
font-size: 40px;
}
.docs-sub-content .page-description {
font-size: 24px;
opacity: .7;
}
.docs-section {
padding-top: 80px;
padding-bottom: 80px;
}
.section-header {
text-align: center;
}
.section-header:after {
display: block;
content: '';
width: 200px;
margin: 50px auto 80px;
border-bottom: 1px solid #eee;
}
.section-heading,
.section-lead {
margin-top: 0;
margin-bottom: 0;
}
.section-heading {
font-size: 55px;
font-weight: 300;
}
.section-lead {
font-size: 24px;
color: #777;
font-weight: 100;
}
.social {
padding: 20px 0 20px;
margin: 0;
list-style: none;
text-align: center;
border-bottom: 1px solid #eee;
background-color: #f9f9f9;
}
.social li {
height: 20px;
display: inline-block;
vertical-align: top;
}
.social [class*="button"] {
padding: 0;
border: 0;
}
.social iframe {
background-color: transparent;
}
.docs-benefits {
padding-bottom: 0;
text-align: center;
}
.benefit-icon {
display: block;
width: 80px;
height: 80px;
margin: 0 auto 30px;
border: 1px solid #eee;
border-radius: 40px;
}
.benefit-icon .icon {
color: #14b9d6;
font-size: 32px;
line-height: 80px;
}
.benefit-heading {
font-weight: 500;
font-size: 24px;
margin-top: 5px;
margin-bottom: 10px;
}
.benefit-text {
margin-top: 0;
margin-bottom: 100px;
font-size: 18px;
color: #777;
}
.docs-contribute {
padding-top: 50px;
padding-bottom: 50px;
color: #fff;
text-align: center;
background-color: #00d1fe;
}
.docs-contribute .link {
display: inline-block;
margin-top: 5px;
color: #fff;
text-decoration: underline;
}
.contribute-heading,
.contribute-text {
margin-top: 0;
}
.contribute-heading {
margin-bottom: 5px;
font-size: 18px;
font-weight: 500;
}
.contribute-text {
margin-bottom: 0;
color: rgba(255, 255, 255, 0.85);
}
.docs-footer {
padding-top: 20px;
padding-bottom: 20px;
color: rgba(255, 255, 255, 0.7);
text-align: center;
background-color: #254456;
}
.docs-footer .footer-content {
opacity: .7;
}
.docs-footer .footer-content a {
color: #fff;
}
.platform-toggle {
padding-top: 15px;
padding-bottom: 90px;
}
.platform-toggle.fixed {
position: fixed;
top: 0;
bottom: auto;
left: 0;
right: 0;
z-index: 3;
padding-top: 8px;
padding-bottom: 8px;
background-image: linear-gradient(45deg, #336f90 0%, #254456 100%);
-webkit-transition: padding-top 0.2s linear, padding-bottom 0.2s linear;
transition: padding-top 0.2s linear, padding-bottom 0.2s linear;
}
.platform-toggle .segmented-controller {
max-width: 300px;
margin: 0 auto;
border-color: #00d1fe;
background-color: transparent;
}
.platform-toggle .segmented-controller li {
cursor: pointer;
border-color: #00d1fe;
}
.platform-toggle .segmented-controller li a {
color: #00d1fe;
}
.platform-toggle .segmented-controller li:active {
background-color: rgba(0, 209, 254, 0.3);
}
.platform-toggle .segmented-controller li.selected {
background-color: #00d1fe;
}
.platform-toggle .segmented-controller li.selected a {
color: #fff;
}
.component {
padding: 50px 15px;
margin-left: -15px;
margin-right: -15px;
border-bottom: 1px solid #ddd;
}
.component-title {
margin: 0;
font-size: 24px;
font-weight: 300;
}
.component-description {
margin-top: 10px;
margin-bottom: 10px;
font-size: 16px;
}
.component-example {
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 17px;
line-height: 21px;
}
.component-example,
.component-example [class*="bar"],
.component-example .content {
position: relative;
}
.component-example-fullbleed,
.highlight {
margin-left: -15px;
margin-right: -15px;
}
.component-example .table-view.inset {
margin-left: 0;
margin-right: 0;
}
.component-example .bar-header-secondary {
top: 0;
}
.bar-nav ~ .content {
padding: 0;
}
.highlight pre {
margin-top: 15px;
padding: 15px;
font-size: 13px;
overflow-x: auto;
color: #777;
background-color: #fafafa;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
white-space: pre;
word-wrap: normal;
}
.device {
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 17px;
line-height: 21px;
display: none;
}
hr {
height: 0;
margin: 10px 0 30px;
border: solid #ddd;
border-width: 1px 0 0;
clear: both;
}
.column-group {
*zoom: 1;
}
.column-group:before,
.column-group:after {
display: table;
line-height: 0;
content: "";
}
.column-group:after {
clear: both;
}
.clear {
display: block;
width: 0;
height: 0;
overflow: hidden;
visibility: hidden;
clear: both;
}
@media screen and (min-width: 768px) {
.docs-header-content {
padding-top: 100px;
padding-bottom: 130px;
}
.docs-subtitle {
margin-bottom: 30px;
font-size: 41px;
line-height: 60px;
}
.device {
position: relative;
top: 50px;
display: block;
width: 395px;
height: 813px;
margin-left: -13px;
font-family: "Helvetica Neue", sans-serif;
background-image: url("../img/iphone.png");
background-size: 100%;
background-repeat: no-repeat;
}
.device.device-fixed {
position: fixed;
right: auto;
}
.device .device-content {
position: absolute;
top: 117px;
left: 37px;
width: 320px;
height: 569px;
overflow: hidden;
font-size: 17px;
line-height: 21px;
background-color: #efeff4;
}
.device .content,
.device [class*="bar"],
.device .modal {
position: absolute;
}
.device .content {
top: 44px;
left: 0;
right: 0;
bottom: 0;
}
.component,
.component-example-fullbleed,
.highlight {
margin-left: 0;
margin-right: 0;
}
.component {
padding-left: 0;
padding-right: 0;
opacity: .5;
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
}
.component.active {
opacity: 1;
}
.component-example {
display: none;
}
.highlight pre {
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-radius: 3px;
}
.popover {
position: absolute;
display: block;
top: 72px;
opacity: 1;
}
.slider li img {
width: 100%;
}
.slider .slide-text {
position: absolute;
top: 45%;
left: 0;
width: 100%;
color: #fff;
text-align: center;
font-size: 24px;
font-weight: 300;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
}
.container {
margin-left: auto;
margin-right: auto;
}
.column-group {
width: auto;
}
.column {
padding-left: 15px;
padding-right: 15px;
float: left;
}
.column.pull-right {
float: right;
}
.column .column-group {
margin-left: -15px;
margin-right: -15px;
}
.units-1 {
width: 50%;
}
.units-2 {
width: 100%;
}
.offset-1 {
margin-left: 50%;
}
@media screen and (min-width: 768px) {
.container {
padding: 0;
max-width: 940px;
}
.column {
padding-left: 20px;
padding-right: 20px;
}
.column .column-group {
margin-left: -20px;
margin-right: -20px;
}
.units-1 {
width: 50%;
}
.units-2 {
width: 100%;
}
.lg-units-1 {
width: 8.333%;
}
.lg-units-2 {
width: 16.666%;
}
.lg-units-3 {
width: 25%;
}
.lg-units-4 {
width: 33.333%;
}
.lg-units-5 {
width: 41.666%;
}
.lg-units-6 {
width: 50%;
}
.lg-units-7 {
width: 58.333%;
}
.lg-units-8 {
width: 66.666%;
}
.lg-units-9 {
width: 75%;
}
.lg-units-10 {
width: 83.333%;
}
.lg-units-11 {
width: 91.666%;
}
.lg-units-12 {
width: 100%;
}
.lg-offset-1 {
margin-left: 8.333%;
}
.lg-offset-2 {
margin-left: 16.666%;
}
.lg-offset-3 {
margin-left: 25%;
}
.lg-offset-4 {
margin-left: 33.333%;
}
.lg-offset-5 {
margin-left: 41.666%;
}
.lg-offset-6 {
margin-left: 50%;
}
.lg-offset-7 {
margin-left: 58.333%;
}
.lg-offset-8 {
margin-left: 66.666%;
}
.lg-offset-9 {
margin-left: 75%;
}
.lg-offset-10 {
margin-left: 83.333%;
}
.lg-offset-11 {
margin-left: 91.666%;
}
}
@media screen and (min-width: 1200px) {
.container {
max-width: 1170px;
}
.column {
padding-left: 30px;
padding-right: 30px;
}
.column .column-group {
margin-left: -30px;
margin-right: -30px;
}
}