b8e71e6fd3
* updating the landing page with jtbd * changed the buttons to pink * updating CSS based on John's help * updating a use case * updating the language and rearranging the guides * adding icons * fixed image width * fixing buttons and updating traffic splitting language.
450 lines
8.8 KiB
SCSS
450 lines
8.8 KiB
SCSS
#page-home {
|
|
#home-hero {
|
|
padding-top: 12px;
|
|
position: relative;
|
|
|
|
@media (min-width: 768px) {
|
|
padding-bottom: 56px;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
padding-top: 80px;
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
& + section {
|
|
|
|
@media (max-width: 991px) {
|
|
padding-top: 212px;
|
|
}
|
|
|
|
}
|
|
|
|
.g-container > div {
|
|
@media (min-width: 992px) {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 0 (-$site-gutter-padding);
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
align-items: center;
|
|
}
|
|
|
|
& > div {
|
|
@media (min-width: 992px) {
|
|
padding: 0 $site-gutter-padding;
|
|
width: 50%;
|
|
}
|
|
|
|
&:first-child {
|
|
text-align: center;
|
|
|
|
@media (min-width: 992px) {
|
|
text-align: left;
|
|
}
|
|
|
|
& > div {
|
|
@media (min-width: 992px) and (max-width: 1199px) {
|
|
padding-left: 21px;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
margin: 24px 0 16px;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
margin-top: 40px;
|
|
}
|
|
}
|
|
|
|
p {
|
|
margin: 16px 0 32px;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-bottom: 40px;
|
|
}
|
|
}
|
|
|
|
.notification {
|
|
background: #fce2ee;
|
|
border-radius: 3px;
|
|
color: #650d34;
|
|
display: inline-block;
|
|
padding: 16px;
|
|
|
|
@media (min-width: 992px) {
|
|
line-height: 1.4;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
span {
|
|
&:first-child {
|
|
background: $consul;
|
|
border-radius: 3px;
|
|
color: #fff;
|
|
margin-right: 4px;
|
|
padding: 2px 9px;
|
|
text-transform: uppercase;
|
|
|
|
@media (min-width: 992px) {
|
|
float: left;
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
|
|
.button {
|
|
margin: 0 5px 10px;
|
|
|
|
@media (min-width: 400px) {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
padding: 6px 5px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
margin: 0;
|
|
}
|
|
|
|
& + .button {
|
|
@media (min-width: 768px) {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.secondary-link {
|
|
border-bottom: 1px dashed $consul;
|
|
color: $gray-1;
|
|
display: inline-block;
|
|
margin: 24px 0 48px;
|
|
padding-bottom: 4px;
|
|
transition: all 0.25s ease;
|
|
|
|
@media (min-width: 992px) {
|
|
margin-top: 32px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.controls {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 26px;
|
|
|
|
@media (min-width: 992px) {
|
|
width: 45vw;
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
width: 42vw;
|
|
}
|
|
|
|
@media (min-width: 1725px) {
|
|
width: 725px;
|
|
}
|
|
|
|
& > div {
|
|
align-items: center;
|
|
color: #d2d4dc;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin: 0 25px;
|
|
text-transform: uppercase;
|
|
|
|
&:hover,
|
|
&.active {
|
|
color: $gray-1;
|
|
}
|
|
|
|
&.playing {
|
|
color: $gray-1;
|
|
}
|
|
|
|
& > span {
|
|
transition: all 0.15s ease-out;
|
|
}
|
|
|
|
.progress-bar {
|
|
background: #d2d4dc;
|
|
border-radius: 2px 0 0 2px;
|
|
height: 2px;
|
|
margin-top: 6px;
|
|
position: relative;
|
|
width: 64px;
|
|
|
|
span {
|
|
background: $consul;
|
|
height: 2px;
|
|
left: 0;
|
|
position: absolute;
|
|
width: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.videos {
|
|
height: 0;
|
|
margin-bottom: -112px;
|
|
padding-top: calc((100% * 0.63569) + 18px);
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-bottom: -152px;
|
|
padding-top: calc((100% * 0.63569) + 38px);
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
padding-top: calc((45vw * 0.63569) + 38px);
|
|
margin-bottom: 0;
|
|
width: 45vw;
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
padding-top: calc((42vw * 0.63569) + 38px);
|
|
width: 42vw;
|
|
}
|
|
|
|
@media (min-width: 1725px) {
|
|
padding-top: calc((725px * 0.63569) + 38px);
|
|
width: 725px;
|
|
}
|
|
|
|
& > div {
|
|
background: #0e1016;
|
|
border-radius: 3px 3px 0 0;
|
|
box-shadow: 0 40px 24px -10px rgba(63, 68, 85, 0.4);
|
|
height: 100%;
|
|
left: -80px;
|
|
line-height: 0;
|
|
opacity: 0;
|
|
padding-top: 18px;
|
|
position: absolute;
|
|
top: 0;
|
|
transition: all 0.5s;
|
|
transition-timing-function: cubic-bezier(0.41, 0.15, 0.39, 0.39);
|
|
width: 100%;
|
|
|
|
@media (min-width: 768px) {
|
|
padding-top: 38px;
|
|
}
|
|
|
|
&.active {
|
|
left: 0;
|
|
opacity: 1;
|
|
transition: all 0.8s;
|
|
}
|
|
|
|
&.deactivate {
|
|
left: 95px;
|
|
}
|
|
}
|
|
|
|
.bar-buttons {
|
|
display: flex;
|
|
position: absolute;
|
|
left: 7px;
|
|
top: 6px;
|
|
z-index: 1;
|
|
|
|
@media (min-width: 768px) {
|
|
left: 16px;
|
|
top: 13px;
|
|
}
|
|
|
|
span {
|
|
background: $gray-1;
|
|
border-radius: 50%;
|
|
display: block;
|
|
height: 5px;
|
|
margin-right: 4px;
|
|
width: 5px;
|
|
|
|
@media (min-width: 768px) {
|
|
height: 12px;
|
|
margin-right: 8px;
|
|
width: 12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.padded {
|
|
background: #000;
|
|
position: relative;
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
|
|
@media (min-width: 768px) {
|
|
top: 38px;
|
|
}
|
|
|
|
video {
|
|
position: absolute;
|
|
bottom: 6px;
|
|
right: 6px;
|
|
top: 6px;
|
|
left: 6px;
|
|
height: calc(100% - 12px);
|
|
width: calc(100% - 12px);
|
|
|
|
@media (min-width: 768px) {
|
|
bottom: 12px;
|
|
right: 12px;
|
|
top: 12px;
|
|
left: 12px;
|
|
height: calc(100% - 24px);
|
|
width: calc(100% - 24px);
|
|
}
|
|
}
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
background: $black;
|
|
opacity: 0.02;
|
|
}
|
|
}
|
|
}
|
|
|
|
#static-dynamic {
|
|
|
|
.static-callout {
|
|
width: 85%;
|
|
}
|
|
|
|
#index-dynamic-animation {
|
|
width: 85%;
|
|
margin: 0 auto;
|
|
|
|
svg {
|
|
width: 100%;
|
|
height: auto !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.home-cta-section {
|
|
color: $white;
|
|
|
|
@media (min-width: 768px) {
|
|
display: flex;
|
|
}
|
|
|
|
& > div {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 64px 24px;
|
|
overflow: hidden;
|
|
|
|
@media (min-width: 768px) {
|
|
padding-top: 80px;
|
|
padding-bottom: 80px;
|
|
width: 50%;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
padding-top: 96px;
|
|
padding-bottom: 96px;
|
|
width: 50%;
|
|
}
|
|
|
|
& > svg {
|
|
width: 135px;
|
|
}
|
|
|
|
&:first-child {
|
|
background: $consul;
|
|
position: relative;
|
|
|
|
&:after {
|
|
content: '';
|
|
background: url('/assets/images/consul-connect/mesh.svg') top center;
|
|
background-size: cover;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
opacity: 0.2;
|
|
transform: scale(1.3, 1.3);
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
background: $gray-1;
|
|
}
|
|
|
|
& > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 564px;
|
|
text-align: center;
|
|
width: 100%;
|
|
z-index: 1;
|
|
|
|
div:first-child {
|
|
height: 50px;
|
|
width: auto;
|
|
}
|
|
|
|
p {
|
|
flex: 1 0 auto;
|
|
margin: 24px 0 32px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|