-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplayer.css
79 lines (73 loc) · 1.39 KB
/
player.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
.player {
position: relative;
display: -webkit-box;
display: -moz-box;
display: box;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
box-orient: horizontal;
}
.player .player_in {
position: relative;
-webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0;
}
.player_in .play_pause_background {
position: absolute;
display: block;
bottom: 0px;
left: 0px;
background-color: rgba(0,0,0,0.3);
}
.player_in .play_pause_button {
width: 30px;
height: 30px;
background-image: url(play.png);
background-repeat: no-repeat;
background-size: 100%;
opacity: 1.0;
}
.player_in .play_pause_button.playing {
background-image: url(pause.png);
}
.player_in .timeline {
position: absolute;
width: 0px;
height: 100%;
left: 0px;
top: 0px;
border-right: 1px solid white;
opacity: 0.7;
}
.player_in .time {
position: absolute;
pointer-events: none;
width: 75px;
height: 30px;
background-color: rgba(0, 0, 0, 0.3);
}
.player_in .time .timelabel {
color: #fff;
font-family: Courier;
font-weight: bold;
width: 100%;
height: 100%;
display: -webkit-box;
display: -moz-box;
display: box;
-webkit-box-align: center;
-moz-box-align: center;
box-align: center;
-webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
}
.player_in .time.remain {
bottom: 0px;
right: 0px;
}
.player_in .time.elapsed {
left: 30px;
bottom: 0px;
}