Commit 6371a869 authored by Jean Felder's avatar Jean Felder Committed by Marinus Schraal

artistalbumswidget: Fix background-color

Do not change color on hover.
parent ea702d09
......@@ -52,6 +52,16 @@ box#ArtistAlbumsWidget .artist-label {
}
/* ArtistAlbumWidget */
.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;
......
......@@ -75,6 +75,7 @@ class ArtistAlbumsWidget(Gtk.ListBox):
"items-changed", self. _on_model_items_changed)
self.bind_model(self._model, self._add_album)
self.get_style_context().add_class("artist-albums-widget")
self.show_all()
def _song_activated(self, widget, song_widget):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment