style(sidebar): darker toggle shadow, unified thin scrollbar
- Toggle shadow: -4px 0 12px with 0.75 alpha (falls on sidebar) - Scrollbar: moved 2px left (padding-right: 2px) - Both views now use same 4px thin scrollbar style
This commit is contained in:
1 parent
f375ae23fe
commit
c028ac628f
1 file changed
+21
-23
@@ -953,37 +953,35 @@
|
||||
|
||||
.playlists-scroll {
|
||||
overflow-y: auto;
|
||||
padding-right: 4px;
|
||||
padding-right: 2px;
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
/* Thin scrollbar for both expanded and collapsed modes */
|
||||
.playlists-scroll::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
.playlists-scroll::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.playlists-scroll::-webkit-scrollbar-thumb {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.playlists-scroll::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
/* When sidebar is collapsed, use overlay scrollbar to keep icons aligned */
|
||||
.sidebar.collapsed .playlists-scroll {
|
||||
overflow-y: overlay;
|
||||
scrollbar-gutter: auto;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* Thin, subtle overlay scrollbar for collapsed mode */
|
||||
.sidebar.collapsed .playlists-scroll::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
.sidebar.collapsed .playlists-scroll::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.sidebar.collapsed .playlists-scroll::-webkit-scrollbar-thumb {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.sidebar.collapsed .playlists-scroll::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.playlists-loading,
|
||||
.no-playlists {
|
||||
font-size: 12px;
|
||||
@@ -1007,7 +1005,7 @@
|
||||
border-radius: 50%;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: -4px 0 12px rgba(0, 0, 0, 0.75);
|
||||
transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
|
||||
z-index: 10;
|
||||
}
|
||||
@@ -1016,7 +1014,7 @@
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-hover);
|
||||
transform: translateY(-50%) scale(1.1);
|
||||
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
|
||||
box-shadow: -6px 0 16px rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.user-section {
|
||||
|
||||
Reference in new issue
Block a user