From: Eugen Rochko Date: Tue, 12 Mar 2019 21:08:18 +0000 (+0100) Subject: Add muted style for polls in web UI (#10248) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=5b50c2cbaa75a07b5f665a0d55cbfd79de67cc63;p=mastodon.git Add muted style for polls in web UI (#10248) --- diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss index 4f8c94d83..d8bc5473a 100644 --- a/app/javascript/styles/mastodon/polls.scss +++ b/app/javascript/styles/mastodon/polls.scss @@ -190,3 +190,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); + } + } +}