whitespace

pull/1397/head
captainill 2015-11-09 13:48:29 -08:00
parent 45b1d47fab
commit 6593f945eb
13 changed files with 803 additions and 805 deletions

View File

@ -1,48 +1,48 @@
(function(){ (function(){
var mainContentMin = 600; var mainContentMin = 600;
var Init = { var Init = {
start: function(){ start: function(){
var classname = this.hasClass(document.body, 'page-sub'); var classname = this.hasClass(document.body, 'page-sub');
if (classname) { if (classname) {
this.addEventListeners(); this.addEventListeners();
}
},
hasClass: function (elem, className) {
return new RegExp(' ' + className + ' ').test(' ' + elem.className + ' ');
},
addEventListeners: function(){
var _this = this;
//console.log(document.querySelectorAll('.navbar-static-top')[0]);
window.addEventListener('resize', _this.resizeImage, false);
this.resizeImage();
},
resizeImage: function(){
var header = document.getElementById('header'),
footer = document.getElementById('footer'),
main = document.getElementById('main-content'),
vp = window.innerHeight,
bodyHeight = document.body.clientHeight,
hHeight = header.clientHeight,
fHeight = footer.clientHeight,
withMinHeight = hHeight + fHeight + mainContentMin;
if(withMinHeight < vp && bodyHeight < vp){
var newHeight = mainContentMin + (vp-withMinHeight) + 'px';
main.style.height = newHeight;
}
} }
},
hasClass: function (elem, className) { };
return new RegExp(' ' + className + ' ').test(' ' + elem.className + ' ');
},
addEventListeners: function(){ Init.start();
var _this = this;
//console.log(document.querySelectorAll('.navbar-static-top')[0]);
window.addEventListener('resize', _this.resizeImage, false);
this.resizeImage();
},
resizeImage: function(){
var header = document.getElementById('header'),
footer = document.getElementById('footer'),
main = document.getElementById('main-content'),
vp = window.innerHeight,
bodyHeight = document.body.clientHeight,
hHeight = header.clientHeight,
fHeight = footer.clientHeight,
withMinHeight = hHeight + fHeight + mainContentMin;
if(withMinHeight < vp && bodyHeight < vp){
var newHeight = mainContentMin + (vp-withMinHeight) + 'px';
main.style.height = newHeight;
}
}
};
Init.start();
})(); })();

View File

@ -17,26 +17,26 @@ var APP = APP || {};
$hero: $('#jumbotron'), $hero: $('#jumbotron'),
$collapse: $('.navbar-collapse') $collapse: $('.navbar-collapse')
} }
this.addEventListeners(); this.addEventListeners();
}, },
addEventListeners: function(){ addEventListeners: function(){
var _this = this; var _this = this;
if(APP.Utils.isMobile) if(APP.Utils.isMobile)
return; return;
_this.ui.$doc.scroll(function() { _this.ui.$doc.scroll(function() {
//if collapseable menu is open dont do parrallax. It looks wonky. Bootstrap conflict //if collapseable menu is open dont do parrallax. It looks wonky. Bootstrap conflict
if( _this.ui.$collapse.hasClass('in')) if( _this.ui.$collapse.hasClass('in'))
return; return;
var top = _this.ui.$doc.scrollTop(), var top = _this.ui.$doc.scrollTop(),
speedAdj = (top*0.8), speedAdj = (top*0.8),
speedAdjOffset = speedAdj - top; speedAdjOffset = speedAdj - top;
_this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)'); _this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)');
_this.ui.$hero.find('.container').css('webkitTransform', 'translate(0, '+ speedAdjOffset +'px)'); _this.ui.$hero.find('.container').css('webkitTransform', 'translate(0, '+ speedAdjOffset +'px)');
@ -46,4 +46,3 @@ var APP = APP || {};
}()); }());
}(jQuery, this)); }(jQuery, this));

View File

@ -4,30 +4,30 @@
var APP = APP || {}; var APP = APP || {};
APP.Utils = (function () { APP.Utils = (function () {
return { return {
//check for mobile user agents //check for mobile user agents
isMobile : (function(){ isMobile : (function(){
if( navigator.userAgent.match(/Android/i) if( navigator.userAgent.match(/Android/i)
|| navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/webOS/i)
|| navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPhone/i)
//|| navigator.userAgent.match(/iPad/i) //|| navigator.userAgent.match(/iPad/i)
|| navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPod/i)
|| navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/BlackBerry/i)
|| navigator.userAgent.match(/Windows Phone/i) || navigator.userAgent.match(/Windows Phone/i)
){ ){
return true; return true;
} }
else { else {
return false; return false;
} }
})(), })(),
runIfClassNamePresent: function(selector, initFunction) { runIfClassNamePresent: function(selector, initFunction) {
var elms = document.getElementsByClassName(selector); var elms = document.getElementsByClassName(selector);
if (elms.length > 0) { if (elms.length > 0) {
initFunction(); initFunction();
} }
} }
} }
}()); }());

View File

@ -3,54 +3,54 @@
// -------------------------------------------------- // --------------------------------------------------
.outline-btn{ .outline-btn{
background-color: transparent; background-color: transparent;
color: $white; color: $white;
border: 2px solid $white; border: 2px solid $white;
border-radius: $btn-border-radius; border-radius: $btn-border-radius;
text-decoration: none !important; text-decoration: none !important;
@include transition(background-color .3s ease-in-out); @include transition(background-color .3s ease-in-out);
&.purple{ &.purple{
color: $purple; color: $purple;
border: 2px solid $purple; border: 2px solid $purple;
} }
&:hover{ &:hover{
color: $white; color: $white;
background-color: rgba(255, 255, 255, .2); background-color: rgba(255, 255, 255, .2);
@include transition(background-color .3s ease-in-out); @include transition(background-color .3s ease-in-out);
&.purple{ &.purple{
background-color: rgba(255, 255, 255, .5); background-color: rgba(255, 255, 255, .5);
} }
} }
} }
//dot animation on header main nav link hover //dot animation on header main nav link hover
.li-under a::after { .li-under a::after {
position: absolute; position: absolute;
top: 68%; top: 68%;
left: 50%; left: 50%;
margin-left: -4px; margin-left: -4px;
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: $white; background-color: $white;
border-radius: 4px; border-radius: 4px;
content: ''; content: '';
opacity: 0; opacity: 0;
text-decoration: none; text-decoration: none;
-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s; -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s; -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
transition: height 0.3s, opacity 0.3s, transform 0.3s; transition: height 0.3s, opacity 0.3s, transform 0.3s;
-webkit-transform: translateY(-10px); -webkit-transform: translateY(-10px);
-moz-transform: translateY(-10px); -moz-transform: translateY(-10px);
transform: translateY(-10px); transform: translateY(-10px);
} }
.li-under a:hover::after, .li-under a:hover::after,
.li-under a:focus::after { .li-under a:focus::after {
opacity: .5; opacity: .5;
-webkit-transform: translateY(0px); -webkit-transform: translateY(0px);
-moz-transform: translateY(0px); -moz-transform: translateY(0px);
transform: translateY(0px); transform: translateY(0px);
} }

View File

@ -1,15 +1,15 @@
.people { .people {
margin-top: 30px; margin-top: 30px;
.person { .person {
margin-bottom: 40px; margin-bottom: 40px;
h3 { h3 {
text-transform: none; text-transform: none;
}
.bio {
padding-left: 150px;
}
} }
.bio {
padding-left: 150px;
}
}
} }

View File

@ -4,256 +4,256 @@
body.layout-docs, body.layout-docs,
body.layout-intro{ body.layout-intro{
background: $light-purple image-url('sidebar-dots.jpg') left 62px no-repeat; background: $light-purple image-url('sidebar-dots.jpg') left 62px no-repeat;
#main-content{ #main-content{
min-height: 600px; min-height: 600px;
} }
>.container{ >.container{
.col-md-8[role=main]{ .col-md-8[role=main]{
min-height: 800px; min-height: 800px;
background-color: white; background-color: white;
&::before { &::before {
content: ""; content: "";
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: -9999px; left: -9999px;
right: 0; right: 0;
border-left: none; border-left: none;
box-shadow: 9999px 0 0 white; box-shadow: 9999px 0 0 white;
} }
>div{ >div{
position: relative; position: relative;
z-index: 10; z-index: 10;
} }
} }
} }
} }
.docs-sidebar{ .docs-sidebar{
position: relative; position: relative;
z-index: 20; z-index: 20;
margin-bottom: 30px; margin-bottom: 30px;
margin-top: 50px; margin-top: 50px;
margin-right: 4%; margin-right: 4%;
background-color: $light-purple; background-color: $light-purple;
border-radius: $el-border-radius; border-radius: $el-border-radius;
a{ a{
color: $purple; color: $purple;
} }
.docs-sidenav{ .docs-sidenav{
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
:last-child{ :last-child{
border-bottom: none; border-bottom: none;
} }
//all li > a //all li > a
li{ li{
position: relative; position: relative;
> a{ > a{
color: $purple; color: $purple;
@include transition( color 0.5s ease ); @include transition( color 0.5s ease );
} }
> a:hover, > a:hover,
> a:focus { > a:focus {
background-color: transparent !important; background-color: transparent !important;
color: $black; color: $black;
@include transition( color 0.5s ease ); @include transition( color 0.5s ease );
} }
} }
> li { > li {
padding: 10px 0; padding: 10px 0;
margin: 0 30px; margin: 0 30px;
border-bottom: 2px solid #fff; border-bottom: 2px solid #fff;
>.nav{ >.nav{
li{ li{
a{ a{
color: $black; color: $black;
} }
} }
} }
&.active { &.active {
&:before{ &:before{
content: ''; content: '';
position: absolute; position: absolute;
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: $purple; background-color: $purple;
border-radius: 4px; border-radius: 4px;
top: 26px; top: 26px;
left: -10px; left: -10px;
} }
> a{ > a{
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
/*> a:hover, /*> a:hover,
> a:focus { > a:focus {
font-weight: $font-weight-museo-xb; font-weight: $font-weight-museo-xb;
}*/ }*/
.nav { .nav {
display: block; display: block;
li.active a { li.active a {
font-weight: $font-weight-museo-xb; font-weight: $font-weight-museo-xb;
} }
li.active .subnav { li.active .subnav {
display: block; display: block;
li a { li a {
font-weight: $font-weight-museo-sb; font-weight: $font-weight-museo-sb;
} }
li.active a { li.active a {
font-weight: $font-weight-museo-xb; font-weight: $font-weight-museo-xb;
} }
} }
} }
} }
> a { > a {
text-transform: uppercase; text-transform: uppercase;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-sb; font-weight: $font-weight-museo-sb;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
} }
.nav { .nav {
display: none; display: none;
margin-bottom: 15px; margin-bottom: 15px;
> li{ > li{
margin-left: 20px; margin-left: 20px;
> a{ > a{
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-family: $font-family-source-sans; font-family: $font-family-source-sans;
padding: 6px 15px; padding: 6px 15px;
} }
.subnav { .subnav {
display: none; display: none;
margin-bottom: 15px; margin-bottom: 15px;
list-style: none; list-style: none;
> li{ > li{
padding: 6px 0; padding: 6px 0;
> a{ > a{
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-family: $font-family-source-sans; font-family: $font-family-source-sans;
} }
} }
} }
} }
} }
} }
} }
.bs-docs-section{ .bs-docs-section{
padding-top: 10px; padding-top: 10px;
padding-left: 3%; padding-left: 3%;
padding-bottom: 80px; padding-bottom: 80px;
.lead{ .lead{
margin-bottom: 48px margin-bottom: 48px
}
.doc-sectional{
margin-bottom: 48px;
}
p, li, .alert {
font-size: 20px;
font-family: $font-family-source-sans;
font-weight: $font-weight-open;
line-height: 1.5em;
margin: 0 0 18px;
-webkit-font-smoothing: antialiased;
}
li p a, li a {
text-decoration: none;
} }
pre{ .doc-sectional{
margin: 0 0 18px; margin-bottom: 48px;
} }
a{ p, li, .alert {
color: $purple; font-size: 20px;
&:hover{ font-family: $font-family-source-sans;
text-decoration: underline; font-weight: $font-weight-open;
} line-height: 1.5em;
} margin: 0 0 18px;
-webkit-font-smoothing: antialiased;
}
img{ li p a, li a {
max-width: 650px; text-decoration: none;
margin-top: 25px; }
margin-bottom: 25px;
}
h1{ pre{
color: $purple; margin: 0 0 18px;
text-transform: uppercase; }
padding-bottom: 24px;
margin-top: 40px;
margin-bottom: 24px;
border-bottom: 1px solid #eeeeee;
}
h2, h3, h4{ a{
margin-bottom: 16px; color: $purple;
} &:hover{
text-decoration: underline;
}
}
#graph { img{
margin-top: 30px; max-width: 650px;
} margin-top: 25px;
margin-bottom: 25px;
}
h1{
color: $purple;
text-transform: uppercase;
padding-bottom: 24px;
margin-top: 40px;
margin-bottom: 24px;
border-bottom: 1px solid #eeeeee;
}
h2, h3, h4{
margin-bottom: 16px;
}
#graph {
margin-top: 30px;
}
.alert p { .alert p {
margin-bottom: 0; margin-bottom: 0;
} }
} }
@media (max-width: 992px) { @media (max-width: 992px) {
body.layout-docs, body.layout-docs,
body.layout-intro{ body.layout-intro{
>.container{ >.container{
.col-md-8[role=main]{ .col-md-8[role=main]{
min-height: 0; min-height: 0;
&::before { &::before {
border-left: 9999px solid white; border-left: 9999px solid white;
} }
} }
} }
} }
} }
@media (max-width: 480px) { @media (max-width: 480px) {
.bs-docs-section{ .bs-docs-section{
img{ img{
max-width: 450px; max-width: 450px;
} }
h1{ h1{
font-size: 32px; font-size: 32px;
} }
} }
} }

View File

@ -1,59 +1,59 @@
.downloads { .downloads {
margin-top: 20px;
.description {
margin-bottom: 20px;
}
.download {
border-bottom: 1px solid #b2b2b2;
padding-bottom: 15px;
margin-top: 10px;
margin-bottom: 10px;
.details {
padding-left: 95px;
h2 {
margin-top: 0px;
}
ul {
padding-left: 0px;
}
li {
display: inline-block;
&:after {
content: " | ";
}
&:last-child:after {
content: "";
}
}
}
.icon {
img {
width: 75px;
}
}
.os-name {
font-size: 40px;
margin-bottom: -3px;
}
}
.poweredby {
margin-top: 20px; margin-top: 20px;
.description { img {
margin-bottom: 20px; display: block;
} margin: 0 auto;
width: 122px;
.download {
border-bottom: 1px solid #b2b2b2;
padding-bottom: 15px;
margin-top: 10px;
margin-bottom: 10px;
.details {
padding-left: 95px;
h2 {
margin-top: 0px;
}
ul {
padding-left: 0px;
}
li {
display: inline-block;
&:after {
content: " | ";
}
&:last-child:after {
content: "";
}
}
}
.icon {
img {
width: 75px;
}
}
.os-name {
font-size: 40px;
margin-bottom: -3px;
}
}
.poweredby {
margin-top: 20px;
img {
display: block;
margin: 0 auto;
width: 122px;
}
} }
}
} }

View File

@ -3,81 +3,81 @@
// -------------------------------------------------- // --------------------------------------------------
/*html{ /*html{
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
}*/ }*/
body { body {
font-size: 15px; font-size: 15px;
color: $black; color: $black;
font-weight: 300; font-weight: 300;
} }
h1{ h1{
font-size: 42px; font-size: 42px;
line-height: 42px; line-height: 42px;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-sb; font-weight: $font-weight-museo-sb;
margin-bottom: 24px; margin-bottom: 24px;
} }
h3{ h3{
font-size: 28px; font-size: 28px;
line-height: 28px; line-height: 28px;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-sb; font-weight: $font-weight-museo-sb;
} }
//an alternative color for buttons in the doc body //an alternative color for buttons in the doc body
.btn-serf{ .btn-serf{
color: $white !important; color: $white !important;
background-color: $btn-color; background-color: $btn-color;
border-radius: $btn-border-radius; border-radius: $btn-border-radius;
//@include box-shadow( $shadow ); //@include box-shadow( $shadow );
} }
.highlight{ .highlight{
margin-bottom: 18px; margin-bottom: 18px;
} }
pre { pre {
background-color: $black; background-color: $black;
color: $white; color: $white;
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace; font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
border: none; border: none;
padding: 20px; padding: 20px;
margin-bottom: 0; margin-bottom: 0;
} }
//fixed grid below 992 to prevent smaller responsive sizes //fixed grid below 992 to prevent smaller responsive sizes
@media (max-width: 992px) { @media (max-width: 992px) {
.container{ .container{
max-width: 970px; max-width: 970px;
} }
} }
//all below styles are overriding corrections for below (min-width: 992px) //all below styles are overriding corrections for below (min-width: 992px)
//below (min-width: 992px) these styles change //below (min-width: 992px) these styles change
.navbar-nav { .navbar-nav {
margin: 0; margin: 0;
} }
.navbar-right { .navbar-right {
float: right !important; float: right !important;
} }
.navbar-nav > li { .navbar-nav > li {
float: left; float: left;
} }
.navbar-nav > li > a { .navbar-nav > li > a {
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
} }
.center { .center {
text-align: center; text-align: center;
} }

View File

@ -6,7 +6,7 @@
body.page-sub{ body.page-sub{
#header{ #header{
@include consul-gradient-bg(); @include consul-gradient-bg();
.navbar-brand { .navbar-brand {
.logo{ .logo{

View File

@ -2,397 +2,397 @@
// Home // Home
// -------------------------------------------------- // --------------------------------------------------
body.page-home{ body.page-home{
background-color: #f8f8f8; background-color: #f8f8f8;
} }
#features{ #features{
@include anti-alias(); @include anti-alias();
padding: 130px 0 0 0; padding: 130px 0 0 0;
background: #f8f8f8 image-url('hero-dots-below@2x.png') center top no-repeat; background: #f8f8f8 image-url('hero-dots-below@2x.png') center top no-repeat;
background-size: 1280px 49px; background-size: 1280px 49px;
position: relative; position: relative;
top: $negative-hero-margin; top: $negative-hero-margin;
.double-row{ .double-row{
padding: 0 0 50px 0; padding: 0 0 50px 0;
} }
h2{ h2{
font-size: 24px; font-size: 24px;
letter-spacing: 2px; letter-spacing: 2px;
color: $purple; color: $purple;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-xb; font-weight: $font-weight-museo-xb;
} }
p{ p{
font-size: 16px; font-size: 16px;
letter-spacing: 1px; letter-spacing: 1px;
line-height: 1.5em; line-height: 1.5em;
color: $consul-gray; color: $consul-gray;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-sb; font-weight: $font-weight-museo-sb;
} }
.icn{ .icn{
display: block; display: block;
width: 186px; width: 186px;
height: 272px; height: 272px;
margin: 0 auto; margin: 0 auto;
background-position: center 0; background-position: center 0;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.discovery{ .discovery{
background-image: image-url('feature-discovery@2x.png'); background-image: image-url('feature-discovery@2x.png');
background-size: 181px 181px; background-size: 181px 181px;
} }
.health{ .health{
background-image: image-url('feature-health@2x.png'); background-image: image-url('feature-health@2x.png');
background-size: 125px 179px; background-size: 125px 179px;
} }
.multi{ .multi{
background-image: image-url('feature-multi@2x.png'); background-image: image-url('feature-multi@2x.png');
background-size: 182px 184px; background-size: 182px 184px;
} }
.config{ .config{
background-image: image-url('feature-config@2x.png'); background-image: image-url('feature-config@2x.png');
background-size: 157px 179px; background-size: 157px 179px;
} }
} }
#trusted{ #trusted{
background-color: $black; background-color: $black;
padding: 140px 0; padding: 140px 0;
h3{ h3{
margin-bottom: 60px; margin-bottom: 60px;
color: $white; color: $white;
text-transform: uppercase; text-transform: uppercase;
font-size: 18px; font-size: 18px;
text-align: center; text-align: center;
} }
.trusted-items{ .trusted-items{
width: 800px; width: 800px;
margin: 0 auto; margin: 0 auto;
ul { ul {
padding: 0; padding: 0;
> li{ > li{
display: inline-block; display: inline-block;
float: left; float: left;
width: 25%; width: 25%;
height: 80px; height: 80px;
margin: 12px 0; margin: 12px 0;
background: image-url('trusted-sprite.png') 0 0 no-repeat; background: image-url('trusted-sprite.png') 0 0 no-repeat;
&#i0{ &#i0{
background-position: 0 0; background-position: 0 0;
} }
&#i1{ &#i1{
background-position: 0 -80px; background-position: 0 -80px;
} }
&#i2{ &#i2{
background-position: 0 -160px; background-position: 0 -160px;
} }
&#i3{ &#i3{
background-position: 0 -240px; background-position: 0 -240px;
} }
&#i4{ &#i4{
background-position: 0 -320px; background-position: 0 -320px;
} }
&#i5{ &#i5{
background-position: 0 -400px; background-position: 0 -400px;
} }
&#i6{ &#i6{
background-position: 0 -480px; background-position: 0 -480px;
} }
&#i7{ &#i7{
background-position: 0 -560px; background-position: 0 -560px;
} }
&#i8{ &#i8{
background-position: 0 -640px; background-position: 0 -640px;
} }
&#i9{ &#i9{
background-position: 0 -720px; background-position: 0 -720px;
} }
&#i10{ &#i10{
background-position: 0 -800px; background-position: 0 -800px;
} }
&#i11{ &#i11{
background-position: 0 -880px; background-position: 0 -880px;
}
}
}
}
}
@media (max-width: 992px) {
#features{
top: $large-negative-hero-margin;
.double-row{
padding: 0 0 0 0;
.row{
padding-bottom: 90px;
}
}
.icn{
height: 200px;
}
}
}
@media (max-width: 768px){
#cta{
text-align: center;
.intro{
.left{
text-align: center !important;
} }
} }
} }
}
}
@media (max-width: 992px) {
#features{
top: $large-negative-hero-margin;
.double-row{
padding: 0 0 0 0;
.row{
padding-bottom: 90px;
}
}
.icn{
height: 200px;
}
}
}
@media (max-width: 768px){
#cta{
text-align: center;
.intro{
.left{
text-align: center !important;
}
}
}
} }
@media (max-width: 480px) { @media (max-width: 480px) {
#features{ #features{
text-align: center; text-align: center;
} }
} }
#cta { #cta {
padding: 130px 0 130px; padding: 130px 0 130px;
.intro { .intro {
.left { .left {
text-align: right; text-align: right;
} }
.right { .right {
margin-top: 12px; margin-top: 12px;
} }
} }
p{ p{
font-size: 14px; font-size: 14px;
letter-spacing: 1px; letter-spacing: 1px;
line-height: 1.5em; line-height: 1.5em;
color: $consul-gray; color: $consul-gray;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-sb; font-weight: $font-weight-museo-sb;
} }
.outline-btn { .outline-btn {
padding: 8px; padding: 8px;
display: inline-block; display: inline-block;
&:focus { &:focus {
outline: 0; outline: 0;
} }
} }
a { a {
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 16px;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 3px; letter-spacing: 3px;
color: $purple; color: $purple;
&:hover { &:hover {
text-decoration: none; text-decoration: none;
} }
} }
} }
#demos{ #demos{
padding: 30px 0 60px; padding: 30px 0 60px;
background-color: $light-purple; background-color: $light-purple;
background: $light-purple image-url('sidebar-dots.jpg') left 62px no-repeat; background: $light-purple image-url('sidebar-dots.jpg') left 62px no-repeat;
.explantion { .explantion {
margin: 40px 0 40px 0; margin: 40px 0 40px 0;
h2 { h2 {
font-size: 22px; font-size: 22px;
color: lighten($gray-light, 15%); color: lighten($gray-light, 15%);
text-transform: uppercase; text-transform: uppercase;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-xb; font-weight: $font-weight-museo-xb;
} }
p{ p{
font-size: 16px; font-size: 16px;
letter-spacing: 1px; letter-spacing: 1px;
line-height: 1.5em; line-height: 1.5em;
color: $consul-gray; color: $consul-gray;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-sb; font-weight: $font-weight-museo-sb;
} }
} }
.terminals{ .terminals{
margin-bottom: 80px; margin-bottom: 80px;
.terminal-item{ .terminal-item{
border-bottom: 1px solid #eaeae; border-bottom: 1px solid #eaeae;
&.last{ &.last{
border-bottom: none; border-bottom: none;
} }
>header{ >header{
.left{ .left{
span.icn{ span.icn{
display: inline-block; display: inline-block;
width: 83px; width: 83px;
height: 74px; height: 74px;
} }
} }
.right{ .right{
padding-left: 25px; padding-left: 25px;
h2{ h2{
margin-top: 0; margin-top: 0;
font-size: 28px; font-size: 28px;
text-transform: uppercase; text-transform: uppercase;
} }
p{ p{
font-size: 16px; font-size: 16px;
} }
} }
} }
.terminal{ .terminal{
background-color: darken($gray-darker, 15%); background-color: darken($gray-darker, 15%);
border-radius: 4px; border-radius: 4px;
header{ header{
position: relative; position: relative;
background-color: $consul-gray; background-color: $consul-gray;
text-align: center; text-align: center;
padding: 3px; padding: 3px;
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
h4{ h4{
font-size: 14px; font-size: 14px;
letter-spacing: 1px; letter-spacing: 1px;
color: $gray-darker; color: $gray-darker;
font-family: $font-family-museo; font-family: $font-family-museo;
font-weight: $font-weight-museo-xb; font-weight: $font-weight-museo-xb;
} }
ul.shell-dots{ ul.shell-dots{
position: absolute; position: absolute;
top: 10px; top: 10px;
left: 8px; left: 8px;
padding-left: 0; padding-left: 0;
li{ li{
display: inline-block; display: inline-block;
width: 12px; width: 12px;
height: 12px; height: 12px;
border-radius: 6px; border-radius: 6px;
background-color: $gray-darker; background-color: $gray-darker;
margin-left: 6px; margin-left: 6px;
} }
} }
} }
.terminal-window{ .terminal-window{
min-height: 140px; min-height: 140px;
padding: 20px; padding: 20px;
font-size: 15px; font-size: 15px;
font-weight: normal; font-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace; font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
color: $white; color: $white;
.txt-r { .txt-r {
color: lighten($red, 8%);; color: lighten($red, 8%);;
} }
.txt-p { .txt-p {
font-weight: bold; font-weight: bold;
color: lighten($purple, 15%); color: lighten($purple, 15%);
} }
p{ p{
margin-bottom: 2px; margin-bottom: 2px;
white-space: pre-wrap; white-space: pre-wrap;
} }
.cursor { .cursor {
background-color: $light-purple; background-color: $light-purple;
} }
} }
} }
.feature-bullets{ .feature-bullets{
list-style-type: none; list-style-type: none;
padding-left: 35px; padding-left: 35px;
li{ li{
padding: 5px 0 5px 45px; padding: 5px 0 5px 45px;
} }
} }
} }
} }
} }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
#demos{ #demos{
.terminals{ .terminals{
.terminal-item{ .terminal-item{
.feature-bullets{ .feature-bullets{
li{ li{
background-size: 12px 12px; background-size: 12px 12px;
} }
} }
} }
} }
} }
} }
@media (max-width: 992px) { @media (max-width: 992px) {
#demos{ #demos{
.terminals{ .terminals{
.terminal-item{ .terminal-item{
>header{ >header{
.left{ .left{
span.icn{ span.icn{
} }
} }
.right{ .right{
padding-left: 54px; padding-left: 54px;
} }
} }
} }
} }
} }
} }
@media (max-width: 768px) { @media (max-width: 768px) {
#demos{ #demos{
.terminals{ .terminals{
.terminal-item{ .terminal-item{
>header{ >header{
.left{ .left{
span.icn{ span.icn{
padding-bottom: 15px; padding-bottom: 15px;
} }
} }
.right{ .right{
padding-left: 15px; padding-left: 15px;
} }
} }
} }
} }
} }
} }
@media (max-width: 480px) { @media (max-width: 480px) {

View File

@ -36,41 +36,41 @@
.jumbotron-dots{ .jumbotron-dots{
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
height: 632px; height: 632px;
width: 100%; width: 100%;
margin-top: $negative-hero-margin; margin-top: $negative-hero-margin;
background: transparent image-url('hero-dots.png') center $header-height no-repeat; background: transparent image-url('hero-dots.png') center $header-height no-repeat;
} }
.container{ .container{
position: relative; position: relative;
height: 100%; height: 100%;
margin-top: $header-height; margin-top: $header-height;
-webkit-backface-visibility:hidden; -webkit-backface-visibility:hidden;
.jumbo-logo-wrap{ .jumbo-logo-wrap{
margin-top: 135px; margin-top: 135px;
.jumbo-logo{ .jumbo-logo{
width: 318px; width: 318px;
height: 316px; height: 316px;
background: transparent image-url('consul-hero-logo@2x.png') 0 0 no-repeat; background: transparent image-url('consul-hero-logo@2x.png') 0 0 no-repeat;
background-size: 318px 316px; background-size: 318px 316px;
z-index: 20; z-index: 20;
}
} }
}
h2{ h2{
margin-top: 175px; margin-top: 175px;
font-size: 40px; font-size: 40px;
line-height: 48px; line-height: 48px;
letter-spacing: 1px; letter-spacing: 1px;
margin-left: 40px; margin-left: 40px;
} }
} }
} }

View File

@ -7,18 +7,17 @@
// ------------------------- // -------------------------
@mixin anti-alias() { @mixin anti-alias() {
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
@mixin consul-gradient-bg() { @mixin consul-gradient-bg() {
background: #694a9c; /* Old browsers */ background: #694a9c; /* Old browsers */
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */ background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */ background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */ background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */ background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */ background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */
background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */ background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */
} }

View File

@ -6,54 +6,54 @@
// Global values // Global values
// -------------------------------------------------- // --------------------------------------------------
$jumbotron-height: 540px; $jumbotron-height: 540px;
$header-height: 92px; $header-height: 92px;
$jumbotron-total-height: 542px; //jumbo+header $jumbotron-total-height: 542px; //jumbo+header
$jumbotron-color: #fff; $jumbotron-color: #fff;
$btn-border-radius: 4px; $btn-border-radius: 4px;
$el-border-radius: 6px; $el-border-radius: 6px;
$negative-hero-margin: -93px; $negative-hero-margin: -93px;
$large-negative-hero-margin: -154px; $large-negative-hero-margin: -154px;
// colors // colors
// ------------------------- // -------------------------
$white: #fff; $white: #fff;
$black: #242424; $black: #242424;
$gray-darker: #555; $gray-darker: #555;
$gray: #777; $gray: #777;
$gray-light: #939393; $gray-light: #939393;
$gray-lighter: #979797; $gray-lighter: #979797;
$red: #dd4e58; $red: #dd4e58;
$red-dark: #c5454e; $red-dark: #c5454e;
$red-darker: #b03c44; $red-darker: #b03c44;
$tan: #f0f0e5; $tan: #f0f0e5;
$consul-gray: #909090; $consul-gray: #909090;
$consul-footer-gray: #d7d4d7; $consul-footer-gray: #d7d4d7;
$purple: #69499a; $purple: #69499a;
$light-purple: #f7f3f9; $light-purple: #f7f3f9;
$btn-color: #4592C5; $btn-color: #4592C5;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
$body-bg: #fff; $body-bg: #fff;
$text-color: $gray; $text-color: $gray;
// Links // Links
// ------------------------- // -------------------------
$link-color: $red-dark; $link-color: $red-dark;
$link-hover-color: darken($link-color, 15%); $link-hover-color: darken($link-color, 15%);
// Typography // Typography
// ------------------------- // -------------------------
$font-family-museo: 'museo-sans', "Helvetica Neue", Helvetica, Arial, sans-serif; $font-family-museo: 'museo-sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-family-source-sans: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif; $font-family-source-sans: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-weight-museo-xl: 100; $font-weight-museo-xl: 100;
$font-weight-museo-reg: 300; $font-weight-museo-reg: 300;
$font-weight-museo-sb: 500; $font-weight-museo-sb: 500;
$font-weight-museo-xb: 700; $font-weight-museo-xb: 700;
$font-weight-open: $font-weight-museo-reg; $font-weight-open: $font-weight-museo-reg;
$text-shadow: 1px 1px 1px #000; $text-shadow: 1px 1px 1px #000;
$shadow: $text-shadow; $shadow: $text-shadow;