-
Notifications
You must be signed in to change notification settings - Fork 1
/
jquery.scrollable.css
93 lines (78 loc) · 1.64 KB
/
jquery.scrollable.css
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.scrollable {
position: relative;
z-index: 1;
margin: 0;
padding: 0;
}
.scrollable .scrollbar,
.scrollable .scrollbar .handle-container,
.scrollable .scrollbar .handle-container .handle {
position: absolute;
display: block;
}
.scrollable .scrollable-container .scrollable-area {
position: relative;
padding: 0;
margin: 0;
width: auto;
height: auto;
}
.scrollable .scrollbar {
background-color: rgba(0,0,0,0.2);
z-index: 5;
}
.scrollable .scrollbar .handle {
background-color: #333;
border-radius: 5px;
cursor: default;
z-index: 6;
}
.scrollable .scrollbar .handle-container {
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.scrollable .scrollbar.scrollbar-x {
bottom: 0;
left: 0;
right: 0;
height: 14px;
}
.scrollable .scrollbar.scrollbar-y {
top: 0;
bottom: 0;
right: 0;
width: 14px;
}
.scrollable .scrollbar.scrollbar-x .handle-container {
left: 2px;
right: 2px;
}
.scrollable .scrollbar.scrollbar-y .handle-container {
top: 2px;
bottom: 2px;
}
.scrollable .scrollbar.scrollbar-x .handle-container .handle {
height: 10px;
margin: 2px 0;
}
.scrollable .scrollbar.scrollbar-y .handle-container .handle {
width: 10px;
margin: 0 2px;
}
.scrollable .scrollbar.scrollbar-x.corner .handle-container {
right: 16px;
}
.scrollable .scrollbar.scrollbar-y.corner .handle-container {
bottom: 16px;
}
.scrollable.autohide > .scrollbar {
filter : alpha(opacity=0);
opacity : 0;
}
.scrollable.scrolling.autohide > .scrollbar,
.scrollable.autohide.hover > .scrollbar {
filter : alpha(opacity=100);
opacity : 1;
}