Merge branch 'release/2025.09.04' into feature/CASH-1339

This commit is contained in:
scottkiener-at-safelite 2025-08-15 11:33:47 -04:00 committed by GitHub
commit 8cd0811c71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 94 additions and 63 deletions

View file

@ -1,11 +1,11 @@
export const pageProgressMapper = { export const pageProgressMapper = {
//Combine progress bar slide percent and button steps //Combine progress bar slide percent and button steps
vehicle: { vehicle: {
percent: 10, percent: 8,
step: 1, step: 1,
}, },
"vehicle-damage": { "vehicle-damage": {
percent: 14, percent: 11,
step: 1, step: 1,
}, },
estimate: { estimate: {
@ -49,7 +49,7 @@ export const pageProgressMapper = {
step: 1, step: 1,
}, },
quote: { quote: {
percent: 39, //The first Step 2 must be 39 so the animated bar lines up with the dot percent: 62,
step: 2, step: 2,
}, },
"insurance-company": { "insurance-company": {
@ -61,7 +61,7 @@ export const pageProgressMapper = {
step: 2, step: 2,
}, },
schedule: { schedule: {
percent: 70.5, //The first Step 3 must be 70.5 so the animated bar lines up with the dot percent: 76,
step: 3, step: 3,
}, },
"mobile-details": { "mobile-details": {
@ -73,7 +73,7 @@ export const pageProgressMapper = {
step: 3, step: 3,
}, },
"payment-method": { "payment-method": {
percent: 97, //The first Step 4 must be 97 so the animated bar lines up with the dot percent: 97,
step: 4, step: 4,
}, },
payment: { payment: {

View file

@ -1039,6 +1039,7 @@ export default {
fieldset { fieldset {
flex-grow: 1; flex-grow: 1;
position: relative; position: relative;
width: 100%;
.view-more-dates { .view-more-dates {
color: $blue; color: $blue;
@ -1109,11 +1110,11 @@ export default {
.month-year { .month-year {
grid-area: 1 / 1 / 2 / 5; grid-area: 1 / 1 / 2 / 5;
font-family: UrbanistSemiBold; font-family: UrbanistRegular;
color: $black; color: $black;
justify-content: left; justify-content: left;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
font-weight: 500; font-weight: 600;
} }
.legend { .legend {
grid-area: 1 / 5 / 2 / 8; grid-area: 1 / 5 / 2 / 8;

View file

@ -9,8 +9,7 @@
tabindex="-1" tabindex="-1"
aria-labelledby="ModalComponentLabel" aria-labelledby="ModalComponentLabel"
@keypress.enter="onEnter" @keypress.enter="onEnter"
aria-hidden="true" aria-hidden="true">
@click.self="closeModal">
<!--Close modal when clicking other than close button--> <!--Close modal when clicking other than close button-->
<div class="modal-dialog modal-dialog-centered"> <div class="modal-dialog modal-dialog-centered">
<div class="modal-content"> <div class="modal-content">

View file

@ -219,11 +219,6 @@ export default {
&.has-subheader { &.has-subheader {
& > .package-specs { & > .package-specs {
display: inline-flex; display: inline-flex;
@include media-breakpoint-up(md) {
& > div:first-of-type {
display: flex;
}
}
} }
} }
@ -331,7 +326,6 @@ export default {
} }
p { p {
font-weight: 600;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
@ -339,16 +333,11 @@ export default {
&.sub-label { &.sub-label {
color: $green; color: $green;
display: inline-flex;
padding: 0.25rem 0; padding: 0.25rem 0;
text-transform: uppercase; text-transform: uppercase;
font-size: 0.75rem; font-size: 0.75rem;
margin-left: auto; margin-left: auto;
@include media-breakpoint-up(md) {
background-color: $green-100;
padding: 0.25rem 0.5rem;
border-radius: 0.75rem;
}
} }
} }
span { span {
@ -375,6 +364,8 @@ export default {
} }
div.discount-price { div.discount-price {
color: $green; color: $green;
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
font-weight: 600;
} }
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
position: absolute; position: absolute;
@ -458,6 +449,8 @@ export default {
font-weight: 600; font-weight: 600;
line-height: 20px; line-height: 20px;
font-size: 1.25rem; font-size: 1.25rem;
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
font-weight: 600;
span.strikethrough-price { span.strikethrough-price {
text-decoration: line-through; text-decoration: line-through;

View file

@ -291,6 +291,12 @@ export default {
height: 10px; height: 10px;
min-width: 10px; min-width: 10px;
} }
&.has-subheader {
& > .package-specs {
display: inline-flex;
}
}
} }
&:hover { &:hover {

View file

@ -11,9 +11,11 @@
@click-event="clickEvent" /> @click-event="clickEvent" />
</h5> </h5>
</div> </div>
<div v-if="subText" class="d-flex align-self-center overflow-hidden mt-1"> <div
<p class="small fw-normal sub-text"> v-if="subText"
<span v-html="boldedSubHeaderText"></span> class="d-flex align-items-center justify-content-center container-fluid overflow-hidden mt-1">
<p class="text-center small fw-normal sub-text">
<span v-html="subText"></span>
</p> </p>
</div> </div>
</div> </div>

View file

@ -4,7 +4,6 @@
:ref="modalName" :ref="modalName"
:headerText="modalHeaderText" :headerText="modalHeaderText"
suppressPageScroll suppressPageScroll
:staticBackdrop="true"
:onModalClosedCallback="onModalClosed" :onModalClosedCallback="onModalClosed"
:footerButtonText="modalButtonText" :footerButtonText="modalButtonText"
@footer-button-event="saveProgress"> @footer-button-event="saveProgress">

View file

@ -1,16 +1,24 @@
<template> <template>
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm" v-slot="{ meta }"> <Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm" v-slot="{ meta }">
<loadingModal ref="loadingModal" /> <loadingModal ref="loadingModal" />
<funnelHeader cmsWidgetName="FunnelHeaderWidget" ref="funnelHeader" /> <div class="container-fluid page-container-grouped-styles">
<div class="container page-container-grouped-styles estimate"> <div class="row justify-content-center">
<div class="row"> <div class="col-md-6">
<div class="col-12 col-md-10 col-lg-8 col-xl-7"> <funnelHeader cmsWidgetName="FunnelHeaderWidget" ref="funnelHeader" />
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-6 col-xl-4 mt-4">
<funnelSubHeader class="pb-2" cmsWidgetName="FunnelSubHeaderWidget" />
<div> <div>
<div class="vinlookupquestion" v-html="this.VinLookupQuestionText"></div> <p class="header-copy mb-2 text-md-center" v-html="HeaderText"></p>
<div v-html="this.VinLookupQuestionBodyText2"></div>
<div <p
class="select-an-option" class="header-sub-copy mb-5 text-md-center"
v-html="this.VinLookupQuestionFooterText"></div> v-html="VinLookupQuestionText"></p>
<p class="select-option mb-2" v-html="SelectOptionText"></p>
<buttonQuestion <buttonQuestion
cmsWidgetName="VinLookupMethod" cmsWidgetName="VinLookupMethod"
:answers="answersFromCms" :answers="answersFromCms"
@ -229,6 +237,12 @@ export default {
VinLookupQuestionText() { VinLookupQuestionText() {
return this.getCmsContent("VinLookupQuestion", "BodyText"); return this.getCmsContent("VinLookupQuestion", "BodyText");
}, },
HeaderText() {
return this.getCmsContent("VinLookupQuestion", "HeaderText");
},
SelectOptionText() {
return this.getCmsContent("VinLookupQuestion", "FooterText");
},
VinLookupQuestionBodyText2() { VinLookupQuestionBodyText2() {
return this.getCmsContent("VinLookupQuestion", "BodyText2"); return this.getCmsContent("VinLookupQuestion", "BodyText2");
}, },
@ -249,14 +263,23 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped>
.header-copy {
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
<style lang="scss"> <style lang="scss">
.vinlookupquestion p { .vinlookupquestion p {
font-size: 1.25rem; font-size: 1.25rem;
} }
.header-sub-copy {
font-size: 0.875rem;
.select-an-option { .select-an-option {
font-family: UrbanistSemibold; font-family: UrbanistSemibold;
font-weight: 600; font-weight: 600;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.select-option {
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
font-weight: 600;
}
</style> </style>

View file

@ -129,10 +129,7 @@ export default {
} }
.callout { .callout {
font-family: font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
UrbanistSemibold Arial,
Helvetica,
sans-serif;
} }
> div:first-of-type { > div:first-of-type {

View file

@ -903,7 +903,7 @@ export default {
padding-bottom: 2rem; padding-bottom: 2rem;
:deep(.nav-bar) { :deep(.nav-bar) {
position: initial; position: initial;
button { button.btn {
width: 100%; width: 100%;
justify-content: center; justify-content: center;
} }
@ -976,6 +976,9 @@ export default {
} }
} }
} }
:deep(.cash-or-insurance-question .list-button-horizontal) {
box-shadow: none;
}
} }
.quote-page.show-save-progress-popup .row.justify-content-center { .quote-page.show-save-progress-popup .row.justify-content-center {
display: none; display: none;

View file

@ -243,11 +243,15 @@ export default {
.hide-when-closed { .hide-when-closed {
display: block; display: block;
} }
p:first-child {
font-weight: 600;
}
} }
} }
+ .package-label { + .package-label {
border: 1px solid $blue; border: 1px solid $blue;
max-height: 500px; max-height: 500px;
background-color: $blue-100;
.special-save-box { .special-save-box {
background-color: $green-200; background-color: $green-200;
} }
@ -291,23 +295,33 @@ export default {
align-items: center; align-items: center;
} }
.pricing-info .insurance-pricing span {
font-size: 0.875rem;
font-family: Urbanist, Arial, Helvetica, sans-serif;
font-weight: 500;
}
p { p {
font-weight: 600; font-family: Urbanist, Arial, Helvetica, sans-serif;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
white-space: nowrap; white-space: nowrap;
&:first-child {
font-weight: 400;
}
span { span {
&.pricing-info { &.pricing-info {
color: $green; color: $green;
font-size: 0.875rem; font-size: 0.875rem;
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
font-weight: 600;
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
position: absolute; position: absolute;
bottom: 0.75rem; bottom: 0.75rem;
left: 0; left: 0;
width: 100%; width: 100%;
margin-left: 1.25rem; margin-left: 1.25rem;
font-weight: 600;
} }
span.strikethrough-price { span.strikethrough-price {
text-decoration: line-through; text-decoration: line-through;

View file

@ -41,7 +41,7 @@
alertClass="alert-warning" /> alertClass="alert-warning" />
<alert <alert
ref="alertRecalNoMobile" ref="alertRecalNoMobile"
class="mt-5 mb-5" class="mb-5"
cmsWidgetName="AlertRecalNoMobileWidget" cmsWidgetName="AlertRecalNoMobileWidget"
v-if="displayRecalibrationWarning" v-if="displayRecalibrationWarning"
@text-link-clicked="openModalAction" @text-link-clicked="openModalAction"
@ -1777,25 +1777,6 @@ export default {
font-weight: 600; font-weight: 600;
} }
.funnel-sub-header h5 {
font-weight: 500;
font-size: 1rem;
font-family: UrbanistSemibold;
span {
letter-spacing: 0;
}
}
.appointment-type .funnel-sub-header h5 {
font-family: UrbanistRegular;
font-size: 1.25rem;
}
.funnel-sub-header.my-5 h5 {
font-weight: 400;
font-size: 1.25rem;
}
:deep(.funnel-sub-header:not(.mb-5)) { :deep(.funnel-sub-header:not(.mb-5)) {
h5.dark-header { h5.dark-header {
font-weight: 600; font-weight: 600;
@ -1805,7 +1786,7 @@ export default {
.col-12 a { .col-12 a {
font-family: UrbanistSemibold; font-family: UrbanistSemibold;
font-weight: 500; font-weight: 600;
line-height: 26px; line-height: 26px;
text-underline-offset: 4px; text-underline-offset: 4px;
} }
@ -1813,4 +1794,16 @@ export default {
.text-block.duration-text-block b { .text-block.duration-text-block b {
font-family: UrbanistSemibold; font-family: UrbanistSemibold;
} }
:deep(.alert-warning.widget-name-AlertRecalNoMobileWidget .alert-heading),
:deep(.alert-success.widget-name-AlertMobileFeeFreeWidget .alert-heading) {
color: $black;
font-weight: 600;
font-size: 1rem;
* {
color: $black;
font-weight: 600;
font-size: 1rem;
}
}
</style> </style>

View file

@ -138,6 +138,7 @@ div.appointment-type-question div.button-question div.col div.button-content {
padding-right: 0.5rem; padding-right: 0.5rem;
} }
div.appointment-type-question div.button-question div.question-text span { div.appointment-type-question div.button-question div.question-text span {
font-weight: 500; font-weight: 600;
font-family: UrbanistRegular;
} }
</style> </style>