[gnome-music/wip/mschraal/view-styling-fixes: 3/7] Drop unneeded view CSS styling
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/view-styling-fixes: 3/7] Drop unneeded view CSS styling
- Date: Sat, 14 Aug 2021 13:05:13 +0000 (UTC)
commit 04ed4557a8b4013022c17e01f85cdad767ac6df7
Author: Marinus Schraal <mschraal gnome org>
Date: Tue May 11 17:03:49 2021 +0200
Drop unneeded view CSS styling
Music used a homegrown content-view CSS style at places, which caused
inconsistencies between views. In addition the regular view style seems
to clash with mockups.
Drop all custom and unneeded styling.
data/org.gnome.Music.css | 2 --
data/ui/AlbumsView.ui | 6 ------
data/ui/SearchView.ui | 12 ------------
3 files changed, 20 deletions(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 18c01ddaf..f304363b3 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -110,8 +110,6 @@ box#ArtistAlbumsWidget .artist-label {
transition: 100ms linear;
}
-.content-view { background-color: @theme_bg; }
-
.grey-image {
color: alpha(@theme_fg_color, 0.3);
}
diff --git a/data/ui/AlbumsView.ui b/data/ui/AlbumsView.ui
index abd686fa7..73791cd67 100644
--- a/data/ui/AlbumsView.ui
+++ b/data/ui/AlbumsView.ui
@@ -23,9 +23,6 @@
<property name="valign">start</property>
<property name="visible">True</property>
<signal name="selected-children-changed" handler="_on_selected_children_changed" swapped="no"/>
- <style>
- <class name="content-view"/>
- </style>
</object>
</child>
</object>
@@ -37,9 +34,6 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="hscrollbar_policy">never</property>
- <style>
- <class name="view"/>
- </style>
</object>
</child>
</template>
diff --git a/data/ui/SearchView.ui b/data/ui/SearchView.ui
index ff19fddd9..10d7994c4 100644
--- a/data/ui/SearchView.ui
+++ b/data/ui/SearchView.ui
@@ -77,9 +77,6 @@
<property name="valign">start</property>
<property name="visible">True</property>
<signal name="child-activated" handler="_on_artist_activated" swapped="no"/>
- <style>
- <class name="content-view"/>
- </style>
</object>
</child>
<child>
@@ -130,9 +127,6 @@
<property name="selection_mode">none</property>
<property name="visible">True</property>
<signal name="child-activated" handler="_on_album_activated" swapped="no"/>
- <style>
- <class name="content-view"/>
- </style>
</object>
</child>
<child>
@@ -200,9 +194,6 @@
<property name="selection-mode">none</property>
<property name="valign">start</property>
<signal name="child-activated" handler="_on_artist_activated" swapped="no"/>
- <style>
- <class name="content-view"/>
- </style>
</object>
</child>
<child>
@@ -222,9 +213,6 @@
<property name="selection_mode">none</property>
<property name="visible">True</property>
<signal name="child-activated" handler="_on_album_activated" swapped="no"/>
- <style>
- <class name="content-view"/>
- </style>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]