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:
@@ -187,25 +187,42 @@ body {
|
||||
|
||||
/* ── Barre latérale ─────────────────────────── */
|
||||
|
||||
/* Lien de premier niveau au survol */
|
||||
.sidebar__menu__first-level-title__link:hover {
|
||||
/* Fond de la barre latérale */
|
||||
.sidebar {
|
||||
background: #1a1b2e;
|
||||
}
|
||||
|
||||
/* Lien racine (premier niveau) au survol */
|
||||
.nav-root-link:hover {
|
||||
color: #818cf8;
|
||||
}
|
||||
|
||||
/* Lien de premier niveau actif (page ouverte) */
|
||||
.sidebar__menu__first-level-title__link.active {
|
||||
/* Lien racine (premier niveau) actif (page ouverte) */
|
||||
.nav-root-link.active {
|
||||
color: #818cf8;
|
||||
background: rgba(129, 140, 248, 0.08);
|
||||
}
|
||||
|
||||
/* Lien de second niveau au survol */
|
||||
.sidebar__menu__second-level-title__link:hover {
|
||||
/* Lien de dossier au survol */
|
||||
.nav-folder-link:hover {
|
||||
color: #818cf8;
|
||||
}
|
||||
|
||||
/* Lien de second niveau actif (page ouverte) */
|
||||
.sidebar__menu__second-level-title__link.active {
|
||||
/* Lien de dossier actif */
|
||||
.nav-folder-link.active {
|
||||
color: #818cf8;
|
||||
background: rgba(129, 140, 248, 0.08);
|
||||
}
|
||||
|
||||
/* Lien de fichier (sous-niveaux) au survol */
|
||||
.nav-file-link:hover {
|
||||
color: #818cf8;
|
||||
}
|
||||
|
||||
/* Lien de fichier actif (page ouverte) */
|
||||
.nav-file-link.active {
|
||||
color: #818cf8;
|
||||
background: rgba(129, 140, 248, 0.08);
|
||||
}
|
||||
|
||||
|
||||
@@ -213,8 +230,8 @@ body {
|
||||
|
||||
/* Fond et bordure inférieure de la barre de titre */
|
||||
#titlebar {
|
||||
background: #0f172a;
|
||||
border-bottom: 1px solid #1e293b;
|
||||
background: #1a1b2e;
|
||||
/* border-bottom: 1px solid #1e293b; */
|
||||
}
|
||||
|
||||
/* Texte du titre de la fenêtre */
|
||||
|
||||
Reference in New Issue
Block a user