[gnome-music/wip/cdavis/hdywindow-hdyviewswitcher: 9/9] Use libhandy's .content list style
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/cdavis/hdywindow-hdyviewswitcher: 9/9] Use libhandy's .content list style
- Date: Mon, 12 Apr 2021 18:18:25 +0000 (UTC)
commit 3b74163ba573a9958b5f2ff4fc9882587eb5ca05
Author: Christopher Davis <brainblasted disroot org>
Date: Thu Feb 4 22:13:23 2021 -0800
Use libhandy's .content list style
This gives us nice rounded lists like in the latest
mockups.
data/org.gnome.Music.css | 24 ------------------------
data/ui/DiscBox.ui | 2 +-
data/ui/PlaylistsWidget.ui | 2 +-
data/ui/SearchView.ui | 2 +-
4 files changed, 3 insertions(+), 27 deletions(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 980aae0ca..54cb40574 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -129,34 +129,10 @@ list {
background-color: transparent;
}
-/* workaround to avoid a black background issue
-in AlbumWidget and PlaylistsView
-https://gitlab.gnome.org/GNOME/gtk/issues/694 */
-.songs-list > row {
- background-color: @theme_base_color;
-}
-
-.songs-list > row:selected label {
- color: @theme_fg_color;
-}
-
-
.disc-list-box > row {
padding: 0px;
}
-.songs-list {
- border: 1px solid rgba(0, 0, 0, 0.1);
-}
-
-.songs-list > row {
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
-}
-
-.songs-list > row:last-child {
- border-bottom: none;
-}
-
.playlistdialog-row:selected {
color: @theme_fg_color;
background-color: @theme_insensitive_bg_color;
diff --git a/data/ui/DiscBox.ui b/data/ui/DiscBox.ui
index d75b72f92..dd60cfb07 100644
--- a/data/ui/DiscBox.ui
+++ b/data/ui/DiscBox.ui
@@ -31,7 +31,7 @@
<property name="valign">start</property>
<property name="selection_mode">none</property>
<style>
- <class name="songs-list"/>
+ <class name="content"/>
</style>
</object>
</child>
diff --git a/data/ui/PlaylistsWidget.ui b/data/ui/PlaylistsWidget.ui
index cbfb68d97..cb192d677 100644
--- a/data/ui/PlaylistsWidget.ui
+++ b/data/ui/PlaylistsWidget.ui
@@ -21,7 +21,7 @@
<property name="valign">start</property>
<property name="visible">True</property>
<style>
- <class name="songs-list"/>
+ <class name="content"/>
</style>
</object>
</child>
diff --git a/data/ui/SearchView.ui b/data/ui/SearchView.ui
index 035b7aed5..732fc380c 100644
--- a/data/ui/SearchView.ui
+++ b/data/ui/SearchView.ui
@@ -160,7 +160,7 @@
<property name="margin-top">20</property>
<property name="visible">True</property>
<style>
- <class name="songs-list"/>
+ <class name="content"/>
</style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]