-
Notifications
You must be signed in to change notification settings - Fork 0
/
scroller.css
97 lines (81 loc) · 1.96 KB
/
scroller.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
94
95
96
97
html, body {
overflow: hidden;
margin: 0;
padding: 0;
}
/* General
------------------------------------ */
.scroll-dist-list, .scroll-dist-viewer, .scroll-dist-bar {
height: 500px; /* Setting a dummy height, JS will resize according to viewport and scrollHeights. */
}
.scroll-dist-list, .scroll-dist-viewer {
float: left;
overflow: hidden;
}
.scroll-dist-main {
width: 100%;
overflow: hidden;
position: relative;
}
.scroll-dist-content {
zoom: 1; /* For MSIE, sets hasLayout to true - see also: http://www.satzansatz.de/cssd/onhavinglayout.html */
}
#scroll-dist-log {
width: 500px;
height: 240px;
overflow: auto;
position: absolute;
right: 4em;
top: 0;
border: 1px solid #000;
background: #fff;
display: none;
}
/* Header
------------------------------------ */
.scroll-dist-header {
position: absolute;
width: 100%;
margin: 0;
top: 0;
left: 0;
}
/* List
------------------------------------ */
.scroll-dist-list {
position: static;
margin-left: 0;
}
/* Controls
------------------------------------ */
.scroll-dist-controls {
padding: 0;
margin: 0;
overflow: hidden;
z-index: 100000;
}
/* Viewer
------------------------------------ */
.scroll-dist-viewer {
padding: 0;
margin: 0;
}
.scroll-dist-viewer .scroll-dist-content {
width: 100%;
overflow: auto;
}
.scroll-dist-viewer .scroll-dist-viewer-frame {
overflow: hidden;
border: 0;
}
/* Scrollbar
------------------------------------ */
.scroll-dist-bar {
overflow: auto;
position: absolute;
right: 0;
top: 0;
}
.scroll-dist-bar .scroll-dist-content {
padding: 0;
}