[gnome-software/wip/jimmac/category-tiles] stylesheet: define category tile colors



commit 093f3e78dc93758cdccfedd937829a9f5df5a6da
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Nov 6 20:19:33 2019 +0100

    stylesheet: define category tile colors
    
    Addresses the stylesheet side of https://gitlab.gnome.org/GNOME/gnome-software/issues/65

 src/gtk-style.css | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 4ae2b173..82f25e81 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -521,6 +521,16 @@ flowboxchild {
        border-bottom: 1px solid darker(shade(@theme_bg_color, 0.9));
 }
 
+/* category tile colos */
+.category.default { background-image: linear-gradient(to top, #d3d7c7 3px, white 3px, white); }
+.category.audio-video { background-image: linear-gradient(to top, #225890 3px, white 3px, white); }
+.category.comms { background-image: linear-gradient(to top, #6796c7 3px, white 3px, white); }
+.category.productivity { background-image: linear-gradient(to top, #cc0000 3px, white 3px, white); }
+.category.games { background-image: linear-gradient(to top, #c4a000 3px, white 3px, white); }
+.category.graphics { background-image: linear-gradient(to top, #734f79 3px, white 3px, white); }
+.category.addons { background-image: linear-gradient(to top, #4e9a06 3px, white 3px, white); }
+.category.audio-video { background-image: linear-gradient(to top, #225890 3px, white 3px, white); }
+
 .switcher-label {
        opacity: 0.5;
 }


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