Browse Source

Improve poll link accessibility (#10720)

* Add distinction between hover and active/focus states
* Resolves #10198
feature_machine_registration_task
Maciek Baron Eugen Rochko 1 year ago
parent
commit
c407a4edf8
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      app/javascript/styles/mastodon/polls.scss

+ 6
- 3
app/javascript/styles/mastodon/polls.scss View File

@@ -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 {


Loading…
Cancel
Save