-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathDuckPlayerContent.module.css
More file actions
68 lines (58 loc) · 1.19 KB
/
DuckPlayerContent.module.css
File metadata and controls
68 lines (58 loc) · 1.19 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
.imageContainer {
position: relative;
align-self: stretch;
overflow: visible;
border-radius: var(--sp-2); /* 8px */
display: flex;
justify-content: center;
align-items: center;
}
.sparkle {
position: absolute;
top: -4px;
left: -13px;
transform: translate(-50%, -50%);
pointer-events: none;
}
.promoImage {
display: block;
width: 100%;
height: auto;
}
/* --- Video (default variant) --- */
.videoContainer {
position: relative;
align-self: stretch;
overflow: hidden;
border-radius: var(--sp-3); /* 12px */
}
.video {
display: block;
width: 100%;
height: auto;
position: relative;
&.hidden {
position: absolute;
top: 0;
left: 0;
opacity: 0;
pointer-events: none;
}
}
/* --- Button row (default variant) --- */
.actions {
display: flex;
justify-content: flex-start;
align-items: flex-start;
gap: var(--sp-2); /* 8px */
align-self: stretch;
[data-platform-name="windows"] & > *:last-child {
order: -1;
}
}
.toggleButton,
.nextButton {
flex: 1 1 0;
padding-left: var(--sp-2); /* 8px */
padding-right: var(--sp-2); /* 8px */
}