@import '~@od/global-resources/scss/settings/index'; @import '~@od/global-resources/scss/components/forms'; @import '~@od/global-resources/scss/components/modals'; @import '~@od/global-resources/scss/components/spinner'; @import '~@od/global-resources/scss/helpers/index'; @import '~@od/global-resources/scss/base/index'; @import '~@od/global-resources/scss/components/messaging'; @import 'tropo_selection'; @import 'create_new_account'; @import 'tropo_validation'; @import '../../pos_loyalty_completion/scss/profile_completion_interstitial'; @import 'forgot_login_name'; @import 'select_membership'; @import 'success'; @import '../../creditcard/scss/index'; @import 'terms_and_conditions'; @import 'review_and_enroll'; @import 'zipcode_lookup'; @import 'change_membership'; @import 'address-override'; @media only screen and (min-width: $screen-sm) { .business-select-flow { position: absolute !important; padding-right: 17px; } } @media only screen and (min-width: $screen-sm) and (max-width: $screen-sm-max) { .business-select-flow { .customer_service_option { position: absolute; top: -140px; left: -43px; } } } @media only screen and (min-width: $screen-md) { .business-select-flow { .customer_service_option { position: absolute; top: -134px; left: -43px; } } } #businessSelectFlow { outline: none; } #content { position: initial !important; } .no-display { display: none !important; } .dib { display: inline-block; } .margin-left-0 { margin-left: 0 !important; } .negative_bottom_margin_sm { margin-bottom: -6px; } .business-select { &-title { @include font-size($base-font-size + 8); font-weight: $font-weight-bold; } &-content { @include font-size($base-font-size - 2); } } .address1-margin { .error { top: -1.25rem !important; font-size: 0.875rem !important; } } .business-select-flow { overflow-y: auto; .no-padding { padding: 0 !important; } .hide { display: none; } .customer_service_option { background: #e5e8eb; border: 1px solid #111; padding: 10px; width: 200px; } .modal { width: 60%; overflow: hidden; max-height: 100%; article { &.spinner { opacity: 0.4; } } .text-center { text-align: center; } p { line-height: 1.2em; } .header { background: $blue-medium; padding: $base-site-padding 0; svg { width: 140px; background: $white; border-radius: 7px; } } &-body { min-height: 400px; margin: 0; } &-content { text-align: left; } .progress { height: 6px; overflow: hidden; background-color: $white; width: 100%; border: 1px solid #e7e7e7; border-right: none; border-top: 1px solid #CADAEB; border-right: none; border-left: none; max-width: 100%; display: block; .progress_bar { float: left; width: 0; height: 100%; font-size: 12px; line-height: 20px; color: $white; text-align: center; background-color: $green; -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); -webkit-transition: width .8s ease; -o-transition: width .8s ease; transition: width .8s ease } } .footer { background: $blue-medium; padding: $base-site-padding * 2; bottom: 0; width: 100%; li { display: inline-block; } } .btn { line-height: 44px; //need to override the rule in OD. } .cc-exp { label { color: $gray; } .payment-creditcard-option { .select-wrapper { flex-grow: 0; select { width: 90px; padding: 8px; } } } } .modal-sm-btn { line-height: 34px; min-height: 34px; height: 34px; } .underline { text-decoration: underline; } #warningConversion { .btn { margin-bottom: 8px; } } input[type="password"] { @include font-size($base-font-size - 2); } input:focus { outline: none; } } .other-card-error { color: $red; } .form-field-group { &.success-validation { input { &[disabled].tropo-validation-input~label { top: -3.8rem; } } } input { &[disabled], &[disabled]~label { background-color: $white; color: $gray-medium; } } &.is-disabled-with-value { .float-label { ~label { top: -4.0rem; background: #fff; } } } .float-label { ~label { top: -2.25rem; } &:focus, &:required:valid, &.placeholder-up { +label { top: -3.8rem; } +.od-address-autocomplete+label { top: -3.8rem; } } } } .negative-margin-2 { margin-top: -2px; } .has-danger { .float-label { border-color: $red !important; } label { color: $red !important; } } .full-width-border { margin-left: -20px; width: 111%; border-color: $gray-medium; } .select-wrapper { select { padding-left: ($base-site-padding + 2); } } .block-copy { padding: $base-site-padding 0; @include font-size($base-font-size - 2); } .password { margin-bottom: 0; } .cc-option { input { margin-left: -20px; } } .back-to-saved-cards { width: 33%; text-align: center; display: inline-block; text-decoration: underline; } } @media only screen and (max-device-width: 1000px) and (orientation:landscape) { .business-select-flow { position: absolute; } #mainContent { position: initial !important; } } @media only screen and (max-width: 480px), only screen and (-webkit-min-device-pixel-ratio: 4) and (max-width: 480px) { .business-select-flow { height: calc(100vh); position: fixed; &.mobApp { height: calc(100vh); } } .business-select-flow { main { height: 100%; } .modal, .modal-content { height: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .modal { max-height: 100vh; overflow-y: auto; &-body { min-height: 78%; margin: 0 !important; } &-content { background: $white; overflow-y: scroll; margin-bottom: 30px; } } .footer { height: 50px; } .forgot-login-name { padding: $base-site-padding 0; } } .block-msg-error { margin-top: 0; } } .block-msg-error, .error_msg_container { .error_banner { display: flex; align-items: center; background-color: #fff0f0; box-shadow: 0 3px 2px rgba(0, 0, 0, .1); min-height: 48px; overflow: hidden; } .error_bar { width: 4px; height: 100%; background-color: #ce0000; flex-shrink: 0; min-height: 48px; } .error_content { background-color: #fff0f0 !important; display: flex; align-items: center; padding: 1px 10px; flex: 1; gap: 12px; } .error_icon { width: 24px; height: 24px; border-radius: 50%; background-color: #ce0000; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; line-height: 1; } .error_text { color: #000; font-size: 16px; font-weight: 700; line-height: 1.4; flex: 1; } } .business-select-flow .block-msg-error { background-color: rgba(255, 240, 240, 0.95); border-left: 0.3rem solid rgba(179, 0, 0, 1) !important; .block-close-btn { display: none; } } .next-btn { float: right; width: 55%; } .go-back-btn { width: 40%; } .go-back-chevron { fill: $blue; position: relative; float: left; top: 1px; .svg-chevron { transform: rotate(180deg); } } .next-chevron { fill: $white; position: relative; float: right; top: 1px; @include margin(0 0 0 3px); } .pac-container { z-index: 100900 !important; } .negative-margin-6 { margin-top: -6px; z-index: 9999; } .negative-margin-18 { margin-top: -18px } .checkbox-icon { input { opacity: 0; } label { font-weight: normal; } span { width: 24px; height: 22px; border: 1px solid $black; border-radius: 5px; display: inline-block; position: relative; top: 5px; @include margin(0 6px 0 -14px); } input:checked+span { background: url('//media.officedepot.com/image/upload/f_auto,q_auto/gtools/images/svg/icons/check.svg') no-repeat 4px 1px; } } .custom-radio-btn { [type="radio"]:checked, [type="radio"]:not(:checked) { opacity: 0 } [type="radio"]:checked+label, [type="radio"]:not(:checked)+label { position: relative; @include padding(0 0 0 30px); cursor: pointer; display: inline-block; } [type="radio"]:checked+label:before, [type="radio"]:not(:checked)+label:before { content: ''; position: absolute; left: 0; width: 18px; height: 18px; border: 1px solid $gray; border-radius: 100%; } [type="radio"]:checked+label:after { content: ''; width: 12px; height: 12px; background: $blue; position: absolute; top: 3px; left: 3px; border-radius: 100%; transition: all 0.2s ease; } } .business-select-zip-code-lookup { @include font-size(14px) } #registrationModule { .phoneNumber_lookup { .odTooltip { top: 98.5px !important; left: 278px !important; } } } #businessSelectBenefits, #programBenefitBS2 { width: 100% !important; @include margin(0 0 12px 0); @include font-size($base-font-size - 2); } .float-none-imp { float: none !important; } .nopad_left { padding-left: 0 !important; } .alias-error { color: $red; @include font-size ($base-font-size - 2); padding: 0 4px; font-weight: 300; @include margin(-16px 0 0 4px); } .position-initial { position: initial !important; } .review-elements { @include margin(4px 0); } .top12 { top: 12px; } .top10 { top: 10px; } .vertical-align-top { vertical-align: top !important; } .receive-depot-dollars { color: $gray; } #checkout { .business-select-flow { .modal { overflow-y: auto; } .warning-msg { padding-left: ($base-site-padding * 4); } } }