[gnome-music/gbsneto/tiny-post-gtk4-improvements: 2/2] css: Adjust Albums view style




commit f0420dedf91b7b15e02e604a545ebcebaa04bc0f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Feb 17 10:07:51 2022 -0300

    css: Adjust Albums view style
    
    Add some padding to the grid view, and some margins and
    paddings to album items. This is done through CSS to keep
    the nice darker background of the grid view - using margins
    in the UI file would break that style.

 data/org.gnome.Music.css | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 04f4b5e66..f7bf1021e 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -8,6 +8,17 @@
     color: @theme_fg_color;
 }
 
+/* AlbumsView */
+
+#albums gridview {
+  padding: 18px;
+}
+
+#albums gridview > child {
+  margin: 9px;
+  padding: 6px;
+}
+
 /* By default in Adwaita dark this is not transparent */
 .tile {
     background-color: transparent;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]