Skip to content

Commit d3636c1

Browse files
committed
fix: windows scrollbars transparency too
1 parent 37481fb commit d3636c1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/styles/brackets_scrollbars.less

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@
122122
::-webkit-scrollbar {
123123
width: 12px;
124124
height: 12px;
125-
background-color: @win-scrollbar-track;
125+
background-color: transparent;
126+
}
127+
128+
::-webkit-scrollbar:hover {
129+
background-color: @win-scrollbar-track;
126130
}
127131

128132
::-webkit-scrollbar-thumb {
@@ -167,7 +171,11 @@
167171
// Note: when changing padding/margins, may need to adjust metrics in ScrollTrackMarkers.js
168172

169173
::-webkit-scrollbar {
170-
background-color: rgb(15, 15, 15);
174+
background-color: transparent;
175+
}
176+
177+
::-webkit-scrollbar:hover {
178+
background-color: rgba(15, 15, 15, .5);
171179
}
172180

173181
::-webkit-scrollbar-thumb {

0 commit comments

Comments
 (0)