make signing-in also a btn
This commit is contained in:
parent
40c900fba1
commit
b243ceb05a
|
@ -57,7 +57,6 @@ $button-border-color: #d4d4d4
|
||||||
.button--signin
|
.button--signin
|
||||||
display: inline-block
|
display: inline-block
|
||||||
padding: 0.5em 1.9em 0.45em 0.6em
|
padding: 0.5em 1.9em 0.45em 0.6em
|
||||||
background: #39a85b
|
|
||||||
color: $white
|
color: $white
|
||||||
font-size: $font-size-small
|
font-size: $font-size-small
|
||||||
line-height: 1
|
line-height: 1
|
||||||
|
@ -66,10 +65,17 @@ $button-border-color: #d4d4d4
|
||||||
border: none
|
border: none
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
background:
|
background:
|
||||||
image: url(../images/ui/github-signin.svg)
|
color: #39a85b
|
||||||
|
image: inline-image('ui/github-signin.svg')
|
||||||
repeat: no-repeat
|
repeat: no-repeat
|
||||||
position: 95.5% 44%
|
position: 95.5% 44%
|
||||||
&:hover
|
&:hover
|
||||||
background-color: #73c78d
|
background-color: #73c78d
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
&.signing-in
|
||||||
|
background-image: inline-image('ui/spinner.svg')
|
||||||
|
background-position: 92% 47%
|
||||||
|
&:hover
|
||||||
|
background-color: #39a85b
|
||||||
|
|
||||||
|
|
|
@ -129,10 +129,8 @@
|
||||||
padding: 0.2em 0px 0.5em
|
padding: 0.2em 0px 0.5em
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
padding: 0
|
padding: 0
|
||||||
&:not(.signed-out)
|
&.signed-in
|
||||||
top: 2px
|
top: 2px
|
||||||
.signing-in
|
|
||||||
background: inline-image('ui/spinner.svg') no-repeat 110px 22px
|
|
||||||
|
|
||||||
img
|
img
|
||||||
width: 30px
|
width: 30px
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
{{#link-to "profile" class="signed-in"}}<img {{bind-attr src="gravatarUrl"}}/>{{userName}}{{/link-to}}
|
{{#link-to "profile" class="signed-in"}}<img {{bind-attr src="gravatarUrl"}}/>{{userName}}{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if auth.signingIn}}
|
{{#if auth.signingIn}}
|
||||||
<span class="signing-in">Signing In</span>
|
<button class="signing-in button--signin">Signing In</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user