about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon/polls.scss
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-12 22:08:18 +0100
committerGitHub <noreply@github.com>2019-03-12 22:08:18 +0100
commit5b50c2cbaa75a07b5f665a0d55cbfd79de67cc63 (patch)
tree3ae14677263751a5b885924d2deec925a4504a80 /app/javascript/styles/mastodon/polls.scss
parentda45b8b4c9bf00495bb967dda38064ac74b85ead (diff)
Add muted style for polls in web UI (#10248)
Diffstat (limited to 'app/javascript/styles/mastodon/polls.scss')
-rw-r--r--app/javascript/styles/mastodon/polls.scss12
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);
+    }
+  }
+}