Use new OpenStack logo on Gerrit sites

This puts the new logo in place for our gerrit deployments. Had to move
the header nav bar slightly to the right to get this to look well
without overlapping significantly. Note that this has been tested
locally using firefox to render the changes.

Change-Id: I1d773e137dd41ac2d7ee9347941d95732dae0932
This commit is contained in:
Clark Boylan 2017-04-18 16:32:18 -07:00
parent 4159604ba2
commit e8926d53d2
5 changed files with 62 additions and 11 deletions

View File

@ -1,4 +1,4 @@
body {color: #000 !important; background: url("static/openstack-page-bkg.jpg") no-repeat scroll 0 0 white !important; position: static}
body {color: #000 !important;}
a,a:visited {color: #264D69 !important; text-decoration: none;}
a:hover {color: #000 !important; text-decoration: underline}
@ -7,7 +7,7 @@ a.gwt-InlineHyperlink {background: none !important}
#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}
#gerrit_topmenu {background: none; position:relative; top: 0px; left: 200px; margin-right: 200px}
#gerrit_topmenu {background: none; position:relative; top: 0px; left: 220px; margin-right: 200px}
#gerrit_topmenu tbody tr td table {border: 0}

View File

@ -2,5 +2,5 @@
<script type="text/javascript" src="static/jquery.js" />
<script type="text/javascript" src="static/jquery-visibility.js"></script>
<script type="text/javascript" src="static/hideci.js" />
<a href="/"><h1 style="color: #CF2F19"><img src="static/title.png" style="vertical-align:middle;" /></h1></a>
<a href="/"><h1><img src="static/title.svg" style="vertical-align:middle;" /></h1></a>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 135 35" enable-background="new 0 0 135 35" xml:space="preserve">
<g>
<g>
<path fill="#DA1A32" d="M22.565,5.596H2.76c-1.243,0-2.26,1.017-2.26,2.26v5.326h5.493v-0.87c0-0.675,0.547-1.222,1.222-1.222
H18.11c0.675,0,1.222,0.547,1.222,1.222v0.87h5.493V7.857C24.825,6.613,23.808,5.596,22.565,5.596z"/>
<path fill="#DA1A32" d="M19.332,22.688c0,0.675-0.547,1.222-1.222,1.222H7.216c-0.675,0-1.222-0.547-1.222-1.222v-0.87H0.5v5.326
c0,1.243,1.017,2.26,2.26,2.26h19.805c1.243,0,2.26-1.017,2.26-2.26v-5.326h-5.493V22.688z"/>
<rect x="0.5" y="14.753" fill="#DA1A32" width="5.493" height="5.493"/>
<rect x="19.332" y="14.753" fill="#DA1A32" width="5.493" height="5.493"/>
</g>
<path fill="#4E4540" d="M134.5,22.114c0-0.852-0.693-1.545-1.545-1.545c-0.852,0-1.545,0.693-1.545,1.545
c0,0.852,0.693,1.545,1.545,1.545C133.807,23.659,134.5,22.966,134.5,22.114z M132.955,23.28c-0.643,0-1.166-0.523-1.166-1.166
c0-0.643,0.523-1.166,1.166-1.166c0.643,0,1.166,0.523,1.166,1.166C134.12,22.757,133.597,23.28,132.955,23.28z"/>
<path fill="#4E4540" d="M133.534,21.834v-0.009c0-0.149-0.045-0.268-0.128-0.351c-0.095-0.095-0.236-0.145-0.411-0.145h-0.569
v1.514h0.313v-0.497h0.197l0.279,0.497h0.359l-0.322-0.562C133.42,22.208,133.534,22.063,133.534,21.834z M133.218,21.843
c0,0.136-0.087,0.227-0.247,0.227h-0.231v-0.457h0.225c0.16,0,0.253,0.076,0.253,0.227V21.843z"/>
<path fill="#4E4540" d="M41.683,17.605v-0.21c0-3.656-2.398-6.311-5.658-6.311c-3.284,0-5.705,2.701-5.705,6.334v0.209
c0,3.656,2.399,6.287,5.659,6.287C39.261,23.915,41.683,21.238,41.683,17.605z M32.95,17.558v-0.14
c0-2.306,1.188-4.005,3.027-4.005c1.793,0,3.074,1.723,3.074,4.028v0.14c0,2.305-1.188,4.028-3.027,4.028
C34.231,21.61,32.95,19.864,32.95,17.558z"/>
<path fill="#4E4540" d="M54.209,17.652v-0.326c0-4.169-2.329-6.241-4.797-6.241c-1.77,0-2.841,1.025-3.609,2.212v-1.98h-2.631
v15.858h2.631v-5.379c0.745,1.094,1.816,2.096,3.609,2.096C51.904,23.892,54.209,21.797,54.209,17.652z M45.756,17.605v-0.233
c0-2.422,1.351-3.958,2.934-3.958c1.584,0,2.864,1.514,2.864,3.982v0.21c0,2.469-1.257,3.959-2.864,3.959
C47.107,21.564,45.756,20.027,45.756,17.605z"/>
<path fill="#4E4540" d="M65.611,22.006l-1.374-1.63c-0.815,0.792-1.677,1.304-2.841,1.304c-1.607,0-2.888-1.118-3.12-3.19h7.731
c0.023-0.372,0.023-0.745,0.023-0.908c0-3.702-1.77-6.497-5.123-6.497c-3.027,0-5.263,2.655-5.263,6.357v0.186
c0,3.866,2.468,6.287,5.635,6.287C63.119,23.915,64.493,23.194,65.611,22.006z M60.907,13.297c1.537,0,2.422,1.42,2.562,3.376
h-5.216C58.439,14.578,59.463,13.297,60.907,13.297z"/>
<path fill="#4E4540" d="M73.757,11.085c-1.677,0-2.678,0.955-3.377,2.049v-1.816h-2.631v12.342h2.631v-7.475
c0-1.7,0.955-2.725,2.329-2.725c1.397,0,2.212,0.955,2.212,2.678v7.522h2.631v-8.267C77.552,12.761,76.132,11.085,73.757,11.085z"
/>
<path fill="#4E4540" d="M88.159,20.143V20.12c0-1.933-1.444-2.817-3.353-3.679c-1.444-0.652-2.422-1.071-2.422-1.886v-0.047
c0-0.675,0.582-1.211,1.56-1.211c0.978,0,2.003,0.466,2.934,1.094l1.118-1.933c-1.164-0.838-2.631-1.327-4.005-1.327
c-2.305,0-4.075,1.397-4.075,3.609v0.047c0,2.026,1.537,2.864,3.377,3.656c1.467,0.629,2.422,1.025,2.422,1.91v0.023
c0,0.769-0.629,1.351-1.723,1.351s-2.282-0.536-3.4-1.443l-1.234,1.886c1.421,1.187,3.12,1.723,4.587,1.723
C86.32,23.892,88.159,22.565,88.159,20.143z"/>
<path fill="#4E4540" d="M96.307,23.31v-2.166c-0.442,0.233-0.908,0.349-1.421,0.349c-0.838,0-1.327-0.396-1.327-1.351v-6.567h2.771
v-2.259h-2.771v-3.33h-2.631v3.33h-1.351l0.432,2.259h0.918v7.102c0,2.399,1.374,3.167,3.19,3.167
C95.003,23.846,95.702,23.636,96.307,23.31z"/>
<path fill="#4E4540" d="M106.39,12.435c-0.792-0.815-2.026-1.257-3.633-1.257c-1.653,0-2.888,0.396-4.075,0.978l0.745,2.096
c0.815-0.372,1.793-0.745,2.981-0.745c1.677,0,2.655,0.862,2.655,2.515v0.513c-0.838-0.28-1.677-0.489-2.841-0.489
c-2.608,0-4.378,1.304-4.378,3.958v0.116c0,2.399,1.723,3.772,3.772,3.772c1.607,0,2.701-0.699,3.423-1.746v1.514h2.585v-7.661
C107.624,14.461,107.205,13.25,106.39,12.435z M105.086,19.514c0,1.397-1.164,2.422-2.678,2.399
c-1.141-0.023-2.002-0.722-2.002-1.956V19.91c0-1.304,0.885-2.072,2.398-2.072c0.885,0,1.677,0.186,2.282,0.442V19.514z"/>
<path fill="#4E4540" d="M118.809,22.053l-1.42-1.746c-0.722,0.722-1.444,1.257-2.515,1.257c-1.793,0-3.05-1.607-3.05-4.005v-0.116
c0-2.329,1.257-3.982,2.981-3.982c1.118,0,1.84,0.559,2.492,1.234l1.467-1.933c-1.025-1.025-2.189-1.677-3.959-1.677
c-3.237,0-5.635,2.655-5.635,6.334v0.233c0,3.679,2.329,6.264,5.542,6.264C116.597,23.915,117.831,23.147,118.809,22.053z"/>
<g>
<polygon fill="#4E4540" points="126.863,17.254 125.016,19.239 127.493,23.659 130.544,23.659 "/>
<polygon fill="#4E4540" points="127.307,11.317 123.092,16.743 123.092,6.847 120.461,6.847 120.461,23.659 123.092,23.659
123.092,20.097 130.428,11.317 "/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -250,19 +250,13 @@ class openstack_project::gerrit (
require => Class['::gerrit'],
}
file { '/home/gerrit2/review_site/static/title.png':
file { '/home/gerrit2/review_site/static/title.svg':
ensure => present,
source => 'puppet:///modules/openstack_project/openstack.png',
source => 'puppet:///modules/openstack_project/openstack.svg',
require => Class['::gerrit'],
notify => Exec['reload_gerrit_header'],
}
file { '/home/gerrit2/review_site/static/openstack-page-bkg.jpg':
ensure => present,
source => 'puppet:///modules/openstack_project/openstack-page-bkg.jpg',
require => Class['::gerrit'],
}
package { 'libjs-jquery':
ensure => present,
}