Sync shows/disappears

This commit is contained in:
Magnus Åhall 2026-06-09 17:03:01 +02:00
parent 25b763703d
commit 1f24f1f2f2
4 changed files with 67 additions and 44 deletions

View file

@ -307,7 +307,8 @@ button {
}
n2-syncprogress {
position: absolute;
display: grid;
position: fixed;
top: 8px;
right: 8px;
padding: 8px 16px;
@ -316,8 +317,15 @@ n2-syncprogress {
font-weight: bold;
background-color: var(--color1);
color: #fff;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
opacity: 0;
transition: opacity 250ms;
&.show {
opacity: 1;
}
display: grid;
grid-template-columns: min-content repeat(3, min-content);
grid-gap: 8px 8px;
white-space: nowrap;