mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-31 21:38:18 +00:00
feat(syncguard): protect workspace during substantial CouchDB catch-up
This commit is contained in:
1 parent
bca2f2dcc6
commit
f7c7ef364c
9 files changed
+832
-6
No files matched your search
+35
@@ -839,3 +839,38 @@ body.is-mobile .livesync-compatibility-review-notice {
|
||||
outline-offset: 1px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* An optional, workspace-only barrier during a substantial catch-up. Other Obsidian dialogues remain usable. */
|
||||
.sls-sync-guard {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: var(--layer-cover, 30);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: var(--size-4-4);
|
||||
background: var(--background-primary);
|
||||
color: var(--text-normal);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.sls-sync-guard-panel {
|
||||
width: min(100%, 30rem);
|
||||
padding: var(--size-4-6);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-l);
|
||||
background: var(--background-secondary);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sls-sync-guard-panel h2 {
|
||||
margin-block-start: 0;
|
||||
}
|
||||
|
||||
.sls-sync-guard-count {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.sls-sync-guard-bypass {
|
||||
min-height: 44px;
|
||||
min-width: 44px;
|
||||
}
|
||||
Reference in new issue
Block a user