areguera / rpms / cockpit

Forked from rpms/cockpit 4 years ago
Clone

Blame SOURCES/branding-full-logo.patch

ffd391
From 8677e511ef32d143b81b83ebb1f7602612a8bec9 Mon Sep 17 00:00:00 2001
ffd391
From: Andreas Nilsson <anilsson@redhat.com>
ffd391
Date: Mon, 25 May 2015 16:30:12 +0200
ffd391
Subject: [PATCH] branding: Look for the full wordmark logos for Fedora and
ffd391
 RHEL
ffd391
ffd391
Instead of just the square logo
ffd391
ffd391
Closes #2343
ffd391
Reviewed-by: Stef Walter <stefw@redhat.com>
ffd391
---
ffd391
 branding/fedora/Makefile.am  | 2 +-
ffd391
 branding/fedora/branding.css | 4 ++--
ffd391
 branding/rhel/Makefile.am    | 2 +-
ffd391
 branding/rhel/branding.css   | 4 ++--
ffd391
 4 files changed, 6 insertions(+), 6 deletions(-)
ffd391
ffd391
diff --git a/branding/fedora/Makefile.am b/branding/fedora/Makefile.am
ffd391
index 52f03e8..9735066 100644
ffd391
--- a/Makefile.in
ffd391
+++ b/Makefile.in
ffd391
@@ -8530,11 +8530,11 @@
ffd391
 # Opportunistically use fedora-logos
ffd391
 install-data-hook::
ffd391
-	$(LN_S) -f /usr/share/pixmaps/fedora-logo-sprite.png $(DESTDIR)$(fedorabrandingdir)/logo.png
ffd391
+	$(LN_S) -f /usr/share/pixmaps/system-logo-white.png $(DESTDIR)$(fedorabrandingdir)/logo.png
ffd391
 	$(LN_S) -f /usr/share/pixmaps/fedora-logo-sprite.png $(DESTDIR)$(fedorabrandingdir)/apple-touch-icon.png
ffd391
 	$(LN_S) -f /etc/favicon.png $(DESTDIR)$(fedorabrandingdir)/favicon.ico
ffd391
 
ffd391
 # Opportunistically use redhat-logos ... yes they're called 'fedora'
ffd391
 install-data-hook::
ffd391
-	$(LN_S) -f /usr/share/pixmaps/fedora-logo-sprite.png $(DESTDIR)$(rhelbrandingdir)/logo.png
ffd391
+	$(LN_S) -f /usr/share/pixmaps/system-logo-white.png $(DESTDIR)$(rhelbrandingdir)/logo.png
ffd391
 	$(LN_S) -f /usr/share/pixmaps/fedora-logo-sprite.png $(DESTDIR)$(rhelbrandingdir)/apple-touch-icon.png
ffd391
 	$(LN_S) -f /etc/favicon.png $(DESTDIR)$(rhelbrandingdir)/favicon.ico
ffd391
diff --git a/branding/fedora/branding.css b/branding/fedora/branding.css
ffd391
index 96acb6e..0e8fa7d 100644
ffd391
--- a/branding/fedora/branding.css
ffd391
+++ b/branding/fedora/branding.css
ffd391
@@ -5,8 +5,8 @@ body.login-pf {
ffd391
 }
ffd391
 
ffd391
 #badge {
ffd391
-    width: 64px;
ffd391
-    height: 64px;
ffd391
+    width: 225px;
ffd391
+    height: 80px;
ffd391
     background-image: url("/cockpit/static/logo.png");
ffd391
     background-size: contain;
ffd391
 }
ffd391
diff --git a/branding/rhel/branding.css b/branding/rhel/branding.css
ffd391
index 60cd016..5e8434c 100644
ffd391
--- a/branding/rhel/branding.css
ffd391
+++ b/branding/rhel/branding.css
ffd391
@@ -11,8 +11,8 @@ body.login-pf {
ffd391
 }
ffd391
 
ffd391
 #badge {
ffd391
-    width: 64px;
ffd391
-    height: 64px;
ffd391
+    width: 225px;
ffd391
+    height: 80px;
ffd391
     background-image: url("/cockpit/static/logo.png");
ffd391
     background-size: contain;
ffd391
 }
ffd391
-- 
ffd391
2.4.1
ffd391