mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Styled Google OAuth login button
Refs https://github.com/TryGhost/Team/issues/612
This commit is contained in:
parent
3b02987f86
commit
b8cdb26e70
3 changed files with 7 additions and 5 deletions
|
@ -253,13 +253,16 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
font-weight: 400;
|
||||||
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-separator::before,
|
.gh-separator::before,
|
||||||
.gh-separator::after {
|
.gh-separator::after {
|
||||||
content: '';
|
content: '';
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border-bottom: 1px solid var(--midgrey);
|
border-bottom: 1px solid var(--lightgrey);
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-separator:not(:empty)::before {
|
.gh-separator:not(:empty)::before {
|
||||||
|
|
|
@ -260,7 +260,7 @@ fieldset[disabled] .gh-btn {
|
||||||
.gh-btn-block svg {
|
.gh-btn-block svg {
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
margin-right: 0.5em;
|
margin-right: 0.6em;
|
||||||
fill: #fff;
|
fill: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,9 +27,8 @@
|
||||||
{{#if this.config.oauth}}
|
{{#if this.config.oauth}}
|
||||||
<a
|
<a
|
||||||
href="/ghost/oauth/google"
|
href="/ghost/oauth/google"
|
||||||
class="login gh-btn gh-btn-login gh-btn-block gh-btn-icon gh-center"
|
class="login gh-btn gh-btn-login gh-btn-block gh-btn-white gh-btn-icon gh-center">
|
||||||
style="background: {{this.accentColor}};">
|
<span style="color: #15171a;">{{svg-jar "google-favicon"}}Sign in with Google</span>
|
||||||
<span>Sign in with Google →</span>
|
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="gh-separator">
|
<div class="gh-separator">
|
||||||
|
|
Loading…
Add table
Reference in a new issue