@import "../../../../../../sass/ux_library/abstracts/variables"; @import "../../../../../../sass/ux_library/abstracts/mixins"; // ======================================== // Common Styles for Home Page // ======================================== body.front { // General typography &, p { color: $be-black; } // CTA .block .cta { display: block; margin: 0 auto; padding: 15px 0; max-width: 230px; width: 100%; } } // ======================================== // Center the Content // ======================================== #content > .block > .inner { @include center-content(); } // ======================================== // Homepage Hero // ======================================== $hero-height: 650px; .front #page .hero-container { height: $hero-height; > .inner { .text-container { height: $hero-height; } } } // ======================================== // 5 Pillars Block // ======================================== .block-5pillars { padding: 0.5em 0 2em; @media (max-width: $phone-max) { .text-container { padding-left: 15px; } } .column { .icon-container { .icon-circle { border: 1px solid $be-blue; margin: 0 auto; overflow: hidden; position: relative; @media (min-width: $tablet-min) { @include circle(80px); .icon { font-size: 36px; } } @media (max-width: $phone-max) { @include circle(60px); .icon { font-size: 27px; } } .icon { bottom: 0; color: $be-blue; left: 0; position: absolute; right: 0; top: 0; } } } .text-container p { height: 75px; overflow: hidden; } } // CTA .cta-container { padding: 3em 0 2em; } } // ======================================== // Personas Block // ======================================== $card-bg-color: #fafafa; .block-personas { padding: 2em 0; text-align: center; .persona { @media (min-width: $desktop-min) { &:nth-child(odd) { padding-right: 20px; } &:nth-child(even) { padding-left: 20px; } .card__header { min-height: 125px; } } .card { background: $card-bg-color; margin: 0 auto; max-width: 550px; // override card hover behavior &:hover { background: $card-bg-color; border: 1px solid $be-faint-gray; box-shadow: none; } &__text { font-size: 1.1em; line-height: 1.5em; } &__title { color: $be-blue; } .text-container { @include center-content(400px); padding: 40px 20px; .line-separator { border: 1px solid $be-faint-gray; margin: 40px auto 20px; width: 50%; } .logo-container .logo { height: 24px; } .photo .circle { @include circle(100px); } } } } .cta-container { padding: 2em 0; } } // ======================================== // Customer Logos Block // ======================================== .block.customer-logos { margin-bottom: 0; padding-top: 2em; div { margin-left: auto; margin-right: auto; text-align: center; } .market-container { margin-bottom: 3em; margin-top: 2em; max-width: 800px; .market-category { color: $be-dark-gray; font-weight: 400; margin-top: 1.6em; @media (min-width: $tablet-min) { margin-top: 0.6em; } @media (min-width: $desktop-min) { margin-bottom: 1em; } .market-circle { @include circle(100px); background: $be-barely-visible-gray; line-height: inherit; position: relative; .image-container { height: 30px; left: 0; position: absolute; right: 0; top: 20px; img { height: 100%; } } .market-share { bottom: 20px; color: $be-blue; font-size: 1.3em; left: 0; position: absolute; right: 0; vertical-align: bottom; } } .market-label { padding-top: 0.5em; @media (max-width: $phone-max) { height: 56px; } } } } @media (min-width: $desktop-min) { .logos { @include align-items(center); @include flexbox(); @include justify-content(space-between); .logo-container { width: auto; } } } .sprite-container { @include align-items(center); @include flexbox(); height: 40px; margin: 1em 0; .sprite { background: url("//videos.brightedge.com/assets/img/website/homepage-sprite-v2.jpg") no-repeat; display: inline-block; &.adobe { background-position: 0px -16px; height: 37px; width: 27px; } &.loreal { background-position: 0px 0px; height: 16px; width: 100px; } &.marriott { background-position: 0px -195px; height: 32px; width: 84px; } &.microsoft { background-position: 0px -173px; height: 22px; width: 104px; } &.nike { background-position: 0px -148px; height: 25px; width: 67px; } &.twilio { background-position: 0px -120px; height: 28px; width: 94px; } &.ucdavis { background-position: 0px -53px; height: 35px; width: 108px; } &.workday { background-position: 0px -88px; height: 32px; width: 40px; } } } }