gnome-software/0001-Add-drop-shadows-to-ic...

59 lines
2.2 KiB
Diff

From 6643b576cd629f1f3a591994623a26930919edb5 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Wed, 13 Mar 2019 13:21:40 +0100
Subject: [PATCH] Add drop shadows to icons in app tiles as well
In addition to app rows that commit f1431be fixed, the icons in app
tiles also need drop shadows to separate them from white background.
---
src/gs-app-tile.ui | 3 +++
src/gs-popular-tile.ui | 3 +++
src/gs-summary-tile.ui | 3 +++
3 files changed, 9 insertions(+)
diff --git a/src/gs-app-tile.ui b/src/gs-app-tile.ui
index b3510464e..167db8a19 100644
--- a/src/gs-app-tile.ui
+++ b/src/gs-app-tile.ui
@@ -71,6 +71,9 @@
<property name="visible">True</property>
<property name="width-request">64</property>
<property name="height-request">64</property>
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
</object>
<packing>
<property name="left-attach">0</property>
diff --git a/src/gs-popular-tile.ui b/src/gs-popular-tile.ui
index a6d792e0e..2b1cea33c 100644
--- a/src/gs-popular-tile.ui
+++ b/src/gs-popular-tile.ui
@@ -73,6 +73,9 @@
<property name="visible">True</property>
<property name="valign">center</property>
<property name="vexpand">True</property>
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
</object>
</child>
<child>
diff --git a/src/gs-summary-tile.ui b/src/gs-summary-tile.ui
index a63bbd6fd..0cb14cabe 100644
--- a/src/gs-summary-tile.ui
+++ b/src/gs-summary-tile.ui
@@ -70,6 +70,9 @@
<property name="visible">True</property>
<property name="width-request">64</property>
<property name="height-request">64</property>
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
</object>
<packing>
<property name="left-attach">0</property>
--
2.21.0