blob: 209c5d64ffa0539abe14494b566c0be8659c70c8 (
plain) (
blame)
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
|
/*
* SPDX-FileCopyrightText: 2024 The Refinery Authors
*
* SPDX-License-Identifier: EPL-2.0
*/
:global(.videocolor) {
fill: var(--ifm-color-primary);
}
[data-theme='dark'] :global(.videocolor) {
fill: var(--ifm-color-primary-darker);
}
.video__container {
position: relative;
width: 100%;
height: auto;
aspect-ratio: 560/315;
box-shadow: var(--ifm-global-shadow-lw);
transition: box-shadow var(--ifm-button-transition-duration) var(--ifm-transition-timing-default);
}
.video__container:hover,
.video__container:focus-within {
box-shadow: var(--ifm-global-shadow-md);
}
.video,
.video__button,
.video__image,
.video__svg,
.video__svg > svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video__svg text {
font-family: var(--ifm-font-family-base);
}
.video__button {
margin: 0;
padding: 0;
border: none;
cursor: pointer;
background-size: cover;
}
.video__cover {
z-index: 1;
}
:global(.videoplay) {
fill: rgb(255 255 255 / 40%);
transition: fill var(--ifm-button-transition-duration) var(--ifm-transition-timing-default);
}
.video__container:hover :global(.videoplay),
.video__container:focus-within :global(.videoplay) {
fill: rgb(255 255 255 / 70%);
}
:global(.videotitle) * {
fill: #303846;
transition: fill var(--ifm-button-transition-duration) var(--ifm-transition-timing-default);
}
.video__container:hover :global(.videotitle) *,
.video__container:focus-within :global(.videotitle) * {
fill: #21252b;
}
|