Merge pull request #1137 from Safelite/feature/kroell/modal-defects
Modal defects
This commit is contained in:
commit
55f0d1299a
5 changed files with 29 additions and 5 deletions
|
|
@ -281,8 +281,13 @@ export default {
|
||||||
border-color: $blue;
|
border-color: $blue;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #167cac;
|
background-color: $heritage-blue-secondary;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
border-color: $heritage-blue-secondary;
|
||||||
|
}
|
||||||
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
box-shadow: 0 0 0 3px $white, 0 0 0 5.5px $heritage-blue-secondary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
<img
|
<img
|
||||||
:src="ModalImage"
|
:src="ModalImage"
|
||||||
class="mw-100 d-flex"
|
class="mw-100 d-flex"
|
||||||
|
:class="imgClass"
|
||||||
alt="" />
|
alt="" />
|
||||||
<h5
|
<h5
|
||||||
class="header-text"
|
class="header-text"
|
||||||
|
|
@ -59,7 +60,13 @@ export default {
|
||||||
},
|
},
|
||||||
ModalCloseButtonText() {
|
ModalCloseButtonText() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
|
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
|
||||||
}
|
},
|
||||||
|
imgClass() {
|
||||||
|
if (this.cmsWidgetName === 'RainDefenseModal') {
|
||||||
|
return 'rain-repel';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openModal() {
|
openModal() {
|
||||||
|
|
@ -104,4 +111,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.rain-repel {
|
||||||
|
height: 3.5rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,14 @@ export default {
|
||||||
button {
|
button {
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $white;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ export default {
|
||||||
.modal-footer {
|
.modal-footer {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
button {
|
button {
|
||||||
background-color: #167cac;
|
background-color: $heritage-blue-secondary;
|
||||||
color: $white;
|
color: $white;
|
||||||
width: 71%;
|
width: 71%;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
isRequired>
|
isRequired>
|
||||||
</buttonQuestion>
|
</buttonQuestion>
|
||||||
<checkBox
|
<checkBox
|
||||||
v-if="showAcknowledgementCheckbox"
|
v-if="showAcknowledgementCheckbox"
|
||||||
ref="tpaAcknowledgement"
|
ref="tpaAcknowledgement"
|
||||||
v-model="acknowledged"
|
v-model="acknowledged"
|
||||||
class="mb-2 mt-4"
|
class="mb-2 mt-4"
|
||||||
|
|
@ -171,6 +171,9 @@ export default {
|
||||||
background-color: $green;
|
background-color: $green;
|
||||||
color: $white;
|
color: $white;
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
|
&:hover {
|
||||||
|
background-color: $green;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tpa-recal-question > div:first-of-type {
|
.tpa-recal-question > div:first-of-type {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue