style: slim, dark scrollbars to match the theme

Replace the default chunky OS scrollbars with thin dark ones (transparent
track, rounded grey thumb) via scrollbar-width/-color and ::-webkit-scrollbar.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-25 14:05:09 +02:00
co-authored by Claude Sonnet 4.6
parent d229b061be
commit d2941d6c2f
+13
View File
@@ -1,6 +1,19 @@
/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ── Scrollbars — slim, dark, to match the app chrome ──────────────────── */
* { scrollbar-width: thin; scrollbar-color: #5e5e5e transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
background: #5a5a5a;
border: 3px solid transparent; /* breathing room → a slimmer-looking thumb */
border-radius: 8px;
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #787878; background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
html, body {
height: 100%;
overflow: hidden;