|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
@import "variables.scss"; |
|
|
|
|
@import "mixins.scss"; |
|
|
|
|
|
|
|
|
|
// Devices |
|
|
|
|
.platform-ios { |
|
|
|
|
@import "theme-ios.scss"; |
|
|
|
@ -11,10 +12,14 @@
|
|
|
|
|
// |
|
|
|
|
// Documentation |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
html, |
|
|
|
|
body { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
} |
|
|
|
|
body { |
|
|
|
|
position: static !important; // Overrides the fixed positioning of body in Ratchet |
|
|
|
|
font: 14px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
|
|
|
position: relative !important; // Overrides the fixed positioning of body in Ratchet |
|
|
|
|
font: 14px/1.5 "adelle-sans",sans-serif; |
|
|
|
|
color: #333; |
|
|
|
|
background-color: #fff; |
|
|
|
|
-webkit-font-smoothing: antialiased; // Fix for webkit rendering |
|
|
|
@ -25,66 +30,83 @@ body {
|
|
|
|
|
// Jumbotron |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
.docs-header-wrapper { |
|
|
|
|
background-color: #fafafa; |
|
|
|
|
@include hairline(single, #c8c7cc, 0); |
|
|
|
|
.docs-home { |
|
|
|
|
background-image: linear-gradient(45deg, rgba(2,184,234,1) 0%,rgba(3,175,191,1) 50%,rgba(3,103,191,1) 100%); |
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
} |
|
|
|
|
.docs-nav { |
|
|
|
|
padding-top: 12px; |
|
|
|
|
padding-bottom: 12px; |
|
|
|
|
border-bottom: 1px solid rgba(255,255,255,.2); |
|
|
|
|
|
|
|
|
|
.icon { |
|
|
|
|
position: absolute; |
|
|
|
|
top: 15px; |
|
|
|
|
right: 15px; |
|
|
|
|
margin-top: 5px; |
|
|
|
|
color: #fff; |
|
|
|
|
opacity: .5; |
|
|
|
|
cursor: pointer; |
|
|
|
|
@include transition(opacity .2s linear); |
|
|
|
|
|
|
|
|
|
&:active { |
|
|
|
|
opacity: .3; |
|
|
|
|
&:hover { |
|
|
|
|
opacity: .8; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.docs-header { |
|
|
|
|
padding-top: 50px; |
|
|
|
|
padding-bottom: 50px; |
|
|
|
|
.docs-nav, |
|
|
|
|
.docs-header-content { |
|
|
|
|
text-align: center; |
|
|
|
|
@include animation-name(fadein); |
|
|
|
|
@include animation-duration(2s); |
|
|
|
|
|
|
|
|
|
.docs-title { |
|
|
|
|
margin: 0; |
|
|
|
|
font-size: 40px; |
|
|
|
|
font-weight: 300; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.docs-header-content { |
|
|
|
|
margin-top: 50px; |
|
|
|
|
|
|
|
|
|
.docs-subtitle { |
|
|
|
|
margin-top: 0; |
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
color: #777; |
|
|
|
|
font-size: 22px; |
|
|
|
|
font-weight: 300; |
|
|
|
|
line-height: 30px; |
|
|
|
|
.button { |
|
|
|
|
color: rgb(3,175,191); |
|
|
|
|
border-color: #fff; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.docs-title, |
|
|
|
|
.docs-subtitle { |
|
|
|
|
color: #fff; |
|
|
|
|
} |
|
|
|
|
.docs-title { |
|
|
|
|
margin: 0; |
|
|
|
|
font-size: 22px; |
|
|
|
|
font-weight: 300; |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
letter-spacing: 6px; |
|
|
|
|
} |
|
|
|
|
.docs-subtitle { |
|
|
|
|
max-width: 750px; |
|
|
|
|
margin: 0 auto 20px; |
|
|
|
|
font-size: 24px; |
|
|
|
|
font-weight: 300; |
|
|
|
|
line-height: 34px; |
|
|
|
|
opacity: .8; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Overriding the button styles for the social |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
.social { |
|
|
|
|
display: none; |
|
|
|
|
margin: 20px 0 20px; |
|
|
|
|
padding: 0; |
|
|
|
|
list-style: none; |
|
|
|
|
text-align: center; |
|
|
|
|
@include animation-name(fadein); |
|
|
|
|
@include animation-duration(2s); |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
height: 20px; |
|
|
|
|
padding-bottom: 25px; |
|
|
|
|
display: inline-block; |
|
|
|
|
vertical-align: top; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[class*="button"] { |
|
|
|
|
padding: 0; |
|
|
|
|
border: 0; |
|
|
|
|
} |
|
|
|
|
// Remove after button class changes. |
|
|
|
|
iframe { |
|
|
|
|
background-color: transparent; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -275,6 +297,9 @@ body {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.device { |
|
|
|
|
font-family: $font-family-default; |
|
|
|
|
font-size: $font-size-default; |
|
|
|
|
line-height: $line-height-default; |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -314,6 +339,29 @@ hr {
|
|
|
|
|
// Tablet to desktop |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
@media screen and (min-width: 768px) { |
|
|
|
|
// Jumbotron |
|
|
|
|
.docs-header-content { |
|
|
|
|
margin-top: 100px; |
|
|
|
|
|
|
|
|
|
.button { |
|
|
|
|
max-width: 300px; |
|
|
|
|
margin-right: auto; |
|
|
|
|
margin-left: auto; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.docs-subtitle { |
|
|
|
|
margin-bottom: 30px; |
|
|
|
|
font-size: 40px; |
|
|
|
|
line-height: 60px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Social |
|
|
|
|
.social { |
|
|
|
|
margin-top: 40px; |
|
|
|
|
margin-bottom: 40px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Device |
|
|
|
|
.device { |
|
|
|
|
position: relative; |
|
|
|
|
top: 50px; |
|
|
|
@ -504,38 +552,3 @@ hr {
|
|
|
|
|
margin-right: -30px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Animations |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
@-webkit-keyframes fadein { |
|
|
|
|
0% { |
|
|
|
|
opacity: 0; |
|
|
|
|
-webkit-transform: scale(.9); |
|
|
|
|
} |
|
|
|
|
50% { |
|
|
|
|
opacity: 0; |
|
|
|
|
-webkit-transform: scale(.9); |
|
|
|
|
} |
|
|
|
|
100% { |
|
|
|
|
opacity: 1; |
|
|
|
|
-webkit-transform: scale(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Only visible to Mozilla browsers. Sneaky huh? |
|
|
|
|
@-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; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|