Make Diffy in Diffy theme smaller

Shrink the Diffy logo in the Diffy theme so that it doesn't consume
more vertical space than the header menu.

This now matches the theme that is used on
gerrit-review.googlesource.com.

Change-Id: I943253a24bf1e4ab8a74c23d68df8ea3fd18d115
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin 2013-04-25 09:14:29 +02:00
parent 0906da0297
commit e6d06d77f5
2 changed files with 11 additions and 10 deletions

View File

@ -12,19 +12,18 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#gerrit_topmenu {
left: 60px;
margin-right: 60px;
padding-right: 10px;
position: relative;
}
#gerrit_header { #diffy_logo {
display: block !important; display: block !important;
margin-bottom: -55px; margin-bottom: -55px;
padding-left: 20px; padding-left: 20px;
position: relative; position: relative;
top: -45px; top: -45px;
width: 100px; width: 60px;
}
#gerrit_topmenu {
left: 100px;
margin-right: 100px;
padding-right: 10px;
position: relative;
} }

View File

@ -1,3 +1,5 @@
<div> <div>
<img src="static/logo.png"/> <div id="diffy_logo">
<img width="50" height="46" src="static/logo.png"/>
</div>
</div> </div>