Skip to content

Commit

Permalink
Fix: Theme audio/video controls in search results (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
DokterKaj authored Aug 21, 2024
1 parent 8460ceb commit db2217f
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/components/_chat.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
[class^="chatContent"] {
div[class*="wrapperAudio_"],
div[class*="imageWrapper_"] {
div[class*="audioControls"],
div[class*="videoControls_"] {
background-color: #{adjust-color($crust, $alpha: -0.2)};

svg[class*="controlIcon_"] {
opacity: 1;
color: $subtext1;
}

div[class*="mediaBarInteractionVolume"] {
background-color: #{adjust-color($crust, $alpha: -0.2)};
}
}
}

// new message ruler
#---new-messages-bar {
span[class^="unreadPill"] {
Expand Down Expand Up @@ -126,6 +109,23 @@
}
}

div[class*="wrapperAudio_"],
div[class*="imageWrapper_"] {
div[class*="audioControls"],
div[class*="videoControls_"] {
background-color: #{adjust-color($crust, $alpha: -0.2)};

svg[class*="controlIcon_"] {
opacity: 1;
color: $subtext1;
}

div[class*="mediaBarInteractionVolume"] {
background-color: #{adjust-color($crust, $alpha: -0.2)};
}
}
}

// arrow when someone joins
div[style*="d1382af8d9e755bc44811b1fd92990a8.svg"] {
background-image: url("data:image/svg+xml,%3Csvg height='18' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m18 0h-18v18h18z'/%3E%3Cpath d='m0 8h14.2l-3.6-3.6 1.4-1.4 6 6-6 6-1.4-1.4 3.6-3.6h-14.2' fill='%23#{str-slice(inspect($green), 2)}'/%3E%3C/g%3E%3C/svg%3E") !important;
Expand Down

0 comments on commit db2217f

Please sign in to comment.