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:
+10
-2
@@ -324,7 +324,11 @@ body {
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.nav-root-link:hover { color: #ff5577; }
|
||||
.nav-root-link.active { color: #ff5577; font-weight: 500; }
|
||||
.nav-root-link.active {
|
||||
color: #818cf8;
|
||||
background: rgba(129, 140, 248, 0.08);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.nav-folder { margin: 0; }
|
||||
.nav-folder > summary {
|
||||
@@ -392,7 +396,11 @@ body {
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.nav-file-link:hover { color: #ff5577; }
|
||||
.nav-file-link.active { color: #ff5577; font-weight: 500; }
|
||||
.nav-file-link.active {
|
||||
color: #818cf8;
|
||||
background: rgba(129, 140, 248, 0.08);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.nav-depth-1 > .nav-file-link { padding: 5px 24px 5px 52px; }
|
||||
.nav-depth-1 > .nav-folder > summary { padding-left: 24px; }
|
||||
|
||||
Reference in New Issue
Block a user