commit
70d69d8057
2 changed files with 21 additions and 8 deletions
|
|
@ -1,15 +1,18 @@
|
||||||
.has-error {
|
.has-error {
|
||||||
&.list-button,
|
&.list-button,
|
||||||
&.list-card {
|
&.list-card {
|
||||||
border: 1px solid $gray-500;
|
border: 1px solid $red;
|
||||||
color: $red;
|
color: $red;
|
||||||
label {
|
label {
|
||||||
box-shadow: 0 0 1px $red;
|
box-shadow: 0 0 1px $red;
|
||||||
border-radius: .5rem;
|
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=checkbox]:checked + label,
|
||||||
input[type=radio]:checked + label {
|
input[type=radio]:checked + label {
|
||||||
box-shadow: 0 0 0 2.5px transparent !important;
|
box-shadow: 0 0 0 2.5px transparent !important;
|
||||||
|
|
@ -19,6 +22,10 @@
|
||||||
label {
|
label {
|
||||||
border: 1px solid $red;
|
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-radio,
|
||||||
&.ui-checkbox {
|
&.ui-checkbox {
|
||||||
|
|
|
||||||
|
|
@ -209,17 +209,23 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus + label {
|
|
||||||
box-shadow: 0 0 0 2.5px $blue;
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:checked + label {
|
&:checked + label {
|
||||||
background: $blue-100;
|
background: $blue-100;
|
||||||
box-shadow: 0 0 0 1px $blue;
|
box-shadow: 0 0 0 1px $blue;
|
||||||
border-radius: 0.5rem;
|
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 {
|
&:checked + label {
|
||||||
p {
|
p {
|
||||||
color: $black;
|
color: $black;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue