/* ========================================================================== Nexus Terminal — Base / Reset Modern CSS reset and foundational element styles. ========================================================================== */ /* ----------------------------------------------------------------------- Box-model reset ----------------------------------------------------------------------- */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } /* ----------------------------------------------------------------------- Root element ----------------------------------------------------------------------- */ html, body { height: 100%; overflow: hidden; font-family: var(--font-sans); font-size: var(--text-base); line-height: var(--leading-normal); color: var(--text-primary); background: var(--bg-base); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; user-select: none; } /* ----------------------------------------------------------------------- Scrollbar styling (Webkit / Blink) ----------------------------------------------------------------------- */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-full); } ::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); } /* Firefox scrollbar */ * { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; } /* ----------------------------------------------------------------------- Text selection ----------------------------------------------------------------------- */ ::selection { background: var(--accent-strong); color: var(--text-primary); } /* ----------------------------------------------------------------------- Focus management ----------------------------------------------------------------------- */ :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } :focus:not(:focus-visible) { outline: none; } /* ----------------------------------------------------------------------- Links ----------------------------------------------------------------------- */ a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); } a:hover { color: var(--accent-hover); } /* ----------------------------------------------------------------------- Images ----------------------------------------------------------------------- */ img, svg { display: block; max-width: 100%; } /* ----------------------------------------------------------------------- Lists ----------------------------------------------------------------------- */ ul, ol { list-style: none; } /* ----------------------------------------------------------------------- Tables ----------------------------------------------------------------------- */ table { border-collapse: collapse; border-spacing: 0; } /* ----------------------------------------------------------------------- Buttons & inputs — inherit font ----------------------------------------------------------------------- */ button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; } button { cursor: pointer; } /* ----------------------------------------------------------------------- Monospace elements ----------------------------------------------------------------------- */ code, pre, kbd, .mono { font-family: var(--font-mono); } /* ----------------------------------------------------------------------- Hidden utility ----------------------------------------------------------------------- */ [hidden], .hidden { display: none !important; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* ----------------------------------------------------------------------- Text utilities ----------------------------------------------------------------------- */ .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .text-secondary { color: var(--text-secondary); } .text-tertiary { color: var(--text-tertiary); } .text-accent { color: var(--accent); } .text-success { color: var(--success); } .text-warning { color: var(--warning); } .text-error { color: var(--error); } /* ----------------------------------------------------------------------- Wails window drag region ----------------------------------------------------------------------- */ .wails-drag { --wails-draggable: drag; }