Skip to content

Commit

Permalink
add styles for invalid inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Feb 9, 2024
1 parent c6afd31 commit 1d76e96
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/themes/css/uix.css
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,16 @@
input[type="radio"] {
border-radius: 100%;
}

input:invalid:focus {
outline: 2px solid var(--red);
outline-offset: -2px;
}

input:invalid {
border-color: transparent;
/* border-color: var(--red); */
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
Expand Down

0 comments on commit 1d76e96

Please sign in to comment.