[gnome-software] Fine-tune F32 upgrade banner position and font
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fine-tune F32 upgrade banner position and font
- Date: Thu, 23 Apr 2020 12:41:02 +0000 (UTC)
commit 6e2411a1eb01eb59f84fd7731e4e1a074bdcd022
Author: Kalev Lember <klember redhat com>
Date: Thu Apr 23 14:37:21 2020 +0200
Fine-tune F32 upgrade banner position and font
As per discussion with jimmac on #fedora-design.
plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c
b/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c
index 389ab4e6..2e6486c4 100644
--- a/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c
+++ b/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c
@@ -298,9 +298,9 @@ _create_upgrade_from_info (GsPlugin *plugin, PkgdbItem *item)
background = _get_upgrade_css_background (item->version);
if (background != NULL) {
css = g_strdup_printf ("background: %s;"
- "background-position: center;"
+ "background-position: top;"
"background-size: cover;"
- "color: black;",
+ "color: white; text-shadow: 0 2px 2px rgba(0,0,0,0.5);",
background);
gs_app_set_metadata (app, "GnomeSoftware::UpgradeBanner-css", css);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]