forked from red5pro/red5pro-webrtc-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathred5pro-media.css
More file actions
181 lines (159 loc) · 5.4 KB
/
red5pro-media.css
File metadata and controls
181 lines (159 loc) · 5.4 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
.red5pro-media-container {
display: block;
box-sizing: border-box;
position: relative;
height: 100%;
line-height: 0px;
}
.red5pro-media {
width: 100%;
}
.red5pro-media-background {
background-color: #000;
}
.red5pro-media-container-full-screen {
width: 100% !important;
height: 100% !important;
overflow: hidden !important;
}
.red5pro-media-control-bar {
font-family: sans-serif;
opacity: 0;
display: flex;
align-items: center;
flex-direction: row;
flex-align: center;
display: -ms-flexbox;
-ms-flex-direction: row;
-ms-flex-align: center;
-ms-flex-pack: justify;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 1.5em;
padding: 0.5em;
background-color: rgba(255, 255, 255, 0.9);
color: #595959;
-webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out;
-ms-transition: opacity 0.5s ease-in-out;
-o-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out;
}
input[type=range][orient=vertical] {
writing-mode: bt-lr; /* IE */
-webkit-appearance: slider-vertical; /* WebKit */
width: 8px;
height: 175px;
padding: 0 5px;
}
.red5pro-media-control-bar-show {
opacity: 1;
}
.red5pro-media-control-element {
margin: 0 0.5em;
cursor: pointer;
}
.red5pro-media-time-field {
font-size: 0.8em;
line-height: 1em;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}
.red5pro-media-slider {
-webkit-appearance: none !important; /*Needed to reset default slider styles */
transition: all 0.3s ease;
margin-top: 0.8em;
cursor: pointer;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}
.red5pro-media-slider-track {
background-color: #595959;
height: 0.2em;
position: relative;
display: block;
top: 0.1em
}
.red5pro-media-slider-progress {
background-color: #4286F4;
height: 0.2em;
position: relative;
display: block;
top: -0.1em;
}
.red5pro-media-slider-button {
width: 1em;
height: 1em;
max-width: 24px;
max-height: 24px;
top: -0.7em;
position: relative;
display: block;
border-radius: 20px;
background-color: #4286F4;
}
.red5pro-media-slider-disabled {
background-color: #bbb;
cursor: arrow;
}
.red5pro-media-volume-slider {
width: 110px;
}
.red5pro-media-seektime-slider {
flex-grow: 1;
-ms-flex-grow: 1;
-ms-flex-positive: 1;
}
.red5pro-media-element-button {
width: 24px;
height: 24px;
display: inline-block;
background-size: contain;
background-position: 50% 50%;
background-color: transparent;
background-repeat: no-repeat;
border: none;
cursor: pointer;
}
.red5pro-media-element-button-disabled {
cursor: arrow;
opacity: 0.5;
}
.red5pro-media-play-button {
background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'100\' height=\'100\' viewBox=\'0 0 100 100\'%3E%3Cpolygon points=\'30,15 30,85 80,50\' fill=\'%23595959\'/%3E%3C/svg%3E');
background-size: contain;
background-repeat: no-repeat;
}
.red5pro-media-pause-button {
background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'100\' height=\'100\' viewBox=\'0 0 100 100\'%3E%3Crect x=\'20\' y=\'15\' width=\'20\' height=\'70\' fill=\'%23595959\'/%3E%3Crect x=\'60\' y=\'15\' width=\'20\' height=\'70\' fill=\'%23595959\'/%3E%3C/svg%3E');
background-size: contain;
background-repeat: no-repeat;
}
.red5pro-media-unmute-button {
background-image: url('data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 100 100\' fill=\'none\' stroke=\'%23595959\' stroke-width=\'8\' stroke-linecap=\'butt\' stroke-linejoin=\'miter\'><path d=\'M46 20L28 36H16a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h12l18 16V20z\'/><path d=\'M50 36a14 14 0 0 1 0 28\'/><path d=\'M70 28a24 24 0 0 1 0 48\'/></svg>');
background-size: contain;
background-repeat: no-repeat;
}
.red5pro-media-mute-button {
background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'100\' height=\'100\' viewBox=\'0 0 100 100\' fill=\'%23595959\'%3E%3Cpath d=\'M46 20L28 36H16a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h12l18 16V20z\' stroke=\'%23595959\' stroke-width=\'8\'/%3E%3Cline x1=\'70\' y1=\'40\' x2=\'90\' y2=\'60\' stroke=\'%23595959\' stroke-width=\'8\'/%3E%3Cline x1=\'90\' y1=\'40\' x2=\'70\' y2=\'60\' stroke=\'%23595959\' stroke-width=\'8\'/%3E%3C/svg%3E');
background-size: contain;
background-repeat: no-repeat;
}
.red5pro-media-fullscreen-button {
background-image: url('data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 100 100\' fill=\'%23595959\' stroke=\'%23595959\' stroke-width=\'5\' stroke-linecap=\'butt\' stroke-linejoin=\'miter\'><path d=\'M20 20h20v-8H12v28h8V20z\'/><path d=\'M80 20h-20v-8h28v28h-8V20z\'/><path d=\'M20 80h20v8H12V60h8v20z\'/><path d=\'M80 80h-20v8h28V60h-8v20z\'/></svg>');
background-size: contain;
background-repeat: no-repeat;
}
.red5pro-media-exit-fullscreen-button {
background-image: url('data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 100 100\' fill=\'%23595959\' stroke=\'%23595959\' stroke-width=\'5\' stroke-linecap=\'butt\' stroke-linejoin=\'miter\'><path d=\'M32 12v20H12\'/><path d=\'M68 12v20h20\'/><path d=\'M32 88V68H12\'/><path d=\'M68 88V68h20\'/></svg>');
background-size: contain;
background-repeat: no-repeat;
}