|
|
|
@import "variables.scss";
|
|
|
|
@import "mixins.scss";
|
|
|
|
|
|
|
|
//
|
|
|
|
// Documentation
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
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
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Jumbotron
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.docs-header {
|
|
|
|
position: relative;
|
|
|
|
height: 100vh;
|
|
|
|
min-height: 620px;
|
|
|
|
background-image: linear-gradient(45deg, #0a1855 0%,#da0024 100%);
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
background-image: url(../img/pattern.png);
|
|
|
|
background-size: 30%;
|
|
|
|
opacity: .035;
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.docs-title {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
left: 20px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 22px;
|
|
|
|
font-weight: 100;
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
.docs-nav {
|
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
top: 20px;
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.docs-logo {
|
|
|
|
width: 75px;
|
|
|
|
height: 75px;
|
|
|
|
margin: 0 auto 15px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 35px;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 72px;
|
|
|
|
border: 1px solid #fff;
|
|
|
|
border-radius: 40px;
|
|
|
|
}
|
|
|
|
.docs-header-content {
|
|
|
|
position: relative;
|
|
|
|
top: 40px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 50px 10px;
|
|
|
|
@include animation-name(fadeintext);
|
|
|
|
@include animation-duration(3s);
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: block;
|
|
|
|
padding: 15px 60px 16px;
|
|
|
|
font-size: 18px;
|
|
|
|
color: rgba(255,255,255,.7);
|
|
|
|
border-color: rgba(255,255,255,.7);
|
|
|
|
@include transition(all .2s linear);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #fff;
|
|
|
|
border-color: #fff;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
opacity: .5;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn-primary {
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: #0a1855;
|
|
|
|
border-color: rgba(255,255,255,.85);
|
|
|
|
background-color: rgba(255,255,255,.85);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #0a1855;
|
|
|
|
border-color: #fff;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.docs-subtitle {
|
|
|
|
max-width: 750px;
|
|
|
|
margin: 0 auto 20px;
|
|
|
|
font-size: 26px;
|
|
|
|
font-weight: 100;
|
|
|
|
color: #fff;
|
|
|
|
line-height: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Ads
|
|
|
|
.carbonad {
|
|
|
|
position: absolute !important;
|
|
|
|
bottom: 90px !important;
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
padding: 15px !important;
|
|
|
|
font-size: 13px !important;
|
|
|
|
line-height: 16px !important;
|
|
|
|
background: transparent !important;
|
|
|
|
border-top: 1px solid rgba(255,255,255,.1) !important;
|
|
|
|
border-right: 0 !important;
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
border-left: 0 !important;
|
|
|
|
@include animation-name(fadeintext);
|
|
|
|
@include animation-duration(3s);
|
|
|
|
}
|
|
|
|
.carbonad-img {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
.carbonad-text,
|
|
|
|
.carbonad-tag {
|
|
|
|
display: block !important;
|
|
|
|
float: none !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
margin-left: 145px !important;
|
|
|
|
color: rgba(255,255,255,.65) !important;
|
|
|
|
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
|
|
|
|
}
|
|
|
|
.carbonad-text {
|
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
|
|
|
.carbonad-tag {
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
|
|
|
.carbonad-text a,
|
|
|
|
.carbonad-tag a {
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
.carbonad #azcarbon>img {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Subpage Header
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.docs-sub-content {
|
|
|
|
padding-top: 50px;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.page-title,
|
|
|
|
.page-description {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
.page-title {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
.page-description {
|
|
|
|
color: #fff;
|
|
|
|
font-size: 24px;
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
&.with-padding {
|
|
|
|
padding-bottom: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Content sections
|
|
|
|
// --------------------------------------------------
|
|
|
|
.docs-section {
|
|
|
|
padding-top: 80px;
|
|
|
|
padding-bottom: 80px;
|
|
|
|
}
|
|
|
|
.section-header {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&: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: 26px;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
.section-lead {
|
|
|
|
font-size: 18px;
|
|
|
|
color: #777;
|
|
|
|
font-weight: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Overriding the button styles for the social
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.social {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 20px 0 20px;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
text-align: center;
|
|
|
|
background-color: rgba(0,0,0,.2);
|
|
|
|
|
|
|
|
li {
|
|
|
|
height: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
.twitter-follow-button {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Benefits
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
color: #14b9d6;
|
|
|
|
font-size: 32px;
|
|
|
|
line-height: 80px;
|
|
|
|
}
|
|
|
|
.icon-download {
|
|
|
|
margin-top: -2px; // Align the icon correctly
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.benefit-heading {
|
|
|
|
margin-top: 5px 0 10px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
.benefit-text {
|
|
|
|
margin: 0 0 100px;
|
|
|
|
font-size: 18px;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Contribute
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.docs-contribute {
|
|
|
|
padding-top: 50px;
|
|
|
|
padding-bottom: 50px;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #00d1fe;
|
|
|
|
|
|
|
|
.link {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 5px;
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
.column {
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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,.85);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Footer
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.docs-footer {
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
color: rgba(255,255,255,.7);
|
|
|
|
text-align: center;
|
|
|
|
background-color: #254456;
|
|
|
|
|
|
|
|
.footer-content {
|
|
|
|
opacity: .7;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.docs-mini-footer {
|
|
|
|
padding-top: 40px;
|
|
|
|
padding-bottom: 40px;
|
|
|
|
margin: 0;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Platform toggle
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.platform-toggle {
|
|
|
|
padding-top: 15px;
|
|
|
|
padding-bottom: 90px;
|
|
|
|
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: auto;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 20;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
background-image: linear-gradient(45deg, #317ca6 0%, #254456 100%);
|
|
|
|
@include transition(padding-top .2s linear, padding-bottom .2s linear);
|
|
|
|
}
|
|
|
|
|
|
|
|
.segmented-control {
|
|
|
|
max-width: 300px;
|
|
|
|
margin: 0 auto;
|
|
|
|
border-color: #00d1fe;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
.control-item {
|
|
|
|
cursor: pointer;
|
|
|
|
color: #00d1fe;
|
|
|
|
border-color: #00d1fe;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: rgba(0,209,254,.3);
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
color: #fff;
|
|
|
|
background-color: #00d1fe;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Components
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.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: 10px 0;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
.component-example {
|
|
|
|
font-family: $font-family-default;
|
|
|
|
font-size: $font-size-default;
|
|
|
|
line-height: $line-height-default;
|
|
|
|
}
|
|
|
|
.component-example,
|
|
|
|
.component-example .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;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Buttons
|
|
|
|
#buttonsInDevice,
|
|
|
|
#buttonsBadgesInDevice {
|
|
|
|
.btn {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-right: 100px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#blockButtonsInDevice .btn-block {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
//Segmented Control
|
|
|
|
#segmentedControlsInDevice {
|
|
|
|
.segmented-control {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.card span {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Badges
|
|
|
|
#badgesInDevice {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Forms
|
|
|
|
#formsInDevice form {
|
|
|
|
margin: 10px;
|
|
|
|
|
|
|
|
&.input-group {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Toggles
|
|
|
|
#togglesInDevice .toggle {
|
|
|
|
margin: 10px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Popovers
|
|
|
|
#popoversInDevice {
|
|
|
|
#iwindow:before {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 11;
|
|
|
|
background-color: rgba(0,0,0,.3);
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Modals
|
|
|
|
#modalsInDevice {
|
|
|
|
#iwindow > .btn {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Misc
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.device {
|
|
|
|
font-family: $font-family-default;
|
|
|
|
font-size: $font-size-default;
|
|
|
|
line-height: $line-height-default;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
// You can also use a <br class="clear">
|
|
|
|
.clear {
|
|
|
|
display: block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Docs media queries
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// Tablet to desktop
|
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
.docs-logo {
|
|
|
|
width: 70px;
|
|
|
|
height: 70px;
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 68px;
|
|
|
|
}
|
|
|
|
.docs-header {
|
|
|
|
min-height: 770px;
|
|
|
|
}
|
|
|
|
.docs-header-content {
|
|
|
|
top: 37%;
|
|
|
|
@include transform(translateY(-50%));
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.docs-subtitle {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
font-size: 41px;
|
|
|
|
line-height: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Ads
|
|
|
|
.carbonad {
|
|
|
|
left: 50% !important;
|
|
|
|
width: 330px !important;
|
|
|
|
margin-left: -165px !important;
|
|
|
|
border-right: 1px solid rgba(255,255,255,.1) !important;
|
|
|
|
border-bottom: 1px solid rgba(255,255,255,.1) !important;
|
|
|
|
border-left: 1px solid rgba(255,255,255,.1) !important;
|
|
|
|
border-radius: 3px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Social
|
|
|
|
.social {
|
|
|
|
.twitter-follow-button {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Contribution section
|
|
|
|
.docs-contribute {
|
|
|
|
.column {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Content sections
|
|
|
|
// --------------------------------------------------
|
|
|
|
.section-heading {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
.section-lead {
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Device
|
|
|
|
.device {
|
|
|
|
position: relative;
|
|
|
|
top: 50px;
|
|
|
|
display: block;
|
|
|
|
width: 395px;
|
|
|
|
height: 813px;
|
|
|
|
margin-left: -13px;
|
|
|
|
font-family: "Helvetica Neue", sans-serif;
|
|
|
|
background-image: url("../img/iphone5c.png");
|
|
|
|
background-size: 100%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
@include transition(background-image .1s linear);
|
|
|
|
|
|
|
|
&.device-fixed {
|
|
|
|
position: fixed;
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.device .device-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 117px;
|
|
|
|
left: 37px;
|
|
|
|
width: 320px;
|
|
|
|
height: 569px;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: $font-size-default;
|
|
|
|
line-height: $line-height-default;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.device .content,
|
|
|
|
.device .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: .3;
|
|
|
|
@include transition(opacity .2s ease-in-out);
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.component-example {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.highlight pre {
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Component overrides
|
|
|
|
.popover {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
top: 72px;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.slider .slide img {
|
|
|
|
width: 100%;
|
|
|
|
height: 570px; // Fullscreen fun times
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.slider .slide-group .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,.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Example devices
|
|
|
|
|
|
|
|
.example-device {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// The Chassis grid
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.container {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.column-group {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.column {
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
&.pull-right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Lines nested grids up correctly.
|
|
|
|
.column .column-group {
|
|
|
|
margin-left: -15px;
|
|
|
|
margin-right: -15px;
|
|
|
|
}
|
|
|
|
.units-1 { width: 50%; }
|
|
|
|
.units-2 { width: 100%; }
|
|
|
|
|
|
|
|
// Offsets
|
|
|
|
.offset-1 { margin-left: 50%; }
|
|
|
|
|
|
|
|
|
|
|
|
// Tablet to desktop
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
.container {
|
|
|
|
padding: 0;
|
|
|
|
max-width: 940px;
|
|
|
|
}
|
|
|
|
.column {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
// Lines nested grids up correctly.
|
|
|
|
.column .column-group {
|
|
|
|
margin-left: -20px;
|
|
|
|
margin-right: -20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Override the mobile grid
|
|
|
|
.units-1 { width: 50%; }
|
|
|
|
.units-2 { width: 100%; }
|
|
|
|
|
|
|
|
// Twelve column fluid grid
|
|
|
|
.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%; }
|
|
|
|
|
|
|
|
// Offsets
|
|
|
|
.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%; }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Standard sized screens to large screens
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
|
|
.container {
|
|
|
|
max-width: 1170px;
|
|
|
|
}
|
|
|
|
.column {
|
|
|
|
padding-left: 30px;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
|
|
|
// Lines nested grids up correctly.
|
|
|
|
.column .column-group {
|
|
|
|
margin-left: -30px;
|
|
|
|
margin-right: -30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Devices
|
|
|
|
.platform-ios {
|
|
|
|
@import "theme-ios.scss";
|
|
|
|
|
|
|
|
.device {
|
|
|
|
background-image: url("../img/iphone5s.png");
|
|
|
|
|
|
|
|
.device-content {
|
|
|
|
background-color: #efeff4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.platform-android {
|
|
|
|
@import "theme-android.scss";
|
|
|
|
|
|
|
|
.device {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
background-image: url("../img/android.png");
|
|
|
|
|
|
|
|
.device-content {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 22px;
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
top: 50px;
|
|
|
|
}
|
|
|
|
.popover {
|
|
|
|
@include transform(scale(1));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bar ~ .content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Animations
|
|
|
|
@-webkit-keyframes fadeintext {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|