body { font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } img, iframe, video { max-width: 100%; } .absolutte-button { display: inline-block; font-weight: bold; text-align: center; white-space: nowrap; vertical-align: middle; user-select: none; border: $btn-border-width solid transparent; background-color: $secondary; color: #fff; text-transform: uppercase; min-width: 9.6875rem; box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.11), 0 1px 3px 0 rgba(0, 0, 0, 0.08); transform: translateY(0); @include transition(all 0.2s ease-in-out); -moz-osx-font-smoothing: grayscale; /* Firefox */ -webkit-font-smoothing: antialiased; /* WebKit */ @include button-size( 0.625rem, 1.875rem, $font-size-base, $btn-line-height, $btn-border-radius ); @include hover-focus { text-decoration: none; background-color: darken($secondary, 5); box-shadow: 0 4px 17px 0 rgba(0, 0, 0, 0.15); transform: translateY(-3px); color: #fff; } &:focus, &.focus { outline: 0; box-shadow: $btn-focus-box-shadow; } // Disabled comes first so active can properly restyle &.disabled, &:disabled { opacity: $btn-disabled-opacity; @include box-shadow(none); } // Opinionated: add "hand" cursor to non-disabled .btn elements &:not(:disabled):not(.disabled) { cursor: pointer; } &:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled).active { background-image: none; @include box-shadow($btn-active-box-shadow); &:focus { @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); } } } .absolutte-button-secondary { @extend .absolutte-button; background-color: #f8f8f8; color: $gray-600; @include hover-focus { background-color: darken(#f8f8f8, 3); color: $gray-700; } } /* Button Arrow /*----------------------------------------------------------------------*/ .absolutte-button-arrow { position: relative; padding-right: 28px; &::after { @extend .absolutte-icon-; content: "\e92e"; @include transition(all 0.2s ease-in-out); position: absolute; top: 50%; right: 0; width: 20px; height: 20px; line-height: 20px; display: block; font-size: 20px; transform: translate(-10px, -50%); opacity: 0; } @include hover-focus { text-decoration: none; &::after { transform: translate(0, -50%); opacity: 1; } } } /* Modal Popup /*----------------------------------------------------------------------*/ .absolutte-modal-wrap { position: fixed; opacity: 0; top: 0; left: 0; right: 0; bottom: 0; transform: scale(0); background-color: rgba(0, 0, 0, 0.7); z-index: -998; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; box-sizing: border-box; transition: opacity 300ms, transform 400ms cubic-bezier(0.075, 0.82, 0.165, 1); .absolutte-modal-open & { display: block; opacity: 1; transform: scale(1); z-index: 998; } .absolutte-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -40%); z-index: 999; opacity: 0; transition: opacity 300ms, transform 400ms cubic-bezier(0.075, 0.82, 0.165, 1); transition-delay: 100ms; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.5); border-radius: 5px; overflow: hidden; .absolutte-modal-open & { transform: translate(-50%, -50%); opacity: 1; } .absolutte-responsive-video { width: 70vw; } } } .absolutte-diagonal-bottom, .absolutte-diagonal-top { position: absolute; bottom: -1px; left: 0; right: 0; display: flex; align-items: flex-end; justify-content: center; z-index: 0; overflow: hidden; svg { width: 101%; } } .absolutte-diagonal-top { bottom: auto; top: 0; } /* Shadow Big /*----------------------------------------------------------------------*/ .absolutte-shadow-big { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07), 0 15px 35px rgba(0, 0, 0, 0.1); } .absolutte-shadow-big-hover { box-shadow: 0 9px 20px rgba(0, 0, 0, 0.07), 0 20px 45px rgba(0, 0, 0, 0.1); } /* Section Title /*----------------------------------------------------------------------*/ .absolutte-section-title { font-size: 1.875rem; color: $primary; font-weight: bold; position: relative; padding-bottom: 1.5625rem; margin-bottom: 1.875rem; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; &::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background-color: $primary; } a { .no-touch &:hover { text-decoration: none; } } } /* Section Title Small /*----------------------------------------------------------------------*/ .absolutte-section-title-small { font-size: 1.875rem; color: $primary; font-weight: bold; position: relative; padding-bottom: 1.5625rem; margin-bottom: 1.875rem; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; &::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background-color: $primary; } a { .no-touch &:hover { text-decoration: none; } } } /* Phone Mockup /*----------------------------------------------------------------------*/ .absolutte-phone-mockup { border: 6px solid #fff; width: 60%; margin: 0 auto; border-radius: 30px; overflow: hidden; position: relative; top: 0; @extend .absolutte-shadow-big; z-index: 1; margin-bottom: 10%; .absolutte-phone-mockup-image { width: 100%; padding-bottom: 217.7%; background-size: cover; background-position: center; position: relative; z-index: 1; } &::before { position: absolute; content: ""; width: 50%; margin: 0 auto; height: 3.2%; background-color: #fff; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; border-radius: 0 0 10px 10px; } &::after { position: absolute; content: ""; width: 20%; margin: 0 auto; height: 0.8%; background-color: #000; top: 1%; left: 50%; transform: translateX(-50%); z-index: 2; border-radius: 15px; opacity: 0.08; } &.absolutte-dark-mode { border-color: #000; &::before { background-color: #000; } &::after { background-color: #fff; } } } /* App Store Buttons /*----------------------------------------------------------------------*/ .absolutte-app-store-button { @extend .absolutte-button; background-color: lighten(#000000, 10); text-transform: none; text-align: left; position: relative; padding-left: 65px; padding-right: 25px; @include hover-focus { background-color: #000000; } &::before { @include fa-icon; @extend .fab; content: fa-content($fa-var-apple); font-weight: 900; position: absolute; top: 50%; left: 25px; width: 25px; height: 25px; display: flex; align-items: center; font-size: 25px; transform: translateY(-50%); } span { display: block; font-size: 0.75rem; opacity: 0.8; font-weight: normal; line-height: 1em; } &.absolutte-play-store { &::before { content: fa-content($fa-var-google-play); } } } /* Read More Button -------------------------------------------------- */ .read-more { font-weight: bold; clear: both; margin: 1.875em 0; text-decoration: none; position: relative; margin-right: 20px; &:hover { text-decoration: none; i { transform: translate(30px, -50%); opacity: 1; } &::before { width: 0; } } i { font-size: 1rem; height: 21px; width: 21px; position: absolute; right: 0; top: 50%; transition: opacity 200ms, transform 700ms cubic-bezier(0.075, 0.82, 0.165, 1); transform: translate(5px, -50%); opacity: 0; } } /* Absolutte Track /*----------------------------------------------------------------------*/ .absolutte-animations .absolutte-track { opacity: 0; } /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; } .screen-reader-text:focus { background-color: #f1f1f1; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /* Inputs */ /*----------------------------------------------------------------------*/ input, textarea { display: block; width: 100%; height: 42px; border-radius: 3px; margin-bottom: 0.71428571428571em; border: 1px solid $gray-300; transition: all 300ms; box-shadow: none; color: $gray-600; &:focus { box-shadow: none; border: 1px solid $gray-700; } } textarea { min-height: 100px; } /* Small and Up /*----------------------------------------------------------------------*/ @include media-breakpoint-up(sm) { .absolutte-section-title { font-size: 1.875rem; } /* Phone Mockup /*----------------------------------------------------------------------*/ .absolutte-phone-mockup { border-width: 7px; border-radius: 25px; &::before { border-radius: 0 0 10px 10px; } } /* App Store Buttons /*----------------------------------------------------------------------*/ .absolutte-app-store-button { font-size: 0.875rem; padding-left: 50px; padding-right: 20px; &::before { left: 20px; width: 20px; height: 20px; font-size: 20px; } } } /* Large and Up /*----------------------------------------------------------------------*/ @include media-breakpoint-up(lg) { .absolutte-section-title { font-size: 2.6875rem; } /* Phone Mockup /*----------------------------------------------------------------------*/ .absolutte-phone-mockup { border-width: 10px; border-radius: 40px; &::before { border-radius: 0 0 15px 15px; } } /* App Store Buttons /*----------------------------------------------------------------------*/ .absolutte-app-store-button { font-size: 1rem; padding-left: 65px; padding-right: 25px; &::before { left: 25px; width: 25px; height: 25px; font-size: 25px; } } }