Change the border color of checkbox and radio when focus

This provides a visual hint that the element has the focus.

Closes #14043
(grafted from 3899ec3c773815dd78935e9c3471a7c54310d0af)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier
2025-05-28 18:05:16 +02:00
parent 1412d80a4c
commit daaf930fe5
+6 -2
View File
@@ -234,6 +234,10 @@ input[type="radio"],
outline: none;
}
&:focus:after {
border-color: @brand-info !important;
}
&:before,
&:after {
content: "";
@@ -297,8 +301,8 @@ input[type="checkbox"],
outline: none;
}
&:focus:before {
border-color: @brand-primary;
&:focus:after {
border-color: @brand-info !important;
}
&:before {