style(sidebar): scrollbar hover on section, smaller toggle button

- Scrollbar shows on playlists-section hover (not just scrollbar area)
- Toggle button: 22px diameter (was 24px), right: -11px
This commit is contained in:
vicrodh committed 2026-01-23 23:44:26 -06:00
1 parent eebf766f1c
commit ab6cbfa414
1 file changed
+11 -10
+11 -10
View File
@@ -958,15 +958,11 @@
flex: 1;
}
/* Thin scrollbar - hidden by default, visible on hover */
/* Thin scrollbar - hidden by default, visible on section hover */
.playlists-scroll {
scrollbar-color: transparent transparent;
}
.playlists-scroll:hover {
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.playlists-scroll::-webkit-scrollbar {
width: 4px;
}
@@ -980,11 +976,16 @@
border-radius: 4px;
}
.playlists-scroll:hover::-webkit-scrollbar-thumb {
/* Show scrollbar when hovering the entire playlists section */
.playlists-section:hover .playlists-scroll {
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.playlists-section:hover .playlists-scroll::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
}
.playlists-scroll:hover::-webkit-scrollbar-thumb:hover {
.playlists-section:hover .playlists-scroll::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.25);
}
@@ -1003,14 +1004,14 @@
.toggle-btn {
position: absolute;
right: -12px;
right: -11px;
top: 50%;
transform: translateY(-50%);
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
width: 22px;
height: 22px;
padding: 0;
background: var(--bg-tertiary);
border: 1px solid rgba(255, 255, 255, 0.1);