Ghostnet.Dashboard neu (.NET 10, Interactive Server): vier Seiten (Ressourcen, GPUs, Logs, Alerts) mit Platzhaltern, ASCII-Button-Navigation mit invers-gruenem Aktivzustand, Monospace/Catppuccin-Mocha-Styling ohne Bootstrap. Fallendokument: CSS-Isolation greift nicht auf NavLink-Kind- komponenten — Nav-Styles laufen ueber ::deep, sonst stiller Regel-Verlust (Headless-Verifikation per Pixel-Analyse). dev-server laeuft auf :5056. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
118 lines
2.6 KiB
CSS
118 lines
2.6 KiB
CSS
/* TUI navigation: ASCII-art buttons, Catppuccin Mocha.
|
|
NavLink renders the <a> as a child component, so its output carries no
|
|
CSS isolation scope attribute. All rules touching .tui-btn/.tui-key must
|
|
go through ::deep anchored on this component's own <nav> element;
|
|
plain scoped selectors silently never matched (found 04.11.2026). */
|
|
.brand {
|
|
padding: 1rem 1rem 0.6rem 1rem;
|
|
border-bottom: 1px dashed var(--surface1);
|
|
margin-bottom: 0.7rem;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: block;
|
|
color: var(--mauve);
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-shadow: 0 0 10px rgba(203, 166, 247, 0.4);
|
|
}
|
|
|
|
.brand-sub {
|
|
display: block;
|
|
color: var(--overlay0);
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.tui-nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 0.25rem;
|
|
}
|
|
|
|
/* ASCII-art button: crisp border with box-drawing corner glyphs. */
|
|
.tui-nav ::deep .tui-btn {
|
|
position: relative;
|
|
display: block;
|
|
color: var(--subtext0);
|
|
text-decoration: none;
|
|
background: var(--crust);
|
|
border: 1px solid var(--surface1);
|
|
margin: 0.4rem 0.55rem;
|
|
padding: 0.4rem 0.7rem;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn::before,
|
|
.tui-nav ::deep .tui-btn::after {
|
|
position: absolute;
|
|
color: var(--surface2);
|
|
background: var(--crust);
|
|
line-height: 1;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn::before {
|
|
content: "┌";
|
|
top: -0.62em;
|
|
left: -0.22em;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn::after {
|
|
content: "┘";
|
|
bottom: -0.6em;
|
|
right: -0.22em;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn:hover {
|
|
color: var(--text);
|
|
border-color: var(--lavender);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn:hover::before,
|
|
.tui-nav ::deep .tui-btn:hover::after {
|
|
color: var(--lavender);
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn.active {
|
|
color: var(--crust);
|
|
background: var(--green);
|
|
border-color: var(--green);
|
|
box-shadow: 0 0 12px rgba(166, 227, 161, 0.25);
|
|
text-shadow: none;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn.active::before,
|
|
.tui-nav ::deep .tui-btn.active::after {
|
|
color: var(--teal);
|
|
background: transparent;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-key {
|
|
color: var(--surface2);
|
|
margin-right: 0.45rem;
|
|
}
|
|
|
|
.tui-nav ::deep .tui-btn.active .tui-key {
|
|
color: var(--mantle);
|
|
}
|
|
|
|
.nav-status {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 0.8rem 1rem;
|
|
border-top: 1px dashed var(--surface1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: var(--overlay0);
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.nav-hint {
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|