Merge pull request #257 from Safelite/CSR-365-style-updates

Style updates to match Figma.
This commit is contained in:
bmauger 2022-02-28 09:08:28 -05:00 committed by GitHub
commit 8ecb74dfa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -26,6 +26,9 @@ export default {
<style lang="scss"> <style lang="scss">
.dropdown-question { .dropdown-question {
label {
color: $black;
}
.form-label { .form-label {
margin-bottom: .25rem; margin-bottom: .25rem;
} }
@ -37,7 +40,7 @@ export default {
min-height: 3rem; min-height: 3rem;
&:focus, &:focus,
&:focus-visible { &:focus-visible {
box-shadow: 0 0 0 2px $blue; box-shadow: 0 0 0 2.5px $blue;
} }
&:disabled, &:disabled,
&.disabled { &.disabled {
@ -49,7 +52,7 @@ export default {
} }
} }
&:hover { &:hover {
border: 1px solid transparent; border: 1px solid $gray-500;
box-shadow: 0 0 0 4px $blue-300; box-shadow: 0 0 0 4px $blue-300;
} }
} }

View file

@ -28,6 +28,9 @@ export default {
<style lang="scss"> <style lang="scss">
.textbox-question { .textbox-question {
label {
color: $black;
}
input { input {
&.has-icon { &.has-icon {
background-image: url(~@/assets/img/icons/location-pin.svg); background-image: url(~@/assets/img/icons/location-pin.svg);
@ -52,7 +55,7 @@ export default {
color: $gray-500; color: $gray-500;
} }
&:focus { &:focus {
box-shadow: 0 0 0 2px $blue; box-shadow: 0 0 0 2.5px $blue;
} }
&:disabled, &:disabled,
&.disabled { &.disabled {
@ -63,7 +66,7 @@ export default {
} }
} }
&:hover { &:hover {
border: 1px solid transparent; border: 1px solid $gray-500;
box-shadow: 0 0 0 4px $blue-300; box-shadow: 0 0 0 4px $blue-300;
} }
} }