forked from agoran-association/StreamPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
64 lines (57 loc) · 1003 Bytes
/
style.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
.agora-player__box {
position: relative;
width: 240px;
height: 180px;
}
.agora-player__placeholder {
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #EEEEEE;
display: flex;
justify-content: center;
align-items: center;
}
.agora-player__box.contain video{
left: 0;
object-fit: contain!important;
}
.agora-player__box.cover video{
left: 0;
object-fit: cover!important;
}
.agora-player__decorations {
position: absolute;
top: 5px;
left: 5px;
z-index: 2;
display: flex;
white-space: nowrap;
}
.agora-player__icon {
display: inline-flex;
margin: 3px;
width: 24px;
height: 24px;
justify-content: center;
align-items: center;
transition: .3s all ease-in-out;
}
.agora-player__icon img {
max-width: 100%;
}
.agora-player__label {
position: absolute;
text-align: center;
font-size: 16px;
font-weight: bold;
color: white;
height: 24px;
width: 100%;
bottom: 0;
z-index: 2;
right: 0;
}