From bc8fcca2eac9bd5ea3618cede0f3fd25a83498c6 Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Thu, 3 Jul 2025 09:26:04 -0400 Subject: [PATCH 01/32] WIP CASH-1042 --- public/css/site-2020Styling.css | 10 -- public/scss/site-2020Styling.scss | 20 ++-- .../button-question/button-question.vue | 13 +-- .../modal-button-main/modal-button-main.vue | 27 ++--- .../funnel-footer/funnel-footer.vue | 17 --- .../funnel-header/funnel-header.vue | 50 +++++--- .../funnel-header/menu-modal/menu-modal.vue | 109 ++++++++++++------ .../progress-bar/progress-bar.vue | 33 ++---- .../funnel-sub-header/funnel-sub-header.vue | 19 +-- .../customer-details/customer-details.vue | 12 +- src/layouts/payment-method/payment-method.vue | 12 +- src/layouts/payment/payment.vue | 13 +-- src/layouts/quote/quote.vue | 17 ++- src/layouts/schedule/schedule.vue | 12 +- .../service-location/service-location.vue | 24 ++-- .../service-zip-modal-question.vue | 2 +- .../shop-list-button/shop-list-button.vue | 8 +- .../shop-question/shop-question.vue | 2 +- src/layouts/service-zip/service-zip.vue | 12 +- src/layouts/vehicle-damage/vehicle-damage.vue | 22 ++-- src/layouts/vehicle/vehicle.vue | 12 +- src/styles/common-error-styles.scss | 8 +- src/styles/common-styles.scss | 13 +-- src/styles/shared-input-button-styles.scss | 22 +++- src/styles/ux-variables.scss | 5 +- src/ux-components/button-main/button-main.vue | 40 +++---- src/ux-components/list-button/list-button.vue | 3 +- 27 files changed, 243 insertions(+), 294 deletions(-) diff --git a/public/css/site-2020Styling.css b/public/css/site-2020Styling.css index a605df285..e47350565 100644 --- a/public/css/site-2020Styling.css +++ b/public/css/site-2020Styling.css @@ -194,16 +194,6 @@ html .in-shop.vspacing .list-group.radio.vspacing .list-group-item { margin-bottom: 2px; } -@media (min-width: 500px) { - .form-group { - width: 80%; - } -} -@media (min-width: 800px) { - .form-group { - width: 60%; - } -} .list-group { margin-bottom: 20px; padding-left: 0; diff --git a/public/scss/site-2020Styling.scss b/public/scss/site-2020Styling.scss index ec72ae1b9..3ae80dcb0 100644 --- a/public/scss/site-2020Styling.scss +++ b/public/scss/site-2020Styling.scss @@ -188,16 +188,16 @@ margin-bottom: 2px; } - @media (min-width: 500px) { - .form-group { - width: 80%; - } - } - @media (min-width: 800px) { - .form-group { - width: 60%; - } - } + // @media (min-width: 500px) { + // .form-group { + // width: 80%; + // } + // } + // @media (min-width: 800px) { + // .form-group { + // width: 60%; + // } + // } .list-group { margin-bottom: 20px; diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index 050dcdea0..6dd12f82a 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -7,7 +7,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com ">
{{ questionText }} @@ -76,10 +76,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com
-
+
({ buttonLabel: answer.buttonLabel ?? answer.Text ?? answer, diff --git a/src/digital-components/modal/ux-components/modal-button-main/modal-button-main.vue b/src/digital-components/modal/ux-components/modal-button-main/modal-button-main.vue index 41f9d2d8a..e05ff408a 100644 --- a/src/digital-components/modal/ux-components/modal-button-main/modal-button-main.vue +++ b/src/digital-components/modal/ux-components/modal-button-main/modal-button-main.vue @@ -66,19 +66,18 @@ export default { .btn { &.btn-primary { position: relative; - background: linear-gradient(270deg, $blue 0%, $blue-800 100%); + background: $red; border: none; - border-radius: $border-radius-lg; color: $white; justify-content: center; font-weight: 500; @media (hover: hover) { - background: linear-gradient(270deg, $blue 0%, $blue-800 100%); + background: $red; } &:focus { box-shadow: 0 0 0 3px, - 0 0 0 5.5px $blue-700; + 0 0 0 5.5px $red; } &:focus, // Mouse, touch, stylus focus &:focus-visible { @@ -86,27 +85,26 @@ export default { outline: none; box-shadow: 0 0 0 3px, - 0 0 0 5.5px $blue-700; + 0 0 0 5.5px $red; color: $white; - background: linear-gradient(270deg, rgba(6, 87, 124, 1) 0%, rgba(6, 87, 124, 1) 100%); + background: $red; } &:disabled { background: $gray-200 !important; - background: linear-gradient(270deg, $gray-200 0%, $gray-200 100%) !important; + background: $red !important; color: $gray-600 !important; font-weight: 400; height: 48px; border: none; - border-radius: $border-radius-lg; cursor: pointer; pointer-events: all; } &.has-loader { color: $white; - background: $blue-700; + background: $red; box-shadow: 0 0 0 3px, - 0 0 0 5.5px $blue-700; + 0 0 0 5.5px $red; pointer-events: none; } &.delay { @@ -117,8 +115,7 @@ export default { &.btn-secondary { position: relative; background: transparent; - border: 1px solid $blue; - border-radius: $border-radius-lg; + border: 1px solid $red; color: $blue; font-weight: 500; transition: all 150ms linear; @@ -133,7 +130,7 @@ export default { outline: none; box-shadow: 0 0 0 3px $white, - 0 0 0 5.5px $blue-700; + 0 0 0 5.5px $red; color: $white; @include blue-gradient; } @@ -142,14 +139,12 @@ export default { color: $gray-550 !important; font-weight: 400; height: 48px; - border: 1px solid $gray-550; - border-radius: $border-radius-lg; + border: 1px solid $red; cursor: pointer; pointer-events: all; } &.has-loader { color: $white; - @include blue-gradient; pointer-events: none; } &.delay { diff --git a/src/fmg-components/funnel-footer/funnel-footer.vue b/src/fmg-components/funnel-footer/funnel-footer.vue index ca8be5bf0..9f205597b 100644 --- a/src/fmg-components/funnel-footer/funnel-footer.vue +++ b/src/fmg-components/funnel-footer/funnel-footer.vue @@ -1,15 +1,5 @@