Merge pull request #293 from Safelite/feature/CSR-262

Feature/csr 262
This commit is contained in:
bmauger 2022-03-21 16:13:28 -04:00 committed by GitHub
commit 70d69d8057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 8 deletions

View file

@ -1,15 +1,18 @@
.has-error {
&.list-button,
&.list-card {
border: 1px solid $gray-500;
border: 1px solid $red;
color: $red;
label {
box-shadow: 0 0 1px $red;
border-radius: .5rem;
}
input[type=checkbox]:focus + label,
input[type=radio]:focus + label {
box-shadow: 0 0 0 2.5px $red;
}
}
input[type=checkbox]:focus + label,
input[type=radio]:focus + label,
input[type=checkbox]:checked + label,
input[type=radio]:checked + label {
box-shadow: 0 0 0 2.5px transparent !important;
@ -19,6 +22,10 @@
label {
border: 1px solid $red;
}
input[type=checkbox]:focus + label,
input[type=radio]:focus + label {
box-shadow: 0 0 0 2.5px $red;
}
}
&.ui-radio,
&.ui-checkbox {

View file

@ -209,17 +209,23 @@ export default {
}
}
&:focus + label {
box-shadow: 0 0 0 2.5px $blue;
border-radius: 0.5rem;
}
&:checked + label {
background: $blue-100;
box-shadow: 0 0 0 1px $blue;
border-radius: 0.5rem;
}
&:focus + label {
box-shadow: 0 0 0 2.5px $blue;
border-radius: 0.5rem;
}
&:checked {
&:focus + label {
box-shadow: 0 0 0 2.5px $blue;
}
}
&:checked + label {
p {
color: $black;