🎉 Add save indicator.

And improve persistence loop error handling.
This commit is contained in:
Andrey Antukh 2020-09-17 17:59:48 +02:00 committed by Alonso Torres
parent 9755516178
commit 1b598e2f6d
8 changed files with 414 additions and 254 deletions

View file

@ -2,8 +2,10 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
// This Source Code Form is "Incompatible With Secondary Licenses", as
// defined by the Mozilla Public License, v. 2.0.
//
// Copyright (c) 2020 UXBOX Labs SL
.workspace-header {
align-items: center;
@ -177,3 +179,35 @@
}
}
}
.persistence-status-widget {
display: flex;
margin-right: 10px;
/* border: 1px solid red; */
width: 150px;
justify-content: flex-end;
> div {
display: flex;
&.error {
.label { color: $color-danger; }
.icon svg { fill: $color-danger; }
}
}
.icon {
padding: 0px 10px;
}
.label {
color: $color-gray-30;
font-size: $fs14;
}
svg {
width: 12px;
height: 12px;
fill: $color-gray-30;
}
}