[gnome-music/wip/mschraal/disclistbox-remove-custom-style] artistalbumswidget: Drop old CSS



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

    artistalbumswidget: Drop old CSS
    
    With the recent redesign the CSS is no longer relevant.

 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]