swap old loader for new one

This commit is contained in:
Lisa Passing 2015-03-25 17:17:54 +01:00
parent a731028dfa
commit a9ad4fb70a
2 changed files with 8 additions and 3 deletions

View File

@ -153,11 +153,13 @@ p.profile-user-last
padding: .25em .5em .3em
white-space: nowrap
overflow: hidden
span
span:not(.sync-spinner)
display: none
margin-left: 2rem
font-size: $font-size-sm
color: #484849
.sync-spinner
vertical-align: top
&:hover
background-color: #ededec
&:after

View File

@ -79,8 +79,11 @@
{{!-- <button class="switch is-on"></button> --}}
{{#link-to "settings" hook.ownerName hook.name class="profile-settings" title="Repository settings"}}<span class="icon icon--cog"></span>{{/link-to}}
</div>
{{#if hook.isSaving}}<span class="loading"></span>{{/if}}
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow" class="profile-repo columns">{{hook.slug}}
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow" class="profile-repo columns">
{{#if hook.isSaving}}
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
{{/if}}
{{hook.slug}}
<span>{{hook.description}}</span></a>
</li>
{{else}}