]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Improve poll link accessibility
authorMaciek Baron <thebezet@gmail.com>
Thu, 9 May 2019 20:03:32 +0000 (21:03 +0100)
committerThibaut Girka <thib@sitedethib.com>
Fri, 10 May 2019 17:05:57 +0000 (19:05 +0200)
Port 0402c52f28b73824d7c81c702a16d39fd97808cf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/polls.scss

index 315fd5782fa0c3e4e18e7db5e5444a5e4e1d2c7d..50bb45e7c5fca3af806ca56eea8a6d152fa06618 100644 (file)
     text-decoration: underline;
     font-size: inherit;
 
-    &:hover,
-    &:focus,
-    &:active {
+    &:hover {
       text-decoration: none;
     }
+
+    &:active,
+    &:focus {
+      background-color: rgba($dark-text-color, .1);
+    }
   }
 
   .button {