From 387f253f3100317ae247928aa9168f431879ecb6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 12 Mar 2019 22:08:18 +0100 Subject: [PATCH] [Glitch] Add muted style for polls in web UI Port 5b50c2cbaa75a07b5f665a0d55cbfd79de67cc63 to glitch-soc --- app/javascript/flavours/glitch/styles/polls.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss index d12e4ebae7..6030e1e982 100644 --- a/app/javascript/flavours/glitch/styles/polls.scss +++ b/app/javascript/flavours/glitch/styles/polls.scss @@ -191,3 +191,15 @@ color: darken($simple-background-color, 14%); } } + +.muted .poll { + color: $dark-text-color; + + &__chart { + background: rgba(darken($ui-primary-color, 14%), 0.2); + + &.leading { + background: rgba($ui-highlight-color, 0.2); + } + } +}