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.

539 lines
8.4 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.
* =====================================================
*/
12 years ago
body {
position: static !important;
font: 14px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
12 years ago
color: #333;
background-color: #fff;
-webkit-font-smoothing: antialiased;
12 years ago
-webkit-text-size-adjust: 100%;
}
11 years ago
h1, h2, h3, h4, h5, h6 {
12 years ago
text-rendering: optimizeLegibility;
}
11 years ago
.docs-header-wrapper {
background-color: #fafafa;
11 years ago
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>");
11 years ago
background-position: 0 100%;
background-repeat: no-repeat;
}
.docs-header-wrapper .icon {
position: absolute;
top: 15px;
11 years ago
right: 15px;
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
}
.docs-header-wrapper .icon:active {
opacity: .3;
}
11 years ago
.docs-header {
padding-top: 50px;
padding-bottom: 50px;
text-align: center;
11 years ago
-webkit-animation-name: fadein;
animation-name: fadein;
11 years ago
-webkit-animation-duration: 2s;
animation-duration: 2s;
}
.docs-header .docs-title {
margin: 0;
font-size: 40px;
font-weight: 300;
11 years ago
}
.docs-header .docs-subtitle {
margin-top: 0;
margin-bottom: 20px;
color: #777;
font-size: 22px;
font-weight: 300;
line-height: 30px;
}
.social {
padding: 0;
list-style: none;
text-align: center;
11 years ago
-webkit-animation-name: fadein;
animation-name: fadein;
-webkit-animation-duration: 2s;
animation-duration: 2s;
}
.social li {
height: 20px;
padding-bottom: 25px;
display: inline-block;
vertical-align: top;
}
.social [class*="button"] {
padding: 0;
border: 0;
}
.docs-masthead {
11 years ago
padding-top: 70px;
padding-bottom: 100px;
text-align: center;
border-bottom: 1px solid #ddd;
11 years ago
background-color: #fcfcfc;
}
.docs-masthead .logotype {
11 years ago
display: inline-block;
width: 40px;
height: 40px;
padding: 10px;
margin-top: 0;
11 years ago
margin-bottom: 10px;
color: #ccc;
font-size: 18px;
font-weight: normal;
11 years ago
line-height: 16px;
border: 2px solid #ddd;
border-radius: 50px;
-webkit-transition: all 0.2s linear;
transition: all 0.2s linear;
}
.docs-masthead .section-title,
.docs-masthead .section-description {
margin-top: 0;
margin-bottom: 0;
font-weight: 300;
}
.docs-masthead .section-title {
color: #333;
font-size: 45px;
}
.docs-masthead .section-description {
color: #777;
font-size: 24px;
}
.docs-navigation {
float: right;
padding-top: 5px;
}
.docs-navigation .nav-item {
margin-left: 20px;
}
11 years ago
.platform-toggle {
border-bottom: 1px solid #ddd;
}
11 years ago
.platform-toggle .segmented-controller {
margin: 10px auto;
max-width: 300px;
}
.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 {
11 years ago
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;
}
.notice-banner {
height: 0;
margin: 0;
padding: 0;
color: #333;
font-size: 16px;
text-align: center;
background-color: #fff9c4;
opacity: 0;
-moz-animation: shownotice 1s infinite;
}
.iphone {
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) {
.iphone {
position: fixed;
top: 50px;
left: 50%;
float: right;
width: 395px;
height: 813px;
margin-left: 140px;
font-family: "Helvetica Neue", sans-serif;
background-image: url("../img/iphone.png");
background-size: 100%;
background-repeat: no-repeat;
11 years ago
-webkit-animation-name: fadein;
animation-name: fadein;
-webkit-animation-duration: 2s;
animation-duration: 2s;
}
.iphone .iphone-content {
position: absolute;
top: 118px;
left: 37px;
width: 320px;
height: 568px;
overflow: hidden;
11 years ago
font-size: 17px;
line-height: 21px;
background-color: #efeff4;
}
.iphone .content,
.iphone [class*="bar"],
.iphone .modal {
position: absolute;
}
.iphone .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;
12 years ago
}
.column-group {
width: auto;
12 years ago
}
.column {
padding-left: 15px;
padding-right: 15px;
12 years ago
float: left;
}
.column .column-group {
margin-left: -15px;
margin-right: -15px;
12 years ago
}
.units-1 {
width: 50%;
12 years ago
}
.units-2 {
12 years ago
width: 100%;
}
.offset-1 {
margin-left: 50%;
12 years ago
}
@media screen and (min-width: 768px) {
.container {
padding: 0;
max-width: 940px;
12 years ago
}
.column {
padding-left: 20px;
padding-right: 20px;
12 years ago
}
.column .column-group {
margin-left: -20px;
margin-right: -20px;
12 years ago
}
.units-1 {
width: 50%;
12 years ago
}
.units-2 {
width: 100%;
12 years ago
}
.lg-units-1 {
width: 8.333%;
12 years ago
}
.lg-units-2 {
width: 16.666%;
12 years ago
}
.lg-units-3 {
width: 25%;
12 years ago
}
.lg-units-4 {
width: 33.333%;
12 years ago
}
.lg-units-5 {
width: 41.666%;
12 years ago
}
.lg-units-6 {
width: 50%;
12 years ago
}
.lg-units-7 {
width: 58.333%;
12 years ago
}
.lg-units-8 {
width: 66.666%;
12 years ago
}
.lg-units-9 {
width: 75%;
12 years ago
}
.lg-units-10 {
width: 83.333%;
12 years ago
}
.lg-units-11 {
width: 91.666%;
12 years ago
}
.lg-units-12 {
12 years ago
width: 100%;
}
.lg-offset-1 {
margin-left: 8.333%;
12 years ago
}
.lg-offset-2 {
margin-left: 16.666%;
12 years ago
}
.lg-offset-3 {
margin-left: 25%;
12 years ago
}
.lg-offset-4 {
margin-left: 33.333%;
12 years ago
}
.lg-offset-5 {
margin-left: 41.666%;
12 years ago
}
.lg-offset-6 {
margin-left: 50%;
12 years ago
}
.lg-offset-7 {
margin-left: 58.333%;
12 years ago
}
.lg-offset-8 {
margin-left: 66.666%;
12 years ago
}
.lg-offset-9 {
margin-left: 75%;
12 years ago
}
.lg-offset-10 {
margin-left: 83.333%;
12 years ago
}
.lg-offset-11 {
margin-left: 91.666%;
12 years ago
}
}
@media screen and (min-width: 1200px) {
.container {
max-width: 1170px;
12 years ago
}
.column {
padding-left: 30px;
padding-right: 30px;
12 years ago
}
.column .column-group {
margin-left: -30px;
margin-right: -30px;
12 years ago
}
}
11 years ago
@-webkit-keyframes fadein {
12 years ago
0% {
opacity: 0;
-webkit-transform: scale(0.9);
12 years ago
}
50% {
opacity: 0;
-webkit-transform: scale(0.9);
12 years ago
}
100% {
opacity: 1;
-webkit-transform: scale(1);
12 years ago
}
}
@-moz-keyframes shownotice {
0% {
height: 100%;
min-height: 30px;
padding: 20px 0;
opacity: 1;
}
100% {
height: 100%;
min-height: 30px;
padding: 20px 0;
opacity: 1;
}
}