[gnome-software] Uberwriter: clean up layout
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Uberwriter: clean up layout
- Date: Fri, 2 Aug 2019 16:14:40 +0000 (UTC)
commit 56efbbde3080acdc9e679ec373f07de2274b9ce3
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Aug 2 18:10:22 2019 +0200
Uberwriter: clean up layout
- use bg color
- scale up icon asset, position it
- svgo clean up
https://gitlab.gnome.org/GNOME/gnome-software/issues/749
data/assets/featured-uberwriter.svg | 2 +-
data/assets/org.gnome.Software.Featured.xml | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/data/assets/featured-uberwriter.svg b/data/assets/featured-uberwriter.svg
index b245efb6..25e86e8d 100644
--- a/data/assets/featured-uberwriter.svg
+++ b/data/assets/featured-uberwriter.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="456" viewBox="0 0 338.667 120.65"><path
fill="#3584e4" fill-opacity=".95" d="M0 0h338.667v120.65H0z"/><g transform="matrix(.26458 0 0 .26458 15.875
10.054)"><rect width="198" height="118" x="5" y="5" ry="10" fill="none" stroke="#fff"
stroke-width="10"/><path d="M30 98V30h20l20 25 20-25h20v68H90V59L70 84 50 59v39zm125
0l-30-33h20V30h20v35h20z" fill="#fff"/></g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="675" viewBox="0 0 270.934 178.594"><g
transform="matrix(1.2334 0 0 1.2334 8.531 13.191)" stroke-width=".215"><rect width="198" height="118" x="5"
y="5" ry="2.145" rx="2.145" fill="none" stroke="#fff" stroke-width="2.145"/><path d="M30 98V30h20l20 25
20-25h20v68H90V59L70 84 50 59v39zm125 0l-30-33h20V30h20v35h20z" fill="#fff"/></g></svg>
\ No newline at end of file
diff --git a/data/assets/org.gnome.Software.Featured.xml b/data/assets/org.gnome.Software.Featured.xml
index db73869e..614e2a18 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -274,12 +274,13 @@ text-shadow: 0 1px 2px #000;</value>
<component>
<id>de.wolfvollprecht.UberWriter</id>
<custom>
- <value key="GnomeSoftware::FeatureTile-css">border: 1px solid #ddd;
-background: #ededed,
+ <value key="GnomeSoftware::FeatureTile-css">border: 1px solid #0554c4;
+background: #3584e4,
url('file://@datadir@/gnome-software/featured-uberwriter.svg')
- 10% 50% / 40% auto no-repeat;
-color: #000;
-text-shadow: none;</value>
+ 10% center / 20% auto no-repeat;
+color: #fff;
+text-shadow: 0 0 3px #3584e4;
+box-shadow: none;</value>
</custom>
</component>
<component>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]