[gnome-music/wip/cdavis/hdywindow-hdyviewswitcher: 29/29] Use libhandy's .content list style
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/cdavis/hdywindow-hdyviewswitcher: 29/29] Use libhandy's .content list style
- Date: Tue, 23 Mar 2021 21:19:55 +0000 (UTC)
commit d356e6f4a164b26d1b23ca101bd19e303f8bac7e
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 cfb32403e..d68025820 100644
--- a/data/ui/DiscBox.ui
+++ b/data/ui/DiscBox.ui
@@ -34,7 +34,7 @@
<property name="valign">start</property>
<property name="selection_mode">none</property>
<style>
- <class name="songs-list"/>
+ <class name="content"/>
</style>
</object>
<packing>
diff --git a/data/ui/PlaylistsWidget.ui b/data/ui/PlaylistsWidget.ui
index fbc7882b4..0d0af7061 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 944fa4201..067549797 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]