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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user