diff options
author | Maciek Baron <thebezet@gmail.com> | 2019-05-09 21:03:32 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-05-09 22:03:32 +0200 |
commit | 0402c52f28b73824d7c81c702a16d39fd97808cf (patch) | |
tree | 9985a1663dd7e0ab75da642023f3d89a1d98ec40 /app | |
parent | 03801fcaa5f93e0c9da1a70caf596f66a632f335 (diff) |
Improve poll link accessibility (#10720)
* Add distinction between hover and active/focus states * Resolves #10198
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/styles/mastodon/polls.scss | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss index d8bc5473a..37c454a78 100644 --- a/app/javascript/styles/mastodon/polls.scss +++ b/app/javascript/styles/mastodon/polls.scss @@ -114,11 +114,14 @@ text-decoration: underline; font-size: inherit; - &:hover, - &:focus, - &:active { + &:hover { text-decoration: none; } + + &:active, + &:focus { + background-color: rgba($dark-text-color, .1); + } } .button { |