diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-12 22:08:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-12 22:08:18 +0100 |
commit | 5b50c2cbaa75a07b5f665a0d55cbfd79de67cc63 (patch) | |
tree | 3ae14677263751a5b885924d2deec925a4504a80 | |
parent | da45b8b4c9bf00495bb967dda38064ac74b85ead (diff) |
Add muted style for polls in web UI (#10248)
-rw-r--r-- | app/javascript/styles/mastodon/polls.scss | 12 |
1 files changed, 12 insertions, 0 deletions
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); + } + } +} |