-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
92 lines (77 loc) · 1.62 KB
/
styles.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
80
81
82
83
84
85
86
87
88
89
90
91
92
body{
background-color: #2684BC;
font-family: Arial, Helvetica, sans-serif;
}
.wrapper{
max-inline-size: 900px;
margin: auto;
}
.player{
margin-block-start: 100px;
/* border: 10px solid red; */
position: relative;
}
.player video {
inline-size: 100%;
aspect-ratio: 16/9;
vertical-align: middle;
object-fit: cover;
}
.playerTitle{
color: white;
position: absolute;
inset-block-start: 0;
inset-inline-start: 20px;
}
.playerActions{
position: absolute;
/* border: 10px solid blue; */
inset: 0;
display: flex;
gap: 20px;
justify-content: center;
align-items: center;
/* z-index: 2; */
}
.playerProgress{
/* background: yellow; */
position: absolute;
inset-block-end: 0;
inset-inline:0;
display: flex;
padding: 10px;
}
.playerProgress input {
inline-size: 100%;
}
.playerOverlay{
position: absolute;
inset: 0;
opacity: 0;
}
.player:hover .playerOverlay{
/* transform: scale(.9); */
/* border: 10px solid red; */
opacity: 1;
transition: .6s opacity;
}
.bntControles {
background-color: transparent;
inline-size: 32px;
block-size: 32px;
border: none;
background-repeat: no-repeat;
background-position: center;
}
#play {
background-image: url('./assets/images/play.svg');
}
#pause {
background-image: url('./assets/images/pause.svg');
}
#forward10 {
background-image: url('./assets/images/+10.svg');
}
#backward10 {
background-image: url('./assets/images/-10.svg');
}