0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 06:18:39 +01:00
gitea/web_src/css/modules
Giteabot f6f2349f8c
Add :focus-visible style to buttons (#31799) (#31819)
Backport #31799 by @silverwind

Buttons now show a focus style via
[`:focus-visible`](https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible)
when the browser deems the focus to be important, like for example when
the button is focused via keyboard navigation.

<img width="492" alt="Screenshot 2024-08-07 at 22 12 51"
src="https://github.com/user-attachments/assets/060568b1-1599-4c56-bafb-b36ebb1bec35">
<img width="479" alt="image"
src="https://github.com/user-attachments/assets/885f4e10-f496-47f0-8ae5-45827ded09f8">

Co-authored-by: silverwind <me@silverwind.io>
2024-08-12 12:41:13 +08:00
..
animations.css
breadcrumb.css
button.css Add :focus-visible style to buttons (#31799) (#31819) 2024-08-12 12:41:13 +08:00
card.css
checkbox.css
comment.css
container.css
divider.css
flexcontainer.css
grid.css
header.css
input.css
label.css
list.css
menu.css
message.css
modal.css
navbar.css
normalize.css
segment.css
select.css
svg.css
table.css
tippy.css
toast.css