mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 04:38:27 +02:00
🎉 Add save indicator.
And improve persistence loop error handling.
This commit is contained in:
parent
9755516178
commit
1b598e2f6d
8 changed files with 414 additions and 254 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue