@applemusic-like-lyrics/react-full 0.2.0-alpha.0 → 0.2.0

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.
Files changed (63) hide show
  1. package/README.md +4 -2
  2. package/dist/amll-react-framework.css +1023 -0
  3. package/dist/amll-react-framework.js +13730 -6817
  4. package/dist/amll-react-framework.js.map +1 -1
  5. package/dist/components/AudioFFTVisualizer/index.d.ts +1 -0
  6. package/dist/components/AudioFFTVisualizer/index.d.ts.map +1 -0
  7. package/dist/components/AudioQualityTag/index.d.ts +7 -5
  8. package/dist/components/AudioQualityTag/index.d.ts.map +1 -0
  9. package/dist/components/BouncingSlider/index.d.ts +13 -8
  10. package/dist/components/BouncingSlider/index.d.ts.map +1 -0
  11. package/dist/components/ControlThumb/index.d.ts +2 -1
  12. package/dist/components/ControlThumb/index.d.ts.map +1 -0
  13. package/dist/components/Cover/index.d.ts +2 -1
  14. package/dist/components/Cover/index.d.ts.map +1 -0
  15. package/dist/components/MediaButton/index.d.ts +3 -2
  16. package/dist/components/MediaButton/index.d.ts.map +1 -0
  17. package/dist/components/MenuButton/index.d.ts +1 -0
  18. package/dist/components/MenuButton/index.d.ts.map +1 -0
  19. package/dist/components/MusicInfo/index.d.ts +1 -0
  20. package/dist/components/MusicInfo/index.d.ts.map +1 -0
  21. package/dist/components/PrebuiltLyricPlayer/index.d.ts +5 -2
  22. package/dist/components/PrebuiltLyricPlayer/index.d.ts.map +1 -0
  23. package/dist/components/TextMarquee/index.d.ts +1 -0
  24. package/dist/components/TextMarquee/index.d.ts.map +1 -0
  25. package/dist/components/ToggleIconButton/index.d.ts +1 -0
  26. package/dist/components/ToggleIconButton/index.d.ts.map +1 -0
  27. package/dist/components/ToggleIconButton/prebuilt-enum.d.ts +1 -0
  28. package/dist/components/ToggleIconButton/prebuilt-enum.d.ts.map +1 -0
  29. package/dist/components/VolumeControlSlider/index.d.ts +4 -2
  30. package/dist/components/VolumeControlSlider/index.d.ts.map +1 -0
  31. package/dist/components/index.d.ts +1 -0
  32. package/dist/components/index.d.ts.map +1 -0
  33. package/dist/hook/useThrottle.d.ts +11 -0
  34. package/dist/hook/useThrottle.d.ts.map +1 -0
  35. package/dist/index.d.ts +5 -1
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/layout/auto.d.ts +4 -1
  38. package/dist/layout/auto.d.ts.map +1 -0
  39. package/dist/layout/horizontal.d.ts +2 -1
  40. package/dist/layout/horizontal.d.ts.map +1 -0
  41. package/dist/layout/index.d.ts +1 -0
  42. package/dist/layout/index.d.ts.map +1 -0
  43. package/dist/layout/vertical.d.ts +3 -1
  44. package/dist/layout/vertical.d.ts.map +1 -0
  45. package/dist/states/callbacks.d.ts +93 -0
  46. package/dist/states/callbacks.d.ts.map +1 -0
  47. package/dist/states/configAtoms.d.ts +174 -0
  48. package/dist/states/configAtoms.d.ts.map +1 -0
  49. package/dist/states/controlsAtoms.d.ts +24 -0
  50. package/dist/states/controlsAtoms.d.ts.map +1 -0
  51. package/dist/states/{music.d.ts → dataAtoms.d.ts} +71 -32
  52. package/dist/states/dataAtoms.d.ts.map +1 -0
  53. package/dist/utils/duration.d.ts +1 -0
  54. package/dist/utils/duration.d.ts.map +1 -0
  55. package/dist/utils/index.d.ts +1 -1
  56. package/dist/utils/index.d.ts.map +1 -0
  57. package/package.json +43 -37
  58. package/dist/amll-react-framework.cjs +0 -64
  59. package/dist/amll-react-framework.cjs.map +0 -1
  60. package/dist/states/callback.d.ts +0 -80
  61. package/dist/states/config.d.ts +0 -130
  62. package/dist/states/index.d.ts +0 -3
  63. package/dist/utils/spring.d.ts +0 -25
@@ -0,0 +1,1023 @@
1
+ ._audioQualityTag_17pge_1 {
2
+ overflow: hidden;
3
+ }
4
+
5
+ @keyframes _dolby-glow_17pge_1 {
6
+ 0% {
7
+ opacity: 1;
8
+ }
9
+
10
+ 100% {
11
+ opacity: 0;
12
+ }
13
+ }
14
+
15
+ ._dolbyLogoGlow_17pge_15 {
16
+ position: absolute;
17
+ filter: blur(7px);
18
+ margin-top: 2.5px;
19
+ opacity: 1;
20
+ animation-name: _dolby-glow_17pge_1;
21
+ animation-fill-mode: forwards;
22
+ animation-duration: 3s;
23
+ animation-timing-function: ease-in-out;
24
+ animation-delay: 1s;
25
+ }
26
+
27
+ ._clickable_17pge_27 {
28
+ cursor: pointer;
29
+ }
30
+
31
+ ._commonTag_17pge_31 {
32
+ position: relative;
33
+ display: flex;
34
+ align-items: center;
35
+ padding: 2px 5px;
36
+ padding-left: 0.1em;
37
+ padding-right: 0.52em;
38
+ color: white;
39
+ box-sizing: border-box;
40
+
41
+ &::before {
42
+ position: absolute;
43
+ left: 0;
44
+ top: 0;
45
+ width: 100%;
46
+ height: 100%;
47
+ content: "";
48
+
49
+ border-image-source: url("data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.5%200C25.573%200%2028.6095%200%2030.8862%201.27504C32.4953%202.17617%2033.8238%203.50471%2034.725%205.11379C36%207.39054%2036%2010.427%2036%2016.5V19.5C36%2025.573%2036%2028.6095%2034.725%2030.8862C33.8238%2032.4953%2032.4953%2033.8238%2030.8862%2034.725C28.6095%2036%2025.573%2036%2019.5%2036H16.5C10.427%2036%207.39054%2036%205.11379%2034.725C3.50471%2033.8238%202.17617%2032.4953%201.27504%2030.8862C0%2028.6095%200%2025.573%200%2019.5L0%2016.5C0%2010.427%200%207.39054%201.27504%205.11379C2.17617%203.50471%203.50471%202.17617%205.11379%201.27504C7.39054%200%2010.427%200%2016.5%200L19.5%200Z'%20fill='white'%20/%3e%3c/svg%3e");
50
+ border-image-slice: 15 fill;
51
+ border-image-width: 8.5px;
52
+ opacity: 0.2;
53
+ }
54
+ }
55
+
56
+ ._commonTagText_17pge_56 {
57
+ font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pingfang SC";
58
+ font-size: 11px;
59
+ font-weight: 500;
60
+ letter-spacing: 0.01809em;
61
+ white-space: nowrap;
62
+ }
63
+ ._nowPlayingSlider_ecnvm_1 {
64
+ touch-action: none;
65
+ cursor: pointer;
66
+ display: flex;
67
+ justify-content: stretch;
68
+ align-items: center;
69
+ min-height: 24px;
70
+
71
+ transform: translateZ(0);
72
+
73
+ & > ._inner_ecnvm_11 {
74
+ flex: 1;
75
+ width: 100%;
76
+
77
+ height: 20px;
78
+
79
+ background-color: #ffffff26;
80
+
81
+ & > ._thumb_ecnvm_19 {
82
+ width: 100%;
83
+ height: 100%;
84
+ background-color: white;
85
+ opacity: 0.4;
86
+ transform-origin: left center;
87
+ }
88
+ }
89
+
90
+ ._nowPlayingSlider_ecnvm_1 > svg {
91
+ opacity: 0.5;
92
+ }
93
+ }
94
+ ._controlThumb_1gm51_1 {
95
+ justify-self: center;
96
+ width: 100%;
97
+ height: 100%;
98
+ mix-blend-mode: plus-lighter;
99
+
100
+ & button {
101
+ display: block;
102
+ touch-action: none;
103
+ position: absolute;
104
+ border: none;
105
+ padding: 0;
106
+ border-radius: 4px;
107
+ background-color: #ffffff2d;
108
+ mix-blend-mode: plus-lighter;
109
+ cursor: none;
110
+
111
+ & div {
112
+ position: absolute;
113
+ background-color: black;
114
+ border-radius: 10px;
115
+ }
116
+ }
117
+ }
118
+ ._cover_d8715_1 {
119
+ --base-box-shadow-v-0: rgba(0, 0, 0, 0.19);
120
+ --base-box-shadow-y-0: 1em;
121
+ --base-box-shadow-r-0: 1.2em;
122
+ aspect-ratio: 1 / 1;
123
+ width: 100%;
124
+ height: 100%;
125
+ object-fit: cover;
126
+ object-position: center;
127
+ background-position: center;
128
+ background-size: cover;
129
+ /* border-radius: max(2%, 0.7vh); */
130
+ filter: drop-shadow(
131
+ var(--base-box-shadow-v-0) 0px var(--base-box-shadow-y-0)
132
+ var(--base-box-shadow-r-0)
133
+ );
134
+ transform: scale(1);
135
+ transition:
136
+ background-image 0.5s linear,
137
+ filter 0.5s ease,
138
+ transform 0.5s cubic-bezier(0.3, 0.2, 0.2, 1.4);
139
+
140
+ &._musicPaused_d8715_23 {
141
+ --base-box-shadow-v-0: rgba(0, 0, 0, 0.19);
142
+ --base-box-shadow-y-0: 0.8em;
143
+ --base-box-shadow-r-0: 0.8em;
144
+ transform: scale(var(--scale-level));
145
+ transition:
146
+ background-image 0.5s linear,
147
+ filter 0.5s ease,
148
+ transform 0.6s cubic-bezier(0.4, 0.2, 0.1, 1);
149
+ }
150
+ }
151
+
152
+ ._coverInner_d8715_35 {
153
+ width: 100%;
154
+ height: 100%;
155
+ background-position: center;
156
+ background-size: cover;
157
+ background-color: black;
158
+ transition: background-image 0.5s linear;
159
+ }
160
+ @keyframes _pressed-animation_1xyhb_1 {
161
+ 0% {
162
+ transform: scale(1);
163
+ }
164
+
165
+ 20% {
166
+ transform: scale(0.85);
167
+ }
168
+
169
+ 50% {
170
+ transform: scale(1.1);
171
+ }
172
+
173
+ 100% {
174
+ transform: scale(1);
175
+ }
176
+ }
177
+
178
+ ._mediaButton_1xyhb_19 {
179
+ aspect-ratio: 1 / 1;
180
+ display: flex;
181
+ justify-content: center;
182
+ align-items: center;
183
+ border-radius: 50%;
184
+ position: relative;
185
+ background-color: #fff0;
186
+ padding: 0;
187
+ border: none;
188
+
189
+ transition: background-color 0.3s;
190
+
191
+ &:hover {
192
+ background-color: #fff2;
193
+ }
194
+
195
+ &:active {
196
+ background-color: #fff2;
197
+
198
+ * {
199
+ animation-name: none !important;
200
+ }
201
+ }
202
+
203
+ & > * {
204
+ transition: transform 0.5s;
205
+ transform-origin: center;
206
+ }
207
+
208
+ &._animate_1xyhb_49 > * {
209
+ animation: _pressed-animation_1xyhb_1 0.7s;
210
+ animation-composition: accumulate;
211
+ }
212
+ }
213
+ ._menuButton_3nu7a_1 {
214
+ aspect-ratio: 1 / 1;
215
+ padding: 0;
216
+ position: relative;
217
+ border: none;
218
+ background: #ffffff15 !important;
219
+ width: 3.5vh;
220
+ margin-left: 16px;
221
+ border-radius: 50%;
222
+ align-self: center;
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: center;
226
+ padding: 0;
227
+
228
+ & svg {
229
+ width: 72%;
230
+ height: auto;
231
+ color: #ffffff;
232
+ }
233
+
234
+ @media screen and (max-width: 1000px) {
235
+ width: max(2em, min(5vw, 4vh));
236
+ }
237
+ }
238
+ ._textMarquee_1nd6h_1 {
239
+ min-width: 0;
240
+ overflow: hidden;
241
+ -webkit-mask-image: linear-gradient(to right, #000 95%, #0000);
242
+
243
+ &._animating_1nd6h_6 {
244
+ -webkit-mask-image: linear-gradient(
245
+ to left,
246
+ #0000,
247
+ #000 5%,
248
+ #000 95%,
249
+ #0000
250
+ );
251
+ }
252
+
253
+ & > * {
254
+ width: fit-content;
255
+ }
256
+ }
257
+ ._musicInfo_tugc4_1 {
258
+ display: flex;
259
+ color: white;
260
+ font-size: max(2vh, 1em);
261
+ min-width: 0;
262
+ }
263
+
264
+ ._info_tugc4_8 {
265
+ flex: 1;
266
+ min-width: 0;
267
+ overflow: hidden;
268
+ /* 固定行高,否则文字变化时有可能产生布局抖动 */
269
+ line-height: 1.25em;
270
+ }
271
+
272
+ ._name_tugc4_16 {
273
+ white-space: nowrap;
274
+ cursor: text;
275
+ user-select: text;
276
+ min-width: 0;
277
+ font-weight: 500;
278
+ letter-spacing: 0.4px;
279
+ opacity: 0.9;
280
+ mix-blend-mode: normal !important;
281
+ }
282
+
283
+ ._artists_tugc4_27,
284
+ ._album_tugc4_28 {
285
+ white-space: nowrap;
286
+ text-align: center;
287
+ opacity: 0.45;
288
+ font-weight: 400;
289
+
290
+ letter-spacing: 0.4px;
291
+
292
+ & a {
293
+ text-decoration: none;
294
+
295
+ user-select: text;
296
+
297
+ &:hover {
298
+ opacity: 0.75;
299
+ }
300
+
301
+ &:active {
302
+ opacity: 0.5;
303
+ }
304
+
305
+ &::after {
306
+ content: var(--applemusic-like-lyrics-music-artists-separator, ", ");
307
+ }
308
+
309
+ &:nth-last-child(2)::after {
310
+ content: " & ";
311
+ }
312
+
313
+ &:last-child::after {
314
+ content: "";
315
+ }
316
+ }
317
+ }
318
+ ._background_d77fp_1 {
319
+ position: absolute;
320
+ left: 0%;
321
+ height: 100%;
322
+ width: 100%;
323
+ transition: 0.5s ease-in-out;
324
+ }
325
+
326
+ ._background_d77fp_1::after {
327
+ width: 100vw;
328
+ height: 100vh;
329
+ content: "";
330
+ position: absolute;
331
+ top: 0px;
332
+ left: 0px;
333
+ background-image: linear-gradient(#00000000 60%, #0000001a 100%);
334
+ }
335
+ ._horizontalLayout_ydii1_1 {
336
+ /* --info-size-fract: 0.85fr; */
337
+ /* --player-size-fract: 1fr; */
338
+ width: 100%;
339
+ height: 100%;
340
+
341
+ position: relative;
342
+ display: grid;
343
+ grid-template-rows: [drag-area] minmax(30px, 0.45fr) [thumb] auto [cover] auto [music-info] 3fr [buttom-controls] 0fr 0.3fr;
344
+ grid-template-columns: [info-side] 0.45fr [player-side] 0.55fr [side-controls] 0fr;
345
+ gap: 8px;
346
+ transition: all 0.5s ease-in-out;
347
+ left: 0%;
348
+
349
+ --hide-lyric-left: 61.111111%;
350
+
351
+ ._thumb_ydii1_17,
352
+ ._cover_ydii1_18,
353
+ ._controls_ydii1_19 {
354
+ transition: left 0.5s cubic-bezier(0.5, 0, 0.5, 1);
355
+ left: 0%;
356
+ }
357
+
358
+ &._hideLyric_ydii1_24 {
359
+ /* percentage(calc((1 - var(--info-size-fract) / (var(--info-size-fract) + var(--player-size-fract))) / 2)) */
360
+ /* left: var(--hide-lyric-left); */
361
+
362
+ ._lyric_ydii1_28 {
363
+ transition:
364
+ opacity 0.25s cubic-bezier(0.5, 0, 0.5, 1),
365
+ transform 0.5s cubic-bezier(0.5, 0, 0.5, 1);
366
+ opacity: 0;
367
+ pointer-events: none;
368
+ }
369
+
370
+ ._thumb_ydii1_17,
371
+ ._cover_ydii1_18,
372
+ ._controls_ydii1_19 {
373
+ left: var(--hide-lyric-left);
374
+ }
375
+ }
376
+
377
+ --horizontal-layout-max-width: min(50vh, 38vw);
378
+
379
+ @media screen and (max-height: 1000px) {
380
+ --horizontal-layout-max-width: min(45vh, 38vw);
381
+ }
382
+
383
+ @media screen and (max-height: 768px) {
384
+ font-size: 0.8em;
385
+ gap: 2px;
386
+ grid-template-rows: [drag-area] minmax(30px, 0.45fr) [thumb] auto [cover] auto [music-info] 3fr [buttom-controls] 0fr 0.2fr;
387
+ }
388
+ }
389
+
390
+ ._thumb_ydii1_17 {
391
+ grid-column: info-side;
392
+ grid-row: thumb;
393
+ will-change: transform;
394
+ justify-self: center;
395
+ margin: 2vh;
396
+
397
+ mix-blend-mode: plus-lighter;
398
+
399
+ position: relative;
400
+ }
401
+
402
+ ._cover_ydii1_18 {
403
+ aspect-ratio: 1 / 1;
404
+ grid-column: info-side;
405
+ grid-row: cover;
406
+ align-self: center;
407
+ justify-self: center;
408
+ width: var(--horizontal-layout-max-width);
409
+ height: var(--horizontal-layout-max-width);
410
+
411
+ position: relative;
412
+ }
413
+
414
+ ._controls_ydii1_19 {
415
+ grid-column: info-side;
416
+ grid-row: music-info;
417
+ will-change: transform;
418
+ justify-self: center;
419
+
420
+ mix-blend-mode: plus-lighter;
421
+ min-width: 0;
422
+ min-height: 0;
423
+ width: var(--horizontal-layout-max-width);
424
+
425
+ display: flex;
426
+ flex-direction: column;
427
+ justify-content: space-between;
428
+
429
+ position: relative;
430
+
431
+ margin-top: calc(-8px + 1.75em);
432
+ /* 计算一下该有的间距 没懂为啥整个加个gap8px */
433
+ }
434
+
435
+ ._lyric_ydii1_28 {
436
+ box-sizing: border-box;
437
+ grid-column: player-side;
438
+ grid-row: 2 / 5;
439
+ width: 100%;
440
+ height: 100%;
441
+ transition: opacity 0.5s 0.25s cubic-bezier(0.5, 0, 0.5, 1);
442
+ padding-right: 15%;
443
+
444
+ mask-image: linear-gradient(transparent, black 10%, black 90%, transparent);
445
+
446
+ mix-blend-mode: plus-lighter;
447
+ contain: paint;
448
+
449
+ @media screen and (max-width: 1600px), (max-height: 1000px) {
450
+ padding-right: 8%;
451
+ }
452
+ }
453
+
454
+ ._bottomControls_ydii1_120 {
455
+ grid-column: 1 / 4;
456
+ grid-row: buttom-controls;
457
+ mix-blend-mode: plus-lighter;
458
+
459
+ display: flex;
460
+ flex-direction: row-reverse;
461
+ gap: 4em;
462
+ padding-right: 4em;
463
+ padding-left: 4em;
464
+
465
+ @media screen and (max-width: 1600px), (max-height: 1000px) {
466
+ gap: 2em;
467
+ padding-right: 2em;
468
+ padding-left: 2em;
469
+ }
470
+ }
471
+ ._verticalLayout_4kcuk_1 {
472
+ width: 100%;
473
+ height: 100%;
474
+ min-height: 0;
475
+ min-width: 0;
476
+ overflow: hidden;
477
+ display: grid;
478
+ /* 保证可以拖动窗口的区域 */
479
+ grid-template-rows:
480
+ [drag-area] 30px
481
+ /* 控制条的空间 */
482
+ [thumb] 30px
483
+ /* 主视图,包括是否展示歌词的两种布局 */
484
+ [main-view] 1fr
485
+ /* 主要控制栏的区域 */
486
+ [control] 0fr;
487
+ gap: 2px;
488
+ }
489
+
490
+ ._thumb_4kcuk_20 {
491
+ grid-row: thumb;
492
+ justify-self: center;
493
+ z-index: 1;
494
+ mix-blend-mode: plus-lighter;
495
+
496
+ /* border: 1px solid aqua; */
497
+
498
+ @media screen and (max-width: 768px) {
499
+ margin: 4px;
500
+ }
501
+ }
502
+
503
+ ._coverFrame_4kcuk_33 {
504
+ position: absolute;
505
+ width: 0px;
506
+ height: 0px;
507
+
508
+ &._immerseCover_4kcuk_38 {
509
+ mask-image: linear-gradient(to bottom, #000 0%, #000 70%, #0000 100%);
510
+ }
511
+ }
512
+
513
+ /* 封面的位置由 JS 设定 */
514
+ ._cover_4kcuk_33 {
515
+ aspect-ratio: 1 / 1;
516
+ position: absolute;
517
+ top: 0;
518
+ left: 0;
519
+ z-index: 1;
520
+ }
521
+
522
+ ._lyricLayout_4kcuk_52 {
523
+ grid-row: main-view;
524
+ /* 强制和 .noLyricLayout 占用同一区域 */
525
+ grid-column: 1 / 2;
526
+ display: grid;
527
+ grid-template-rows: 1em [controls] 0fr [lyric-view] 1fr [bottom-controls] 0fr;
528
+ grid-template-columns: 3em [cover-side] 0fr [info-side] 1fr 3em;
529
+ mix-blend-mode: plus-lighter;
530
+
531
+ @media screen and (max-width: 480px) {
532
+ grid-template-columns: 20px [cover-side] 0fr [info-side] 1fr 20px;
533
+ }
534
+ }
535
+
536
+ ._noLyricLayout_4kcuk_54 {
537
+ grid-row: main-view;
538
+ /* 强制和 .lyricLayout 占用同一区域 */
539
+ grid-column: 1 / 2;
540
+ overflow-y: hidden;
541
+ display: grid;
542
+ grid-template-rows: 1em [cover-view] 1fr [lyric-view] 0fr;
543
+ grid-template-columns: 3em [main-view] 1fr 3em;
544
+ pointer-events: none;
545
+
546
+ @media screen and (max-width: 480px) {
547
+ grid-template-columns: 2em [main-view] 1fr 2em;
548
+ }
549
+ }
550
+
551
+ /* 辅助定位的小封面图位置 */
552
+ ._phonySmallCover_4kcuk_82 {
553
+ grid-row: controls;
554
+ grid-column: cover-side;
555
+ justify-self: center;
556
+ align-self: center;
557
+ aspect-ratio: 1 / 1;
558
+ opacity: 0;
559
+ pointer-events: none;
560
+
561
+ width: 6em;
562
+
563
+ @media screen and (max-width: 480px) {
564
+ width: 4.5em;
565
+ }
566
+
567
+ /* border: 1px solid greenyellow; */
568
+ }
569
+
570
+ /* 辅助定位的大封面图位置 */
571
+ ._phonyBigCover_4kcuk_101 {
572
+ grid-row: cover-view;
573
+ grid-column: 2 / 3;
574
+ opacity: 0;
575
+ pointer-events: none;
576
+
577
+ /* border: 1px solid pink; */
578
+ }
579
+
580
+ ._smallControls_4kcuk_110 {
581
+ grid-row: controls;
582
+ grid-column: info-side;
583
+ align-self: center;
584
+
585
+ /* border: 1px solid yellow; */
586
+ transition: opacity 0.25s 0.25s;
587
+ padding-left: 1em;
588
+ min-width: 0;
589
+ overflow: visible;
590
+ height: fit-content;
591
+ z-index: 1;
592
+ mix-blend-mode: plus-lighter;
593
+ }
594
+
595
+ ._lyric_4kcuk_52 {
596
+ grid-row: lyric-view;
597
+ grid-column: 1 / 5;
598
+
599
+ /* border: 1px solid blue; */
600
+
601
+ transition: opacity 0.5s 0.5s;
602
+ opacity: 1;
603
+ mix-blend-mode: plus-lighter;
604
+ /* contain: paint; */
605
+
606
+ mask-image: linear-gradient(transparent 0%, black 10%, black 100%);
607
+ /* margin-left: calc(-24px - 1em); */
608
+ /* width: calc(100% + 24px + 1em); */
609
+ box-sizing: content-box;
610
+ min-height: 0;
611
+ }
612
+
613
+ ._bigControls_4kcuk_143 {
614
+ grid-row: lyric-view;
615
+ grid-column: 2 / 3;
616
+
617
+ /* border: 1px solid red; */
618
+ transition: opacity 0.5s;
619
+ opacity: 0;
620
+ mix-blend-mode: plus-lighter;
621
+ min-width: 0;
622
+ z-index: 2;
623
+ }
624
+
625
+ ._hideLyric_4kcuk_155 {
626
+ ._smallControls_4kcuk_110 {
627
+ opacity: 0;
628
+ transition: opacity 0.5s;
629
+ pointer-events: none;
630
+ }
631
+
632
+ ._noLyricLayout_4kcuk_54 {
633
+ pointer-events: auto;
634
+ }
635
+
636
+ ._lyric_4kcuk_52 {
637
+ opacity: 0;
638
+ transition: opacity 0.5s;
639
+ pointer-events: none;
640
+ }
641
+
642
+ ._bigControls_4kcuk_143 {
643
+ opacity: 1;
644
+ }
645
+ }
646
+
647
+ ._background_4kcuk_177 {
648
+ position: absolute;
649
+ height: 100%;
650
+ width: 100%;
651
+ }
652
+ ._toggleIconButton_mfhcu_1 {
653
+ border: none;
654
+ background-color: transparent;
655
+ aspect-ratio: 1 / 1;
656
+ display: flex;
657
+ justify-content: center;
658
+ align-items: center;
659
+ color: currentColor;
660
+
661
+ opacity: 0.45;
662
+ width: 4em;
663
+ height: 4em;
664
+
665
+ & svg {
666
+ width: 4em;
667
+ height: 4em;
668
+ aspect-ratio: 1 / 1;
669
+ }
670
+
671
+ @media screen and (max-width: 1600px), (max-height: 1000px) {
672
+ width: 3em;
673
+ height: 3em;
674
+
675
+ & svg {
676
+ width: 3em;
677
+ height: 3em;
678
+ }
679
+ }
680
+ }
681
+ @keyframes _speaker-bounce-part1_1ob1j_1 {
682
+ to {
683
+ transform: scale(1.2);
684
+ }
685
+ }
686
+
687
+ @keyframes _speaker-bounce-part2_1ob1j_1 {
688
+ to {
689
+ transform: scale(0.85);
690
+ }
691
+ }
692
+
693
+ @keyframes _speaker-bounce-part3_1ob1j_1 {
694
+ to {
695
+ transform: scale(1);
696
+ }
697
+ }
698
+
699
+ ._volumeControl_1ob1j_19 {
700
+ display: flex;
701
+ align-items: center;
702
+ flex-direction: row;
703
+ margin-left: -12px;
704
+ margin-right: -8px;
705
+ }
706
+
707
+ ._volumeControl_1ob1j_19 > svg {
708
+ opacity: 0.5;
709
+ }
710
+
711
+ ._speakerAnimate_1ob1j_31 .speaker-bounce-1 {
712
+ animation:
713
+ _speaker-bounce-part1_1ob1j_1 0.2s ease-in-out 0s forwards,
714
+ _speaker-bounce-part2_1ob1j_1 0.2s ease-in-out 0.2s forwards,
715
+ _speaker-bounce-part3_1ob1j_1 0.2s ease-in-out 0.4s forwards;
716
+ transform-origin: center;
717
+ }
718
+
719
+ ._speakerAnimate_1ob1j_31 .speaker-bounce-2 {
720
+ animation:
721
+ _speaker-bounce-part1_1ob1j_1 0.2s ease-in-out 0.05s forwards,
722
+ _speaker-bounce-part2_1ob1j_1 0.2s ease-in-out 0.25s forwards,
723
+ _speaker-bounce-part3_1ob1j_1 0.2s ease-in-out 0.45s forwards;
724
+ transform-origin: center;
725
+ }
726
+
727
+ ._speakerAnimate_1ob1j_31 .speaker-bounce-3 {
728
+ animation:
729
+ _speaker-bounce-part1_1ob1j_1 0.2s ease-in-out 0.1s forwards,
730
+ _speaker-bounce-part2_1ob1j_1 0.2s ease-in-out 0.3s forwards,
731
+ _speaker-bounce-part3_1ob1j_1 0.2s ease-in-out 0.5s forwards;
732
+ transform-origin: center;
733
+ }
734
+
735
+ ._speakerAnimate_1ob1j_31 .speaker-bounce-4 {
736
+ animation:
737
+ _speaker-bounce-part1_1ob1j_1 0.2s ease-in-out 0.15s forwards,
738
+ _speaker-bounce-part2_1ob1j_1 0.2s ease-in-out 0.35s forwards,
739
+ _speaker-bounce-part3_1ob1j_1 0.2s ease-in-out 0.55s forwards;
740
+ transform-origin: center;
741
+ }
742
+ .amll-forward-left-arrow {
743
+ animation: amll-forward-left-end 0.6s cubic-bezier(0.4, 1.51, 0.4, 1);
744
+ animation-fill-mode: forwards;
745
+ }
746
+
747
+ .amll-forward-right-arrow {
748
+ animation: amll-forward-right-end 0.2s ease-out;
749
+ transform-origin: 81% 50%;
750
+ animation-fill-mode: forwards;
751
+ }
752
+
753
+ .amll-forward-left-standby {
754
+ animation: amll-forward-left-new 0.6s cubic-bezier(0.4, 1.51, 0.4, 1);
755
+ transform-origin: 22% 50%;
756
+ animation-fill-mode: forwards;
757
+ }
758
+
759
+ @keyframes amll-forward-left-end {
760
+ 100% {
761
+ transform: translateX(40px);
762
+ }
763
+ }
764
+
765
+ @keyframes amll-forward-right-end {
766
+ 100% {
767
+ transform: scale(0);
768
+ opacity: 0;
769
+ }
770
+ }
771
+
772
+ @keyframes amll-forward-left-new {
773
+ 0% {
774
+ transform: scale(0) translateX(-15px);
775
+ opacity: 0;
776
+ }
777
+
778
+ 100% {
779
+ transform: scale(1) translateX(0px);
780
+ opacity: 1;
781
+ }
782
+ }
783
+
784
+ .amll-rewind-right-arrow {
785
+ animation: amll-rewind-right-end 0.6s cubic-bezier(0.4, 1.51, 0.4, 1);
786
+ animation-fill-mode: forwards;
787
+ }
788
+
789
+ .amll-rewind-left-arrow {
790
+ animation: amll-rewind-left-end 0.2s ease-out;
791
+ transform-origin: 19% 50%;
792
+ animation-fill-mode: forwards;
793
+ }
794
+
795
+ .amll-rewind-right-standby {
796
+ animation: amll-rewind-right-new 0.6s cubic-bezier(0.4, 1.51, 0.4, 1);
797
+ transform-origin: 78% 50%;
798
+ animation-fill-mode: forwards;
799
+ }
800
+
801
+ @keyframes amll-rewind-right-end {
802
+ 100% {
803
+ transform: translateX(-40px);
804
+ }
805
+ }
806
+
807
+ @keyframes amll-rewind-left-end {
808
+ 100% {
809
+ transform: scale(0);
810
+ opacity: 0;
811
+ }
812
+ }
813
+
814
+ @keyframes amll-rewind-right-new {
815
+ 0% {
816
+ transform: scale(0) translateX(15px);
817
+ opacity: 0;
818
+ }
819
+
820
+ 100% {
821
+ transform: scale(1) translateX(0px);
822
+ opacity: 1;
823
+ }
824
+ }
825
+ ._horizontalControls_1s8za_1 {
826
+ min-width: 0;
827
+ overflow: hidden;
828
+
829
+ @media screen and (max-height: 1000px) {
830
+ padding: 0vh 0 !important;
831
+ }
832
+
833
+ @media screen and (min-height: 1000px) {
834
+ padding-top: 2vh;
835
+ padding-bottom: 1vh;
836
+ }
837
+ }
838
+
839
+ ._controls_1s8za_15,
840
+ ._bigControls_1s8za_16 {
841
+ display: flex;
842
+ justify-content: space-evenly;
843
+ align-items: center;
844
+ }
845
+
846
+ ._controls_1s8za_15 {
847
+ justify-content: space-between;
848
+ }
849
+
850
+ ._bigControls_1s8za_16 {
851
+ padding: 2vh min(2vw, 2vh);
852
+ padding-bottom: 0;
853
+ }
854
+
855
+ ._songMediaButton_1s8za_31,
856
+ ._songMediaPlayButton_1s8za_32 {
857
+ width: 18%;
858
+ aspect-ratio: 1 / 1;
859
+ }
860
+
861
+ ._songMediaButton_1s8za_31 > svg {
862
+ scale: 3;
863
+ transition: scale 0.3s;
864
+
865
+ @media screen and (max-height: 1080px) {
866
+ scale: 2;
867
+ }
868
+
869
+ @media screen and (max-height: 768px) {
870
+ scale: 1.5;
871
+ }
872
+
873
+ @media screen and (max-height: 512px) {
874
+ scale: 1;
875
+ }
876
+
877
+ @media screen and (max-width: 480px) {
878
+ scale: 0.5;
879
+ }
880
+ }
881
+
882
+ ._songMediaPlayButton_1s8za_32 > svg {
883
+ scale: 2;
884
+ transition: scale 0.3s;
885
+
886
+ @media screen and (max-height: 1080px) {
887
+ scale: 1.1;
888
+ }
889
+
890
+ @media screen and (max-height: 768px) {
891
+ scale: 0.8;
892
+ }
893
+
894
+ @media screen and (max-height: 512px) {
895
+ scale: 0.5;
896
+ }
897
+
898
+ @media screen and (max-width: 480px) {
899
+ scale: 0.5;
900
+ }
901
+ }
902
+
903
+ ._qualityTag_1s8za_79 {
904
+ scale: 1.4;
905
+ transition: scale 0.3s;
906
+
907
+ @media screen and (max-height: 768px) {
908
+ scale: 0.5;
909
+ }
910
+
911
+ @media screen and (max-height: 1080px) {
912
+ scale: 1;
913
+ }
914
+ }
915
+
916
+ ._progressBarLabels_1s8za_92 {
917
+ display: flex;
918
+ justify-content: space-between;
919
+ align-items: center;
920
+ font-weight: 500;
921
+ font-size: max(1.2vh, 0.8em);
922
+ opacity: 0.5;
923
+ margin-top: 4px;
924
+
925
+ @media screen and (max-height: 768px) {
926
+ margin-top: 0;
927
+ }
928
+
929
+ & > * {
930
+ flex: 1;
931
+ }
932
+
933
+ & > *:nth-child(2) {
934
+ flex: 0;
935
+ }
936
+
937
+ & > *:last-child {
938
+ text-align: right;
939
+ }
940
+ }
941
+
942
+ ._bigControls_1s8za_16 > button {
943
+ height: 10vh !important;
944
+ width: 10vh !important;
945
+
946
+ &:nth-child(2) > svg {
947
+ scale: 1.75;
948
+
949
+ @media screen and (max-width: 480px) {
950
+ scale: 1.25;
951
+ }
952
+ }
953
+
954
+ & > svg {
955
+ scale: 2.5;
956
+
957
+ @media screen and (max-width: 480px) {
958
+ scale: 2;
959
+ }
960
+ }
961
+ }
962
+
963
+ ._autoLyricLayout_1s8za_139 {
964
+ --info-timing-func-in: cubic-bezier(0.5, 0, 0.75, 0);
965
+ --info-timing-func-out: cubic-bezier(0.25, 1, 0.5, 1);
966
+ }
967
+
968
+ ._bigMusicInfo_1s8za_144 {
969
+ transition:
970
+ transform 0.3s var(--info-timing-func-in),
971
+ opacity 0.3s var(--info-timing-func-in);
972
+ transform: translateY(-25vh);
973
+ opacity: 0;
974
+ overflow-x: hidden;
975
+ min-width: 0;
976
+ padding: 2em 0;
977
+
978
+ @media screen and (max-height: 768px) {
979
+ padding: 1em 0;
980
+ }
981
+
982
+ @media screen and (max-height: 512px) {
983
+ padding: 0.25em 0;
984
+ }
985
+ }
986
+
987
+ ._bigMusicInfo_1s8za_144._hideLyric_1s8za_163 {
988
+ transition:
989
+ transform 0.5s 0.3s var(--info-timing-func-out),
990
+ opacity 0.5s 0.3s var(--info-timing-func-out);
991
+ transform: translateY(0);
992
+ opacity: 1;
993
+ }
994
+
995
+ ._smallMusicInfo_1s8za_171 {
996
+ transition:
997
+ transform 0.5s 0.3s var(--info-timing-func-out),
998
+ opacity 0.3s 0.3s var(--info-timing-func-out);
999
+ transform: translateY(0);
1000
+ opacity: 1;
1001
+ font-size: clamp(1em, 2vh, 1.25em) !important;
1002
+ }
1003
+
1004
+ ._smallMusicInfo_1s8za_171._hideLyric_1s8za_163 {
1005
+ transition:
1006
+ transform 0.3s var(--info-timing-func-in),
1007
+ opacity 0.3s var(--info-timing-func-in);
1008
+ transform: translateY(25vh);
1009
+ opacity: 0;
1010
+ }
1011
+
1012
+ ._bigVolumeControl_1s8za_188 {
1013
+ padding-bottom: 4em;
1014
+
1015
+ @media screen and (max-height: 768px) {
1016
+ padding-bottom: 2em;
1017
+ }
1018
+
1019
+ @media screen and (max-height: 512px) {
1020
+ padding-bottom: 1em;
1021
+ }
1022
+ }
1023
+ /*$vite$:1*/