[gnome-software/gnome-3-36] Fine-tune F32 upgrade banner position and font



commit 9f6ada1d9caf72c77da75aa860643a4ac20796d2
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 5862bae5..0de24161 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]