From db2217fdaa20e509273537f8193ad640cbe72c1c Mon Sep 17 00:00:00 2001 From: DokterKaj <54882101+DokterKaj@users.noreply.github.com> Date: Wed, 21 Aug 2024 22:57:27 +0800 Subject: [PATCH] Fix: Theme audio/video controls in search results (#320) --- src/components/_chat.scss | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/_chat.scss b/src/components/_chat.scss index 298f092c6..9b5e6f5a4 100644 --- a/src/components/_chat.scss +++ b/src/components/_chat.scss @@ -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"] { @@ -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;