diff options
author | ThibG <thib@sitedethib.com> | 2019-12-03 19:53:16 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-12-07 15:48:26 +0100 |
commit | c6ba870f005e0393da6ba8de00246501623d52e7 (patch) | |
tree | 56cbe4d99ef80aaf1866c8346451285c847ec124 /app/javascript/flavours/glitch/styles | |
parent | 1e1293e3c841e156413434078d403ceecc4f70c4 (diff) |
[Glitch] Fix poll options not being selectable via keyboard
Port c05ed8a6254bc82fda3ae0fd3934dc2cdcf7c82d to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r-- | app/javascript/flavours/glitch/styles/polls.scss | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss index 95d8e510c..b43da1e28 100644 --- a/app/javascript/flavours/glitch/styles/polls.scss +++ b/app/javascript/flavours/glitch/styles/polls.scss @@ -98,6 +98,23 @@ border-color: $valid-value-color; background: $valid-value-color; } + + &:active, + &:focus, + &:hover { + border-width: 4px; + background: none; + } + + &::-moz-focus-inner { + outline: 0 !important; + border: 0; + } + + &:focus, + &:active { + outline: 0 !important; + } } &__number { |