about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-07-17 07:07:18 +0200
committerGitHub <noreply@github.com>2020-07-17 07:07:18 +0200
commit85bc0f9639c9c1ecccfa6963929b6c405fb8452c (patch)
treefc023e6799a6c57b781d8afc4a50972d820fbdcf
parentd668fd8b83fdbb38291927762722d47306788ab1 (diff)
Fix audio player controls color in mastodon-light theme (#14338)
Fixes #14337

The new audio player sets the background and foreground colors automatically
based on the thumbnail of the audio file, but the mastodon-light theme
overrides the controls' colors with a hardcoded color, which sometimes make
them unreadable.
-rw-r--r--app/javascript/styles/mastodon-light/diff.scss7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/javascript/styles/mastodon-light/diff.scss b/app/javascript/styles/mastodon-light/diff.scss
index 7a846bcc6..8c8d69fc4 100644
--- a/app/javascript/styles/mastodon-light/diff.scss
+++ b/app/javascript/styles/mastodon-light/diff.scss
@@ -767,10 +767,3 @@ html {
 .compose-form .compose-form__warning {
   box-shadow: none;
 }
-
-.audio-player .video-player__controls button,
-.audio-player .video-player__time-sep,
-.audio-player .video-player__time-current,
-.audio-player .video-player__time-total {
-  color: $primary-text-color;
-}