Commit 1ec24248 authored by Jérome Perrin's avatar Jérome Perrin Committed by Gabriel Monnerat

xhtml_style: Use an image for "Sign in with Google" button

According to Google's branding guidelines [1], using zocial like we did is not
OK because the logo is different.

To comply with Google's branding guidelines, we simply use an image from
"Download files" section of the Sign-In Branding Guidelines page. Using a png
image is not really good, but a vector version would require to download a
font, so the image way is easier.

1: https://developers.google.com/identity/branding-guidelines
parent 8e2c7149
......@@ -423,6 +423,22 @@ fieldset.bottom > .field > label {
border-width: 0;
}
.login a.google {
height: 46px;
width: 191px;
display: inline-block;
overflow: hidden;
}
.login a.google img:hover {
margin-top: -46px;
}
.login a.google img:active {
margin-top: -92px;
}
.content .field {
padding-bottom: 3px;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment