714 lines
12 KiB
SCSS
Executable File
714 lines
12 KiB
SCSS
Executable File
//
|
|
// Home
|
|
// --------------------------------------------------
|
|
|
|
body.page-home {
|
|
h2.tag-line {
|
|
font-size: 40px;
|
|
}
|
|
|
|
h2{
|
|
margin-bottom: 40px;
|
|
font-size: 42px;
|
|
line-height: 42px;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
font-weight: regular;
|
|
}
|
|
|
|
h3{
|
|
margin-bottom: 10px;
|
|
font-size: 18px;
|
|
line-height: 1.2;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
}
|
|
|
|
p{
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
font-weight: regular;
|
|
letter-spacing: .1px;
|
|
margin-bottom: 2.2em;
|
|
font-family: $font-family-open-sans;
|
|
font-weight: $font-weight-open;
|
|
}
|
|
|
|
p.lead{
|
|
font-size: 21px;
|
|
font-family: $font-family-open-sans;
|
|
font-weight: $font-weight-open;
|
|
}
|
|
|
|
#primary-cta{
|
|
margin-top: -30px;
|
|
padding-bottom: 100px;
|
|
color: $white;
|
|
background: $black;
|
|
|
|
.terra-btn{
|
|
margin-top: 30px;
|
|
}
|
|
}
|
|
|
|
#customer-logos{
|
|
position: relative;
|
|
width: 100%;
|
|
margin-top: -100px;
|
|
padding: 60px 0;
|
|
color: $white;
|
|
|
|
>.container {
|
|
z-index: 91;
|
|
}
|
|
|
|
p {
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
#customer-logos-bg{
|
|
z-index: 30;
|
|
background: $black;
|
|
background-size: 100%;
|
|
@include skewY(-3deg);
|
|
}
|
|
}
|
|
|
|
ul.customer-list{
|
|
padding-left: 15px;
|
|
|
|
li{
|
|
display: inline-block;
|
|
width: 16%;
|
|
height: 80px;
|
|
text-indent: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#nike {
|
|
background: transparent image-url("customer-logos/nike.svg") left no-repeat;
|
|
background-size: 80px;
|
|
}
|
|
|
|
#hbo {
|
|
background: transparent image-url("customer-logos/hbo.svg") left no-repeat;
|
|
background-size: 80px;
|
|
}
|
|
|
|
#target {
|
|
background: transparent image-url("customer-logos/target.svg") left no-repeat;
|
|
background-size: 50px;
|
|
}
|
|
|
|
#capital-one {
|
|
background: transparent image-url("customer-logos/capital-one.svg") left no-repeat;
|
|
background-size: 100px;
|
|
}
|
|
|
|
#home-depot {
|
|
background: transparent image-url("customer-logos/home-depot.svg") left no-repeat;
|
|
background-size: 50px;
|
|
}
|
|
|
|
#hotels-dot-com {
|
|
background: transparent image-url("customer-logos/hotels-dot-com.svg") left no-repeat;
|
|
background-size: 100px;
|
|
}
|
|
}
|
|
|
|
#feature-overview{
|
|
position: relative;
|
|
padding: 120px 0;
|
|
border-bottom: 2px solid #E6E7E8;
|
|
z-index: 80;
|
|
}
|
|
|
|
.feature-card{
|
|
display: block;
|
|
height: 200px;
|
|
border: 2px solid #E6E7E8;
|
|
margin-bottom: 15px;
|
|
padding:20px;
|
|
font-size: 18px;
|
|
|
|
h3{
|
|
margin:0;
|
|
padding: 0;
|
|
color: $purple;
|
|
font-size: 16px;
|
|
line-height: 1.2;
|
|
font-weight: 400;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
p{
|
|
color: #000;
|
|
font-size: 16px;
|
|
line-height: 1.2;
|
|
font-weight: 400;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
&.feature-card-write{
|
|
background: image-url("feature-card-write.svg") left 20px top 70% no-repeat;
|
|
background-size: 80%;
|
|
}
|
|
|
|
&.feature-card-plan{
|
|
background: image-url("feature-card-plan.svg") left 0 top 69% no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
|
|
&.feature-card-create{
|
|
background: image-url("feature-card-create.svg") left 0 top 70% no-repeat;
|
|
background-size: 80%;
|
|
}
|
|
|
|
&:hover {
|
|
border: 2px solid $purple;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.feature{
|
|
|
|
p.lead{
|
|
max-width: 30em;
|
|
}
|
|
}
|
|
|
|
.skew-item{
|
|
>.container{
|
|
position: relative;
|
|
top: 0;
|
|
z-index: 11;
|
|
}
|
|
|
|
.feature-skew{
|
|
position: absolute;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
#feature-write{
|
|
position: relative;
|
|
padding: 180px 0 120px;
|
|
margin-top: -80px;
|
|
|
|
|
|
>.container {
|
|
z-index: 71;
|
|
}
|
|
|
|
// This svg appears twice in the markup and swapped for layout purposes.
|
|
// Image for small screens. Styles below are for larger screens.
|
|
#feature-image-write-sm-screen {
|
|
display: block;
|
|
position: relative;
|
|
margin: 0 auto;
|
|
width:80%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
// Image hidden, made visible for larger screens
|
|
#feature-image-write-lg-screen {
|
|
display: none;
|
|
position: absolute;
|
|
bottom: 2px;
|
|
right: 3%;
|
|
width: 581px;
|
|
@include skewY(-3deg);
|
|
}
|
|
|
|
#feature-write-bg{
|
|
background: $white;
|
|
z-index: 70;
|
|
@include skewY(3deg);
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
#feature-plan{
|
|
position: relative;
|
|
color: $white;
|
|
background-size: 80%;
|
|
position: relative;
|
|
padding: 220px 0 180px;
|
|
margin-top: -80px;
|
|
|
|
>.container {
|
|
z-index: 61;
|
|
// background: image-url("feature-plan-bg.svg") 0% 45% no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
|
|
// This svg appears twice in the markup and swapped for layout purposes.
|
|
// Image for small screens. Styles below are for larger screens.
|
|
#feature-image-plan-sm-screen {
|
|
display: block;
|
|
position: relative;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
// Image hidden, made visible for larger screens
|
|
#feature-image-plan-lg-screen {
|
|
display: none;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
#feature-plan-bg{
|
|
background: $purple;
|
|
z-index: 60;
|
|
@include skewY(-3deg);
|
|
}
|
|
}
|
|
|
|
#feature-create{
|
|
position: relative;
|
|
margin-top: -80px;
|
|
padding: 240px 0 180px;
|
|
|
|
>.container{
|
|
z-index: 51;
|
|
}
|
|
|
|
#feature-image-create {
|
|
display: block;
|
|
max-width: 500px;
|
|
padding-left: 10px;
|
|
margin: 0 auto;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
#feature-image-create-lg-screen{
|
|
display: none;
|
|
}
|
|
|
|
#feature-create-bg{
|
|
@include skewY(3deg);
|
|
|
|
z-index: 50;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
#demos{
|
|
position: relative;
|
|
padding: 120px 0 60px;
|
|
margin-top: -80px;
|
|
|
|
>.container{
|
|
z-index: 41;
|
|
}
|
|
|
|
#demo-bg{
|
|
background-color: #E6E7E8;
|
|
@include skewY(3deg);
|
|
z-index: 40;
|
|
}
|
|
|
|
h2{
|
|
text-align: center;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.terminals{
|
|
margin-bottom: 80px;
|
|
|
|
.terminal-item{
|
|
margin-bottom: 80px;
|
|
|
|
&.last{
|
|
border-bottom: none;
|
|
}
|
|
>header{
|
|
.left{
|
|
span.icn{
|
|
display: inline-block;
|
|
width: 83px;
|
|
height: 74px;
|
|
}
|
|
}
|
|
|
|
.right{
|
|
padding-left: 25px;
|
|
}
|
|
}
|
|
|
|
.terminal{
|
|
|
|
border: 2px solid #1e1e1e;
|
|
background: $black;
|
|
//border-radius: 4px;
|
|
|
|
header{
|
|
position: relative;
|
|
text-align: center;
|
|
padding: 3px;
|
|
border-bottom: 2px solid #1e1e1e;
|
|
|
|
h4{
|
|
font-size: 14px;
|
|
letter-spacing: 1px;
|
|
color: white;
|
|
font-family: $font-family-lato;
|
|
font-weight: $font-weight-lato-xb;
|
|
}
|
|
|
|
ul.shell-dots{
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 8px;
|
|
padding-left: 0;
|
|
|
|
li{
|
|
&.d1{
|
|
background-color: #4a08a7;
|
|
}
|
|
&.d2{
|
|
background-color: #6517cf;
|
|
}
|
|
&.d3{
|
|
background-color: #7b29ee;
|
|
}
|
|
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 6px;
|
|
margin-left: 6px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.terminal-window{
|
|
min-height: 140px;
|
|
padding: 20px;
|
|
font-size: 15px;
|
|
color: $white;
|
|
background-color: transparent;
|
|
overflow:auto;
|
|
font-weight: 500;
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
p {
|
|
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.txt-spe {
|
|
color: lighten($blue, 5%);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.txt-var {
|
|
color: lighten($purple, 8%);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.txt-str {
|
|
color: lighten($green, 2%);
|
|
}
|
|
|
|
.txt-int {
|
|
color: lighten($orange, 2%);
|
|
font-weight: 600;
|
|
}
|
|
|
|
p{
|
|
margin-bottom: 2px;
|
|
white-space: pre-wrap;
|
|
}
|
|
.cursor {
|
|
background-color: lighten($purple, 5%);
|
|
}
|
|
}
|
|
}
|
|
|
|
.feature-bullets{
|
|
list-style-type: none;
|
|
padding-left: 35px;
|
|
|
|
li{
|
|
padding: 5px 0 5px 45px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#demo-cta{
|
|
text-align: center;
|
|
}
|
|
|
|
#latest-announcement{
|
|
position: relative;
|
|
margin-top: -80px;
|
|
padding: 240px 0 160px;
|
|
color: $white;
|
|
text-align: center;
|
|
|
|
>.container{
|
|
z-index: 51;
|
|
}
|
|
}
|
|
|
|
#latest-announcement-bg{
|
|
@include skewY(-3deg);
|
|
z-index: 30;
|
|
background: $purple image-url("latest-announce-bg.svg") bottom left no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
#enterprise-intro{
|
|
position: relative;
|
|
padding: 220px 0 180px;
|
|
margin-top: -80px;
|
|
color: #fff;
|
|
|
|
>.container{
|
|
z-index: 31;
|
|
}
|
|
|
|
h2{
|
|
position: relative;
|
|
left: -5px;
|
|
margin-bottom: 20px;
|
|
background: image-url("terraform-enterprise-logo.svg") top left no-repeat;
|
|
background-size: 320px;
|
|
overflow: hidden;
|
|
|
|
span {margin-left: -200%}
|
|
}
|
|
|
|
.lead{
|
|
max-width: 30em;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
#enterprise-intro-bg{
|
|
background: #000 image-url("enterprise-callout-bg.svg") bottom right no-repeat;
|
|
background-size: 80%;
|
|
@include skewY(3deg);
|
|
z-index: 20;
|
|
}
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
#demos{
|
|
.terminals{
|
|
.terminal-item{
|
|
.feature-bullets{
|
|
li{
|
|
background-size: 12px 12px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
#feature-write{
|
|
// Hide image for small screens
|
|
#feature-image-write-sm-screen {
|
|
display: none;
|
|
}
|
|
|
|
// Image hidden, made visible for larger screens
|
|
#feature-image-write-lg-screen {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
#feature-plan{
|
|
// Hide image for small screens
|
|
#feature-image-plan-sm-screen {
|
|
display: none;
|
|
}
|
|
|
|
// Image hidden, made visible for larger screens
|
|
#feature-image-plan-lg-screen {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
#feature-write{
|
|
#feature-image-write-lg-screen {
|
|
right: 10%;
|
|
width: 640px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
|
|
|
|
#demos{
|
|
.terminals{
|
|
.terminal-item{
|
|
>header{
|
|
.left{
|
|
span.icn{
|
|
}
|
|
}
|
|
|
|
.right{
|
|
padding-left: 54px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
h2{
|
|
margin-bottom: 40px;
|
|
font-size: 28px;
|
|
line-height: 32px;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
font-weight: regular;
|
|
}
|
|
|
|
h3{
|
|
margin-bottom: 10px;
|
|
font-size: 16px;
|
|
line-height: 1.2;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
}
|
|
|
|
p{
|
|
font-size: 14px;
|
|
}
|
|
|
|
p.lead{
|
|
font-size: 17px;
|
|
}
|
|
|
|
#primary-cta{
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
#customer-logos{
|
|
padding: 40px 0;
|
|
|
|
p {
|
|
display: block;
|
|
position: relative;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#customer-logos-bg{
|
|
z-index: 30;
|
|
background: $black;
|
|
background-size: 100%;
|
|
@include skewY(-3deg);
|
|
|
|
}
|
|
|
|
ul.customer-list{
|
|
padding-left: 15px;
|
|
|
|
li{
|
|
display: inline-block;
|
|
width: 16%;
|
|
height: 80px;
|
|
text-indent: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#nike {
|
|
background: transparent image-url("customer-logos/nike.svg") left no-repeat;
|
|
background-size: 40px;
|
|
}
|
|
|
|
#hbo {
|
|
background: transparent image-url("customer-logos/hbo.svg") left no-repeat;
|
|
background-size: 40px;
|
|
}
|
|
|
|
#target {
|
|
background: transparent image-url("customer-logos/target.svg") left no-repeat;
|
|
background-size: 30px;
|
|
}
|
|
|
|
#capital-one {
|
|
background: transparent image-url("customer-logos/capital-one.svg") left no-repeat;
|
|
background-size: 40px;
|
|
}
|
|
|
|
#home-depot {
|
|
background: transparent image-url("customer-logos/home-depot.svg") left no-repeat;
|
|
background-size: 30px;
|
|
}
|
|
|
|
#hotels-dot-com {
|
|
background: transparent image-url("customer-logos/hotels-dot-com.svg") left no-repeat;
|
|
background-size: 40px;
|
|
}
|
|
}
|
|
|
|
ul.customer-list{
|
|
display: block;
|
|
position: relative;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
text-align: center;
|
|
|
|
li{
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 40px;
|
|
height: 40px;
|
|
margin: 0 2%;
|
|
text-indent: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#demos{
|
|
|
|
.terminals{
|
|
.terminal-item{
|
|
>header{
|
|
.left{
|
|
span.icn{
|
|
padding-bottom: 15px;
|
|
}
|
|
}
|
|
|
|
.right{
|
|
padding-left: 15px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|