unika-components 1.2.7 → 1.2.8

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.
@@ -0,0 +1,712 @@
1
+ /* ===== 送呈(启呈)运行时样式 ===== */
2
+ #invite {
3
+ position: absolute;
4
+ left: 0;
5
+ top: 0;
6
+ bottom: 0;
7
+ right: 0;
8
+ z-index: 104;
9
+ overflow: hidden;
10
+ background-color: transparent;
11
+ cursor: pointer;
12
+ }
13
+
14
+ /* 编辑器 iframe 预览 */
15
+ #invite.uni-invite--preview {
16
+ position: absolute;
17
+ left: 0;
18
+ top: 0;
19
+ bottom: 0;
20
+ right: 0;
21
+ transform: none;
22
+ max-width: none;
23
+ cursor: default;
24
+ }
25
+
26
+ /* ---------- type1 ---------- */
27
+ #invite .type1 {
28
+ width: 100%;
29
+ height: 100%;
30
+ position: relative;
31
+ }
32
+
33
+ #invite .type1 .img1 {
34
+ width: 100%;
35
+ height: 100%;
36
+ position: absolute;
37
+ top: 0;
38
+ left: 0;
39
+ object-fit: cover;
40
+ }
41
+
42
+ #invite .type1 .content-center {
43
+ width: 8.53333rem;
44
+ height: 5.76rem;
45
+ position: absolute;
46
+ top: 50%;
47
+ left: 50%;
48
+ transform: translate(-50%, -50%);
49
+ }
50
+
51
+ #invite .type1 .content-center .bottom-ani,
52
+ #invite .type1 .content-center img {
53
+ width: 100%;
54
+ height: 100%;
55
+ position: absolute;
56
+ top: 0;
57
+ left: 0;
58
+ }
59
+
60
+ #invite .type1 .content-center .bottom-ani {
61
+ transform-origin: bottom center;
62
+ transform-style: preserve-3d;
63
+ }
64
+
65
+ #invite .type1 .content-center .bottom-ani .img3 {
66
+ width: 100%;
67
+ height: 100%;
68
+ top: 0;
69
+ left: 0;
70
+ transform-origin: bottom center;
71
+ object-fit: contain;
72
+ }
73
+
74
+ #invite .type1 .content-center .bottom-ani .content {
75
+ font-size: 0.32rem;
76
+ position: absolute;
77
+ top: 4.8rem;
78
+ left: 50%;
79
+ transform: translateX(-50%);
80
+ backface-visibility: hidden;
81
+ white-space: nowrap;
82
+ }
83
+
84
+ #invite .type1 .content-center .top-ani {
85
+ position: absolute;
86
+ width: 100%;
87
+ height: 100%;
88
+ top: 0;
89
+ left: 0;
90
+ transform-origin: top center;
91
+ transform-style: preserve-3d;
92
+ }
93
+
94
+ #invite .type1 .content-center .top-ani .title {
95
+ font-size: 0.53333rem;
96
+ font-weight: 900;
97
+ left: 0.90667rem;
98
+ }
99
+
100
+ #invite .type1 .content-center .top-ani .name,
101
+ #invite .type1 .content-center .top-ani .title {
102
+ position: absolute;
103
+ height: 0.64rem;
104
+ top: 1.2rem;
105
+ display: flex;
106
+ align-items: center;
107
+ justify-content: center;
108
+ backface-visibility: hidden;
109
+ white-space: nowrap;
110
+ }
111
+
112
+ #invite .type1 .content-center .top-ani .name {
113
+ padding: 0 0.10667rem;
114
+ border-bottom: 0.02667rem solid #ffe5c7;
115
+ border-top: 0.02667rem solid #ffe5c7;
116
+ font-size: 0.32rem;
117
+ right: 0.90667rem;
118
+ }
119
+
120
+ #invite .type1 .content-center .top-ani .img5 {
121
+ backface-visibility: hidden;
122
+ }
123
+
124
+ #invite .type1 .content-center .img6 {
125
+ width: 100%;
126
+ height: 2.13333rem;
127
+ top: 1.81333rem;
128
+ animation: invite-breathing 2s linear infinite;
129
+ }
130
+
131
+ #invite .type1.active {
132
+ animation: invite-vanish 1s linear 1.8s;
133
+ animation-fill-mode: both;
134
+ }
135
+
136
+ #invite .type1.active .bottom-ani {
137
+ animation: invite-bottomOpen 1.2s linear 0.6s;
138
+ animation-fill-mode: both;
139
+ }
140
+
141
+ #invite .type1.active .top-ani {
142
+ animation: invite-topOpen 1.2s linear 0.5s;
143
+ animation-fill-mode: both;
144
+ }
145
+
146
+ #invite .type1.active .img6 {
147
+ animation: invite-vanish 0.5s linear;
148
+ animation-fill-mode: both;
149
+ }
150
+
151
+ /* ---------- type2(默认) ---------- */
152
+ #invite .type2 {
153
+ width: 100%;
154
+ height: 100%;
155
+ position: relative;
156
+ }
157
+
158
+ #invite .type2 .img1,
159
+ #invite .type2 .top-ani {
160
+ width: 100%;
161
+ height: 100%;
162
+ position: absolute;
163
+ top: 0;
164
+ left: 0;
165
+ }
166
+
167
+ #invite .type2 .img1 {
168
+ object-fit: cover;
169
+ }
170
+
171
+ #invite .type2 .top-ani {
172
+ transform-origin: top center;
173
+ transform-style: preserve-3d;
174
+ }
175
+
176
+ #invite .type2 .top-ani .img2 {
177
+ width: 100%;
178
+ position: absolute;
179
+ top: 0;
180
+ left: 0;
181
+ }
182
+
183
+ #invite .type2 .top-ani .title {
184
+ font-size: 1.12rem;
185
+ font-weight: 900;
186
+ position: absolute;
187
+ top: 1.49333rem;
188
+ left: 50%;
189
+ transform: translateX(-50%);
190
+ display: flex;
191
+ flex-flow: column;
192
+ align-items: center;
193
+ }
194
+
195
+ #invite .type2 .top-ani .title span {
196
+ display: block;
197
+ }
198
+
199
+ #invite .type2 .top-ani .divider {
200
+ width: 2.93333rem;
201
+ position: absolute;
202
+ top: 5.06667rem;
203
+ left: 50%;
204
+ transform: translateX(-50%);
205
+ }
206
+
207
+ #invite .type2 .top-ani .name {
208
+ font-size: 0.50667rem;
209
+ top: 5.81333rem;
210
+ }
211
+
212
+ #invite .type2 .content,
213
+ #invite .type2 .top-ani .name {
214
+ position: absolute;
215
+ left: 50%;
216
+ transform: translateX(-50%);
217
+ white-space: nowrap;
218
+ }
219
+
220
+ #invite .type2 .content {
221
+ width: 100%;
222
+ bottom: 1.73333rem;
223
+ text-align: center;
224
+ z-index: 2;
225
+ }
226
+
227
+ #invite .type2 .img3 {
228
+ width: 100%;
229
+ height: 3.73333rem;
230
+ position: absolute;
231
+ top: 7.46667rem;
232
+ left: 0;
233
+ z-index: 5;
234
+ object-fit: contain;
235
+ pointer-events: none;
236
+ animation: invite-breathing 2s linear infinite;
237
+ }
238
+
239
+ #invite .type2.active {
240
+ animation: invite-vanish 1s linear 1.2s;
241
+ animation-fill-mode: both;
242
+ }
243
+
244
+ #invite .type2.active .top-ani {
245
+ animation: invite-topOpen 1.2s linear 0.5s;
246
+ animation-fill-mode: both;
247
+ }
248
+
249
+ #invite .type2.active .img3 {
250
+ animation: invite-vanish 0.5s linear;
251
+ animation-fill-mode: both;
252
+ }
253
+
254
+ /* ---------- type3 ---------- */
255
+ #invite .type3 {
256
+ width: 100%;
257
+ height: 100%;
258
+ position: relative;
259
+ }
260
+
261
+ #invite .type3 .img1,
262
+ #invite .type3 .right-ani {
263
+ width: 100%;
264
+ height: 100%;
265
+ position: absolute;
266
+ left: 0;
267
+ top: 0;
268
+ }
269
+
270
+ #invite .type3 .img1 {
271
+ object-fit: cover;
272
+ }
273
+
274
+ #invite .type3 .right-ani {
275
+ transform-origin: right center;
276
+ transform-style: preserve-3d;
277
+ }
278
+
279
+ #invite .type3 .right-ani .img2 {
280
+ width: 100%;
281
+ height: 100%;
282
+ position: absolute;
283
+ left: 0;
284
+ object-fit: cover;
285
+ }
286
+
287
+ #invite .type3 .right-ani .title {
288
+ font-size: 1.12rem;
289
+ font-weight: 900;
290
+ top: 9%;
291
+ letter-spacing: 0.26667rem;
292
+ }
293
+
294
+ #invite .type3 .right-ani .name,
295
+ #invite .type3 .right-ani .title {
296
+ position: absolute;
297
+ writing-mode: vertical-lr;
298
+ text-orientation: upright;
299
+ right: 1.22667rem;
300
+ width: 1.12rem;
301
+ }
302
+
303
+ #invite .type3 .right-ani .name {
304
+ font-size: 0.56rem;
305
+ bottom: 9%;
306
+ letter-spacing: 0.13333rem;
307
+ text-align: center;
308
+ line-height: 1.12rem;
309
+ white-space: nowrap;
310
+ padding: 0.18667rem 0;
311
+ border-left: 0.02667rem solid rgba(255, 229, 199, 0.5);
312
+ border-right: 0.02667rem solid rgba(255, 229, 199, 0.5);
313
+ }
314
+
315
+ #invite .type3 .right-ani .content {
316
+ font-size: 0.4rem;
317
+ letter-spacing: 0.13333rem;
318
+ position: absolute;
319
+ writing-mode: vertical-lr;
320
+ text-orientation: upright;
321
+ right: 3.36rem;
322
+ top: 50%;
323
+ white-space: nowrap;
324
+ transform: translateY(-50%);
325
+ }
326
+
327
+ #invite .type3 .img3 {
328
+ width: 100%;
329
+ height: 3.73333rem;
330
+ top: 50%;
331
+ left: 0;
332
+ margin-top: -1.86667rem;
333
+ position: absolute;
334
+ transform-origin: 25% center;
335
+ animation: invite-breathing 2s linear infinite;
336
+ }
337
+
338
+ #invite .type3.active {
339
+ animation: invite-vanish 1s linear 1.4s;
340
+ animation-fill-mode: both;
341
+ }
342
+
343
+ #invite .type3.active .right-ani {
344
+ animation: invite-rightOpen 1.2s linear 0.5s;
345
+ animation-fill-mode: both;
346
+ }
347
+
348
+ #invite .type3.active .img3 {
349
+ animation: invite-vanish 0.5s linear;
350
+ animation-fill-mode: both;
351
+ }
352
+
353
+ /* ---------- type4 ---------- */
354
+ #invite .type4 {
355
+ width: 100%;
356
+ height: 100%;
357
+ position: relative;
358
+ }
359
+
360
+ #invite .type4 .img1,
361
+ #invite .type4 .img2 {
362
+ width: 100%;
363
+ height: 100%;
364
+ position: absolute;
365
+ top: 0;
366
+ left: 0;
367
+ object-fit: cover;
368
+ }
369
+
370
+ #invite .type4 .img2 {
371
+ transform-origin: left center;
372
+ transform-style: preserve-3d;
373
+ }
374
+
375
+ #invite .type4 .right-ani {
376
+ transform-origin: right center;
377
+ transform-style: preserve-3d;
378
+ }
379
+
380
+ #invite .type4 .right-ani,
381
+ #invite .type4 .right-ani .img3 {
382
+ position: absolute;
383
+ width: 100%;
384
+ height: 100%;
385
+ top: 0;
386
+ left: 0;
387
+ }
388
+
389
+ #invite .type4 .right-ani .img3 {
390
+ object-fit: cover;
391
+ }
392
+
393
+ #invite .type4 .right-ani .title {
394
+ font-size: 1.12rem;
395
+ font-weight: 900;
396
+ top: 9%;
397
+ letter-spacing: 0.26667rem;
398
+ }
399
+
400
+ #invite .type4 .right-ani .name,
401
+ #invite .type4 .right-ani .title {
402
+ position: absolute;
403
+ writing-mode: vertical-lr;
404
+ text-orientation: upright;
405
+ right: 1.22667rem;
406
+ width: 1.12rem;
407
+ }
408
+
409
+ #invite .type4 .right-ani .name {
410
+ font-size: 0.56rem;
411
+ bottom: 9%;
412
+ letter-spacing: 0.13333rem;
413
+ text-align: center;
414
+ line-height: 1.12rem;
415
+ padding: 0.18667rem 0;
416
+ white-space: nowrap;
417
+ border-left: 0.02667rem solid rgba(255, 229, 199, 0.5);
418
+ border-right: 0.02667rem solid rgba(255, 229, 199, 0.5);
419
+ }
420
+
421
+ #invite .type4 .right-ani .content {
422
+ font-size: 0.4rem;
423
+ letter-spacing: 0.13333rem;
424
+ position: absolute;
425
+ writing-mode: vertical-lr;
426
+ text-orientation: upright;
427
+ right: 3.36rem;
428
+ top: 50%;
429
+ white-space: nowrap;
430
+ transform: translateY(-50%);
431
+ }
432
+
433
+ #invite .type4 .img4 {
434
+ width: 100%;
435
+ height: 3.73333rem;
436
+ top: 50%;
437
+ left: 0;
438
+ margin-top: -1.86667rem;
439
+ position: absolute;
440
+ transform-origin: 30% center;
441
+ animation: invite-breathing 2s linear infinite;
442
+ }
443
+
444
+ #invite .type4.active {
445
+ animation: invite-vanish 1s linear 1.4s;
446
+ animation-fill-mode: both;
447
+ }
448
+
449
+ #invite .type4.active .img2 {
450
+ animation: invite-leftOpen 1.2s linear 0.6s;
451
+ animation-fill-mode: both;
452
+ }
453
+
454
+ #invite .type4.active .right-ani {
455
+ animation: invite-rightOpen 1.2s linear 0.5s;
456
+ animation-fill-mode: both;
457
+ }
458
+
459
+ #invite .type4.active .img4 {
460
+ animation: invite-vanish 0.5s linear;
461
+ animation-fill-mode: both;
462
+ }
463
+
464
+ /* ---------- type5 ---------- */
465
+ #invite .type5 {
466
+ width: 100%;
467
+ height: 100%;
468
+ position: relative;
469
+ }
470
+
471
+ #invite .type5 .img1 {
472
+ width: 100%;
473
+ height: 100%;
474
+ position: absolute;
475
+ top: 0;
476
+ left: 0;
477
+ object-fit: cover;
478
+ }
479
+
480
+ #invite .type5 .content-center {
481
+ position: absolute;
482
+ left: 50%;
483
+ top: 4.08rem;
484
+ transform: translateX(-50%);
485
+ width: 8.98667rem;
486
+ height: 6.02667rem;
487
+ }
488
+
489
+ #invite .type5 .content-center .img2 {
490
+ position: absolute;
491
+ width: 100%;
492
+ height: 100%;
493
+ left: 0;
494
+ top: 0;
495
+ }
496
+
497
+ #invite .type5 .content-center .top-ani {
498
+ width: 8.98667rem;
499
+ height: 4.61333rem;
500
+ position: absolute;
501
+ left: 0;
502
+ top: 0;
503
+ transform-origin: top center;
504
+ transform-style: preserve-3d;
505
+ }
506
+
507
+ #invite .type5 .content-center .top-ani .img3,
508
+ #invite .type5 .content-center .top-ani .img4 {
509
+ width: 100%;
510
+ height: 100%;
511
+ position: absolute;
512
+ left: 0;
513
+ top: 0;
514
+ }
515
+
516
+ #invite .type5 .content-center .top-ani .img4 {
517
+ backface-visibility: hidden;
518
+ }
519
+
520
+ #invite .type5 .content-center .top-ani .title {
521
+ position: absolute;
522
+ left: 0.53333rem;
523
+ top: 0.4rem;
524
+ backface-visibility: hidden;
525
+ }
526
+
527
+ #invite .type5 .content-center .top-ani .content {
528
+ position: absolute;
529
+ left: 50%;
530
+ transform: translateX(-50%);
531
+ top: 1.86667rem;
532
+ white-space: nowrap;
533
+ font-size: 0.32rem;
534
+ backface-visibility: hidden;
535
+ }
536
+
537
+ #invite .type5 .content-center .img5 {
538
+ position: absolute;
539
+ left: 50%;
540
+ margin-left: -0.98667rem;
541
+ top: 3.2rem;
542
+ width: 1.97333rem;
543
+ height: 1.97333rem;
544
+ animation: invite-breathing 2s linear infinite;
545
+ }
546
+
547
+ #invite .type5.active {
548
+ animation: invite-vanish 1s linear 1.8s;
549
+ animation-fill-mode: both;
550
+ }
551
+
552
+ #invite .type5.active .content-center {
553
+ animation: invite-bottomMove 0.5s linear;
554
+ animation-fill-mode: both;
555
+ }
556
+
557
+ #invite .type5.active .content-center .top-ani {
558
+ animation: invite-topOpen 1.2s linear 0.6s;
559
+ animation-fill-mode: both;
560
+ }
561
+
562
+ #invite .type5.active .img5 {
563
+ animation: invite-vanish 0.5s linear;
564
+ animation-fill-mode: both;
565
+ }
566
+
567
+ /* ---------- type6 ---------- */
568
+ #invite .type6 {
569
+ width: 100%;
570
+ height: 100%;
571
+ position: relative;
572
+ }
573
+
574
+ #invite .type6 .img1 {
575
+ position: absolute;
576
+ width: 100%;
577
+ bottom: 0;
578
+ left: 0;
579
+ }
580
+
581
+ #invite .type6 .top-ani {
582
+ width: 100%;
583
+ position: absolute;
584
+ top: 0;
585
+ left: 0;
586
+ }
587
+
588
+ #invite .type6 .top-ani .img2 {
589
+ width: 100%;
590
+ }
591
+
592
+ #invite .type6 .top-ani .title {
593
+ top: 2.66667rem;
594
+ font-size: 1.41333rem;
595
+ writing-mode: vertical-lr;
596
+ text-orientation: upright;
597
+ letter-spacing: 0.34667rem;
598
+ }
599
+
600
+ #invite .type6 .top-ani .content,
601
+ #invite .type6 .top-ani .title {
602
+ position: absolute;
603
+ left: 50%;
604
+ font-weight: 700;
605
+ transform: translateX(-50%);
606
+ }
607
+
608
+ #invite .type6 .top-ani .content {
609
+ top: 7.14667rem;
610
+ font-size: 0.48rem;
611
+ white-space: nowrap;
612
+ }
613
+
614
+ #invite .type6 .top-ani .name {
615
+ position: absolute;
616
+ top: 10.29333rem;
617
+ left: 50%;
618
+ font-size: 0.53333rem;
619
+ transform: translateX(-50%);
620
+ }
621
+
622
+ #invite .type6 .img3 {
623
+ position: absolute;
624
+ width: 4.26667rem;
625
+ top: 11.2rem;
626
+ left: 50%;
627
+ margin-left: -2.13333rem;
628
+ z-index: 3;
629
+ animation: invite-breathing 2s linear infinite;
630
+ }
631
+
632
+ #invite .type6.active {
633
+ animation: invite-vanish 1s linear 1.5s;
634
+ animation-fill-mode: both;
635
+ }
636
+
637
+ #invite .type6.active .img1 {
638
+ animation: invite-downMove 1s linear 0.3s;
639
+ animation-fill-mode: both;
640
+ }
641
+
642
+ #invite .type6.active .top-ani {
643
+ animation: invite-upMove 1s linear 0.3s;
644
+ animation-fill-mode: both;
645
+ }
646
+
647
+ #invite .type6.active .img3 {
648
+ animation: invite-vanish 0.5s linear;
649
+ animation-fill-mode: both;
650
+ }
651
+
652
+ /* ---------- animations ---------- */
653
+ @keyframes invite-breathing {
654
+ 50% {
655
+ transform: scale3d(1.2, 1.2, 1.2);
656
+ }
657
+ }
658
+
659
+ @keyframes invite-vanish {
660
+ to {
661
+ opacity: 0;
662
+ transform: scale3d(1.2, 1.2, 1.2);
663
+ }
664
+ }
665
+
666
+ @keyframes invite-topOpen {
667
+ to {
668
+ transform: perspective(13.33333rem) rotateX(180deg);
669
+ animation-timing-function: ease-out;
670
+ }
671
+ }
672
+
673
+ @keyframes invite-bottomOpen {
674
+ to {
675
+ transform: perspective(13.33333rem) rotateX(-180deg);
676
+ animation-timing-function: ease-out;
677
+ }
678
+ }
679
+
680
+ @keyframes invite-leftOpen {
681
+ to {
682
+ transform: perspective(13.33333rem) rotateY(-180deg);
683
+ animation-timing-function: ease-out;
684
+ }
685
+ }
686
+
687
+ @keyframes invite-rightOpen {
688
+ to {
689
+ transform: perspective(13.33333rem) rotateY(180deg);
690
+ animation-timing-function: ease-out;
691
+ }
692
+ }
693
+
694
+ @keyframes invite-bottomMove {
695
+ to {
696
+ top: 4.61333rem;
697
+ }
698
+ }
699
+
700
+ @keyframes invite-upMove {
701
+ to {
702
+ transform: translateY(-100%);
703
+ animation-timing-function: ease-out;
704
+ }
705
+ }
706
+
707
+ @keyframes invite-downMove {
708
+ to {
709
+ transform: translateY(100%);
710
+ animation-timing-function: ease-out;
711
+ }
712
+ }