mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
add status bar indicator for headless sync
This commit is contained in:
@@ -38,3 +38,97 @@
|
||||
.ignis-vault-connect-options .setting-item {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.ignis-sync-statusbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ignis-sync-icon svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.ignis-sync-spinning svg {
|
||||
animation: ignis-spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes ignis-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.ignis-sync-synced svg {
|
||||
color: var(--color-green);
|
||||
}
|
||||
|
||||
.ignis-sync-syncing svg {
|
||||
color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.ignis-sync-error svg {
|
||||
color: var(--color-red);
|
||||
}
|
||||
|
||||
.ignis-sync-stopped svg {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.ignis-sync-popover {
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
right: 0;
|
||||
margin-bottom: 4px;
|
||||
background: var(--background-modifier-message);
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-ui-smaller);
|
||||
padding: 4px 8px;
|
||||
border-radius: var(--radius-s);
|
||||
white-space: nowrap;
|
||||
box-shadow: var(--shadow-s);
|
||||
}
|
||||
|
||||
.ignis-log-details {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.ignis-log-details summary {
|
||||
cursor: pointer;
|
||||
color: var(--text-muted);
|
||||
font-size: var(--font-ui-small);
|
||||
padding: 4px 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.ignis-log-details summary:hover {
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.ignis-log-terminal {
|
||||
background: #1a1a1a;
|
||||
color: #d4d4d4;
|
||||
font-family: var(--font-monospace);
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
padding: 12px;
|
||||
border-radius: var(--radius-s);
|
||||
max-height: 250px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin-top: 8px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.ignis-log-terminal code {
|
||||
background: none;
|
||||
color: inherit;
|
||||
font-size: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user