UX: Use loading spinner on notifications

This commit is contained in:
Robin Ward 2014-11-12 13:37:36 -05:00
parent 961f676b91
commit fb241a4351
2 changed files with 6 additions and 7 deletions

View file

@ -13,6 +13,6 @@
<div class="none">{{i18n notifications.none}}</div>
{{/if}}
{{else}}
<div class='loading'><i class='fa fa-spinner fa-spin'></i></div>
{{loading-spinner}}
{{/unless}}
</section>

View file

@ -222,12 +222,11 @@
.none {
padding: 5px;
}
.loading {
padding: 10px;
display: block;
color: scale-color($primary, $lightness: 50%);
font-size: 24px;
text-align: center;
.spinner {
width: 20px;
height: 20px;
border-width: 2px;
margin: 0 auto;
}
/* as a big ol' click target, don't let text inside be selected */
@include unselectable;