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.
This commit is contained in:
rianadon 2019-06-07 22:18:06 -07:00 committed by GitHub
parent 648eecdd83
commit 460d25ac45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,11 +136,11 @@ label:focus {
min-width: 100px; min-width: 100px;
} }
.custom-spotify { #custom-media.custom-spotify {
background-color: #66cc99; background-color: #66cc99;
} }
.custom-vlc { #custom-media.custom-vlc {
background-color: #ffa000; background-color: #ffa000;
} }