refactor(ui): Sidebar 1:1 an enconf-Pattern angleichen

- <aside> → <nav> als Root-Element
- Section-Label-Div NEBEN dem <ul> (vorher verschachtelt)
- <NavLink>-Callback → <Link> + location.pathname-Vergleich (Pattern
  identisch zu netcell-webpanel/management-ui/src/components/Layout/Sidebar.tsx)
- nmg-prefix CSS-Variable `--nmg-sidebar-text` entfernt, Textfarbe
  direkt #94A3B8 (enconf-Standard)

Färbung war schon enconf-konform (Gradient #0B1426→#101D33→#0D1829,
Akzent-Stab #1677ff mit color-mix tint), nur Struktur+Markup zogen
nach.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Debian
2026-05-12 14:12:26 +02:00
parent 1bb13e8107
commit 7e21fab339
6 changed files with 34 additions and 30 deletions

View File

@@ -136,10 +136,7 @@ h1, h2, h3, h4, h5, h6 {
gap: 10px;
padding: 8px 10px;
font-size: 14px;
/* CSS-Variable --nmg-sidebar-text wird vom Sidebar-Komponente
gesetzt wenn das Branding eine eigene Textfarbe hat. Fallback:
#94A3B8 (Light-Slate, ursprünglicher Hardcode). */
color: var(--nmg-sidebar-text, #94A3B8);
color: #94A3B8;
text-decoration: none;
border-radius: 6px;
transition: all 0.15s ease;