-
Notifications
You must be signed in to change notification settings - Fork 1
/
_scrollbar.scss
64 lines (48 loc) · 1000 Bytes
/
_scrollbar.scss
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// sly scrollbar - inside a tab pane
.center_col .scrollbar {
// Scrollbar in a central pane, content is typically a btn-list
// Push the scrollbar to the padding area of the pane
position: absolute;
right: 0;
z-index: 20;
.handle {
cursor: pointer;
.mousearea {
height: 100%;
width: 22px;
position: absolute;
left: -10px;
top: 0;
}
}
}
.tab-pane .scrollbar {
height: 100%;
width: 1.2em;
border-left: thin solid;
border-top: thin solid;
line-height: 0;
.handle {
height: 1.2em;
width: 1.2em;
background-color: rgba(200,200,200,0.6);
border: thin solid #AAA;
border-radius: 1.2em;
margin: 0 auto;
}
.bg {
@extend .noselect;
position: absolute;
top: 0;
left: 0.2em; // Center column horizontally
text-align: center;
word-wrap: break-word;
font-family: monospace;
width: 1px;
line-height: 1.3em;
}
}
.tab-pane .frame .btn-list {
// Scrolling content, need to leave some space for the scrollbar
margin-right: 15px;
}