Skip to content

Commit 678ccb6

Browse files
cjw6kclaude
andcommitted
fix: Show scrollbars only on hover for left/right panels
Scrollbar thumb is now transparent by default and fades in when hovering over the panel. Provides cleaner look while still being accessible when needed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b609255 commit 678ccb6

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

tidal-harmonics/src/index.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,15 @@ button:active:not(:disabled),
121121
z-index: 1 !important;
122122
}
123123

124-
/* Custom scrollbar for panels - subtle styling */
124+
/* Custom scrollbar for panels - show on hover only */
125125
.scrollbar-thin {
126126
scrollbar-width: thin;
127-
scrollbar-color: rgba(100, 116, 139, 0.3) transparent;
127+
scrollbar-color: transparent transparent;
128+
transition: scrollbar-color 0.2s ease;
129+
}
130+
131+
.scrollbar-thin:hover {
132+
scrollbar-color: rgba(100, 116, 139, 0.4) transparent;
128133
}
129134

130135
.scrollbar-thin::-webkit-scrollbar {
@@ -136,12 +141,17 @@ button:active:not(:disabled),
136141
}
137142

138143
.scrollbar-thin::-webkit-scrollbar-thumb {
139-
background-color: rgba(100, 116, 139, 0.3);
144+
background-color: transparent;
140145
border-radius: 2px;
146+
transition: background-color 0.2s ease;
147+
}
148+
149+
.scrollbar-thin:hover::-webkit-scrollbar-thumb {
150+
background-color: rgba(100, 116, 139, 0.4);
141151
}
142152

143153
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
144-
background-color: rgba(100, 116, 139, 0.5);
154+
background-color: rgba(100, 116, 139, 0.6);
145155
}
146156

147157
/* Animations */

0 commit comments

Comments
 (0)