CASH-845 UI updates, content and CSS

This commit is contained in:
AdamCaouetteSafelite 2025-07-10 15:45:05 -04:00
parent 7471c537c1
commit bec8b3d873
3 changed files with 17 additions and 9 deletions

View file

@ -2,12 +2,16 @@
<div <div
class="date-picker text-center" class="date-picker text-center"
:class="`${calendarViewDirection} calendar-2025 ${showPricingByDayClass}`"> :class="`${calendarViewDirection} calendar-2025 ${showPricingByDayClass}`">
<textBlock <div class="date-picker-header">
v-show="durationTextBlockCopy" <funnelSubHeader cmsWidgetName="DatePickerSubHeaderWidget" class="mt-5" />
:customText="durationTextBlockCopy" <textBlock
justifyText="center" v-show="durationTextBlockCopy"
typeStyle="small" :customText="durationTextBlockCopy"
class="duration-text-block" /> justifyText="center"
typeStyle="small"
marginTopSizeOverride="0"
class="duration-text-block" />
</div>
<fieldset id="date-picker-fieldset" ref="datePickerFieldset"> <fieldset id="date-picker-fieldset" ref="datePickerFieldset">
<legend class="sr-only">Select a day and time</legend> <legend class="sr-only">Select a day and time</legend>
@ -164,6 +168,7 @@
<script> <script>
import timeSlotQuestion from "@/layouts/schedule/time-slot-question/time-slot-question.vue"; import timeSlotQuestion from "@/layouts/schedule/time-slot-question/time-slot-question.vue";
import textBlock from "@/digital-components/text-block/text-block"; import textBlock from "@/digital-components/text-block/text-block";
import funnelSubHeader from "@/fmg-components/funnel-sub-header/funnel-sub-header";
// Supporting files // Supporting files
import loader from "@/ux-components/loader/loader"; import loader from "@/ux-components/loader/loader";
@ -977,6 +982,7 @@ export default {
ErrorMessage, ErrorMessage,
timeSlotQuestion, timeSlotQuestion,
textBlock, textBlock,
funnelSubHeader,
}, },
}; };
</script> </script>
@ -992,6 +998,10 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.date-picker-header {
margin-bottom: 1.5rem;
}
fieldset { fieldset {
flex-grow: 1; flex-grow: 1;
position: relative; position: relative;

View file

@ -129,7 +129,6 @@
<div class="row justify-content-center date-picker-wrapper"> <div class="row justify-content-center date-picker-wrapper">
<div class="col-md-6 col-xl-4"> <div class="col-md-6 col-xl-4">
<locationAlerts cmsWidgetPrefix="LocationAlert-" ref="locationAlerts" /> <locationAlerts cmsWidgetPrefix="LocationAlert-" ref="locationAlerts" />
<datePicker <datePicker
v-show="appointmentType" v-show="appointmentType"
customComponentId="dateQuestion" customComponentId="dateQuestion"
@ -863,7 +862,6 @@ export default {
appointmentTypeStrings() { appointmentTypeStrings() {
return AppointmentTypeStrings; return AppointmentTypeStrings;
}, },
ChangeShopLinkText() { ChangeShopLinkText() {
return this.getCmsContent("ChangeShopLink", "Text"); return this.getCmsContent("ChangeShopLink", "Text");
}, },

View file

@ -32,6 +32,7 @@
groupName="chooseTimeSlot" groupName="chooseTimeSlot"
textPosition="text-center" textPosition="text-center"
v-model="selectedAnswerForTimeSlots" v-model="selectedAnswerForTimeSlots"
questionText="Available times:"
isRequired isRequired
validationRules="time-slot-required" /> validationRules="time-slot-required" />
<div <div
@ -578,7 +579,6 @@ export default {
<style lang="scss"> <style lang="scss">
.time-slots-question { .time-slots-question {
border-top: 1px solid $gray-500;
margin-top: 1.5rem; margin-top: 1.5rem;
.time-slot-header { .time-slot-header {