From 460d25ac45b6fc1b1a3557c6d603445ffa13b78e Mon Sep 17 00:00:00 2001 From: rianadon Date: Fri, 7 Jun 2019 22:18:06 -0700 Subject: [PATCH] Increase specificity of media stylings Because of CSS specificity rules, the `#custom-media` style will always override the `custom-spotify` and `custom-vlc` styles, so the background of the media element is always green rather than sometimes orange when VLC is running. I added `#custom-media` in front of each of the class selectors to increase their specificity so they take precedence. --- resources/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/style.css b/resources/style.css index ed4a7070..fe03bcaf 100644 --- a/resources/style.css +++ b/resources/style.css @@ -136,11 +136,11 @@ label:focus { min-width: 100px; } -.custom-spotify { +#custom-media.custom-spotify { background-color: #66cc99; } -.custom-vlc { +#custom-media.custom-vlc { background-color: #ffa000; }