-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathvideo.css
More file actions
141 lines (140 loc) · 2.94 KB
/
video.css
File metadata and controls
141 lines (140 loc) · 2.94 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
.video-player-wrapper {
top:0;
left:0;
width:100%;
height:100%;
z-index:9999;
color:#FFFFFF;
position:absolute;
background:rgba(0,0,0,.85);
-webkit-user-select:none;
}
.video-player-wrapper .video-player-skip {
width:40px;
height:40px;
text-align:center;
font-size:30px;
border:2px solid #FFFFFF;
border-radius:20px;
background:#000000;
position:absolute;
}
.video-player-wrapper .video-player-skip::before {
content:'x';
}
.video-player {
position:absolute;
overflow:hidden;
}
.video-player-bar {
position:absolute;
bottom:0;
left:0;
width:100%;
height:65px;
background:-webkit-linear-gradient(left,rgba(0,0,0,.7) 0px,rgba(0,0,0,.7) 95px,transparent 95px,transparent 98px,rgba(0,0,0,.7) 98px);
-webkit-transition:bottom .4s ease-in;
}
.video-player-bar.hide {
bottom:-65px;
}
.video-player-knob {
display:block;
position:absolute;
background:#FFF;
border-radius:22px;
width:44px;
height:44px;
bottom:46px;
left:161px;
opacity:.6;
-webkit-box-shadow:0 0 3px rgba(0,0,0,.8);
-webkit-transition:opacity .4s ease-in;
}
.video-player-knob::before {
content:'';
display:block;
width:1px;
background:#FFF;
height:16px;
bottom:-16px;
left:21px;
position:absolute;
}
.video-player-bar.hide .video-player-knob {
opacity:0;
}
.video-player-bar .video-player-play {
display:inline-block;
height:100%;
width:95px;
border:none;
-webkit-box-sizing:border-box;
padding:0;
margin-right:16px;
background:transparent;
text-align:center;
}
.video-player-bar .video-player-play:before, .video-player-bar .video-player-play:after {
content:'';
display:inline-block;
}
.video-player-bar .video-player-play.play:before {
border-style:solid;
border-width:12px;
border-color:transparent transparent transparent #FFF;
margin:5px 0 0 9px;
}
.video-player-bar .video-player-play.pause:before, .video-player-bar .video-player-play.pause:after {
width:5px;
height:24px;
background:#FFF;
margin:5px 3px 0 3px;
}
.video-player-bar span {
font-size:21px;
width:50px;
margin:23px 11px 0 11px;
display:inline-block;
vertical-align:top;
text-shadow:0 0 4px rgba(0,0,0,.8);
}
.video-player-bar .video-player-seek {
height:4px;
width:100px;
border-radius:2px;
background:#FFF;
margin:31px 10px 0 0;
vertical-align:top;
-webkit-appearance:none;
display:inline-block;
}
.video-player-bar .video-player-fill, .video-player-bar .video-player-seek::-webkit-progress-bar-value {
height:100%;
background:-webkit-linear-gradient(top, #37d0ff, #35addb);
border-radius:2px;
}
.track-wrapper {
top:65%;
left:0;
position:absolute;
width:100%;
z-index:99999;
color:#FFF;
overflow:hidden;
font-size:26px;
text-shadow:1px 1px 2px #000;
-webkit-transition:all .5s ease-in;
}
.track-wrapper.hide {
opacity:0;
z-index:0;
pointer-events:none;
}
.track-wrapper p {
margin:0 auto;
overflow:hidden;
}
.track-wrapper p.hide {
height:0;
}