diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-12 22:08:18 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-13 16:02:36 +0100 |
commit | 387f253f3100317ae247928aa9168f431879ecb6 (patch) | |
tree | 8d0b0e635bf12a56ae99278ab206684da2a9aad1 /app/javascript | |
parent | 458db4333a859511c4b2d3c895811b253309577b (diff) |
[Glitch] Add muted style for polls in web UI
Port 5b50c2cbaa75a07b5f665a0d55cbfd79de67cc63 to glitch-soc
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/styles/polls.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss index d12e4ebae..6030e1e98 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); + } + } +} |