feat(sidebar): accordeon unique strict, Plus/Moins, scroll au survol
CI / build-and-test (push) Failing after 8m17s

This commit is contained in:
2026-09-26 11:20:54 -04:00
parent 49c3b5dfdf
commit 1b0a7eb3ce
4 changed files with 272 additions and 137 deletions
+23
View File
@@ -209,3 +209,26 @@ body {
/* Hide scrollbars on horizontal lists where we still want scrolling */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
/* --- Sidebar: scrollbar visible au survol / focus uniquement --------------- */
.sidebar-scroll {
overflow-y: hidden;
scrollbar-width: thin;
scrollbar-color: #334155 transparent;
scrollbar-gutter: stable;
}
.sidebar-scroll:hover,
.sidebar-scroll:focus,
.sidebar-scroll:focus-within {
overflow-y: auto;
}
.sidebar-scroll::-webkit-scrollbar { width: 6px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: #334155; border-radius: 9999px; }
@media (hover: none) {
/* tactile / mobile : toujours scrollable */
.sidebar-scroll { overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
.sidebar-scroll { scroll-behavior: auto; }
}