forked from jesseweed/seti-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscrollbars.less
35 lines (32 loc) · 843 Bytes
/
scrollbars.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.scrollbars-visible-always {
/deep/ ::-webkit-scrollbar,
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-corner,
::-webkit-scrollbar-track,
/deep/ ::-webkit-scrollbar-corner,
/deep/ ::-webkit-scrollbar-track {
background: @tree-view-header-color;
box-shadow: -5px 0px 1px 0px rgba(0,0,0,0.1);
width: 20px;
}
::-webkit-scrollbar-thumb,
/deep/ ::-webkit-scrollbar-thumb {
background: lighten(@app-background-color, 6%);
border-radius: 0;
border: 0;
border: solid 1px @tree-view-header-color;
background-clip: content-box;
}
&.panel-contrast {
.nuclide-ui-panel-component-scroller,
.remote-ftp-view > .scroller,
.tree-view-scroller {
&::-webkit-scrollbar-track {
background: darken(@app-background-color, 2%);
}
}
}
}