about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorMaciek Baron <thebezet@gmail.com>2019-05-09 21:03:32 +0100
committerThibaut Girka <thib@sitedethib.com>2019-05-10 19:05:57 +0200
commit14d855c42985503b525f1a77d00fada3bd15b96f (patch)
tree0336b5e8fdb0217a2830a1d46695bd6dbae49b26 /app/javascript/flavours
parent78ff7e382103b1489e204d8fc3e02790a7d90b8d (diff)
[Glitch] Improve poll link accessibility
Port 0402c52f28b73824d7c81c702a16d39fd97808cf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/styles/polls.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss
index 315fd5782..50bb45e7c 100644
--- a/app/javascript/flavours/glitch/styles/polls.scss
+++ b/app/javascript/flavours/glitch/styles/polls.scss
@@ -118,11 +118,14 @@
     text-decoration: underline;
     font-size: inherit;
 
-    &:hover,
-    &:focus,
-    &:active {
+    &:hover {
       text-decoration: none;
     }
+
+    &:active,
+    &:focus {
+      background-color: rgba($dark-text-color, .1);
+    }
   }
 
   .button {