@retoo/scena 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +89 -0
- package/README.md +46 -0
- package/dist/index.d.ts +1235 -0
- package/dist/scena.cjs.js +6958 -0
- package/dist/scena.css +761 -0
- package/dist/scena.css.map +1 -0
- package/dist/scena.es.js +6958 -0
- package/dist/scena.min.cjs.js +1 -0
- package/dist/scena.min.css +1 -0
- package/dist/scena.min.es.js +1 -0
- package/dist/scena.min.umd.js +1 -0
- package/dist/scena.umd.js +6962 -0
- package/package.json +113 -0
package/dist/scena.css
ADDED
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
.rs {
|
|
2
|
+
--rs-container-offset-x: 24px;
|
|
3
|
+
--rs-container-offset-y: 24px;
|
|
4
|
+
--rs-container-z-index: 10;
|
|
5
|
+
--rs-video-container-size-xs: 156px;
|
|
6
|
+
--rs-video-container-size-sm: 192px;
|
|
7
|
+
--rs-video-container-size-md: 352px;
|
|
8
|
+
--rs-video-container-size-lg: 448px;
|
|
9
|
+
--rs-video-container-size-xl: 544px;
|
|
10
|
+
--rs-video-container-size-xxl: 640px;
|
|
11
|
+
--rs-video-container-background: white;
|
|
12
|
+
--rs-video-container-border: none;
|
|
13
|
+
--rs-video-container-border-radius: 8px;
|
|
14
|
+
--rs-video-container-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
|
|
15
|
+
--rs-video-container-transition: all 0.3s ease-in-out;
|
|
16
|
+
--rs-video-container-overflow: hidden;
|
|
17
|
+
--rs-video-border-radius: 8px;
|
|
18
|
+
--rs-video-loader-size-xs: 24px;
|
|
19
|
+
--rs-video-loader-size-sm: 32px;
|
|
20
|
+
--rs-video-loader-size-md: 48px;
|
|
21
|
+
--rs-video-loader-size-lg: 64px;
|
|
22
|
+
--rs-video-loader-size-xl: 80px;
|
|
23
|
+
--rs-video-loader-size-xxl: 96px;
|
|
24
|
+
--rs-video-loader-fill: white;
|
|
25
|
+
--rs-video-loader-animation: 0.75s infinite linear;
|
|
26
|
+
--rs-video-progress-track-color: rgba(255, 255, 255, 0.2);
|
|
27
|
+
--rs-video-progress-buffer-color: rgba(255, 255, 255, 0.4);
|
|
28
|
+
--rs-video-progress-progress-color: rgb(255, 255, 255);
|
|
29
|
+
--rs-video-progress-border-radius: 0;
|
|
30
|
+
--rs-video-controls-drop-shadow: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
|
|
31
|
+
--rs-video-controls-transition: all 0.3s ease;
|
|
32
|
+
--rs-video-controls-scale: 1.1;
|
|
33
|
+
--rs-video-controls-z-index: 20;
|
|
34
|
+
--rs-video-volume-drop-shadow: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
|
|
35
|
+
--rs-video-volume-transition: all 0.3s ease;
|
|
36
|
+
--rs-video-volume-scale: 1.1;
|
|
37
|
+
--rs-video-volume-z-index: 20;
|
|
38
|
+
--rs-button-size-xs: 32px;
|
|
39
|
+
--rs-button-size-sm: 36px;
|
|
40
|
+
--rs-button-size-md: 44px;
|
|
41
|
+
--rs-button-size-lg: 50px;
|
|
42
|
+
--rs-button-size-xl: 56px;
|
|
43
|
+
--rs-button-size-xxl: 58px;
|
|
44
|
+
--rs-button-font-size-xs: 10px;
|
|
45
|
+
--rs-button-font-size-sm: 12px;
|
|
46
|
+
--rs-button-font-size-md: 13px;
|
|
47
|
+
--rs-button-font-size-lg: 14px;
|
|
48
|
+
--rs-button-font-size-xl: 16px;
|
|
49
|
+
--rs-button-font-size-xxl: 18px;
|
|
50
|
+
--rs-button-padding-xs: 0px 8px;
|
|
51
|
+
--rs-button-padding-sm: 0px 12px;
|
|
52
|
+
--rs-button-padding-md: 0px 18px;
|
|
53
|
+
--rs-button-padding-lg: 0px 24px;
|
|
54
|
+
--rs-button-padding-xl: 0px 32px;
|
|
55
|
+
--rs-button-padding-xxl: 0px 36px;
|
|
56
|
+
--rs-button-gap-xs: 4px;
|
|
57
|
+
--rs-button-gap-sm: 6px;
|
|
58
|
+
--rs-button-gap-md: 8px;
|
|
59
|
+
--rs-button-gap-lg: 10px;
|
|
60
|
+
--rs-button-gap-xl: 12px;
|
|
61
|
+
--rs-button-gap-xxl: 14px;
|
|
62
|
+
--rs-button-color: rgb(255, 255, 255);
|
|
63
|
+
--rs-button-background: rgb(0, 0, 0);
|
|
64
|
+
--rs-button-background-hover: rgb(25, 25, 25);
|
|
65
|
+
--rs-button-border: none;
|
|
66
|
+
--rs-button-border-radius: 4px;
|
|
67
|
+
--rs-button-transition: all 0.3s ease;
|
|
68
|
+
--rs-close-button-size-xs: 18px;
|
|
69
|
+
--rs-close-button-size-sm: 22px;
|
|
70
|
+
--rs-close-button-size-md: 24px;
|
|
71
|
+
--rs-close-button-size-lg: 28px;
|
|
72
|
+
--rs-close-button-size-xl: 32px;
|
|
73
|
+
--rs-close-button-size-xxl: 34px;
|
|
74
|
+
--rs-close-button-icon-size-xs: 14px;
|
|
75
|
+
--rs-close-button-icon-size-sm: 16px;
|
|
76
|
+
--rs-close-button-icon-size-md: 18px;
|
|
77
|
+
--rs-close-button-icon-size-lg: 20px;
|
|
78
|
+
--rs-close-button-icon-size-xl: 22px;
|
|
79
|
+
--rs-close-button-icon-size-xxl: 24px;
|
|
80
|
+
--rs-close-button-color: rgb(255, 255, 255);
|
|
81
|
+
--rs-close-button-background: rgb(0, 0, 0);
|
|
82
|
+
--rs-close-button-background-hover: color-mix(in srgb, rgb(0, 0, 0) 80%, transparent);
|
|
83
|
+
--rs-close-button-background-pressed: color-mix(in srgb, rgb(0, 0, 0) 60%, transparent);
|
|
84
|
+
--rs-close-button-border-radius: 100%;
|
|
85
|
+
--rs-close-button-transition: all 0.3s ease;
|
|
86
|
+
--rs-close-button-z-index: 20;
|
|
87
|
+
--rs-cta-button-color: rgb(255, 255, 255);
|
|
88
|
+
--rs-cta-button-background: rgb(0, 0, 0);
|
|
89
|
+
--rs-cta-button-background-hover: color-mix(in srgb, rgb(0, 0, 0) 80%, transparent);
|
|
90
|
+
--rs-cta-button-background-pressed: color-mix(in srgb, rgb(0, 0, 0) 60%, transparent);
|
|
91
|
+
--rs-cta-button-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
|
|
92
|
+
--rs-cta-button-transition: all 0.3s ease;
|
|
93
|
+
--rs-cta-button-z-index: 20;
|
|
94
|
+
--rs-icon-size-xs: 22px;
|
|
95
|
+
--rs-icon-size-sm: 24px;
|
|
96
|
+
--rs-icon-size-md: 28px;
|
|
97
|
+
--rs-icon-size-lg: 32px;
|
|
98
|
+
--rs-icon-size-xl: 36px;
|
|
99
|
+
--rs-icon-size-xxl: 40px;
|
|
100
|
+
--rs-icon-color: rgb(255, 255, 255);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.rs-pop-in {
|
|
104
|
+
animation: pop-in 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
|
|
105
|
+
transform-origin: center center;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@keyframes pop-in {
|
|
109
|
+
0% {
|
|
110
|
+
opacity: 0;
|
|
111
|
+
scale: 0.5;
|
|
112
|
+
}
|
|
113
|
+
40% {
|
|
114
|
+
opacity: 1;
|
|
115
|
+
scale: 1.1;
|
|
116
|
+
}
|
|
117
|
+
100% {
|
|
118
|
+
opacity: 1;
|
|
119
|
+
scale: 1;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
.rs-pop-out {
|
|
123
|
+
animation: pop-out 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
|
|
124
|
+
transform-origin: center center;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@keyframes pop-out {
|
|
128
|
+
0% {
|
|
129
|
+
opacity: 1;
|
|
130
|
+
scale: 1;
|
|
131
|
+
}
|
|
132
|
+
20% {
|
|
133
|
+
opacity: 1;
|
|
134
|
+
scale: 1.1;
|
|
135
|
+
}
|
|
136
|
+
100% {
|
|
137
|
+
opacity: 0;
|
|
138
|
+
scale: 0.9;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
.rs-button {
|
|
142
|
+
display: inline-flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
padding: 0;
|
|
146
|
+
color: var(--rs-button-color);
|
|
147
|
+
border: var(--rs-button-border);
|
|
148
|
+
border-radius: var(--rs-button-border-radius);
|
|
149
|
+
transition: var(--rs-button-transition);
|
|
150
|
+
box-sizing: border-box;
|
|
151
|
+
cursor: pointer;
|
|
152
|
+
}
|
|
153
|
+
.rs-button--filled {
|
|
154
|
+
background: var(--rs-button-background);
|
|
155
|
+
}
|
|
156
|
+
.rs-button--filled:hover {
|
|
157
|
+
background: var(--rs-button-background-hover);
|
|
158
|
+
}
|
|
159
|
+
.rs-button--text {
|
|
160
|
+
background: transparent;
|
|
161
|
+
}
|
|
162
|
+
.rs-button--rectangle {
|
|
163
|
+
max-width: 100%;
|
|
164
|
+
width: -moz-max-content;
|
|
165
|
+
width: max-content;
|
|
166
|
+
}
|
|
167
|
+
.rs-button--circle {
|
|
168
|
+
border-radius: 100%;
|
|
169
|
+
}
|
|
170
|
+
.rs-button.rs-button--xs.rs-button--rectangle {
|
|
171
|
+
height: var(--rs-button-size-xs);
|
|
172
|
+
}
|
|
173
|
+
.rs-button.rs-button--xs.rs-button--circle, .rs-button.rs-button--xs.rs-button--square {
|
|
174
|
+
width: var(--rs-button-size-xs);
|
|
175
|
+
height: var(--rs-button-size-xs);
|
|
176
|
+
}
|
|
177
|
+
.rs-button.rs-button--sm.rs-button--rectangle {
|
|
178
|
+
height: var(--rs-button-size-sm);
|
|
179
|
+
}
|
|
180
|
+
.rs-button.rs-button--sm.rs-button--circle, .rs-button.rs-button--sm.rs-button--square {
|
|
181
|
+
width: var(--rs-button-size-sm);
|
|
182
|
+
height: var(--rs-button-size-sm);
|
|
183
|
+
}
|
|
184
|
+
.rs-button.rs-button--md.rs-button--rectangle {
|
|
185
|
+
height: var(--rs-button-size-md);
|
|
186
|
+
}
|
|
187
|
+
.rs-button.rs-button--md.rs-button--circle, .rs-button.rs-button--md.rs-button--square {
|
|
188
|
+
width: var(--rs-button-size-md);
|
|
189
|
+
height: var(--rs-button-size-md);
|
|
190
|
+
}
|
|
191
|
+
.rs-button.rs-button--lg.rs-button--rectangle {
|
|
192
|
+
height: var(--rs-button-size-lg);
|
|
193
|
+
}
|
|
194
|
+
.rs-button.rs-button--lg.rs-button--circle, .rs-button.rs-button--lg.rs-button--square {
|
|
195
|
+
width: var(--rs-button-size-lg);
|
|
196
|
+
height: var(--rs-button-size-lg);
|
|
197
|
+
}
|
|
198
|
+
.rs-button.rs-button--xl.rs-button--rectangle {
|
|
199
|
+
height: var(--rs-button-size-xl);
|
|
200
|
+
}
|
|
201
|
+
.rs-button.rs-button--xl.rs-button--circle, .rs-button.rs-button--xl.rs-button--square {
|
|
202
|
+
width: var(--rs-button-size-xl);
|
|
203
|
+
height: var(--rs-button-size-xl);
|
|
204
|
+
}
|
|
205
|
+
.rs-button.rs-button--xxl.rs-button--rectangle {
|
|
206
|
+
height: var(--rs-button-size-xxl);
|
|
207
|
+
}
|
|
208
|
+
.rs-button.rs-button--xxl.rs-button--circle, .rs-button.rs-button--xxl.rs-button--square {
|
|
209
|
+
width: var(--rs-button-size-xxl);
|
|
210
|
+
height: var(--rs-button-size-xxl);
|
|
211
|
+
}
|
|
212
|
+
.rs-button.rs-button--xs.rs-button--rectangle {
|
|
213
|
+
font-size: var(--rs-button-font-size-xs);
|
|
214
|
+
}
|
|
215
|
+
.rs-button.rs-button--sm.rs-button--rectangle {
|
|
216
|
+
font-size: var(--rs-button-font-size-sm);
|
|
217
|
+
}
|
|
218
|
+
.rs-button.rs-button--md.rs-button--rectangle {
|
|
219
|
+
font-size: var(--rs-button-font-size-md);
|
|
220
|
+
}
|
|
221
|
+
.rs-button.rs-button--lg.rs-button--rectangle {
|
|
222
|
+
font-size: var(--rs-button-font-size-lg);
|
|
223
|
+
}
|
|
224
|
+
.rs-button.rs-button--xl.rs-button--rectangle {
|
|
225
|
+
font-size: var(--rs-button-font-size-xl);
|
|
226
|
+
}
|
|
227
|
+
.rs-button.rs-button--xxl.rs-button--rectangle {
|
|
228
|
+
font-size: var(--rs-button-font-size-xxl);
|
|
229
|
+
}
|
|
230
|
+
.rs-button.rs-button--xs.rs-button--rectangle {
|
|
231
|
+
padding: var(--rs-button-padding-xs);
|
|
232
|
+
}
|
|
233
|
+
.rs-button.rs-button--sm.rs-button--rectangle {
|
|
234
|
+
padding: var(--rs-button-padding-sm);
|
|
235
|
+
}
|
|
236
|
+
.rs-button.rs-button--md.rs-button--rectangle {
|
|
237
|
+
padding: var(--rs-button-padding-md);
|
|
238
|
+
}
|
|
239
|
+
.rs-button.rs-button--lg.rs-button--rectangle {
|
|
240
|
+
padding: var(--rs-button-padding-lg);
|
|
241
|
+
}
|
|
242
|
+
.rs-button.rs-button--xl.rs-button--rectangle {
|
|
243
|
+
padding: var(--rs-button-padding-xl);
|
|
244
|
+
}
|
|
245
|
+
.rs-button.rs-button--xxl.rs-button--rectangle {
|
|
246
|
+
padding: var(--rs-button-padding-xxl);
|
|
247
|
+
}
|
|
248
|
+
.rs-button.rs-button--xs {
|
|
249
|
+
gap: var(--rs-button-gap-xs);
|
|
250
|
+
}
|
|
251
|
+
.rs-button.rs-button--sm {
|
|
252
|
+
gap: var(--rs-button-gap-sm);
|
|
253
|
+
}
|
|
254
|
+
.rs-button.rs-button--md {
|
|
255
|
+
gap: var(--rs-button-gap-md);
|
|
256
|
+
}
|
|
257
|
+
.rs-button.rs-button--lg {
|
|
258
|
+
gap: var(--rs-button-gap-lg);
|
|
259
|
+
}
|
|
260
|
+
.rs-button.rs-button--xl {
|
|
261
|
+
gap: var(--rs-button-gap-xl);
|
|
262
|
+
}
|
|
263
|
+
.rs-button.rs-button--xxl {
|
|
264
|
+
gap: var(--rs-button-gap-xxl);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.rs-icon {
|
|
268
|
+
color: var(--rs-icon-color);
|
|
269
|
+
}
|
|
270
|
+
.rs-icon.rs-icon--xs {
|
|
271
|
+
width: var(--rs-icon-size-xs);
|
|
272
|
+
height: var(--rs-icon-size-xs);
|
|
273
|
+
}
|
|
274
|
+
.rs-icon.rs-icon--sm {
|
|
275
|
+
width: var(--rs-icon-size-sm);
|
|
276
|
+
height: var(--rs-icon-size-sm);
|
|
277
|
+
}
|
|
278
|
+
.rs-icon.rs-icon--md {
|
|
279
|
+
width: var(--rs-icon-size-md);
|
|
280
|
+
height: var(--rs-icon-size-md);
|
|
281
|
+
}
|
|
282
|
+
.rs-icon.rs-icon--lg {
|
|
283
|
+
width: var(--rs-icon-size-lg);
|
|
284
|
+
height: var(--rs-icon-size-lg);
|
|
285
|
+
}
|
|
286
|
+
.rs-icon.rs-icon--xl {
|
|
287
|
+
width: var(--rs-icon-size-xl);
|
|
288
|
+
height: var(--rs-icon-size-xl);
|
|
289
|
+
}
|
|
290
|
+
.rs-icon.rs-icon--xxl {
|
|
291
|
+
width: var(--rs-icon-size-xxl);
|
|
292
|
+
height: var(--rs-icon-size-xxl);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.rs-loader {
|
|
296
|
+
fill: var(--rs-video-loader-fill);
|
|
297
|
+
animation: spinner var(--rs-video-loader-animation);
|
|
298
|
+
transform-origin: center;
|
|
299
|
+
}
|
|
300
|
+
.rs-loader.rs-loader--xs {
|
|
301
|
+
width: var(--rs-video-loader-size-xs);
|
|
302
|
+
height: var(--rs-video-loader-size-xs);
|
|
303
|
+
}
|
|
304
|
+
.rs-loader.rs-loader--sm {
|
|
305
|
+
width: var(--rs-video-loader-size-sm);
|
|
306
|
+
height: var(--rs-video-loader-size-sm);
|
|
307
|
+
}
|
|
308
|
+
.rs-loader.rs-loader--md {
|
|
309
|
+
width: var(--rs-video-loader-size-md);
|
|
310
|
+
height: var(--rs-video-loader-size-md);
|
|
311
|
+
}
|
|
312
|
+
.rs-loader.rs-loader--lg {
|
|
313
|
+
width: var(--rs-video-loader-size-lg);
|
|
314
|
+
height: var(--rs-video-loader-size-lg);
|
|
315
|
+
}
|
|
316
|
+
.rs-loader.rs-loader--xl {
|
|
317
|
+
width: var(--rs-video-loader-size-xl);
|
|
318
|
+
height: var(--rs-video-loader-size-xl);
|
|
319
|
+
}
|
|
320
|
+
.rs-loader.rs-loader--xxl {
|
|
321
|
+
width: var(--rs-video-loader-size-xxl);
|
|
322
|
+
height: var(--rs-video-loader-size-xxl);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@keyframes spinner {
|
|
326
|
+
100% {
|
|
327
|
+
transform: rotate(360deg);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
.rs-progress {
|
|
331
|
+
position: absolute;
|
|
332
|
+
top: 0;
|
|
333
|
+
left: 0;
|
|
334
|
+
width: 100%;
|
|
335
|
+
height: 100%;
|
|
336
|
+
pointer-events: auto;
|
|
337
|
+
z-index: 10;
|
|
338
|
+
}
|
|
339
|
+
.rs-progress:focus {
|
|
340
|
+
outline: none;
|
|
341
|
+
}
|
|
342
|
+
.rs-progress .rs-progress__track {
|
|
343
|
+
position: relative;
|
|
344
|
+
width: 100%;
|
|
345
|
+
background: var(--rs-video-progress-track-color);
|
|
346
|
+
overflow: hidden;
|
|
347
|
+
cursor: pointer;
|
|
348
|
+
}
|
|
349
|
+
.rs-progress .rs-progress__buffer {
|
|
350
|
+
position: absolute;
|
|
351
|
+
top: 0;
|
|
352
|
+
left: 0;
|
|
353
|
+
height: 100%;
|
|
354
|
+
background: var(--rs-video-progress-buffer-color);
|
|
355
|
+
border-radius: var(--rs-video-progress-border-radius);
|
|
356
|
+
cursor: pointer;
|
|
357
|
+
z-index: 11;
|
|
358
|
+
}
|
|
359
|
+
.rs-progress .rs-progress__progress {
|
|
360
|
+
position: absolute;
|
|
361
|
+
top: 0;
|
|
362
|
+
left: 0;
|
|
363
|
+
height: 100%;
|
|
364
|
+
background: var(--rs-video-progress-progress-color);
|
|
365
|
+
border-radius: var(--rs-video-progress-border-radius);
|
|
366
|
+
cursor: pointer;
|
|
367
|
+
z-index: 12;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.rs-progress--line {
|
|
371
|
+
display: flex;
|
|
372
|
+
flex-direction: column;
|
|
373
|
+
justify-content: flex-end;
|
|
374
|
+
touch-action: none;
|
|
375
|
+
}
|
|
376
|
+
.rs-progress--line .rs-progress__track {
|
|
377
|
+
transition: height 0.3s linear;
|
|
378
|
+
}
|
|
379
|
+
.rs-progress--line .rs-progress__buffer {
|
|
380
|
+
transition: width 0.1s linear;
|
|
381
|
+
overflow: hidden;
|
|
382
|
+
}
|
|
383
|
+
.rs-progress--line .rs-progress__progress {
|
|
384
|
+
transition: width 0.1s linear;
|
|
385
|
+
overflow: hidden;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.rs-progress--circle {
|
|
389
|
+
-webkit-user-select: none;
|
|
390
|
+
-moz-user-select: none;
|
|
391
|
+
user-select: none;
|
|
392
|
+
touch-action: none;
|
|
393
|
+
}
|
|
394
|
+
.rs-progress--circle .rs-progress__progress {
|
|
395
|
+
pointer-events: none;
|
|
396
|
+
}
|
|
397
|
+
.rs-progress--circle .rs-progress__buffer {
|
|
398
|
+
pointer-events: none;
|
|
399
|
+
}
|
|
400
|
+
.rs-progress--circle .rs-progress__hit-area {
|
|
401
|
+
cursor: pointer;
|
|
402
|
+
}
|
|
403
|
+
.rs-progress--circle circle {
|
|
404
|
+
transition: cx 0.3s ease-in-out, cy 0.3s ease-in-out, r 0.3s ease-in-out, stroke-dasharray 0.3s ease-in-out, stroke-linecap 0.3s ease-in-out, stroke-width 0.3s ease-in-out, stroke 0.3s ease-in-out, transform 0.3s ease-in-out;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.rs {
|
|
408
|
+
width: -moz-fit-content;
|
|
409
|
+
width: fit-content;
|
|
410
|
+
height: -moz-fit-content;
|
|
411
|
+
height: fit-content;
|
|
412
|
+
}
|
|
413
|
+
.rs .rs-video-controls,
|
|
414
|
+
.rs .rs-video-volume {
|
|
415
|
+
opacity: 0;
|
|
416
|
+
}
|
|
417
|
+
.rs:hover .rs-video-controls,
|
|
418
|
+
.rs:hover .rs-video-volume {
|
|
419
|
+
opacity: 1;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.rs-close-button {
|
|
423
|
+
position: absolute;
|
|
424
|
+
display: flex;
|
|
425
|
+
align-items: center;
|
|
426
|
+
justify-content: center;
|
|
427
|
+
border-radius: var(--rs-close-button-border-radius);
|
|
428
|
+
transition: var(--rs-close-button-transition);
|
|
429
|
+
z-index: var(--rs-close-button-z-index);
|
|
430
|
+
}
|
|
431
|
+
.rs-close-button--square, .rs-close-button--landscape, .rs-close-button--portrait {
|
|
432
|
+
top: 0;
|
|
433
|
+
right: 0;
|
|
434
|
+
translate: 50% -50%;
|
|
435
|
+
}
|
|
436
|
+
.rs-close-button--circle {
|
|
437
|
+
top: 0;
|
|
438
|
+
right: 0;
|
|
439
|
+
}
|
|
440
|
+
.rs-close-button.rs-close-button--xs {
|
|
441
|
+
width: var(--rs-close-button-size-xs);
|
|
442
|
+
height: var(--rs-close-button-size-xs);
|
|
443
|
+
}
|
|
444
|
+
.rs-close-button.rs-close-button--sm {
|
|
445
|
+
width: var(--rs-close-button-size-sm);
|
|
446
|
+
height: var(--rs-close-button-size-sm);
|
|
447
|
+
}
|
|
448
|
+
.rs-close-button.rs-close-button--md {
|
|
449
|
+
width: var(--rs-close-button-size-md);
|
|
450
|
+
height: var(--rs-close-button-size-md);
|
|
451
|
+
}
|
|
452
|
+
.rs-close-button.rs-close-button--lg {
|
|
453
|
+
width: var(--rs-close-button-size-lg);
|
|
454
|
+
height: var(--rs-close-button-size-lg);
|
|
455
|
+
}
|
|
456
|
+
.rs-close-button.rs-close-button--xl {
|
|
457
|
+
width: var(--rs-close-button-size-xl);
|
|
458
|
+
height: var(--rs-close-button-size-xl);
|
|
459
|
+
}
|
|
460
|
+
.rs-close-button.rs-close-button--xxl {
|
|
461
|
+
width: var(--rs-close-button-size-xxl);
|
|
462
|
+
height: var(--rs-close-button-size-xxl);
|
|
463
|
+
}
|
|
464
|
+
.rs-close-button .rs-button {
|
|
465
|
+
padding: 2px;
|
|
466
|
+
background: var(--rs-close-button-background);
|
|
467
|
+
}
|
|
468
|
+
.rs-close-button .rs-button:hover {
|
|
469
|
+
background: var(--rs-close-button-background-hover);
|
|
470
|
+
}
|
|
471
|
+
.rs-close-button .rs-button:active {
|
|
472
|
+
background: var(--rs-close-button-background-pressed);
|
|
473
|
+
}
|
|
474
|
+
.rs-close-button .rs-button .rs-icon {
|
|
475
|
+
color: var(--rs-close-button-color);
|
|
476
|
+
--rs-icon-size-xs: var(--rs-close-button-icon-size-xs);
|
|
477
|
+
--rs-icon-size-sm: var(--rs-close-button-icon-size-sm);
|
|
478
|
+
--rs-icon-size-md: var(--rs-close-button-icon-size-md);
|
|
479
|
+
--rs-icon-size-lg: var(--rs-close-button-icon-size-lg);
|
|
480
|
+
--rs-icon-size-xl: var(--rs-close-button-icon-size-xl);
|
|
481
|
+
--rs-icon-size-xxl: var(--rs-close-button-icon-size-xxl);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.rs-container {
|
|
485
|
+
display: flex;
|
|
486
|
+
flex-direction: column;
|
|
487
|
+
}
|
|
488
|
+
.rs-container--static {
|
|
489
|
+
position: static;
|
|
490
|
+
width: -moz-fit-content;
|
|
491
|
+
width: fit-content;
|
|
492
|
+
}
|
|
493
|
+
.rs-container--relative {
|
|
494
|
+
position: relative;
|
|
495
|
+
width: -moz-fit-content;
|
|
496
|
+
width: fit-content;
|
|
497
|
+
}
|
|
498
|
+
.rs-container--absolute {
|
|
499
|
+
position: absolute;
|
|
500
|
+
z-index: var(--rs-container-z-index);
|
|
501
|
+
}
|
|
502
|
+
.rs-container--fixed {
|
|
503
|
+
position: fixed;
|
|
504
|
+
z-index: var(--rs-container-z-index);
|
|
505
|
+
}
|
|
506
|
+
.rs-container--top-start {
|
|
507
|
+
top: var(--rs-container-offset-y);
|
|
508
|
+
left: var(--rs-container-offset-x);
|
|
509
|
+
}
|
|
510
|
+
.rs-container--top-center {
|
|
511
|
+
top: var(--rs-container-offset-y);
|
|
512
|
+
left: 50%;
|
|
513
|
+
translate: -50% 0;
|
|
514
|
+
}
|
|
515
|
+
.rs-container--top-end {
|
|
516
|
+
top: var(--rs-container-offset-y);
|
|
517
|
+
right: var(--rs-container-offset-x);
|
|
518
|
+
}
|
|
519
|
+
.rs-container--middle-start {
|
|
520
|
+
top: 50%;
|
|
521
|
+
left: var(--rs-container-offset-x);
|
|
522
|
+
translate: 0 -50%;
|
|
523
|
+
}
|
|
524
|
+
.rs-container--middle-center {
|
|
525
|
+
top: 50%;
|
|
526
|
+
left: 50%;
|
|
527
|
+
translate: -50% -50%;
|
|
528
|
+
}
|
|
529
|
+
.rs-container--middle-end {
|
|
530
|
+
top: 50%;
|
|
531
|
+
right: var(--rs-container-offset-x);
|
|
532
|
+
translate: 0 -50%;
|
|
533
|
+
}
|
|
534
|
+
.rs-container--bottom-start {
|
|
535
|
+
bottom: var(--rs-container-offset-y);
|
|
536
|
+
left: var(--rs-container-offset-x);
|
|
537
|
+
}
|
|
538
|
+
.rs-container--bottom-center {
|
|
539
|
+
bottom: var(--rs-container-offset-y);
|
|
540
|
+
left: 50%;
|
|
541
|
+
translate: -50% 0;
|
|
542
|
+
}
|
|
543
|
+
.rs-container--bottom-end {
|
|
544
|
+
bottom: var(--rs-container-offset-y);
|
|
545
|
+
right: var(--rs-container-offset-x);
|
|
546
|
+
}
|
|
547
|
+
.rs-container--hidden {
|
|
548
|
+
visibility: hidden;
|
|
549
|
+
pointer-events: none;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.rs-cta-button {
|
|
553
|
+
box-shadow: var(--rs-cta-button-shadow);
|
|
554
|
+
transition: var(--rs-cta-button-transition);
|
|
555
|
+
z-index: var(--rs-cta-button-z-index);
|
|
556
|
+
}
|
|
557
|
+
.rs-cta-button--inside {
|
|
558
|
+
position: absolute;
|
|
559
|
+
bottom: 8%;
|
|
560
|
+
right: 50%;
|
|
561
|
+
translate: 50% 0;
|
|
562
|
+
}
|
|
563
|
+
.rs-cta-button--outside {
|
|
564
|
+
width: 100%;
|
|
565
|
+
margin: 8px auto auto auto;
|
|
566
|
+
}
|
|
567
|
+
.rs-cta-button--outside .rs-button {
|
|
568
|
+
width: 100%;
|
|
569
|
+
}
|
|
570
|
+
.rs-cta-button .rs-button {
|
|
571
|
+
color: var(--rs-cta-button-color);
|
|
572
|
+
background: var(--rs-cta-button-background);
|
|
573
|
+
}
|
|
574
|
+
.rs-cta-button .rs-button:hover {
|
|
575
|
+
background: var(--rs-cta-button-background-hover);
|
|
576
|
+
}
|
|
577
|
+
.rs-cta-button .rs-button:active {
|
|
578
|
+
background: var(--rs-cta-button-background-pressed);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.rs-video {
|
|
582
|
+
position: relative;
|
|
583
|
+
width: 100%;
|
|
584
|
+
height: 100%;
|
|
585
|
+
overflow: hidden;
|
|
586
|
+
border-radius: var(--rs-video-border-radius);
|
|
587
|
+
}
|
|
588
|
+
.rs-video__media {
|
|
589
|
+
width: 100%;
|
|
590
|
+
height: 100%;
|
|
591
|
+
-o-object-fit: cover;
|
|
592
|
+
object-fit: cover;
|
|
593
|
+
overflow: hidden;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.rs-video-container {
|
|
597
|
+
background: var(--rs-video-container-background);
|
|
598
|
+
border: var(--rs-video-container-border);
|
|
599
|
+
border-radius: var(--rs-video-container-border-radius);
|
|
600
|
+
box-shadow: var(--rs-video-container-shadow);
|
|
601
|
+
overflow: var(--rs-video-container-overflow);
|
|
602
|
+
transition: var(--rs-video-container-transition);
|
|
603
|
+
}
|
|
604
|
+
.rs-video-container.rs-video-container--xs.rs-video-container--circle {
|
|
605
|
+
height: var(--rs-video-container-size-xs);
|
|
606
|
+
aspect-ratio: 1;
|
|
607
|
+
}
|
|
608
|
+
.rs-video-container.rs-video-container--xs.rs-video-container--square {
|
|
609
|
+
height: var(--rs-video-container-size-xs);
|
|
610
|
+
aspect-ratio: 1;
|
|
611
|
+
}
|
|
612
|
+
.rs-video-container.rs-video-container--xs.rs-video-container--landscape {
|
|
613
|
+
height: var(--rs-video-container-size-xs);
|
|
614
|
+
aspect-ratio: 1.7777777778;
|
|
615
|
+
}
|
|
616
|
+
.rs-video-container.rs-video-container--xs.rs-video-container--portrait {
|
|
617
|
+
height: var(--rs-video-container-size-xs);
|
|
618
|
+
aspect-ratio: 0.5625;
|
|
619
|
+
}
|
|
620
|
+
.rs-video-container.rs-video-container--sm.rs-video-container--circle {
|
|
621
|
+
height: var(--rs-video-container-size-sm);
|
|
622
|
+
aspect-ratio: 1;
|
|
623
|
+
}
|
|
624
|
+
.rs-video-container.rs-video-container--sm.rs-video-container--square {
|
|
625
|
+
height: var(--rs-video-container-size-sm);
|
|
626
|
+
aspect-ratio: 1;
|
|
627
|
+
}
|
|
628
|
+
.rs-video-container.rs-video-container--sm.rs-video-container--landscape {
|
|
629
|
+
height: var(--rs-video-container-size-sm);
|
|
630
|
+
aspect-ratio: 1.7777777778;
|
|
631
|
+
}
|
|
632
|
+
.rs-video-container.rs-video-container--sm.rs-video-container--portrait {
|
|
633
|
+
height: var(--rs-video-container-size-sm);
|
|
634
|
+
aspect-ratio: 0.5625;
|
|
635
|
+
}
|
|
636
|
+
.rs-video-container.rs-video-container--md.rs-video-container--circle {
|
|
637
|
+
height: var(--rs-video-container-size-md);
|
|
638
|
+
aspect-ratio: 1;
|
|
639
|
+
}
|
|
640
|
+
.rs-video-container.rs-video-container--md.rs-video-container--square {
|
|
641
|
+
height: var(--rs-video-container-size-md);
|
|
642
|
+
aspect-ratio: 1;
|
|
643
|
+
}
|
|
644
|
+
.rs-video-container.rs-video-container--md.rs-video-container--landscape {
|
|
645
|
+
height: var(--rs-video-container-size-md);
|
|
646
|
+
aspect-ratio: 1.7777777778;
|
|
647
|
+
}
|
|
648
|
+
.rs-video-container.rs-video-container--md.rs-video-container--portrait {
|
|
649
|
+
height: var(--rs-video-container-size-md);
|
|
650
|
+
aspect-ratio: 0.5625;
|
|
651
|
+
}
|
|
652
|
+
.rs-video-container.rs-video-container--lg.rs-video-container--circle {
|
|
653
|
+
height: var(--rs-video-container-size-lg);
|
|
654
|
+
aspect-ratio: 1;
|
|
655
|
+
}
|
|
656
|
+
.rs-video-container.rs-video-container--lg.rs-video-container--square {
|
|
657
|
+
height: var(--rs-video-container-size-lg);
|
|
658
|
+
aspect-ratio: 1;
|
|
659
|
+
}
|
|
660
|
+
.rs-video-container.rs-video-container--lg.rs-video-container--landscape {
|
|
661
|
+
height: var(--rs-video-container-size-lg);
|
|
662
|
+
aspect-ratio: 1.7777777778;
|
|
663
|
+
}
|
|
664
|
+
.rs-video-container.rs-video-container--lg.rs-video-container--portrait {
|
|
665
|
+
height: var(--rs-video-container-size-lg);
|
|
666
|
+
aspect-ratio: 0.5625;
|
|
667
|
+
}
|
|
668
|
+
.rs-video-container.rs-video-container--xl.rs-video-container--circle {
|
|
669
|
+
height: var(--rs-video-container-size-xl);
|
|
670
|
+
aspect-ratio: 1;
|
|
671
|
+
}
|
|
672
|
+
.rs-video-container.rs-video-container--xl.rs-video-container--square {
|
|
673
|
+
height: var(--rs-video-container-size-xl);
|
|
674
|
+
aspect-ratio: 1;
|
|
675
|
+
}
|
|
676
|
+
.rs-video-container.rs-video-container--xl.rs-video-container--landscape {
|
|
677
|
+
height: var(--rs-video-container-size-xl);
|
|
678
|
+
aspect-ratio: 1.7777777778;
|
|
679
|
+
}
|
|
680
|
+
.rs-video-container.rs-video-container--xl.rs-video-container--portrait {
|
|
681
|
+
height: var(--rs-video-container-size-xl);
|
|
682
|
+
aspect-ratio: 0.5625;
|
|
683
|
+
}
|
|
684
|
+
.rs-video-container.rs-video-container--xxl.rs-video-container--circle {
|
|
685
|
+
height: var(--rs-video-container-size-xxl);
|
|
686
|
+
aspect-ratio: 1;
|
|
687
|
+
}
|
|
688
|
+
.rs-video-container.rs-video-container--xxl.rs-video-container--square {
|
|
689
|
+
height: var(--rs-video-container-size-xxl);
|
|
690
|
+
aspect-ratio: 1;
|
|
691
|
+
}
|
|
692
|
+
.rs-video-container.rs-video-container--xxl.rs-video-container--landscape {
|
|
693
|
+
height: var(--rs-video-container-size-xxl);
|
|
694
|
+
aspect-ratio: 1.7777777778;
|
|
695
|
+
}
|
|
696
|
+
.rs-video-container.rs-video-container--xxl.rs-video-container--portrait {
|
|
697
|
+
height: var(--rs-video-container-size-xxl);
|
|
698
|
+
aspect-ratio: 0.5625;
|
|
699
|
+
}
|
|
700
|
+
.rs-video-container--preview {
|
|
701
|
+
cursor: pointer;
|
|
702
|
+
}
|
|
703
|
+
.rs-video-container--circle {
|
|
704
|
+
border-radius: 100%;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.rs-video-controls {
|
|
708
|
+
position: absolute;
|
|
709
|
+
top: 50%;
|
|
710
|
+
left: 50%;
|
|
711
|
+
translate: -50% -50%;
|
|
712
|
+
filter: var(--rs-video-controls-drop-shadow);
|
|
713
|
+
transition: var(--rs-video-controls-transition);
|
|
714
|
+
z-index: var(--rs-video-controls-z-index);
|
|
715
|
+
}
|
|
716
|
+
.rs-video-controls__play:hover, .rs-video-controls__pause:hover {
|
|
717
|
+
transform: var(--rs-video-controls-transform);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.rs-video-loader {
|
|
721
|
+
position: absolute;
|
|
722
|
+
top: 0;
|
|
723
|
+
left: 0;
|
|
724
|
+
display: flex;
|
|
725
|
+
align-items: center;
|
|
726
|
+
justify-content: center;
|
|
727
|
+
width: 100%;
|
|
728
|
+
height: 100%;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.rs-video-volume {
|
|
732
|
+
position: absolute;
|
|
733
|
+
filter: var(--rs-video-volume-drop-shadow);
|
|
734
|
+
transition: var(--rs-video-volume-transition);
|
|
735
|
+
z-index: var(--rs-video-volume-z-index);
|
|
736
|
+
}
|
|
737
|
+
.rs-video-volume--square, .rs-video-volume--landscape, .rs-video-volume--portrait {
|
|
738
|
+
top: 5%;
|
|
739
|
+
right: 5%;
|
|
740
|
+
}
|
|
741
|
+
.rs-video-volume--circle {
|
|
742
|
+
top: 10%;
|
|
743
|
+
right: 50%;
|
|
744
|
+
translate: 50% 0;
|
|
745
|
+
}
|
|
746
|
+
.rs-video-volume__mute:hover, .rs-video-volume__unmute:hover {
|
|
747
|
+
transform: var(--rs-video-volume-transform);
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.rs-sr-only {
|
|
751
|
+
position: absolute;
|
|
752
|
+
width: 1px;
|
|
753
|
+
height: 1px;
|
|
754
|
+
padding: 0;
|
|
755
|
+
margin: -1px;
|
|
756
|
+
overflow: hidden;
|
|
757
|
+
clip: rect(0, 0, 0, 0);
|
|
758
|
+
white-space: nowrap;
|
|
759
|
+
border: 0;
|
|
760
|
+
}
|
|
761
|
+
/*# sourceMappingURL=scena.css.map */
|