]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add muted style for polls in web UI
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 12 Mar 2019 21:08:18 +0000 (22:08 +0100)
committerThibaut Girka <thib@sitedethib.com>
Wed, 13 Mar 2019 15:02:36 +0000 (16:02 +0100)
Port 5b50c2cbaa75a07b5f665a0d55cbfd79de67cc63 to glitch-soc

app/javascript/flavours/glitch/styles/polls.scss

index d12e4ebae71e9a0dcd6d9f1dac7cc9521910a156..6030e1e982dae42ea6d0c1a27adb0be4ce6e0e3d 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);
+    }
+  }
+}