Update error styles.
This commit is contained in:
parent
ccf6d59481
commit
87c86f8bde
1 changed files with 13 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ html {
|
||||||
&.list-button,
|
&.list-button,
|
||||||
&.list-card,
|
&.list-card,
|
||||||
&.list-card.list-button {
|
&.list-card.list-button {
|
||||||
|
border: none;
|
||||||
color: $red;
|
color: $red;
|
||||||
input[type=checkbox]:focus + label,
|
input[type=checkbox]:focus + label,
|
||||||
input[type=radio]:focus + label {
|
input[type=radio]:focus + label {
|
||||||
|
|
@ -13,10 +14,11 @@ html {
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0px 0px 0px 4px $red-200;
|
box-shadow: 0px 0px 0px 4px $red-200;
|
||||||
border-radius: 10px;
|
border-radius: .5rem;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
border: 1px solid $red;
|
border: 1px solid $red;
|
||||||
|
border-radius: .5rem;
|
||||||
}
|
}
|
||||||
label:hover {
|
label:hover {
|
||||||
box-shadow: 0px 0px 0px 4px $red-200;
|
box-shadow: 0px 0px 0px 4px $red-200;
|
||||||
|
|
@ -51,12 +53,21 @@ html {
|
||||||
}
|
}
|
||||||
&.textbox-question,
|
&.textbox-question,
|
||||||
&.dropdown-question {
|
&.dropdown-question {
|
||||||
|
input:hover {
|
||||||
|
box-shadow: 0px 0px 0px 4px $red-200;
|
||||||
|
border-radius: .5rem;
|
||||||
|
border: 1px solid $red;
|
||||||
|
}
|
||||||
|
input:focus {
|
||||||
|
box-shadow: 0 0 0 2.5px $red;
|
||||||
|
}
|
||||||
p {
|
p {
|
||||||
color: $red;
|
color: $red;
|
||||||
}
|
}
|
||||||
input,
|
input,
|
||||||
select {
|
select {
|
||||||
border: 1px solid $red;
|
border: 1px solid transparent;
|
||||||
|
box-shadow: 0 0 0 1px $red;
|
||||||
&:focus {
|
&:focus {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue