[gnome-music/wip/jfelder/playlists-fixes-simple-3.34: 2/2] css: Prevent the text from being invisible on row selection



commit eb1ac7853f4280084a03bdf4bf27fa7a250c5fa1
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Sep 6 16:29:32 2019 +0200

    css: Prevent the text from being invisible on row selection
    
    When right clicking on a SongWidget in the the PlaylistsView to
    display the context menu, the widget state becomes selected and the
    color changes to the same color as the background: it becomes
    invisible.
    
    Fix the issue by forcing the foreground color to be identical in
    unselected and selected states.
    
    (cherry picked from commit f0982b89e0f76c9a26d2de11aa52041ccdcf0b6a)

 data/org.gnome.Music.css | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 72bc50aa..9242fc57 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -129,6 +129,9 @@ https://gitlab.gnome.org/GNOME/gtk/issues/694 */
     background-color: @theme_base_color;
 }
 
+.songs-list > row:selected label {
+    color: @theme_fg_color;
+}
 
 
 .disc-list-box > row {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]