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 and hiyuki2578 committed Oct 2, 2019
1 parent b8e27ee commit e068f0e
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 e068f0e

Please sign in to comment.