Merge pull request #1137 from Safelite/feature/kroell/modal-defects

Modal defects
This commit is contained in:
katiekroell 2026-03-09 15:19:40 -04:00 committed by GitHub
commit 55f0d1299a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 29 additions and 5 deletions

View file

@ -281,8 +281,13 @@ export default {
border-color: $blue;
font-weight: 400;
&:hover {
background-color: #167cac;
background-color: $heritage-blue-secondary;
color: $white;
border-color: $heritage-blue-secondary;
}
&:active,
&:focus {
box-shadow: 0 0 0 3px $white, 0 0 0 5.5px $heritage-blue-secondary;
}
}
}

View file

@ -7,6 +7,7 @@
<img
:src="ModalImage"
class="mw-100 d-flex"
:class="imgClass"
alt="" />
<h5
class="header-text"
@ -59,7 +60,13 @@ export default {
},
ModalCloseButtonText() {
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
}
},
imgClass() {
if (this.cmsWidgetName === 'RainDefenseModal') {
return 'rain-repel';
}
return '';
},
},
methods: {
openModal() {
@ -104,4 +111,7 @@ export default {
}
}
}
.rain-repel {
height: 3.5rem;
}
</style>

View file

@ -74,8 +74,14 @@ export default {
button {
&:hover {
background-color: $white;
color: #167cac;
color: $heritage-blue-secondary;
}
&:focus, &:active {
box-shadow: 0 0 0 3px $white, 0 0 0 5.5px $heritage-blue-secondary;
}
font-weight: 600;
color: $heritage-blue-secondary;
border-color: $heritage-blue-secondary;
}
}
}

View file

@ -81,7 +81,7 @@ export default {
.modal-footer {
justify-content: center;
button {
background-color: #167cac;
background-color: $heritage-blue-secondary;
color: $white;
width: 71%;
}

View file

@ -32,7 +32,7 @@
isRequired>
</buttonQuestion>
<checkBox
v-if="showAcknowledgementCheckbox"
v-if="showAcknowledgementCheckbox"
ref="tpaAcknowledgement"
v-model="acknowledged"
class="mb-2 mt-4"
@ -171,6 +171,9 @@ export default {
background-color: $green;
color: $white;
font-weight: $font-weight-bold;
&:hover {
background-color: $green;
}
}
}
.tpa-recal-question > div:first-of-type {