web/app.css: add focus ring for select & fix active button focus color

This commit is contained in:
wukko 2025-04-27 21:03:24 +06:00
parent 4de00b6240
commit 44dc9ca9dd
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -245,7 +245,8 @@ button, .button {
}
button:focus-visible,
a:focus-visible {
a:focus-visible,
select:focus-visible {
outline: var(--focus-ring);
outline-offset: var(--focus-ring-offset);
}
@ -301,7 +302,7 @@ button[disabled] {
/* important is used because active class is toggled by state */
/* and added to the end of the list, taking priority */
.active:focus-visible {
color: var(--sidebar-highlight) !important;
color: var(--white);
background-color: var(--blue) !important;
}