Skip to content

Commit c6dc395

Browse files
author
Thomas Erbe
committed
Merge pull request adobe#1 from SAPlayer/scrollbars
Better behaviour of the win scrollbars: Hover-effect, not running into ...
2 parents addbc69 + dd121ba commit c6dc395

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

src/styles/brackets_scrollbars.less

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,31 @@
100100

101101
.platform-win .content {
102102
::-webkit-scrollbar {
103-
background: #f0f0f0;
104103
width: 15px;
104+
height: 15px;
105+
}
106+
::-webkit-scrollbar-track {
107+
background: #f0f0f0;
105108
}
106109
::-webkit-scrollbar-thumb {
107110
background: #cdcdcd;
108111
width: 15px;
112+
border: 1px solid #f0f0f0;
113+
}
114+
:hover::-webkit-scrollbar-thumb,
115+
:focus::-webkit-scrollbar-thumb {
116+
background: #a6a6a6;
109117
}
110-
}
118+
:active::-webkit-scrollbar-thumb {
119+
background: #606060;
120+
}
121+
::-webkit-scrollbar-track:vertical { //:corner-present
122+
margin: 0 0 15px 0;
123+
}
124+
::-webkit-scrollbar-track:horizontal { //:corner-present
125+
margin: 0 15px 0 0;
126+
}
127+
::-webkit-scrollbar-corner {
128+
background: #ffffff;
129+
}
130+
}

0 commit comments

Comments
 (0)