Skip to content

Commit

Permalink
Fix checkboxes not having focus states
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Nov 20, 2021
1 parent 49a71d3 commit 9980716
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions war/src/main/less/modules/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,12 @@
clip: rect(0 0 0 0);
clip-path: inset(50%);

&:focus + label:before, &:active + label:before {
border-width: 5px;
border-color: var(--focus-input-border);
box-shadow: var(--form-input-glow--focus);
}

&:checked + label:before {
border: 11px solid var(--focus-input-border);
}
Expand Down

0 comments on commit 9980716

Please sign in to comment.