mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
UX: Use loading spinner on notifications
This commit is contained in:
parent
961f676b91
commit
fb241a4351
2 changed files with 6 additions and 7 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue