Merge pull request #206 from Safelite/CSR-241-qa-updates

CSR-241 QA color updates.
This commit is contained in:
bmauger 2022-02-09 15:00:56 -05:00 committed by GitHub
commit 4b9611bc3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 32 deletions

View file

@ -674,19 +674,6 @@
/> />
</div> </div>
</div> </div>
<div class="row my-4">
<div class="col">
<h4 class="m-0 p-2 bg-light rounded">Links</h4>
</div>
</div>
<div class="row">
<div class="col my-3">
<textLink navigation="true" text="Navigation Link" /><br /><br />
<textLink text="Default Link" /><br /><br />
<textLink textSmall="true" text="Small Link" /><br /><br />
<textLink footer="true" text="Footer Link" href="https://google.com" />
</div>
</div>
<div class="row my-4"> <div class="row my-4">
<div class="col"> <div class="col">
<h4 class="m-0 p-2 bg-light rounded">Typography</h4> <h4 class="m-0 p-2 bg-light rounded">Typography</h4>
@ -926,16 +913,6 @@
/> />
</div> </div>
</div> </div>
<div class="row my-4">
<div class="col">
<h4 class="m-0 p-2 bg-light rounded">Funnel Footer</h4>
</div>
</div>
<div class="row my-2">
<div class="col">
<funnelFooter/>
</div>
</div>
</div> </div>
</template> </template>
@ -950,7 +927,6 @@ import funnelHeader from "@/common-components/funnel-header/funnel-header";
import listButtonHorizontal from "@/ux-components/list-button-horizontal/list-button-horizontal"; import listButtonHorizontal from "@/ux-components/list-button-horizontal/list-button-horizontal";
import checkbox from "@/ux-components/checkbox/checkbox"; import checkbox from "@/ux-components/checkbox/checkbox";
import textLink from "@/ux-components/text-link/text-link"; import textLink from "@/ux-components/text-link/text-link";
import funnelFooter from "@/common-components/funnel-footer/funnel-footer";
export default { export default {
name: "App", name: "App",
components: { components: {
@ -963,8 +939,7 @@ export default {
listButtonHorizontal, listButtonHorizontal,
checkbox, checkbox,
funnelHeader, funnelHeader,
textLink, textLink
funnelFooter
}, },
data() { data() {
return { return {

View file

@ -153,7 +153,7 @@ export default {
width: 100%; width: 100%;
color: $gray-600; color: $gray-600;
&:hover { &:hover {
box-shadow: 0 0 0 4px $blue-100; box-shadow: 0 0 0 4px $blue-300;
cursor: pointer; cursor: pointer;
z-index: 2; z-index: 2;
} }

View file

@ -133,7 +133,7 @@ export default {
position: static; //override bootstrap position: static; //override bootstrap
height: 0; height: 0;
opacity: 0; opacity: 0;
&:focus-visible + label { &:focus-visible + label {
box-shadow: 0 0 0 2.5px $blue inset; box-shadow: 0 0 0 2.5px $blue inset;
} }
@ -162,7 +162,7 @@ export default {
&:hover { &:hover {
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
box-shadow: 0 0 0 4px $blue-100; box-shadow: 0 0 0 4px $blue-300;
} }
cursor: pointer; cursor: pointer;
} }

View file

@ -32,12 +32,12 @@
> >
{{buttonLabel}} {{buttonLabel}}
</p> </p>
<p v-if="buttonLabelSubCopy && !isWide" class="fs-7 m-0 order-4"> <p v-if="buttonLabelSubCopy && !isWide" class="fs-7 m-0 order-4 sub-copy">
{{buttonLabelSubCopy}} {{buttonLabelSubCopy}}
</p> </p>
<div v-if="isWide" class="order-2"> <div v-if="isWide" class="order-2">
<p class="m-0 small">{{ buttonLabel }}</p> <p class="m-0 small">{{ buttonLabel }}</p>
<p v-if="buttonLabelSubCopy" class="m-0 fs-7"> <p v-if="buttonLabelSubCopy" class="m-0 fs-7 sub-copy">
{{ buttonLabelSubCopy }} {{ buttonLabelSubCopy }}
</p> </p>
</div> </div>
@ -134,7 +134,7 @@ export default {
max-width: 100%; max-width: 100%;
} }
&:hover { &:hover {
box-shadow: 0px 0px 0px 6px $blue-100; box-shadow: 0px 0px 0px 4px $blue-300;
border: 1px solid transparent; border: 1px solid transparent;
} }
input[type="checkbox"], input[type="checkbox"],
@ -150,6 +150,9 @@ export default {
} }
p { p {
text-align: center; text-align: center;
&.sub-copy {
color: $gray-550;
}
} }
} }
&:focus + label { &:focus + label {
@ -237,6 +240,9 @@ export default {
} }
p { p {
text-align: left; text-align: left;
&.sub-copy {
color: $gray-550;
}
} }
} }
} }