stan44 7562cf6fad Add gateway root adoption and mobile polish
- Add Tauri commands to inspect and adopt the gateway repo root
- Retry locked vault commands by prompting for unlock
- Improve mobile layout, editor mode toggles, and settings UI
2026-03-30 00:00:25 -05:00

162 lines
3.3 KiB
CSS

:root {
font-family:
"Segoe UI Variable", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
font-size: 15px;
line-height: 1.45;
font-weight: 400;
--zinc-50: #fafafa;
--zinc-100: #f4f4f5;
--zinc-200: #e4e4e7;
--zinc-300: #d4d4d8;
--zinc-400: #a1a1aa;
--zinc-500: #71717a;
--zinc-600: #52525b;
--zinc-700: #3f3f46;
--zinc-800: #27272a;
--zinc-900: #18181b;
--zinc-950: #09090b;
--bg-app: var(--zinc-950);
--bg-navbar: var(--zinc-900);
--bg-panel: var(--zinc-800);
--bg-editor: var(--zinc-900);
--bg-hover: var(--zinc-800);
--bg-active: var(--zinc-700);
--surface-1: var(--zinc-900);
--surface-2: var(--zinc-800);
--surface-3: var(--zinc-700);
--border-soft: var(--zinc-700);
--border-strong: var(--zinc-600);
--text-primary: var(--zinc-100);
--text-muted: var(--zinc-300);
--text-dim: var(--zinc-500);
--accent: var(--zinc-200);
color: var(--text-primary);
background-color: var(--bg-app);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
html,
body {
min-height: 100%;
}
body {
background: radial-gradient(
circle at 15% -10%,
var(--zinc-800) 0%,
var(--bg-app) 42%
);
color: var(--text-primary);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: inherit;
}
button,
input,
select {
border: none;
outline: none;
background: none;
color: inherit;
}
select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4d4d8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 12px 12px;
padding-right: 30px;
}
.app-shell {
min-height: 100vh;
min-height: 100dvh;
display: grid;
grid-template-columns: 72px 300px minmax(0, 1fr);
position: relative;
}
.app-shell.panel-closed {
grid-template-columns: 72px minmax(0, 1fr);
}
@media (max-width: 1100px) {
.app-shell {
grid-template-columns: 64px 280px minmax(0, 1fr);
}
.app-shell.panel-closed {
grid-template-columns: 64px minmax(0, 1fr);
}
}
@media (max-width: 820px) {
body {
overflow: hidden;
}
.app-shell {
min-height: 100dvh;
min-height: 100svh;
grid-template-columns: 56px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
}
.app-shell.panel-closed {
grid-template-columns: 56px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
}
.app-shell > .navbar {
grid-column: 1;
grid-row: 1;
}
.app-shell > .side-panel,
.app-shell > .editor-panel,
.app-shell > .route-view {
grid-column: 2;
grid-row: 1;
min-height: 0;
}
.app-shell > .side-panel {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 56px;
width: min(360px, calc(100vw - 56px));
z-index: 40;
box-shadow: 18px 0 40px rgba(0, 0, 0, 0.45);
}
.app-shell:not(.panel-closed) > .side-panel {
display: flex;
}
.app-shell > .editor-panel,
.app-shell > .route-view {
min-width: 0;
}
}