blob: 5003e80d8eb0cf44f23eadf6617bdd6fde7f00ba (
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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
@import ../../../style-globals/_variables.sass
@import ../../../style-globals/_mixins.sass
$container-size: 500px
$play-btn-size: 40px
$border-width: 1px
$timeline-border: $border-width solid $gray-semi-dark
.timeline-bar
display: block
position: absolute
left: 0
bottom: 20px
width: 100%
text-align: center
z-index: 2000
pointer-events: none
.timeline-container
display: inline-block
margin: 0 auto
text-align: left
width: $container-size
.timeline-labels
display: block
height: 25px
line-height: 25px
div
display: inline-block
.start-time-label
margin-left: $play-btn-size - $border-width
padding-left: 4px
.end-time-label
padding-right: 4px
float: right
.timeline-controls
display: flex
border: $timeline-border
overflow: hidden
pointer-events: all
+border-radius($standard-border-radius)
.play-btn
width: $play-btn-size
height: $play-btn-size + $border-width
line-height: $play-btn-size + $border-width
text-align: center
float: left
margin-top: -$border-width
font-size: 16pt
background: #333
color: #eee
+transition(background, $transition-length)
+user-select
+clickable
.play-btn:hover
background: #656565
.play-btn:active
background: #000
.timeline
position: relative
flex: 1
height: $play-btn-size
line-height: $play-btn-size
float: right
background: $blue-light
z-index: 500
div
+transition(all, $transition-length)
.time-marker
position: absolute
top: 0
left: 0
width: 6px
height: 100%
background: $blue-very-dark
+border-radius(2px)
z-index: 503
.section-marker
position: absolute
top: 0
left: 0
width: 3px
height: 100%
background: #222222
z-index: 504
|