diff options
author | Edwin Kempin <edwin.kempin@sap.com> | 2013-04-04 09:21:43 +0200 |
---|---|---|
committer | Edwin Kempin <edwin.kempin@sap.com> | 2013-04-04 17:01:34 +0200 |
commit | 505b427d33f90e7f155e96f5e01952a679b18c59 (patch) | |
tree | 408d69ff2d5d1924417a414439f23329a876a714 /contrib | |
parent | b1d656f98fcf54ed4791f54c9bca191123f0b93a (diff) |
Add theme that displays Diffy on the left side of the top menu
Change-Id: Ic2e125f3d7d19cf5d2b07be6e102c28bc814fe17
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/themes/diffy/etc/GerritSite.css | 30 | ||||
-rw-r--r-- | contrib/themes/diffy/etc/GerritSiteHeader.html | 3 | ||||
-rw-r--r-- | contrib/themes/diffy/static/logo.png | bin | 0 -> 3701 bytes |
3 files changed, 33 insertions, 0 deletions
diff --git a/contrib/themes/diffy/etc/GerritSite.css b/contrib/themes/diffy/etc/GerritSite.css new file mode 100644 index 0000000000..6fe8a3e88f --- /dev/null +++ b/contrib/themes/diffy/etc/GerritSite.css @@ -0,0 +1,30 @@ +/* Copyright (C) 2013 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#gerrit_header { + display: block !important; + margin-bottom: -55px; + padding-left: 20px; + position: relative; + top: -45px; + width: 100px; +} + +#gerrit_topmenu { + left: 100px; + margin-right: 100px; + padding-right: 10px; + position: relative; +} diff --git a/contrib/themes/diffy/etc/GerritSiteHeader.html b/contrib/themes/diffy/etc/GerritSiteHeader.html new file mode 100644 index 0000000000..48ccfeceaf --- /dev/null +++ b/contrib/themes/diffy/etc/GerritSiteHeader.html @@ -0,0 +1,3 @@ +<div> + <img src="static/logo.png"/> +</div> diff --git a/contrib/themes/diffy/static/logo.png b/contrib/themes/diffy/static/logo.png Binary files differnew file mode 100644 index 0000000000..989c30304c --- /dev/null +++ b/contrib/themes/diffy/static/logo.png |