Skip to content

Commit

Permalink
Style polls
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed May 30, 2024
1 parent 9f5a9cd commit ce62dd0
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions scss/main/_chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,38 @@
.appMount_c99875 .container__6b2e5 {
background: $background-color;
}

// Poll
.pollContainer_cfb8c7 {
@include bd.border(thin);
background: $background-color;

// Answer
@at-root .answer__07489 {
// Default
&.normalStylesDefault__1c2f5 {
--custom-poll-style-vote-percentage: #{$embed-color};
--custom-poll-style-border: #{$embed-color};
}

// Voted
&.votedStyles__57019,
// Winner
&.victorStyles_ad1336 {
--custom-poll-style-vote-percentage: #{$accent-color};
--custom-poll-style-border: #{$accent-color};
path {
fill: $accent-color;
}
}

.answerInner_b97752 {
@include bd.border(thin);
background: transparent;

&.currentlyVoting__54b47.selected__93ede {
--control-brand-foreground: #{$accent-color};
}
}
}
}

0 comments on commit ce62dd0

Please sign in to comment.