]> cat aescling's git repositories - mastodon.git/commitdiff
Add muted style for polls in web UI (#10248)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 12 Mar 2019 21:08:18 +0000 (22:08 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2019 21:08:18 +0000 (22:08 +0100)
app/javascript/styles/mastodon/polls.scss

index 4f8c94d8391f9c946b3c54a826bfea9f2ae6e178..d8bc5473a79c00d426bf6cdfb4a27822f9abb1fb 100644 (file)
     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);
+    }
+  }
+}