1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 23:09:12 +09:00

Improve poll link accessibility (#10720)

* Add distinction between hover and active/focus states
* Resolves #10198
This commit is contained in:
Maciek Baron 2019-05-09 21:03:32 +01:00 committed by Eugen Rochko
parent 03801fcaa5
commit 0402c52f28

View File

@ -114,11 +114,14 @@
text-decoration: underline; text-decoration: underline;
font-size: inherit; font-size: inherit;
&:hover, &:hover {
&:focus,
&:active {
text-decoration: none; text-decoration: none;
} }
&:active,
&:focus {
background-color: rgba($dark-text-color, .1);
}
} }
.button { .button {