From 096d80ae718c631b5d9e17d1f317d8f03699698c Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 2 Aug 2017 15:32:41 -0400 Subject: [PATCH] Fix OpenStack header logo in Gitweb With the recent introduction of the new logo in Gerrit, it needed some tweaks so it fits just right. A #openstack-logo selector was added in order to accurately customize the logo and space them out in Gitweb and Gerrit. Change-Id: I5102b07187d2cf8982f48f674477e37e8b10ebba --- modules/openstack_project/files/gerrit/GerritSite.css | 4 ++++ modules/openstack_project/files/gerrit/GerritSiteHeader.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/files/gerrit/GerritSite.css b/modules/openstack_project/files/gerrit/GerritSite.css index 0cf799e4d9..a0fc57bdae 100644 --- a/modules/openstack_project/files/gerrit/GerritSite.css +++ b/modules/openstack_project/files/gerrit/GerritSite.css @@ -4,6 +4,10 @@ a:hover {color: #000 !important; text-decoration: underline} a.gwt-InlineHyperlink {background: none !important} +#openstack-logo img { width: 200px; } +#openstack-logo h1 { margin: 20px; } +#gerrit_header #openstack-logo h1 { margin: 20px 0 0 0; } + #gerrit_header {display: block !important; position: relative; top: -60px; margin-bottom: -60px; width: 200px; padding-left: 17px} #gerrit_header h1 {font-family: 'PT Sans', sans-serif; font-weight: normal; letter-spacing: -1px} diff --git a/modules/openstack_project/files/gerrit/GerritSiteHeader.html b/modules/openstack_project/files/gerrit/GerritSiteHeader.html index a3546044b9..0e2f060fa8 100644 --- a/modules/openstack_project/files/gerrit/GerritSiteHeader.html +++ b/modules/openstack_project/files/gerrit/GerritSiteHeader.html @@ -1,4 +1,4 @@ -
+