@streamscloud/embeddable 1.1.5 → 1.1.7
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svelte:options customElement=
|
|
1
|
+
<svelte:options customElement={{ tag: 'short-videos-player', shadow: 'none' }} />
|
|
2
2
|
|
|
3
3
|
<script lang="ts">import { ShortVideosPlayer } from '../short-videos-player';
|
|
4
4
|
import { ShortVideosPlayerModalState } from './short-videos-player-modal-state.svelte.js';
|
|
@@ -27,134 +27,255 @@ $effect(() => {
|
|
|
27
27
|
opacity: 1;
|
|
28
28
|
}
|
|
29
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
|
-
|
|
30
|
+
.short-videos-player-modal {
|
|
31
|
+
/**
|
|
32
|
+
* 1. Correct the line height in all browsers.
|
|
33
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
34
|
+
*/
|
|
35
|
+
line-height: 1.15; /* 1 */
|
|
36
|
+
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
39
|
+
margin: 0;
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
text-align: initial;
|
|
42
|
+
/* Reset browser styles */
|
|
43
|
+
/*Default margins and paddings are removed*/
|
|
44
|
+
/*Images are block-level*/
|
|
45
|
+
/*Lists are unstyled*/
|
|
46
|
+
/* Normalize styles */
|
|
47
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
48
|
+
/* Document
|
|
49
|
+
========================================================================== */
|
|
50
|
+
/**
|
|
51
|
+
* Render the `main` element consistently in IE.
|
|
52
|
+
*/
|
|
53
|
+
/**
|
|
54
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
|
55
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
|
56
|
+
*/
|
|
57
|
+
/* Grouping content
|
|
58
|
+
========================================================================== */
|
|
59
|
+
/**
|
|
60
|
+
* 1. Add the correct box sizing in Firefox.
|
|
61
|
+
* 2. Show the overflow in Edge and IE.
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
65
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
66
|
+
*/
|
|
67
|
+
/* Text-level semantics
|
|
68
|
+
========================================================================== */
|
|
69
|
+
/**
|
|
70
|
+
* Remove the gray background on active links in IE 10.
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* 1. Remove the bottom border in Chrome 57-
|
|
74
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
81
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
82
|
+
*/
|
|
83
|
+
/**
|
|
84
|
+
* Add the correct font size in all browsers.
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
88
|
+
* all browsers.
|
|
89
|
+
*/
|
|
90
|
+
/* Embedded content
|
|
91
|
+
========================================================================== */
|
|
92
|
+
/**
|
|
93
|
+
* Remove the border on images inside links in IE 10.
|
|
94
|
+
*/
|
|
95
|
+
/* Forms
|
|
96
|
+
========================================================================== */
|
|
97
|
+
/**
|
|
98
|
+
* 1. Change the font styles in all browsers.
|
|
99
|
+
* 2. Remove the margin in Firefox and Safari.
|
|
100
|
+
*/
|
|
101
|
+
/**
|
|
102
|
+
* Show the overflow in IE.
|
|
103
|
+
* 1. Show the overflow in Edge.
|
|
104
|
+
*/
|
|
105
|
+
/**
|
|
106
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
107
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
|
108
|
+
*/
|
|
109
|
+
/**
|
|
110
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
|
111
|
+
*/
|
|
112
|
+
/**
|
|
113
|
+
* Remove the inner border and padding in Firefox.
|
|
114
|
+
*/
|
|
115
|
+
/**
|
|
116
|
+
* Restore the focus styles unset by the previous rule.
|
|
117
|
+
*/
|
|
118
|
+
/**
|
|
119
|
+
* Correct the padding in Firefox.
|
|
120
|
+
*/
|
|
121
|
+
/**
|
|
122
|
+
* 1. Correct the text wrapping in Edge and IE.
|
|
123
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
124
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
|
125
|
+
* `fieldset` elements in all browsers.
|
|
126
|
+
*/
|
|
127
|
+
/**
|
|
128
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
* Remove the default vertical scrollbar in IE 10+.
|
|
132
|
+
*/
|
|
133
|
+
/**
|
|
134
|
+
* 1. Add the correct box sizing in IE 10.
|
|
135
|
+
* 2. Remove the padding in IE 10.
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
139
|
+
*/
|
|
140
|
+
/**
|
|
141
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
|
142
|
+
* 2. Correct the outline style in Safari.
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
|
146
|
+
*/
|
|
147
|
+
/**
|
|
148
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
149
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
150
|
+
*/
|
|
151
|
+
/* Misc
|
|
152
|
+
========================================================================== */
|
|
153
|
+
/**
|
|
154
|
+
* Add the correct display in IE 10+.
|
|
155
|
+
*/
|
|
156
|
+
/**
|
|
157
|
+
* Add the correct display in IE 10.
|
|
158
|
+
*/
|
|
159
|
+
position: fixed;
|
|
160
|
+
top: 0;
|
|
161
|
+
left: 0;
|
|
162
|
+
bottom: 0;
|
|
163
|
+
right: 0;
|
|
164
|
+
z-index: 1000;
|
|
165
|
+
}
|
|
166
|
+
.short-videos-player-modal :global(a),
|
|
167
|
+
.short-videos-player-modal :global(article),
|
|
168
|
+
.short-videos-player-modal :global(aside),
|
|
169
|
+
.short-videos-player-modal :global(blockquote),
|
|
170
|
+
.short-videos-player-modal :global(body),
|
|
171
|
+
.short-videos-player-modal :global(dd),
|
|
172
|
+
.short-videos-player-modal :global(div),
|
|
173
|
+
.short-videos-player-modal :global(dl),
|
|
174
|
+
.short-videos-player-modal :global(dt),
|
|
175
|
+
.short-videos-player-modal :global(figcaption),
|
|
176
|
+
.short-videos-player-modal :global(figure),
|
|
177
|
+
.short-videos-player-modal :global(footer),
|
|
178
|
+
.short-videos-player-modal :global(form),
|
|
179
|
+
.short-videos-player-modal :global(h1),
|
|
180
|
+
.short-videos-player-modal :global(h2),
|
|
181
|
+
.short-videos-player-modal :global(h3),
|
|
182
|
+
.short-videos-player-modal :global(h4),
|
|
183
|
+
.short-videos-player-modal :global(h5),
|
|
184
|
+
.short-videos-player-modal :global(h6),
|
|
185
|
+
.short-videos-player-modal :global(header),
|
|
186
|
+
.short-videos-player-modal :global(html),
|
|
187
|
+
.short-videos-player-modal :global(img),
|
|
188
|
+
.short-videos-player-modal :global(li),
|
|
189
|
+
.short-videos-player-modal :global(nav),
|
|
190
|
+
.short-videos-player-modal :global(ol),
|
|
191
|
+
.short-videos-player-modal :global(p),
|
|
192
|
+
.short-videos-player-modal :global(section),
|
|
193
|
+
.short-videos-player-modal :global(table),
|
|
194
|
+
.short-videos-player-modal :global(td),
|
|
195
|
+
.short-videos-player-modal :global(ul) {
|
|
62
196
|
margin: 0;
|
|
63
197
|
padding: 0;
|
|
64
198
|
}
|
|
65
|
-
|
|
66
|
-
:global(
|
|
67
|
-
:global(
|
|
68
|
-
:global(
|
|
69
|
-
:global(
|
|
70
|
-
:global(
|
|
71
|
-
:global(
|
|
72
|
-
:global(
|
|
73
|
-
:global(figcaption) {
|
|
199
|
+
.short-videos-player-modal :global(header),
|
|
200
|
+
.short-videos-player-modal :global(section),
|
|
201
|
+
.short-videos-player-modal :global(footer),
|
|
202
|
+
.short-videos-player-modal :global(aside),
|
|
203
|
+
.short-videos-player-modal :global(nav),
|
|
204
|
+
.short-videos-player-modal :global(article),
|
|
205
|
+
.short-videos-player-modal :global(figure),
|
|
206
|
+
.short-videos-player-modal :global(figcaption) {
|
|
74
207
|
display: block;
|
|
75
208
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
:global(
|
|
79
|
-
:global(
|
|
80
|
-
:global(
|
|
81
|
-
:global(
|
|
82
|
-
:global(
|
|
83
|
-
:global(
|
|
84
|
-
:global(embed),
|
|
85
|
-
:global(object) {
|
|
209
|
+
.short-videos-player-modal :global(img),
|
|
210
|
+
.short-videos-player-modal :global(svg),
|
|
211
|
+
.short-videos-player-modal :global(video),
|
|
212
|
+
.short-videos-player-modal :global(canvas),
|
|
213
|
+
.short-videos-player-modal :global(audio),
|
|
214
|
+
.short-videos-player-modal :global(iframe),
|
|
215
|
+
.short-videos-player-modal :global(embed),
|
|
216
|
+
.short-videos-player-modal :global(object) {
|
|
86
217
|
display: block;
|
|
87
218
|
vertical-align: middle;
|
|
88
219
|
max-width: 100%;
|
|
89
220
|
}
|
|
90
|
-
|
|
91
|
-
:global(table) {
|
|
221
|
+
.short-videos-player-modal :global(table) {
|
|
92
222
|
border-collapse: collapse;
|
|
93
223
|
}
|
|
94
|
-
|
|
95
|
-
:global(img) {
|
|
224
|
+
.short-videos-player-modal :global(img) {
|
|
96
225
|
border: none;
|
|
97
226
|
height: auto;
|
|
98
227
|
}
|
|
99
|
-
|
|
100
|
-
:global(video) {
|
|
228
|
+
.short-videos-player-modal :global(video) {
|
|
101
229
|
outline: none;
|
|
102
230
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
:global(ul),
|
|
106
|
-
:global(ol) {
|
|
231
|
+
.short-videos-player-modal :global(ul),
|
|
232
|
+
.short-videos-player-modal :global(ol) {
|
|
107
233
|
list-style: none;
|
|
108
234
|
margin: 0;
|
|
109
235
|
padding: 0;
|
|
110
236
|
}
|
|
111
|
-
|
|
112
|
-
:global(li) {
|
|
237
|
+
.short-videos-player-modal :global(li) {
|
|
113
238
|
list-style: inherit;
|
|
114
239
|
}
|
|
115
|
-
|
|
116
|
-
:global(input) {
|
|
240
|
+
.short-videos-player-modal :global(input) {
|
|
117
241
|
vertical-align: middle;
|
|
118
242
|
min-width: 0;
|
|
119
243
|
/* Chrome, Safari, Edge, Opera */
|
|
120
244
|
}
|
|
121
|
-
:global(input)::placeholder {
|
|
245
|
+
.short-videos-player-modal :global(input)::placeholder {
|
|
122
246
|
color: var(--input--placeholder--color, #c1c1c1) !important;
|
|
123
247
|
}
|
|
124
|
-
:global(input):-webkit-autofill, :global(input):-webkit-autofill:hover, :global(input):-webkit-autofill:focus {
|
|
248
|
+
.short-videos-player-modal :global(input):-webkit-autofill, .short-videos-player-modal :global(input):-webkit-autofill:hover, .short-videos-player-modal :global(input):-webkit-autofill:focus {
|
|
125
249
|
-webkit-background-clip: text;
|
|
126
250
|
}
|
|
127
|
-
:global(input)::-webkit-outer-spin-button, :global(input)::-webkit-inner-spin-button {
|
|
251
|
+
.short-videos-player-modal :global(input)::-webkit-outer-spin-button, .short-videos-player-modal :global(input)::-webkit-inner-spin-button {
|
|
128
252
|
-webkit-appearance: none;
|
|
129
253
|
margin: 0;
|
|
130
254
|
}
|
|
131
|
-
|
|
132
|
-
:global(textarea) {
|
|
255
|
+
.short-videos-player-modal :global(textarea) {
|
|
133
256
|
vertical-align: top;
|
|
134
257
|
resize: vertical;
|
|
135
258
|
scrollbar-color: var(--custom-scrollbar-color, #b0b0b0) var(--custom-scrollbar-background, #f1f1f1);
|
|
136
259
|
scrollbar-width: thin;
|
|
137
260
|
}
|
|
138
|
-
:global(textarea)::-webkit-scrollbar {
|
|
261
|
+
.short-videos-player-modal :global(textarea)::-webkit-scrollbar {
|
|
139
262
|
width: 3px;
|
|
140
263
|
height: 3px;
|
|
141
264
|
background: var(--custom-scrollbar-background, transparent);
|
|
142
265
|
visibility: hidden;
|
|
143
266
|
}
|
|
144
|
-
:global(textarea)::-webkit-scrollbar-thumb {
|
|
267
|
+
.short-videos-player-modal :global(textarea)::-webkit-scrollbar-thumb {
|
|
145
268
|
background: var(--custom-scrollbar-color, #b0b0b0);
|
|
146
269
|
}
|
|
147
|
-
:global(textarea)::placeholder {
|
|
270
|
+
.short-videos-player-modal :global(textarea)::placeholder {
|
|
148
271
|
color: var(--input--placeholder--color, #c1c1c1) !important;
|
|
149
272
|
}
|
|
150
|
-
|
|
151
|
-
:global(
|
|
152
|
-
:global(textarea:focus) {
|
|
273
|
+
.short-videos-player-modal :global(input:focus),
|
|
274
|
+
.short-videos-player-modal :global(textarea:focus) {
|
|
153
275
|
outline: none;
|
|
154
276
|
}
|
|
155
|
-
|
|
156
|
-
:global(
|
|
157
|
-
:global(input[type="submit"]) {
|
|
277
|
+
.short-videos-player-modal :global(button),
|
|
278
|
+
.short-videos-player-modal :global(input[type="submit"]) {
|
|
158
279
|
cursor: pointer;
|
|
159
280
|
-webkit-appearance: none;
|
|
160
281
|
background-color: transparent;
|
|
@@ -164,226 +285,122 @@ $effect(() => {
|
|
|
164
285
|
color: inherit;
|
|
165
286
|
box-sizing: border-box;
|
|
166
287
|
}
|
|
167
|
-
:global(button):disabled,
|
|
168
|
-
:global(input[type="submit"]):disabled {
|
|
288
|
+
.short-videos-player-modal :global(button):disabled,
|
|
289
|
+
.short-videos-player-modal :global(input[type="submit"]):disabled {
|
|
169
290
|
cursor: default;
|
|
170
291
|
}
|
|
171
|
-
:global(button):focus, :global(button):focus-visible,
|
|
172
|
-
:global(input[type="submit"]):focus,
|
|
173
|
-
:global(input[type="submit"]):focus-visible {
|
|
292
|
+
.short-videos-player-modal :global(button):focus, .short-videos-player-modal :global(button):focus-visible,
|
|
293
|
+
.short-videos-player-modal :global(input[type="submit"]):focus,
|
|
294
|
+
.short-videos-player-modal :global(input[type="submit"]):focus-visible {
|
|
174
295
|
outline: none;
|
|
175
296
|
}
|
|
176
|
-
|
|
177
|
-
:global(a) {
|
|
297
|
+
.short-videos-player-modal :global(a) {
|
|
178
298
|
color: inherit;
|
|
179
299
|
text-decoration: none;
|
|
180
300
|
transition: color linear 0.2s;
|
|
181
301
|
}
|
|
182
|
-
|
|
183
|
-
:global(
|
|
184
|
-
:global(*:
|
|
185
|
-
:global(*:after) {
|
|
302
|
+
.short-videos-player-modal :global(*),
|
|
303
|
+
.short-videos-player-modal :global(*:before),
|
|
304
|
+
.short-videos-player-modal :global(*:after) {
|
|
186
305
|
box-sizing: inherit;
|
|
187
306
|
border-width: 0;
|
|
188
307
|
border-style: solid;
|
|
189
308
|
}
|
|
190
|
-
|
|
191
|
-
/* Normalize styles */
|
|
192
|
-
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
193
|
-
/* Document
|
|
194
|
-
========================================================================== */
|
|
195
|
-
/**
|
|
196
|
-
* Render the `main` element consistently in IE.
|
|
197
|
-
*/
|
|
198
|
-
:global(main) {
|
|
309
|
+
.short-videos-player-modal :global(main) {
|
|
199
310
|
display: block;
|
|
200
311
|
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
|
204
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
|
205
|
-
*/
|
|
206
|
-
:global(h1) {
|
|
312
|
+
.short-videos-player-modal :global(h1) {
|
|
207
313
|
font-size: 2em;
|
|
208
314
|
margin: 0.67em 0;
|
|
209
315
|
}
|
|
210
|
-
|
|
211
|
-
/* Grouping content
|
|
212
|
-
========================================================================== */
|
|
213
|
-
/**
|
|
214
|
-
* 1. Add the correct box sizing in Firefox.
|
|
215
|
-
* 2. Show the overflow in Edge and IE.
|
|
216
|
-
*/
|
|
217
|
-
:global(hr) {
|
|
316
|
+
.short-videos-player-modal :global(hr) {
|
|
218
317
|
box-sizing: content-box; /* 1 */
|
|
219
318
|
height: 0; /* 1 */
|
|
220
319
|
overflow: visible; /* 2 */
|
|
221
320
|
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
225
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
226
|
-
*/
|
|
227
|
-
:global(pre) {
|
|
321
|
+
.short-videos-player-modal :global(pre) {
|
|
228
322
|
font-family: monospace, monospace; /* 1 */
|
|
229
323
|
font-size: 1em; /* 2 */
|
|
230
324
|
}
|
|
231
|
-
|
|
232
|
-
/* Text-level semantics
|
|
233
|
-
========================================================================== */
|
|
234
|
-
/**
|
|
235
|
-
* Remove the gray background on active links in IE 10.
|
|
236
|
-
*/
|
|
237
|
-
:global(a) {
|
|
325
|
+
.short-videos-player-modal :global(a) {
|
|
238
326
|
background-color: transparent;
|
|
239
327
|
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* 1. Remove the bottom border in Chrome 57-
|
|
243
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
244
|
-
*/
|
|
245
|
-
:global(abbr[title]) {
|
|
328
|
+
.short-videos-player-modal :global(abbr[title]) {
|
|
246
329
|
border-bottom: none; /* 1 */
|
|
247
330
|
text-decoration: underline; /* 2 */
|
|
248
331
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
252
|
-
*/
|
|
253
|
-
:global(b),
|
|
254
|
-
:global(strong) {
|
|
332
|
+
.short-videos-player-modal :global(b),
|
|
333
|
+
.short-videos-player-modal :global(strong) {
|
|
255
334
|
font-weight: bolder;
|
|
256
335
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
261
|
-
*/
|
|
262
|
-
:global(code),
|
|
263
|
-
:global(kbd),
|
|
264
|
-
:global(samp) {
|
|
336
|
+
.short-videos-player-modal :global(code),
|
|
337
|
+
.short-videos-player-modal :global(kbd),
|
|
338
|
+
.short-videos-player-modal :global(samp) {
|
|
265
339
|
font-family: monospace, monospace; /* 1 */
|
|
266
340
|
font-size: 1em; /* 2 */
|
|
267
341
|
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Add the correct font size in all browsers.
|
|
271
|
-
*/
|
|
272
|
-
:global(small) {
|
|
342
|
+
.short-videos-player-modal :global(small) {
|
|
273
343
|
font-size: 80%;
|
|
274
344
|
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
278
|
-
* all browsers.
|
|
279
|
-
*/
|
|
280
|
-
:global(sub),
|
|
281
|
-
:global(sup) {
|
|
345
|
+
.short-videos-player-modal :global(sub),
|
|
346
|
+
.short-videos-player-modal :global(sup) {
|
|
282
347
|
font-size: 75%;
|
|
283
348
|
line-height: 0;
|
|
284
349
|
position: relative;
|
|
285
350
|
vertical-align: baseline;
|
|
286
351
|
}
|
|
287
|
-
|
|
288
|
-
:global(sub) {
|
|
352
|
+
.short-videos-player-modal :global(sub) {
|
|
289
353
|
bottom: -0.25em;
|
|
290
354
|
}
|
|
291
|
-
|
|
292
|
-
:global(sup) {
|
|
355
|
+
.short-videos-player-modal :global(sup) {
|
|
293
356
|
top: -0.5em;
|
|
294
357
|
}
|
|
295
|
-
|
|
296
|
-
/* Embedded content
|
|
297
|
-
========================================================================== */
|
|
298
|
-
/**
|
|
299
|
-
* Remove the border on images inside links in IE 10.
|
|
300
|
-
*/
|
|
301
|
-
:global(img) {
|
|
358
|
+
.short-videos-player-modal :global(img) {
|
|
302
359
|
border-style: none;
|
|
303
360
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
310
|
-
*/
|
|
311
|
-
:global(button),
|
|
312
|
-
:global(input),
|
|
313
|
-
:global(optgroup),
|
|
314
|
-
:global(select),
|
|
315
|
-
:global(textarea) {
|
|
361
|
+
.short-videos-player-modal :global(button),
|
|
362
|
+
.short-videos-player-modal :global(input),
|
|
363
|
+
.short-videos-player-modal :global(optgroup),
|
|
364
|
+
.short-videos-player-modal :global(select),
|
|
365
|
+
.short-videos-player-modal :global(textarea) {
|
|
316
366
|
font-family: inherit; /* 1 */
|
|
317
367
|
font-size: 100%; /* 1 */
|
|
318
368
|
line-height: 1.15; /* 1 */
|
|
319
369
|
margin: 0; /* 2 */
|
|
320
370
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
* Show the overflow in IE.
|
|
324
|
-
* 1. Show the overflow in Edge.
|
|
325
|
-
*/
|
|
326
|
-
:global(button),
|
|
327
|
-
:global(input) {
|
|
371
|
+
.short-videos-player-modal :global(button),
|
|
372
|
+
.short-videos-player-modal :global(input) {
|
|
328
373
|
/* 1 */
|
|
329
374
|
overflow: visible;
|
|
330
375
|
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
334
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
335
|
-
*/
|
|
336
|
-
:global(button),
|
|
337
|
-
:global(select) {
|
|
376
|
+
.short-videos-player-modal :global(button),
|
|
377
|
+
.short-videos-player-modal :global(select) {
|
|
338
378
|
/* 1 */
|
|
339
379
|
text-transform: none;
|
|
340
380
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
:global(button),
|
|
346
|
-
:global([type="button"]),
|
|
347
|
-
:global([type="reset"]),
|
|
348
|
-
:global([type="submit"]) {
|
|
381
|
+
.short-videos-player-modal :global(button),
|
|
382
|
+
.short-videos-player-modal :global([type="button"]),
|
|
383
|
+
.short-videos-player-modal :global([type="reset"]),
|
|
384
|
+
.short-videos-player-modal :global([type="submit"]) {
|
|
349
385
|
-webkit-appearance: button;
|
|
350
386
|
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
:global(button::-moz-focus-inner),
|
|
356
|
-
:global([type="button"]::-moz-focus-inner),
|
|
357
|
-
:global([type="reset"]::-moz-focus-inner),
|
|
358
|
-
:global([type="submit"]::-moz-focus-inner) {
|
|
387
|
+
.short-videos-player-modal :global(button::-moz-focus-inner),
|
|
388
|
+
.short-videos-player-modal :global([type="button"]::-moz-focus-inner),
|
|
389
|
+
.short-videos-player-modal :global([type="reset"]::-moz-focus-inner),
|
|
390
|
+
.short-videos-player-modal :global([type="submit"]::-moz-focus-inner) {
|
|
359
391
|
border-style: none;
|
|
360
392
|
padding: 0;
|
|
361
393
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
:global(button:-moz-focusring),
|
|
367
|
-
:global([type="button"]:-moz-focusring),
|
|
368
|
-
:global([type="reset"]:-moz-focusring),
|
|
369
|
-
:global([type="submit"]:-moz-focusring) {
|
|
394
|
+
.short-videos-player-modal :global(button:-moz-focusring),
|
|
395
|
+
.short-videos-player-modal :global([type="button"]:-moz-focusring),
|
|
396
|
+
.short-videos-player-modal :global([type="reset"]:-moz-focusring),
|
|
397
|
+
.short-videos-player-modal :global([type="submit"]:-moz-focusring) {
|
|
370
398
|
outline: 1px dotted ButtonText;
|
|
371
399
|
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Correct the padding in Firefox.
|
|
375
|
-
*/
|
|
376
|
-
:global(fieldset) {
|
|
400
|
+
.short-videos-player-modal :global(fieldset) {
|
|
377
401
|
padding: 0.35em 0.75em 0.625em;
|
|
378
402
|
}
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
382
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
383
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
384
|
-
* `fieldset` elements in all browsers.
|
|
385
|
-
*/
|
|
386
|
-
:global(legend) {
|
|
403
|
+
.short-videos-player-modal :global(legend) {
|
|
387
404
|
box-sizing: border-box; /* 1 */
|
|
388
405
|
color: inherit; /* 2 */
|
|
389
406
|
display: table; /* 1 */
|
|
@@ -391,96 +408,35 @@ $effect(() => {
|
|
|
391
408
|
padding: 0; /* 3 */
|
|
392
409
|
white-space: normal; /* 1 */
|
|
393
410
|
}
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
397
|
-
*/
|
|
398
|
-
:global(progress) {
|
|
411
|
+
.short-videos-player-modal :global(progress) {
|
|
399
412
|
vertical-align: baseline;
|
|
400
413
|
}
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* Remove the default vertical scrollbar in IE 10+.
|
|
404
|
-
*/
|
|
405
|
-
:global(textarea) {
|
|
414
|
+
.short-videos-player-modal :global(textarea) {
|
|
406
415
|
overflow: auto;
|
|
407
416
|
}
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
* 1. Add the correct box sizing in IE 10.
|
|
411
|
-
* 2. Remove the padding in IE 10.
|
|
412
|
-
*/
|
|
413
|
-
:global([type="checkbox"]),
|
|
414
|
-
:global([type="radio"]) {
|
|
417
|
+
.short-videos-player-modal :global([type="checkbox"]),
|
|
418
|
+
.short-videos-player-modal :global([type="radio"]) {
|
|
415
419
|
box-sizing: border-box; /* 1 */
|
|
416
420
|
padding: 0; /* 2 */
|
|
417
421
|
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
421
|
-
*/
|
|
422
|
-
:global([type="number"]::-webkit-inner-spin-button),
|
|
423
|
-
:global([type="number"]::-webkit-outer-spin-button) {
|
|
422
|
+
.short-videos-player-modal :global([type="number"]::-webkit-inner-spin-button),
|
|
423
|
+
.short-videos-player-modal :global([type="number"]::-webkit-outer-spin-button) {
|
|
424
424
|
height: auto;
|
|
425
425
|
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
429
|
-
* 2. Correct the outline style in Safari.
|
|
430
|
-
*/
|
|
431
|
-
:global([type="search"]) {
|
|
426
|
+
.short-videos-player-modal :global([type="search"]) {
|
|
432
427
|
-webkit-appearance: textfield; /* 1 */
|
|
433
428
|
outline-offset: -2px; /* 2 */
|
|
434
429
|
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
438
|
-
*/
|
|
439
|
-
:global([type="search"]::-webkit-search-decoration) {
|
|
430
|
+
.short-videos-player-modal :global([type="search"]::-webkit-search-decoration) {
|
|
440
431
|
-webkit-appearance: none;
|
|
441
432
|
}
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
445
|
-
* 2. Change font properties to `inherit` in Safari.
|
|
446
|
-
*/
|
|
447
|
-
:global(::-webkit-file-upload-button) {
|
|
433
|
+
.short-videos-player-modal :global(::-webkit-file-upload-button) {
|
|
448
434
|
-webkit-appearance: button; /* 1 */
|
|
449
435
|
font: inherit; /* 2 */
|
|
450
436
|
}
|
|
451
|
-
|
|
452
|
-
/* Misc
|
|
453
|
-
========================================================================== */
|
|
454
|
-
/**
|
|
455
|
-
* Add the correct display in IE 10+.
|
|
456
|
-
*/
|
|
457
|
-
:global(template) {
|
|
437
|
+
.short-videos-player-modal :global(template) {
|
|
458
438
|
display: none;
|
|
459
439
|
}
|
|
460
|
-
|
|
461
|
-
/**
|
|
462
|
-
* Add the correct display in IE 10.
|
|
463
|
-
*/
|
|
464
|
-
:global([hidden]) {
|
|
440
|
+
.short-videos-player-modal :global([hidden]) {
|
|
465
441
|
display: none;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
.short-videos-player-modal {
|
|
469
|
-
/**
|
|
470
|
-
* 1. Correct the line height in all browsers.
|
|
471
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
472
|
-
*/
|
|
473
|
-
line-height: 1.15; /* 1 */
|
|
474
|
-
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
475
|
-
font-weight: 400;
|
|
476
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
477
|
-
margin: 0;
|
|
478
|
-
box-sizing: border-box;
|
|
479
|
-
text-align: initial;
|
|
480
|
-
position: fixed;
|
|
481
|
-
top: 0;
|
|
482
|
-
left: 0;
|
|
483
|
-
bottom: 0;
|
|
484
|
-
right: 0;
|
|
485
|
-
z-index: 1000;
|
|
486
442
|
}</style>
|