mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-07 09:20:06 +01:00
style loading and no results messages
This commit is contained in:
parent
632525c636
commit
6e762729e0
@ -24,10 +24,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-if="loaded && !sites.length">
|
||||
<p>No sites available for tab. <a href="" ng-click="addSite()">Add one</a></p>
|
||||
<div class="no-results" ng-if="loaded && !sites.length">
|
||||
<p>No sites available to auto-fill for the current browser tab. <a href="" ng-click="addSite()">Add one</a></p>
|
||||
</div>
|
||||
<div ng-if="!loaded">
|
||||
<p><i class="fa fa-lg fa-spinner fa-spin"></i></p>
|
||||
<div class="page-loading" ng-if="!loaded">
|
||||
<i class="fa fa-lg fa-spinner fa-spin"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -35,10 +35,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-if="loaded && !vaultSites.length">
|
||||
<div class="no-results" ng-if="loaded && !vaultSites.length">
|
||||
<p>No sites to list. <a href="" ng-click="addSite()">Add one</a></p>
|
||||
</div>
|
||||
<div ng-if="!loaded">
|
||||
<p><i class="fa fa-lg fa-spinner fa-spin"></i></p>
|
||||
<div class="page-loading" ng-if="!loaded">
|
||||
<i class="fa fa-lg fa-spinner fa-spin"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -398,3 +398,25 @@
|
||||
.text-accent {
|
||||
color: @brand-primary-accent;
|
||||
}
|
||||
|
||||
.page-loading {
|
||||
.fa-spinner {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
color: @gray-light;
|
||||
margin-left: -5px;
|
||||
margin-top: -15px;
|
||||
}
|
||||
}
|
||||
|
||||
.no-results {
|
||||
p {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
margin-top: -20px;
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user