1
0
Fork 1
forked from fedi/mastodon

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 {