feat: add managed database capture and operator restore
PostgreSQL and MySQL backups run through paired outposts, with operator sign-in, off-site copies, and legacy import. Retention stays on each orbit, so the unused retention console is removed. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -83,6 +83,7 @@ button:disabled { cursor: default; }
|
||||
touch-action: pan-y;
|
||||
user-select: none;
|
||||
}
|
||||
.nav-icon { position: absolute; inset: 0; margin: auto; }
|
||||
.vault-nav button:hover, .vault-nav button[aria-current] { color: var(--color-star-100); }
|
||||
.vault-nav button[aria-current] { cursor: grab; }
|
||||
.vault-nav:active button[aria-current] { cursor: grabbing; }
|
||||
@@ -125,6 +126,87 @@ button:disabled { cursor: default; }
|
||||
}
|
||||
|
||||
.hub-link { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--color-star-300); font: 500 11px var(--font-mono); white-space: nowrap; }
|
||||
.vault-topbar-tools { justify-self: end; display: flex; align-items: center; gap: clamp(8px, 1.5vw, 20px); }
|
||||
.search-trigger kbd { color: var(--quiet); font: 10px var(--font-mono); }
|
||||
.big-screen .vault-topbar-tools {
|
||||
position: absolute;
|
||||
z-index: 30;
|
||||
bottom: var(--screen-bottom);
|
||||
right: max(var(--screen-gutter), env(safe-area-inset-right));
|
||||
}
|
||||
|
||||
.search-overlay {
|
||||
--search-viewport: 100dvh;
|
||||
--search-top: clamp(12px, calc(var(--search-viewport) * .09), 84px);
|
||||
--search-body-limit: max(0px, calc(var(--search-viewport) - var(--search-top) - 74px));
|
||||
position: fixed;
|
||||
inset: var(--search-viewport-top, 0px) 0 auto;
|
||||
height: var(--search-viewport);
|
||||
z-index: 50;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
align-items: start;
|
||||
padding: var(--search-top) 12px 12px;
|
||||
background: #030508a6;
|
||||
}
|
||||
.search-overlay[inert] { pointer-events: none; }
|
||||
.search-panel {
|
||||
width: min(100%, 560px);
|
||||
min-width: 0;
|
||||
overflow: clip;
|
||||
border: 1px solid #44434a;
|
||||
border-radius: 12px;
|
||||
background: #15181cf5;
|
||||
backdrop-filter: blur(16px);
|
||||
box-shadow: 0 18px 64px #0009;
|
||||
}
|
||||
.search-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 8px 10px 8px 16px;
|
||||
height: 60px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
color: var(--accent);
|
||||
}
|
||||
.search-field > svg { flex: none; }
|
||||
.search-field input { flex: 1; min-width: 0; padding: 6px; font-size: 16px; color: var(--color-star-100); }
|
||||
.search-field input::placeholder { color: var(--quiet); }
|
||||
.search-field .search-close { justify-content: center; width: 44px; height: 44px; padding: 0; }
|
||||
.search-list-frame, .search-body { max-height: var(--search-body-limit); }
|
||||
.search-list-frame { overflow: clip; }
|
||||
.search-body { overflow: auto; overscroll-behavior: contain; }
|
||||
.search-group { padding: 10px 14px 4px; }
|
||||
.search-result {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-inline: 6px;
|
||||
min-height: 44px;
|
||||
padding: 6px 8px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
.search-result > svg { flex: none; color: var(--accent); }
|
||||
.search-result[aria-selected="true"] { background: #493329; box-shadow: inset 2px 0 var(--accent); }
|
||||
.search-result:hover { background: #352c29; }
|
||||
.search-result-text { min-width: 0; }
|
||||
.search-result-text > * { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.search-result-text small, .search-status { font: 11px/1.5 var(--font-mono); color: var(--quiet); }
|
||||
.search-status { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; }
|
||||
|
||||
@media (max-width: 840px) {
|
||||
.vault-topbar-tools .search-trigger { justify-content: center; width: 44px; min-height: 44px; padding: 0; }
|
||||
.search-trigger span { display: none; }
|
||||
}
|
||||
@media (max-width: 1120px) {
|
||||
.search-trigger kbd { display: none; }
|
||||
}
|
||||
@media (max-width: 420px) {
|
||||
.big-screen .vault-topbar-tools { bottom: auto; top: var(--screen-top); }
|
||||
.big-screen .vault-overlay .vault-dialog { top: calc(var(--screen-top) + 52px); }
|
||||
}
|
||||
.vault-main { max-width: 1720px; padding: 30px clamp(16px, 3vw, 44px) 10px; margin-inline: auto; }
|
||||
.vault-overview { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
|
||||
.overview-label span { color: var(--accent); margin-right: 5px; }
|
||||
@@ -168,7 +250,7 @@ button:disabled { cursor: default; }
|
||||
padding: 7px 10px;
|
||||
text-align: left;
|
||||
}
|
||||
.register-row:hover, .snapshot-row:hover { background: #1b1e23; }
|
||||
.snapshot-row:hover { background: #1b1e23; }
|
||||
.register-row[aria-pressed="true"] { background: #222025; box-shadow: inset 2px 0 var(--accent); }
|
||||
.register-content { min-width: 0; }
|
||||
.register-content span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
|
||||
@@ -214,10 +296,11 @@ button:disabled { cursor: default; }
|
||||
.inspector-history h3 { font-size: 12px; font-weight: 550; }
|
||||
.inspector-history header span { color: var(--quiet); font: 11px var(--font-mono); }
|
||||
.inspector-history .console-empty { padding-top: 10px; }
|
||||
.snapshot-row { width: 100%; min-height: 52px; display: grid; grid-template-columns: 17px minmax(0, 1fr) 12px; align-items: center; gap: 8px; padding: 7px 13px; text-align: left; }
|
||||
.snapshot-row { position: relative; width: 100%; min-height: 52px; display: grid; grid-template-columns: 17px minmax(0, 1fr) 12px; align-items: center; gap: 8px; padding: 7px 13px; text-align: left; }
|
||||
.snapshot-row strong { display: block; font-size: 12px; font-weight: 550; }
|
||||
.snapshot-row small { display: block; margin-top: 3px; font: 10px/1.3 var(--font-mono); color: var(--quiet); }
|
||||
.snapshot-glyph { color: #c6d2e6; font-size: 18px; }
|
||||
.snapshot-row-flash { position: absolute; inset: 0; background: #ffb9752b; box-shadow: inset 2px 0 var(--accent); pointer-events: none; }
|
||||
.snapshot-arrow { color: var(--quiet); }
|
||||
|
||||
.vault-scene {
|
||||
@@ -242,8 +325,7 @@ button:disabled { cursor: default; }
|
||||
.scene-controls { display: flex; align-items: center; gap: 6px; }
|
||||
.scene-toolbar button { flex: none; }
|
||||
.scene-mode { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 13px; }
|
||||
.mode-signal { flex: none; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); border-radius: 1px; }
|
||||
.mode-signal.is-live { background: var(--color-orbit-green); border-radius: 50%; transform: none; }
|
||||
.mode-signal { flex: none; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
|
||||
.scene-focus { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--quiet); }
|
||||
.scene-footer { border-top: 1px solid #24282c; background: #0a0c10bb; }
|
||||
.scene-footer > p span { color: var(--accent); }
|
||||
@@ -265,17 +347,19 @@ button:disabled { cursor: default; }
|
||||
.orbit-halo { opacity: .08; }
|
||||
.orbit-alert, .orbit-selection, .orbit-busy { fill: none; stroke: currentColor; stroke-width: 1.15; pointer-events: none; }
|
||||
.orbit-selection { stroke: #f8eadc; stroke-width: 1; }
|
||||
.orbit-busy { stroke-dasharray: 3 3; }
|
||||
.orbit-layer--far .orbit-marker:not(.orbit-marker--red, .orbit-marker--selected) { opacity: .76; }
|
||||
.orbit-busy { stroke-dasharray: 3 3; transform: rotate(var(--busy-angle, 0deg)); }
|
||||
.orbit-hit { fill: transparent; cursor: pointer; }
|
||||
.orbit-marker:hover .orbit-halo { opacity: .3; }
|
||||
.lock-details { opacity: var(--lock-reveal, 0); }
|
||||
.snapshot-marker line { stroke: #bdc4ce; opacity: .58; stroke-dasharray: 2 3; pointer-events: none; }
|
||||
.snapshot-light { fill: #dce5f7; stroke: #272c35; stroke-width: 1.1; pointer-events: none; }
|
||||
.snapshot-marker:hover .snapshot-light { fill: #fff; }
|
||||
.focus-leader { stroke: var(--accent); opacity: .65; pointer-events: none; }
|
||||
.accretion-flow { stroke-dashoffset: var(--accretion-offset, 0); }
|
||||
.accretion-flow--inner { stroke-dashoffset: calc(32 + 2 * var(--accretion-offset, 0)); }
|
||||
.capture-arrival path { stroke: #ffce9b; stroke-width: 2.3; stroke-linecap: round; }
|
||||
.core-absorption { opacity: var(--capture-absorption, 0); }
|
||||
.capture-flare, .snapshot-flash { stroke-width: 1.5; }
|
||||
.snapshot-flash { fill: none; stroke: #ffce9b; pointer-events: none; }
|
||||
.capture-arrival use { stroke: #ffce9b; stroke-linecap: round; }
|
||||
.capture-arrival circle { fill: #fff0d9; }
|
||||
.scene-labels { position: absolute; inset: 0; pointer-events: none; }
|
||||
.scene-labels span { display: block; position: absolute; height: 24px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 22px; color: #dde0e6; background: #111519ed; border: 1px solid #353c46; border-radius: 4px; padding-inline: 7px; }
|
||||
@@ -327,8 +411,18 @@ button:disabled { cursor: default; }
|
||||
|
||||
.big-screen .vault-topbar { display: contents; }
|
||||
.big-screen .vault-dialog { top: var(--screen-top); bottom: calc(var(--screen-bottom) + 64px); }
|
||||
.big-screen :is(.vault-brand, .hub-link, .vault-console, .vault-footer, .scene-footer) { display: none; }
|
||||
.big-screen :is(.vault-brand, .hub-link, .vault-footer, .scene-footer) { display: none; }
|
||||
.big-screen .vault-main { padding: 0; }
|
||||
.big-screen .vault-console {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 185px;
|
||||
bottom: 70px;
|
||||
width: clamp(190px, 16%, 260px);
|
||||
pointer-events: none;
|
||||
}
|
||||
.big-screen .orbit-register { left: clamp(16px, 3vw, 44px); }
|
||||
.big-screen .orbit-inspector { right: clamp(16px, 3vw, 44px); }
|
||||
.big-screen .vault-workspace,
|
||||
.big-screen .vault-scene { position: absolute; inset: 0; display: grid; }
|
||||
.big-screen .vault-workspace { grid-template: 1fr / 1fr; height: auto; }
|
||||
@@ -371,11 +465,11 @@ button:disabled { cursor: default; }
|
||||
position: absolute;
|
||||
z-index: 30;
|
||||
bottom: var(--screen-bottom);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
inset-inline: 0;
|
||||
width: max-content;
|
||||
gap: 4px;
|
||||
max-width: calc(100% - 2 * var(--screen-gutter));
|
||||
margin: 0;
|
||||
margin: 0 auto;
|
||||
padding: 5px 7px;
|
||||
border-radius: 999px;
|
||||
box-shadow: inset 0 1px #ffffff12, 0 8px 30px #0008;
|
||||
@@ -387,6 +481,7 @@ button:disabled { cursor: default; }
|
||||
border-radius: 999px;
|
||||
padding: 0;
|
||||
}
|
||||
.big-screen .nav-label { position: absolute; }
|
||||
.big-screen .vault-nav button[aria-current] { color: #ffe2c9; }
|
||||
|
||||
@media (max-width: 1060px) {
|
||||
|
||||
Reference in New Issue
Block a user