Skip to content

Commit

Permalink
Add muted style for polls in web UI (mastodon#10248)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored Mar 12, 2019
1 parent 3a3b4f9 commit f02718b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/javascript/styles/mastodon/polls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit f02718b

Please sign in to comment.