-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrive.css
More file actions
51 lines (45 loc) · 799 Bytes
/
drive.css
File metadata and controls
51 lines (45 loc) · 799 Bytes
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
body, html {
overflow: hidden;
}
.drive-parent {
overflow: hidden;
}
/* Enable hardware acceleration on all children: */
/* This can cause issues, so we're not enabling it right now. */
/*
.drive-parent * {
-webkit-transform: translate3d(0, 0, 0);
}
*/
/*
* Scroll Bar
*/
.scrollbar {
position: absolute;
z-index: 1000;
top: 0;
bottom: 0;
right: 0;
width: 10px;
background: rgba(200, 200, 200, 0.3);
}
.scrollbar .track {
position: absolute;
margin-top: 20px;
margin-bottom: 20px;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 10px;
}
.scrollbar .thumb {
position: absolute;
top: 0;
display: block;
width: 10px;
height: 40px;
margin: -20px 0;
background: rgba(0, 0, 0, 0.5);
cursor: pointer;
}