[gnome-music/wip/mschraal/disclistbox-remove-custom-style: 1/2] artistalbumswidget: Drop unused css




commit b2beb76c6fa64f169ac2f83486f5774ac5e91ddf
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Aug 22 01:37:47 2021 +0200

    artistalbumswidget: Drop unused css
    
    Follow-up of 8ee335a6c9.

 data/org.gnome.Music.css                 | 15 ---------------
 gnomemusic/widgets/artistalbumswidget.py |  1 -
 2 files changed, 16 deletions(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index ac2691df4..35b274160 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -28,11 +28,6 @@
     padding: 12px 0;
 }
 
-/* ArtistAlbumsWidget */
-box#ArtistAlbumsWidget .artist-label {
-    font-weight: bold;
-}
-
 /* NoMusic */
 .no-music-found-label {
     font-size: xx-large;
@@ -72,16 +67,6 @@ box#ArtistAlbumsWidget .artist-label {
   font-size: x-large;
 }
 
-.artist-albums-widget,
-.artist-albums-widget:hover {
-    background-color: @theme_bg_color;
-}
-
-.artist-albums-widget > row:hover {
-    background-color: rgba(0, 0, 0, 0.0);
-    box-shadow: none;
-}
-
 .album-title {
     font-size: large;
     font-weight: bold;
diff --git a/gnomemusic/widgets/artistalbumswidget.py b/gnomemusic/widgets/artistalbumswidget.py
index c65dafa9e..169703fe2 100644
--- a/gnomemusic/widgets/artistalbumswidget.py
+++ b/gnomemusic/widgets/artistalbumswidget.py
@@ -54,7 +54,6 @@ class ArtistAlbumsWidget(Gtk.ListBox):
 
         self.bind_model(self._model, self._add_album)
 
-        self.get_style_context().add_class("artist-albums-widget")
         self.props.visible = True
 
     def _add_album(self, corealbum):


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