Browse Source

updating the docs order

pull/534/head
connors 11 years ago
parent
commit
230b3d1c57
  1. 56
      sass/docs.scss

56
sass/docs.scss

@ -16,9 +16,9 @@ body {
position: relative !important; // Overrides the fixed positioning of body in Ratchet position: relative !important; // Overrides the fixed positioning of body in Ratchet
font: 400 14px/1.5 "Open Sans", sans-serif; font: 400 14px/1.5 "Open Sans", sans-serif;
color: #333; color: #333;
-webkit-text-size-adjust: 100%;
background-color: #fff; background-color: #fff;
-webkit-font-smoothing: antialiased; // Fix for webkit rendering -webkit-font-smoothing: antialiased; // Fix for webkit rendering
-webkit-text-size-adjust: 100%;
} }
// Typography // Typography
@ -91,9 +91,9 @@ body {
} }
.docs-header-bottom { .docs-header-bottom {
position: absolute; position: absolute;
left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0;
} }
// Desktop jumbotron // Desktop jumbotron
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
@ -104,8 +104,8 @@ body {
.carbonad { .carbonad {
left: 50% !important; left: 50% !important;
width: 330px !important; width: 330px !important;
margin-left: -165px !important;
margin-bottom: 60px !important; margin-bottom: 60px !important;
margin-left: -165px !important;
} }
} }
@ -129,10 +129,10 @@ body {
.docs-title { .docs-title {
position: absolute; position: absolute;
left: 50%; left: 50%;
z-index: 20;
margin-bottom: 0; margin-bottom: 0;
font-size: 22px; font-size: 22px;
font-weight: 400; font-weight: 400;
z-index: 20;
@include transform(translateX(-50%)); @include transform(translateX(-50%));
} }
.docs-nav { .docs-nav {
@ -147,11 +147,11 @@ body {
.docs-nav-group { .docs-nav-group {
position: absolute; position: absolute;
top: 40px; top: 40px;
left: 0;
right: 0; right: 0;
left: 0;
z-index: 20; z-index: 20;
overflow: hidden;
height: 0; height: 0;
overflow: hidden;
background-color: rgba(0,0,0,.9); background-color: rgba(0,0,0,.9);
opacity: 0; opacity: 0;
@ -229,8 +229,8 @@ body {
opacity: .5; opacity: .5;
} }
.icon-list { .icon-list {
font-size: 16px;
margin-right: 3px; margin-right: 3px;
font-size: 16px;
} }
.icon-caret { .icon-caret {
position: relative; position: relative;
@ -292,16 +292,16 @@ body {
// "Build mobile apps using simple..." // "Build mobile apps using simple..."
.docs-header-content { .docs-header-content {
position: relative; position: relative;
text-align: center;
padding: 50px 10px; padding: 50px 10px;
text-align: center;
@include animation-name(fadeintext); @include animation-name(fadeintext);
@include animation-duration(2s); @include animation-duration(2s);
.btn { .btn {
display: block; display: block;
padding: 15px 60px 16px; // Creates a button that's 330px wide. padding: 15px 60px 16px; // Creates a button that's 330px wide.
font-size: 18px;
margin-bottom: 0; margin-bottom: 0;
font-size: 18px;
color: #0a1855; color: #0a1855;
background-color: #fff; background-color: #fff;
border: 0; border: 0;
@ -320,9 +320,9 @@ body {
max-width: 750px; max-width: 750px;
margin: 0 auto 20px; margin: 0 auto 20px;
font-size: 28px; font-size: 28px;
color: #fff;
line-height: 38px;
font-weight: 300; font-weight: 300;
line-height: 38px;
color: #fff;
} }
// Desktop header content // Desktop header content
@ -411,12 +411,12 @@ body {
font-weight: 300; font-weight: 300;
} }
.page-title { .page-title {
font-size: 40px;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 40px;
} }
.page-description { .page-description {
color: #fff;
font-size: 24px; font-size: 24px;
color: #fff;
opacity: .7; opacity: .7;
} }
} }
@ -452,8 +452,8 @@ body {
// Docs modules // Docs modules
.docs-module { .docs-module {
margin-top: 20px;
padding: 20px; padding: 20px;
margin-top: 20px;
border: $border-default; border: $border-default;
border-radius: 3px; border-radius: 3px;
@ -464,8 +464,8 @@ body {
.version { .version {
margin-top: 10px; margin-top: 10px;
margin-bottom: 0; margin-bottom: 0;
color: #777;
font-size: 90%; font-size: 90%;
color: #777;
} }
@ -474,11 +474,11 @@ body {
.docs-footer { .docs-footer {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
margin-top: 50px;
padding: 30px 20px; padding: 30px 20px;
color: #777; margin-top: 50px;
font-size: 14px; font-size: 14px;
text-align: center; text-align: center;
color: #777;
.social { .social {
padding: 0 0 20px; padding: 0 0 20px;
@ -486,8 +486,8 @@ body {
list-style: none; list-style: none;
li { li {
height: 20px;
display: inline-block; display: inline-block;
height: 20px;
vertical-align: top; vertical-align: top;
} }
.twitter-follow-button { .twitter-follow-button {
@ -508,9 +508,9 @@ body {
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
.docs-footer-text { .docs-footer-text {
width: 550px; width: 550px;
margin: 0 auto;
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
margin: 0 auto;
} }
} }
.docs-footer-links { .docs-footer-links {
@ -549,8 +549,6 @@ body {
// -------------------------------------------------- // --------------------------------------------------
.docs-component-toolbar { .docs-component-toolbar {
padding-top: 8px;
padding-bottom: 8px;
position: fixed; position: fixed;
top: 0; top: 0;
bottom: auto; bottom: auto;
@ -558,6 +556,8 @@ body {
right: 0; right: 0;
z-index: 20; z-index: 20;
height: 44px; height: 44px;
padding-top: 8px;
padding-bottom: 8px;
background-color: #fff; background-color: #fff;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
-webkit-transition: -webkit-transform .5s; -webkit-transition: -webkit-transform .5s;
@ -590,9 +590,9 @@ body {
.example { .example {
display: block; display: block;
overflow: hidden;
padding: 3px;
width: 100%; width: 100%;
padding: 3px;
overflow: hidden;
border: $border-default; border: $border-default;
border-radius: 3px; border-radius: 3px;
} }
@ -644,8 +644,8 @@ code {
font-size: 16px; font-size: 16px;
} }
.component-example { .component-example {
font-family: $font-family-default;
font-size: $font-size-default; font-size: $font-size-default;
font-family: $font-family-default;
line-height: $line-height-default; line-height: $line-height-default;
} }
.component-example, .component-example,
@ -691,10 +691,10 @@ code {
top: 45%; top: 45%;
left: 0; left: 0;
width: 100%; width: 100%;
color: #fff;
text-align: center; text-align: center;
font-size: 24px; font-size: 24px;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
color: #fff;
} }
.component-example-fullbleed, .component-example-fullbleed,
.highlight { .highlight {
@ -705,10 +705,10 @@ code {
padding: 0; padding: 0;
} }
.highlight pre { .highlight pre {
margin-top: 15px;
padding: 15px; padding: 15px;
font-size: 13px; margin-top: 15px;
overflow-x: auto; overflow-x: auto;
font-size: 13px;
color: #777; color: #777;
background-color: #fafafa; background-color: #fafafa;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
@ -884,8 +884,8 @@ code {
.device { .device {
display: none; display: none;
font-family: $font-family-default;
font-size: $font-size-default; font-size: $font-size-default;
font-family: $font-family-default;
line-height: $line-height-default; line-height: $line-height-default;
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {

Loading…
Cancel
Save