fix: corriger les classes CSS mortes de la sidebar dans les thèmes

Les thèmes référençaient d'anciennes classes (sidebar__menu__*__link)
jamais générées par le JS. Remplacement par les vraies classes nav-tree
(nav-root-link, nav-folder-link, nav-file-link) et ajout du fond
sidebar et des états actifs configurables par thème.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 15:20:55 +02:00
parent e34528c886
commit 75c85e7e0a
3 changed files with 43 additions and 16 deletions
+6 -4
View File
@@ -17,10 +17,12 @@ body { background: #f1f5f9; }
.content table td { border-bottom-color: rgba(79, 70, 229, 0.25); }
.content strong { color: #0f172a; }
.content hr { border-color: #e2e8f0; }
.sidebar__menu__first-level-title__link:hover { color: #818cf8; }
.sidebar__menu__first-level-title__link.active { color: #818cf8; background: rgba(129, 140, 248, 0.08); }
.sidebar__menu__second-level-title__link:hover { color: #818cf8; }
.sidebar__menu__second-level-title__link.active { color: #818cf8; }
.nav-root-link:hover { color: #818cf8; }
.nav-root-link.active { color: #818cf8; background: rgba(129, 140, 248, 0.08); }
.nav-folder-link:hover { color: #818cf8; }
.nav-folder-link.active { color: #818cf8; background: rgba(129, 140, 248, 0.08); }
.nav-file-link:hover { color: #818cf8; }
.nav-file-link.active { color: #818cf8; background: rgba(129, 140, 248, 0.08); }
#titlebar { background: #0f172a; border-bottom: 1px solid #1e293b; }
#titlebar-title { color: rgba(255,255,255,0.5); }
.titlebar-controls button { color: rgba(255,255,255,0.45); }