blob: 2a5769fd13844217fdc04c8dc45a3fbebe368620 (
plain)
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
|
/* Timeline */
canvas {
display: block;
}
.timeline {
display: flex;
flex-direction: row;
position: relative;
width: 300px;
cursor: crosshair;
}
.timelineColumn {
position: relative;
}
.ticks .tick {
position: absolute;
right: 0;
width: 4px;
height: 1px;
background: #ddd;
pointer-events: none;
}
.ticks .tickLabel {
pointer-events: none;
position: absolute;
right: 6px;
font-size: 12px;
width: 40px;
margin-top: -7px;
text-align: right;
text-shadow: 0 0 2px #00f;
}
.timeline .cursor {
width: 100%;
position: absolute;
left: 0;
pointer-events: none;
}
.timeline .cursor .line {
width: 100%;
height: 1px;
background: #00f;
}
.timeline .cursor.playCursor .line {
background: #ddd;
}
.timeline .cursor .tickLabel {
position: absolute;
pointer-events: none;
right: 6px;
font-size: 12px;
width: 40px;
margin-top: -7px;
text-align: right;
text-shadow: 0 0 2px #000, 0 0 2px #000, 0 0 2px #000;
user-select: none;
}
.timeline .cursor_region {
position: absolute;
left: 0;
width: 100%;
border-top: 1px solid #33f;
border-bottom: 1px solid #33f;
background: rgba(32,64,255,0.2);
}
.timeline .cursor_region .tickLabel {
position: absolute;
top: 2px;
left: 6px;
user-select: none;
}
|