[gnome-music/wip/mschraal/view-styling-fixes: 65/69] 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: 65/69] Drop unneeded view CSS styling
- Date: Wed, 11 Aug 2021 23:04:24 +0000 (UTC)
commit 4a90b3e074f23a6aa98263e92ef759d1e0a5218f
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/AlbumWidget.ui | 3 ---
data/ui/AlbumsView.ui | 3 ---
data/ui/SearchView.ui | 12 ------------
4 files changed, 20 deletions(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 99bca0f24..090e4ce81 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -123,8 +123,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/AlbumWidget.ui b/data/ui/AlbumWidget.ui
index af6daca1b..962873751 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -8,9 +8,6 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="hscrollbar_policy">never</property>
- <style>
- <class name="view"/>
- </style>
<child>
<object class="GtkViewport" id="_viewport">
<property name="visible">True</property>
diff --git a/data/ui/AlbumsView.ui b/data/ui/AlbumsView.ui
index 78ad992e6..81503adf9 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>
diff --git a/data/ui/SearchView.ui b/data/ui/SearchView.ui
index 52dca40f8..30075a624 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]