@automattic/social-previews 3.2.5 → 3.3.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.
- package/CHANGELOG.md +12 -1
- package/dist/index.cjs +2946 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +387 -0
- package/dist/index.d.mts +244 -163
- package/dist/index.mjs +2844 -2475
- package/dist/index.mjs.map +1 -1
- package/dist/{index.css → style.css} +134 -95
- package/package.json +11 -13
- package/dist/index.css.map +0 -1
- package/dist/index.d.ts +0 -306
- package/dist/index.js +0 -2519
- package/dist/index.js.map +0 -1
|
@@ -1,35 +1,50 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/*
|
|
2
|
+
* CSS values in this file are specific and
|
|
3
|
+
* designed to match the CSS on external sites,
|
|
4
|
+
* such as Google and Facebook. Therefore there
|
|
5
|
+
* will be exceptions to our CSS guidelines here
|
|
6
|
+
* but please do not "update" this file to
|
|
7
|
+
* conform.
|
|
8
|
+
*
|
|
9
|
+
* @blame: dmsnell
|
|
10
|
+
*/
|
|
2
11
|
.search-preview__display {
|
|
3
12
|
border: 1px solid var(--color-neutral-0);
|
|
4
13
|
font-family: arial, sans-serif;
|
|
5
14
|
padding: 10px 20px;
|
|
6
15
|
overflow-wrap: break-word;
|
|
7
16
|
}
|
|
17
|
+
|
|
8
18
|
.search-preview__header {
|
|
9
19
|
display: flex;
|
|
10
20
|
align-items: flex-end;
|
|
11
21
|
gap: 0.5rem;
|
|
12
22
|
}
|
|
23
|
+
|
|
13
24
|
.search-preview__menu {
|
|
14
25
|
height: 18px;
|
|
15
26
|
width: 18px;
|
|
16
27
|
color: #4d5156;
|
|
17
28
|
position: relative;
|
|
18
29
|
}
|
|
30
|
+
|
|
19
31
|
.search-preview__branding {
|
|
20
32
|
display: flex;
|
|
21
33
|
gap: 0.75rem;
|
|
22
34
|
align-items: center;
|
|
23
35
|
}
|
|
36
|
+
|
|
24
37
|
.search-preview__site--title {
|
|
25
38
|
color: #202124;
|
|
26
39
|
font-size: 14px;
|
|
27
40
|
line-height: 20px;
|
|
28
41
|
}
|
|
42
|
+
|
|
29
43
|
.search-preview__icon {
|
|
30
44
|
width: 1.75rem;
|
|
31
45
|
height: 1.75rem;
|
|
32
46
|
}
|
|
47
|
+
|
|
33
48
|
.search-preview__title {
|
|
34
49
|
color: #1a0dab;
|
|
35
50
|
font-size: 20px;
|
|
@@ -42,12 +57,14 @@
|
|
|
42
57
|
cursor: pointer;
|
|
43
58
|
text-decoration: underline;
|
|
44
59
|
}
|
|
60
|
+
|
|
45
61
|
.search-preview__url {
|
|
46
62
|
color: #4d5156;
|
|
47
63
|
font-size: 12px;
|
|
48
64
|
line-height: 1.3;
|
|
49
65
|
max-width: 616px;
|
|
50
66
|
}
|
|
67
|
+
|
|
51
68
|
.search-preview__description {
|
|
52
69
|
color: #4d5156;
|
|
53
70
|
font-size: 14px;
|
|
@@ -55,11 +72,18 @@
|
|
|
55
72
|
line-height: 1.5;
|
|
56
73
|
max-width: 616px;
|
|
57
74
|
}
|
|
58
|
-
|
|
59
|
-
|
|
75
|
+
/*
|
|
76
|
+
* CSS values in this file are specific and
|
|
77
|
+
* designed to match the CSS on Twitter. Therefore there
|
|
78
|
+
* will be exceptions to our CSS guidelines here
|
|
79
|
+
* but please do not "update" this file to conform.
|
|
80
|
+
*
|
|
81
|
+
* @blame: pento
|
|
82
|
+
*/
|
|
60
83
|
.twitter-preview {
|
|
61
84
|
padding: 20px;
|
|
62
85
|
}
|
|
86
|
+
|
|
63
87
|
.twitter-preview__wrapper {
|
|
64
88
|
background-color: #fff;
|
|
65
89
|
max-width: clamp(200px, 100%, 635px);
|
|
@@ -68,6 +92,7 @@
|
|
|
68
92
|
border-radius: 4px;
|
|
69
93
|
padding-inline-end: 1rem;
|
|
70
94
|
}
|
|
95
|
+
|
|
71
96
|
.twitter-preview__section.social-preview__section {
|
|
72
97
|
width: clamp(200px, 100%, 635px);
|
|
73
98
|
}
|
|
@@ -75,6 +100,7 @@
|
|
|
75
100
|
.twitter-preview__section.social-preview__section .social-preview__section-desc {
|
|
76
101
|
padding-inline-start: 17px;
|
|
77
102
|
}
|
|
103
|
+
|
|
78
104
|
.twitter-preview__container {
|
|
79
105
|
display: grid;
|
|
80
106
|
grid-template-columns: 65px auto;
|
|
@@ -128,7 +154,7 @@
|
|
|
128
154
|
overflow-wrap: break-word;
|
|
129
155
|
}
|
|
130
156
|
.twitter-preview__container .twitter-preview__content .twitter-preview__media {
|
|
131
|
-
border-radius: 15px;
|
|
157
|
+
border-radius: 15px; /* stylelint-disable-line scales/radii */
|
|
132
158
|
overflow: hidden;
|
|
133
159
|
display: grid;
|
|
134
160
|
gap: 2px;
|
|
@@ -184,7 +210,7 @@
|
|
|
184
210
|
margin-bottom: 12px;
|
|
185
211
|
overflow: hidden;
|
|
186
212
|
border: 1px solid #e1e8ed;
|
|
187
|
-
border-radius: 12px;
|
|
213
|
+
border-radius: 12px; /* stylelint-disable-line scales/radii */
|
|
188
214
|
}
|
|
189
215
|
.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary {
|
|
190
216
|
display: grid;
|
|
@@ -215,11 +241,7 @@
|
|
|
215
241
|
.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-body {
|
|
216
242
|
padding: 0.75em;
|
|
217
243
|
text-decoration: none;
|
|
218
|
-
font-family:
|
|
219
|
-
"Helvetica Neue",
|
|
220
|
-
Helvetica,
|
|
221
|
-
Arial,
|
|
222
|
-
sans-serif;
|
|
244
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
223
245
|
color: var(--studio-black);
|
|
224
246
|
text-align: left;
|
|
225
247
|
overflow: hidden;
|
|
@@ -260,16 +282,12 @@
|
|
|
260
282
|
height: 16px;
|
|
261
283
|
width: 16px;
|
|
262
284
|
}
|
|
263
|
-
|
|
264
|
-
/* src/shared/expandable-text/style.scss */
|
|
265
285
|
.social-previews__expand-toggle.components-button.is-link {
|
|
266
286
|
height: auto;
|
|
267
287
|
padding: 0;
|
|
268
288
|
font: inherit;
|
|
269
289
|
vertical-align: baseline;
|
|
270
290
|
}
|
|
271
|
-
|
|
272
|
-
/* src/linkedin-preview/style.scss */
|
|
273
291
|
.linkedin-preview__wrapper {
|
|
274
292
|
margin-inline: auto;
|
|
275
293
|
max-width: clamp(200px, 100%, 555px);
|
|
@@ -338,8 +356,7 @@
|
|
|
338
356
|
line-height: 20px;
|
|
339
357
|
font-weight: 400;
|
|
340
358
|
}
|
|
341
|
-
.linkedin-preview__content article,
|
|
342
|
-
.linkedin-preview__media {
|
|
359
|
+
.linkedin-preview__content article, .linkedin-preview__media {
|
|
343
360
|
margin-top: 0.5rem;
|
|
344
361
|
background-color: #eef3f8;
|
|
345
362
|
display: flex;
|
|
@@ -373,8 +390,7 @@
|
|
|
373
390
|
object-fit: cover;
|
|
374
391
|
width: 100%;
|
|
375
392
|
}
|
|
376
|
-
|
|
377
|
-
/* src/tumblr-preview/post/icons/styles.scss */
|
|
393
|
+
/* stylelint-disable-next-line scales/radii */
|
|
378
394
|
.tumblr-preview__post-icon {
|
|
379
395
|
display: flex;
|
|
380
396
|
align-items: center;
|
|
@@ -382,40 +398,47 @@
|
|
|
382
398
|
.tumblr-preview__post-icon svg {
|
|
383
399
|
fill: rgba(0, 0, 0, 0.65);
|
|
384
400
|
}
|
|
401
|
+
|
|
385
402
|
.tumblr-preview__post-icon-blaze {
|
|
386
403
|
width: 23px;
|
|
387
404
|
height: 20px;
|
|
388
405
|
}
|
|
406
|
+
|
|
389
407
|
.tumblr-preview__post-icon-delete {
|
|
390
408
|
width: 17px;
|
|
391
409
|
height: 21px;
|
|
392
410
|
}
|
|
411
|
+
|
|
393
412
|
.tumblr-preview__post-icon-edit {
|
|
394
413
|
width: 21px;
|
|
395
414
|
height: 21px;
|
|
396
415
|
}
|
|
416
|
+
|
|
397
417
|
.tumblr-preview__post-icon-share {
|
|
398
418
|
width: 24px;
|
|
399
419
|
height: 24px;
|
|
400
420
|
}
|
|
421
|
+
|
|
401
422
|
.tumblr-preview__post-icon-reply {
|
|
402
423
|
width: 21px;
|
|
403
424
|
height: 21px;
|
|
404
425
|
}
|
|
426
|
+
|
|
405
427
|
.tumblr-preview__post-icon-reblog {
|
|
406
428
|
width: 21px;
|
|
407
429
|
height: 21px;
|
|
408
430
|
}
|
|
431
|
+
|
|
409
432
|
.tumblr-preview__post-icon-like {
|
|
410
433
|
width: 23px;
|
|
411
434
|
height: 21px;
|
|
412
435
|
}
|
|
436
|
+
|
|
413
437
|
.tumblr-preview__post-icon-ellipsis {
|
|
414
438
|
width: 18px;
|
|
415
439
|
height: 4px;
|
|
416
440
|
}
|
|
417
|
-
|
|
418
|
-
/* src/tumblr-preview/post/actions/styles.scss */
|
|
441
|
+
/* stylelint-disable-next-line scales/radii */
|
|
419
442
|
.tumblr-preview__post-actions {
|
|
420
443
|
margin-top: 0.25rem;
|
|
421
444
|
padding: 0 1.25rem;
|
|
@@ -424,6 +447,7 @@
|
|
|
424
447
|
font-weight: 700;
|
|
425
448
|
line-height: 1.5;
|
|
426
449
|
}
|
|
450
|
+
|
|
427
451
|
.tumblr-preview__post-manage-actions,
|
|
428
452
|
.tumblr-preview__post-social-actions {
|
|
429
453
|
display: flex;
|
|
@@ -446,15 +470,16 @@
|
|
|
446
470
|
justify-content: center;
|
|
447
471
|
align-items: center;
|
|
448
472
|
}
|
|
473
|
+
|
|
449
474
|
.tumblr-preview__post-social-actions {
|
|
450
475
|
border-top: solid 1px rgba(194, 123, 123, 0.15);
|
|
451
476
|
}
|
|
477
|
+
|
|
452
478
|
.tumblr-preview__post-actions-blaze {
|
|
453
479
|
display: flex;
|
|
454
480
|
align-items: center;
|
|
455
481
|
}
|
|
456
|
-
|
|
457
|
-
/* src/tumblr-preview/post/header/styles.scss */
|
|
482
|
+
/* stylelint-disable-next-line scales/radii */
|
|
458
483
|
.tumblr-preview__post-header {
|
|
459
484
|
display: flex;
|
|
460
485
|
justify-content: space-between;
|
|
@@ -462,21 +487,23 @@
|
|
|
462
487
|
margin: 1rem 0;
|
|
463
488
|
padding: 0 1.25rem;
|
|
464
489
|
}
|
|
490
|
+
|
|
465
491
|
.tumblr-preview__post-header-username {
|
|
466
492
|
font-size: 0.875rem;
|
|
467
493
|
font-weight: 700;
|
|
468
494
|
line-height: 1.5;
|
|
469
495
|
}
|
|
470
|
-
|
|
471
|
-
/* src/tumblr-preview/styles.scss */
|
|
496
|
+
/* stylelint-disable-next-line scales/radii */
|
|
472
497
|
.tumblr-preview__section.social-preview__section {
|
|
473
498
|
width: clamp(200px, 100%, 604px + 1.25rem);
|
|
474
499
|
}
|
|
500
|
+
|
|
475
501
|
.tumblr-preview__post {
|
|
476
502
|
display: flex;
|
|
477
503
|
align-items: flex-start;
|
|
478
504
|
gap: 1.25rem;
|
|
479
505
|
}
|
|
506
|
+
|
|
480
507
|
.tumblr-preview__avatar {
|
|
481
508
|
width: 64px;
|
|
482
509
|
height: 64px;
|
|
@@ -487,60 +514,64 @@
|
|
|
487
514
|
display: none;
|
|
488
515
|
}
|
|
489
516
|
}
|
|
517
|
+
|
|
490
518
|
.tumblr-preview__card {
|
|
491
519
|
overflow-y: hidden;
|
|
492
520
|
background-color: #fff;
|
|
493
521
|
border-radius: 8px;
|
|
494
522
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(0, 0, 0, 0.05);
|
|
495
523
|
color: #000;
|
|
496
|
-
font-family:
|
|
497
|
-
"Favorit",
|
|
498
|
-
"Helvetica Neue",
|
|
499
|
-
"HelveticaNeue",
|
|
500
|
-
Helvetica,
|
|
501
|
-
Arial,
|
|
502
|
-
sans-serif;
|
|
524
|
+
font-family: "Favorit", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
503
525
|
font-size: 1rem;
|
|
504
526
|
}
|
|
505
527
|
.tumblr-preview__card :any-link {
|
|
506
528
|
color: inherit;
|
|
507
529
|
text-decoration: underline;
|
|
508
530
|
}
|
|
531
|
+
|
|
509
532
|
.tumblr-preview__custom-text {
|
|
510
533
|
margin: 0 0 1rem 0;
|
|
511
534
|
padding: 0 1.25rem;
|
|
512
535
|
}
|
|
536
|
+
|
|
513
537
|
.tumblr-preview__title {
|
|
514
538
|
margin: 0 0 1rem 0;
|
|
515
539
|
padding: 0 1.25rem;
|
|
540
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
516
541
|
font-size: 1.625rem;
|
|
517
542
|
font-weight: 400;
|
|
518
543
|
line-height: 1.3;
|
|
519
544
|
}
|
|
545
|
+
|
|
520
546
|
.tumblr-preview__description {
|
|
521
547
|
margin: 0 0 1rem 0;
|
|
522
548
|
padding: 0 1.25rem;
|
|
523
549
|
font-size: 1rem;
|
|
524
550
|
line-height: 1.5;
|
|
525
551
|
}
|
|
552
|
+
|
|
526
553
|
.tumblr-preview__image {
|
|
527
554
|
display: block;
|
|
528
555
|
margin: 0 0 1rem;
|
|
529
556
|
width: 100%;
|
|
530
557
|
}
|
|
558
|
+
|
|
531
559
|
.tumblr-preview__url {
|
|
532
560
|
display: inline-block;
|
|
533
561
|
margin: 0 0 1rem 0;
|
|
534
562
|
padding: 0 1.25rem;
|
|
535
563
|
}
|
|
564
|
+
|
|
536
565
|
.tumblr-preview__site-name {
|
|
537
566
|
color: rgba(0, 0, 0, 0.65);
|
|
538
567
|
font-size: 0.75rem;
|
|
539
568
|
text-transform: uppercase;
|
|
540
569
|
}
|
|
570
|
+
|
|
541
571
|
.tumblr-preview__window {
|
|
542
572
|
margin: 0 1.25rem 1.25rem;
|
|
543
573
|
}
|
|
574
|
+
|
|
544
575
|
.tumblr-preview__window-top {
|
|
545
576
|
position: relative;
|
|
546
577
|
border-top-left-radius: 6px;
|
|
@@ -554,6 +585,7 @@
|
|
|
554
585
|
border-top-right-radius: inherit;
|
|
555
586
|
object-fit: cover;
|
|
556
587
|
}
|
|
588
|
+
|
|
557
589
|
.tumblr-preview__window-bottom {
|
|
558
590
|
display: flex;
|
|
559
591
|
flex-direction: column;
|
|
@@ -571,6 +603,7 @@
|
|
|
571
603
|
margin: 0;
|
|
572
604
|
padding: 0;
|
|
573
605
|
}
|
|
606
|
+
|
|
574
607
|
.tumblr-preview__overlay {
|
|
575
608
|
position: absolute;
|
|
576
609
|
top: 0;
|
|
@@ -590,42 +623,44 @@
|
|
|
590
623
|
margin: 0;
|
|
591
624
|
padding: 0;
|
|
592
625
|
}
|
|
593
|
-
|
|
594
|
-
/* src/facebook-preview/post/icons/styles.scss */
|
|
595
626
|
.facebook-preview__post-icon {
|
|
596
627
|
display: inline-block;
|
|
597
|
-
|
|
628
|
+
/* stylelint-disable-next-line function-url-quotes */
|
|
629
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAAAkCAYAAABi6GPmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfySURBVHgB7Vx/iFVFFP6SCAmTCAuRisVqkTCTMouIEJEQBAkREcEIEYnWQqIsIor+EBGJRSQwlhAMWUxMQlqRRfxDthCRsBBdRDaR2kosWgmxddfm887Vc+fNzJ15b+6+92A/OLC8mTlz79zvnl8zd4HG0alkr5ILSv5WMqBkg5K7MYmJxMNKepUMa+nVv4WO7VLSp2RQyVUtg/q3rghddWGlkn+V3LTIQKLJn1TSreQMspu7mUiuap3deo4qsVbJRSX7ldyP9OA6X0HtPV6B/xnMUtKj5AbK1+uG7jsLiTEF9ouXcl7JNNQHWrSdSsaQjjwuGdNzVWVFL4u5Til5AGnRC/e99TrGLFcyovv8p+RrJWuQeZhpWjr1b38pGdd9R/TYZHgIRebPVTJDyWYl10Xbl4gHH2g/qieQKf2ohkzmPD8iLZmG4b6nYUv/t3DnBf1GyWMl+gcMnSTV20iEmULxJaPtVdE2ivhF24nihR9H9hakNKuztM7jxlw7kR62B3wa2YuXAjFE4j2PaXmvXDVes+gc15LEMs0Qii9b2o+J9g0IB+MV6c62InOjVWGKnkO6udQxk+lG879/RmbZG0Woa+PLk7uz90t03qXkK/gt+AgSvNzThMKrlvZNon0HwtGNoiWqkkQ5pqBombqRFnLxGXNIMjHgb5RMocF2j/79XIDOJxAWDvSgQdyLovsyId3bAYTjjBiXNKgrwXIUH25KyIUnVqNIprPIQoVGUJb+829mXnRJXQH67lHyC/wkGtc6G8rO1wuFg5b2ZaL9MMIhU/zkqaYHs+C3sI3AJBLB0skoimtY5f12ibmesbSvQlai+ELJ88gC8KMIs0obUSfoCgaFoncsfdaJ9j0Ih23RJwpVze3SuwJFMrFcUlXhr0/Ms9bSThc1jjDimNKHOiHdFqvZtlrRNsekXDgG5yeUbEdWq5BodyLNUfImsuIjXZZZsDXBtZRk4g7BoyVzMAtmgpAXaf9Btp6MS10x5TkUPYSrzPE4yl2aKYOoEyeEkq2OPociLmSbGNeOROLDo2s4Bf99jjrGMwyQtbchJR2OvvNRLHCachBZfGNixNKvwzHHEWTkJPlYW/sN/vuqKxR4WSi4BnfG8QPiWL1Fj2s3Ii1CZkXK7o9E2erRY5KJ8UqHpV/+gvJBjzrmsrmuEUdfehQahqfgxn1KfkIJkWhG+42bsC1Cv+57WPy+C/WB5OPCnUTxbZ2J9iESrVA3ateKroxuje5tnpLpCMcryF7OXBcLvbONPlyj+fpvuiEbmfotus/BT/T98IPu9BNkBDbH3nJtMVsR0sqM6RtpBHwY0k0uR3sQia7jgNGfNZuP0PjWxxIUyfQr/Otsqx/Zyhd98D/b0JLH06gl761g+zrCiRTD4FDIoHwz2oNIB42+3yJNhTrHYhSDdJKp09JvHuzPZsjStwv+53kR4bhkjL1VlwpZPNvEC5AGu4XO9Wh9In1o9NuGarAIRTIdt/RxeZMBS19ZkLSN4e+zUY5HjDG3C5KxRGJgtQZpwLdYmuZ1aG0ivYBiRXo7qgP3Ms+KuS4Y7WYYIOUzh84e+K3S90oehB8bjTG3t0hiidSJdOA2y16h23zDJhplc8sY8Riq2wdkQC23ikje1UYfWRA25UWHXrlp65I/kRWQmflNteiQMW1h0zaWSKkxW+j+o+K5yuCbe6VoYzBcVQWaes+jSCIznZclGFPOlujPj5GEVLEPGWOfxR2XVnOMpNlEksdRzNRyouGbW54OqCou6kAWKOfzMDtaZem3A+6HvwzlkAfbyuQ5PYZ7b7/jDpFqDrY1m0gyLqLraMVN207RxizXl+IvVPKxkn3IzhsNa320Yls845jiXzLmcZ1+cBV7+xEOedTWZ51YN+Qx3Dzldx61bRaRuNfDN1uWH1iHacVjJFtEm63swQP9nyJL031v93XYwf05ecqRpFsKN4Yc+uchDkkP/zeLSISsDHNxpqI1D7bJANN0HdwotVV7XWKCD1/unTHlXww/zlj0Xkb9SPI5UjOJtAK1b3qrHbWdLq6H5j0/6cDSxRHUPlAmDHxzGSAvQPEjCXP9eC5Ilj/48F5COWz1I15bXgHnFkqjB+Wi0UwiyaBR7tu10uH/paLtpP7NzKwozJYYGNtIb1s/1qSkJePm6UKEYS3s1m5U6DyECUYziMRg9V0U46Mlor3scySOcwWujFf4CdQ1hLubXGyfI8mz5yRZB4oxypi+Fp/VNNeP6btMKmiV5iMc3Oszt2lMNxejLwmaQaR9hs4Tlj5lH0jaAlfGL75Pc1zi+0Dyc9HPTAauISzdlnPxhZFbH3SFcxEPEpck59rRCuVfDtNNp/4AMwjNINLrQh9L/74b932ynYNWaA/iyBP6ybaMg2TBlCRagjCYL0D+t2szti0RSyTWRpaiMewS+mI//TGv12aFhhFmKUJwGnYirorQYRvP3faQTdK2QSyRcmGWxQxjKsJAU8yDcR+geJ6lLNX1XYvNCvG3lP+oYcgyR2xl2xwfci677VAvkVLIUTR2vVVZIQnzfDRjkthyhEzxq/7sqGmIJRIzohT/IYRl/nq+fbfpSm2FJGRcxvhmDuLxBrL0nllhygNwLYWYE5J5psQAkXEO44fRwLHsx7iAi8k6SL3/9UOm9VVZIYnvxHybMAknYs5sx2wKVgXuafHt3o3qrJAEK9ncLa+asG2P2K9IJjGJGvwP+tnxKdafpLoAAAAASUVORK5CYII=");
|
|
598
630
|
background-repeat: no-repeat;
|
|
599
631
|
background-size: 73px 18px;
|
|
600
632
|
filter: invert(40%);
|
|
601
633
|
}
|
|
634
|
+
|
|
602
635
|
.facebook-preview__post-icon-like {
|
|
603
636
|
width: 18px;
|
|
604
637
|
height: 18px;
|
|
605
638
|
background-position: 0 0;
|
|
606
639
|
}
|
|
640
|
+
|
|
607
641
|
.facebook-preview__post-icon-comment {
|
|
608
642
|
width: 18px;
|
|
609
643
|
height: 18px;
|
|
610
644
|
background-position: -18px 0;
|
|
611
645
|
}
|
|
646
|
+
|
|
612
647
|
.facebook-preview__post-icon-share {
|
|
613
648
|
width: 18px;
|
|
614
649
|
height: 18px;
|
|
615
650
|
background-position: -36px 0;
|
|
616
651
|
}
|
|
652
|
+
|
|
617
653
|
.facebook-preview__post-icon-info {
|
|
618
654
|
width: 7px;
|
|
619
655
|
height: 14px;
|
|
620
656
|
background-position: -54px 0;
|
|
621
657
|
}
|
|
658
|
+
|
|
622
659
|
.facebook-preview__post-icon-public {
|
|
623
660
|
width: 12px;
|
|
624
661
|
height: 12px;
|
|
625
662
|
background-position: -61px 0;
|
|
626
663
|
}
|
|
627
|
-
|
|
628
|
-
/* src/facebook-preview/post/actions/styles.scss */
|
|
629
664
|
.facebook-preview__post-actions {
|
|
630
665
|
display: flex;
|
|
631
666
|
align-items: center;
|
|
@@ -636,6 +671,7 @@
|
|
|
636
671
|
padding: 0;
|
|
637
672
|
color: #65676b;
|
|
638
673
|
list-style-type: none;
|
|
674
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
639
675
|
font-size: 0.9375rem;
|
|
640
676
|
font-weight: 600;
|
|
641
677
|
line-height: 1.33;
|
|
@@ -646,8 +682,6 @@
|
|
|
646
682
|
gap: 0.5rem;
|
|
647
683
|
margin: 0;
|
|
648
684
|
}
|
|
649
|
-
|
|
650
|
-
/* src/facebook-preview/post/header/styles.scss */
|
|
651
685
|
.facebook-preview__post-header {
|
|
652
686
|
display: flex;
|
|
653
687
|
justify-content: space-between;
|
|
@@ -657,48 +691,51 @@
|
|
|
657
691
|
padding: 0.75rem 1rem 0.5rem;
|
|
658
692
|
min-height: 60px;
|
|
659
693
|
}
|
|
694
|
+
|
|
660
695
|
.facebook-preview__post-header-content {
|
|
661
696
|
display: flex;
|
|
662
697
|
gap: 0.5rem;
|
|
663
698
|
}
|
|
699
|
+
|
|
664
700
|
.facebook-preview__post-header-avatar {
|
|
665
701
|
width: 40px;
|
|
666
702
|
height: 40px;
|
|
667
703
|
border-radius: 50%;
|
|
668
704
|
border: solid 1px #e5e5e5;
|
|
669
705
|
}
|
|
706
|
+
|
|
670
707
|
.facebook-preview__post-header-name {
|
|
671
708
|
color: #050505;
|
|
709
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
672
710
|
font-size: 0.9375rem;
|
|
673
711
|
font-weight: 600;
|
|
674
712
|
line-height: 1.33;
|
|
675
713
|
}
|
|
714
|
+
|
|
676
715
|
.facebook-preview__post-header-share {
|
|
677
716
|
display: flex;
|
|
678
717
|
align-items: center;
|
|
679
718
|
color: #65676b;
|
|
680
719
|
}
|
|
720
|
+
|
|
681
721
|
.facebook-preview__post-header-time {
|
|
722
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
682
723
|
font-size: 0.8125rem;
|
|
683
724
|
line-height: 1.23;
|
|
684
725
|
}
|
|
726
|
+
|
|
685
727
|
.facebook-preview__post-header-dot {
|
|
686
728
|
width: 0.625rem;
|
|
687
729
|
text-align: center;
|
|
688
730
|
}
|
|
731
|
+
|
|
689
732
|
.facebook-preview__post-header-more {
|
|
690
733
|
width: 1.25rem;
|
|
691
734
|
height: 0.25rem;
|
|
692
735
|
margin: 0 0.625rem 0 0;
|
|
693
|
-
background-image:
|
|
694
|
-
radial-gradient(
|
|
695
|
-
circle at 0.125rem 0.125rem,
|
|
696
|
-
#65676b 2px,
|
|
697
|
-
transparent 0);
|
|
736
|
+
background-image: radial-gradient(circle at 0.125rem 0.125rem, #65676b 2px, transparent 0);
|
|
698
737
|
background-size: 0.5rem 0.25rem;
|
|
699
738
|
}
|
|
700
|
-
|
|
701
|
-
/* src/facebook-preview/style.scss */
|
|
702
739
|
.facebook-preview__post {
|
|
703
740
|
overflow-y: hidden;
|
|
704
741
|
max-width: clamp(508px, 100%, 680px);
|
|
@@ -708,29 +745,28 @@
|
|
|
708
745
|
background-color: #fff;
|
|
709
746
|
border-radius: 4px;
|
|
710
747
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(0, 0, 0, 0.05);
|
|
711
|
-
font-family:
|
|
712
|
-
system-ui,
|
|
713
|
-
-apple-system,
|
|
714
|
-
BlinkMacSystemFont,
|
|
715
|
-
".SFNSText-Regular",
|
|
716
|
-
sans-serif;
|
|
748
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, ".SFNSText-Regular", sans-serif;
|
|
717
749
|
}
|
|
718
750
|
.facebook-preview__post :any-link {
|
|
719
751
|
color: #216fdb;
|
|
720
752
|
text-decoration: none;
|
|
721
753
|
}
|
|
754
|
+
|
|
722
755
|
.facebook-preview__custom-text {
|
|
723
756
|
margin: 0;
|
|
724
757
|
padding: 0 1rem 1rem;
|
|
725
758
|
color: #050505;
|
|
759
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
726
760
|
font-size: 0.9375rem;
|
|
727
761
|
line-height: 1.33;
|
|
728
762
|
overflow-wrap: break-word;
|
|
729
763
|
}
|
|
764
|
+
|
|
730
765
|
.facebook-preview__custom-text-post-url {
|
|
731
766
|
display: block;
|
|
732
767
|
margin-top: 0.5rem;
|
|
733
768
|
}
|
|
769
|
+
|
|
734
770
|
.facebook-preview__body {
|
|
735
771
|
display: flex;
|
|
736
772
|
flex-direction: column;
|
|
@@ -743,6 +779,7 @@
|
|
|
743
779
|
.facebook-preview__body.is-portrait {
|
|
744
780
|
flex-direction: row;
|
|
745
781
|
}
|
|
782
|
+
|
|
746
783
|
.facebook-preview__text {
|
|
747
784
|
position: relative;
|
|
748
785
|
display: flex;
|
|
@@ -753,24 +790,31 @@
|
|
|
753
790
|
color: #050505;
|
|
754
791
|
overflow-wrap: break-word;
|
|
755
792
|
}
|
|
793
|
+
|
|
756
794
|
.facebook-preview__text-wrapper {
|
|
757
795
|
width: 100%;
|
|
758
796
|
}
|
|
797
|
+
|
|
759
798
|
.facebook-preview__url {
|
|
760
799
|
margin-bottom: 0.25rem;
|
|
761
800
|
color: #65676b;
|
|
801
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
762
802
|
font-size: 0.8125rem;
|
|
763
803
|
line-height: 1;
|
|
764
804
|
text-transform: uppercase;
|
|
765
805
|
}
|
|
806
|
+
|
|
766
807
|
.facebook-preview__title {
|
|
767
808
|
margin: 0.25rem 0 0.125rem;
|
|
809
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
768
810
|
font-size: 0.9444rem;
|
|
769
811
|
font-weight: 600;
|
|
770
812
|
line-height: 1.18;
|
|
771
813
|
}
|
|
814
|
+
|
|
772
815
|
.facebook-preview__description {
|
|
773
816
|
color: #65676b;
|
|
817
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
774
818
|
font-size: 0.9375rem;
|
|
775
819
|
line-height: 1.33;
|
|
776
820
|
}
|
|
@@ -779,6 +823,7 @@
|
|
|
779
823
|
overflow: hidden;
|
|
780
824
|
text-overflow: ellipsis;
|
|
781
825
|
}
|
|
826
|
+
|
|
782
827
|
.facebook-preview__image img,
|
|
783
828
|
.facebook-preview__image video,
|
|
784
829
|
.facebook-preview__custom-image img,
|
|
@@ -789,6 +834,7 @@
|
|
|
789
834
|
object-fit: cover;
|
|
790
835
|
width: 100%;
|
|
791
836
|
}
|
|
837
|
+
|
|
792
838
|
.facebook-preview__image.is-empty {
|
|
793
839
|
width: 140px;
|
|
794
840
|
height: 140px;
|
|
@@ -802,6 +848,7 @@
|
|
|
802
848
|
width: 100%;
|
|
803
849
|
aspect-ratio: 1.91;
|
|
804
850
|
}
|
|
851
|
+
|
|
805
852
|
.facebook-preview__custom-image,
|
|
806
853
|
.facebook-preview__media-item {
|
|
807
854
|
display: flex;
|
|
@@ -819,6 +866,7 @@
|
|
|
819
866
|
width: 100%;
|
|
820
867
|
aspect-ratio: 1.78;
|
|
821
868
|
}
|
|
869
|
+
|
|
822
870
|
.facebook-preview__info {
|
|
823
871
|
position: absolute;
|
|
824
872
|
right: 15px;
|
|
@@ -835,6 +883,7 @@
|
|
|
835
883
|
.facebook-preview__info i {
|
|
836
884
|
filter: invert(8%);
|
|
837
885
|
}
|
|
886
|
+
|
|
838
887
|
.facebook-preview__window {
|
|
839
888
|
margin: 0 0.75rem;
|
|
840
889
|
border-radius: 16px;
|
|
@@ -850,8 +899,6 @@
|
|
|
850
899
|
border-top-right-radius: inherit;
|
|
851
900
|
border-top-left-radius: inherit;
|
|
852
901
|
}
|
|
853
|
-
|
|
854
|
-
/* src/mastodon-preview/post/actions/styles.scss */
|
|
855
902
|
.mastodon-preview__post-actions {
|
|
856
903
|
margin-top: 1rem;
|
|
857
904
|
display: flex;
|
|
@@ -866,13 +913,12 @@
|
|
|
866
913
|
.mastodon-preview__post-actions svg {
|
|
867
914
|
fill: currentColor;
|
|
868
915
|
}
|
|
916
|
+
|
|
869
917
|
.mastodon-preview__post-icon-text {
|
|
870
918
|
color: #525a71;
|
|
871
919
|
font-size: 0.75rem;
|
|
872
920
|
font-weight: 500;
|
|
873
921
|
}
|
|
874
|
-
|
|
875
|
-
/* src/mastodon-preview/post/card/styles.scss */
|
|
876
922
|
.mastodon-preview__card {
|
|
877
923
|
display: flex;
|
|
878
924
|
margin-top: 1rem;
|
|
@@ -888,6 +934,7 @@
|
|
|
888
934
|
.mastodon-preview__card.has-image .mastodon-preview__card-img {
|
|
889
935
|
width: 100%;
|
|
890
936
|
}
|
|
937
|
+
|
|
891
938
|
.mastodon-preview__card-img {
|
|
892
939
|
min-height: 60px;
|
|
893
940
|
}
|
|
@@ -908,6 +955,7 @@
|
|
|
908
955
|
align-items: center;
|
|
909
956
|
justify-content: center;
|
|
910
957
|
}
|
|
958
|
+
|
|
911
959
|
.mastodon-preview__card-text {
|
|
912
960
|
display: flex;
|
|
913
961
|
flex-direction: column;
|
|
@@ -915,16 +963,20 @@
|
|
|
915
963
|
padding: 1rem;
|
|
916
964
|
overflow: hidden;
|
|
917
965
|
}
|
|
966
|
+
|
|
918
967
|
.mastodon-preview__card-title {
|
|
919
968
|
color: #282c37;
|
|
969
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
920
970
|
font-size: 1.187rem;
|
|
921
971
|
font-weight: 700;
|
|
922
972
|
line-height: 1.4;
|
|
923
973
|
}
|
|
974
|
+
|
|
924
975
|
.mastodon-preview__card-site {
|
|
925
976
|
font-size: 0.875rem;
|
|
926
977
|
display: block;
|
|
927
978
|
}
|
|
979
|
+
|
|
928
980
|
.mastodon-preview__card-description {
|
|
929
981
|
font-size: 0.875rem;
|
|
930
982
|
overflow: hidden;
|
|
@@ -933,42 +985,44 @@
|
|
|
933
985
|
-webkit-line-clamp: 1;
|
|
934
986
|
display: -webkit-box;
|
|
935
987
|
}
|
|
936
|
-
|
|
937
|
-
/* src/mastodon-preview/post/header/styles.scss */
|
|
938
988
|
.mastodon-preview__post-header {
|
|
939
989
|
display: flex;
|
|
940
990
|
justify-content: space-between;
|
|
941
991
|
align-items: start;
|
|
942
992
|
margin-bottom: 0.625rem;
|
|
993
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
943
994
|
font-size: 0.9375rem;
|
|
944
995
|
line-height: 1.47;
|
|
945
996
|
}
|
|
997
|
+
|
|
946
998
|
.mastodon-preview__post-avatar {
|
|
947
999
|
width: 46px;
|
|
948
1000
|
height: 46px;
|
|
949
1001
|
border-radius: 4px;
|
|
950
1002
|
}
|
|
1003
|
+
|
|
951
1004
|
.mastodon-preview__post-header-user {
|
|
952
1005
|
display: flex;
|
|
953
1006
|
align-items: center;
|
|
954
1007
|
gap: 0.75rem;
|
|
955
1008
|
}
|
|
1009
|
+
|
|
956
1010
|
.mastodon-preview__post-header-displayname {
|
|
957
1011
|
color: #000;
|
|
958
1012
|
font-weight: 700;
|
|
959
1013
|
}
|
|
1014
|
+
|
|
960
1015
|
.mastodon-preview__post-header-audience {
|
|
961
1016
|
display: flex;
|
|
962
1017
|
align-items: center;
|
|
963
1018
|
gap: 0.25rem;
|
|
964
1019
|
}
|
|
965
|
-
|
|
966
|
-
/* src/mastodon-preview/styles.scss */
|
|
967
1020
|
.mastodon-preview__section {
|
|
968
1021
|
max-width: 100%;
|
|
969
1022
|
width: 578px;
|
|
970
1023
|
margin-inline: auto;
|
|
971
1024
|
}
|
|
1025
|
+
|
|
972
1026
|
.mastodon-preview__post {
|
|
973
1027
|
width: 100%;
|
|
974
1028
|
overflow-y: hidden;
|
|
@@ -978,6 +1032,7 @@
|
|
|
978
1032
|
border: 1px solid #c0cdd9;
|
|
979
1033
|
color: #444b5d;
|
|
980
1034
|
font-family: "mastodon-font-sans-serif", sans-serif;
|
|
1035
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
981
1036
|
font-size: 0.9375rem;
|
|
982
1037
|
line-height: 1.47;
|
|
983
1038
|
}
|
|
@@ -985,6 +1040,7 @@
|
|
|
985
1040
|
color: #3a3bff;
|
|
986
1041
|
text-decoration: none;
|
|
987
1042
|
}
|
|
1043
|
+
|
|
988
1044
|
.mastodon-preview__img {
|
|
989
1045
|
display: block;
|
|
990
1046
|
width: 100%;
|
|
@@ -993,6 +1049,7 @@
|
|
|
993
1049
|
aspect-ratio: 16/9;
|
|
994
1050
|
object-fit: cover;
|
|
995
1051
|
}
|
|
1052
|
+
|
|
996
1053
|
.mastodon-preview__media {
|
|
997
1054
|
margin-top: 8px;
|
|
998
1055
|
min-height: 64px;
|
|
@@ -1016,8 +1073,6 @@
|
|
|
1016
1073
|
width: 100%;
|
|
1017
1074
|
object-fit: cover;
|
|
1018
1075
|
}
|
|
1019
|
-
|
|
1020
|
-
/* src/mastodon-preview/post/body/styles.scss */
|
|
1021
1076
|
.mastodon-preview__body {
|
|
1022
1077
|
margin-bottom: 1rem;
|
|
1023
1078
|
color: #000;
|
|
@@ -1025,8 +1080,6 @@
|
|
|
1025
1080
|
.mastodon-preview__body > p {
|
|
1026
1081
|
margin-bottom: 1.25rem;
|
|
1027
1082
|
}
|
|
1028
|
-
|
|
1029
|
-
/* src/nextdoor-preview/style.scss */
|
|
1030
1083
|
.nextdoor-preview__wrapper {
|
|
1031
1084
|
max-width: clamp(200px, 100%, 600px);
|
|
1032
1085
|
}
|
|
@@ -1197,8 +1250,6 @@
|
|
|
1197
1250
|
align-items: center;
|
|
1198
1251
|
justify-content: center;
|
|
1199
1252
|
}
|
|
1200
|
-
|
|
1201
|
-
/* src/bluesky-preview/post/actions/styles.scss */
|
|
1202
1253
|
.bluesky-preview__post-actions {
|
|
1203
1254
|
margin-top: 0.5rem;
|
|
1204
1255
|
display: flex;
|
|
@@ -1215,8 +1266,6 @@
|
|
|
1215
1266
|
.bluesky-preview__post-actions svg {
|
|
1216
1267
|
fill: currentColor;
|
|
1217
1268
|
}
|
|
1218
|
-
|
|
1219
|
-
/* src/bluesky-preview/post/body/styles.scss */
|
|
1220
1269
|
.bluesky-preview__body {
|
|
1221
1270
|
margin-bottom: 1rem;
|
|
1222
1271
|
color: #000;
|
|
@@ -1224,8 +1273,6 @@
|
|
|
1224
1273
|
.bluesky-preview__body > p {
|
|
1225
1274
|
margin-bottom: 1.25rem;
|
|
1226
1275
|
}
|
|
1227
|
-
|
|
1228
|
-
/* src/bluesky-preview/post/card/styles.scss */
|
|
1229
1276
|
.bluesky-preview__card {
|
|
1230
1277
|
display: flex;
|
|
1231
1278
|
flex-direction: column;
|
|
@@ -1235,10 +1282,12 @@
|
|
|
1235
1282
|
overflow: hidden;
|
|
1236
1283
|
color: #000;
|
|
1237
1284
|
}
|
|
1285
|
+
|
|
1238
1286
|
.bluesky-preview__card-image img {
|
|
1239
1287
|
width: 100%;
|
|
1240
1288
|
object-fit: cover;
|
|
1241
1289
|
}
|
|
1290
|
+
|
|
1242
1291
|
.bluesky-preview__card-text {
|
|
1243
1292
|
border-bottom-width: 1px;
|
|
1244
1293
|
border-left-width: 1px;
|
|
@@ -1249,6 +1298,7 @@
|
|
|
1249
1298
|
border-bottom-right-radius: 8px;
|
|
1250
1299
|
border-bottom-left-radius: 8px;
|
|
1251
1300
|
}
|
|
1301
|
+
|
|
1252
1302
|
.bluesky-preview__card-title {
|
|
1253
1303
|
-webkit-box-orient: vertical;
|
|
1254
1304
|
-webkit-line-clamp: 3;
|
|
@@ -1260,6 +1310,7 @@
|
|
|
1260
1310
|
font-weight: 700;
|
|
1261
1311
|
letter-spacing: 0.25px;
|
|
1262
1312
|
}
|
|
1313
|
+
|
|
1263
1314
|
.bluesky-preview__card-site {
|
|
1264
1315
|
font-size: 14px;
|
|
1265
1316
|
overflow: hidden;
|
|
@@ -1271,6 +1322,7 @@
|
|
|
1271
1322
|
margin-bottom: 2px;
|
|
1272
1323
|
margin-top: 2px;
|
|
1273
1324
|
}
|
|
1325
|
+
|
|
1274
1326
|
.bluesky-preview__card-description {
|
|
1275
1327
|
-webkit-box-orient: vertical;
|
|
1276
1328
|
-webkit-line-clamp: 2;
|
|
@@ -1282,8 +1334,6 @@
|
|
|
1282
1334
|
margin-top: 4px;
|
|
1283
1335
|
overflow: hidden;
|
|
1284
1336
|
}
|
|
1285
|
-
|
|
1286
|
-
/* src/bluesky-preview/post/header/styles.scss */
|
|
1287
1337
|
.bluesky-preview__post-header {
|
|
1288
1338
|
display: grid;
|
|
1289
1339
|
grid-template-columns: 1fr auto auto;
|
|
@@ -1291,6 +1341,7 @@
|
|
|
1291
1341
|
gap: 0.5rem;
|
|
1292
1342
|
max-width: max-content;
|
|
1293
1343
|
margin-bottom: 0.625rem;
|
|
1344
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
1294
1345
|
font-size: 0.9375rem;
|
|
1295
1346
|
line-height: 1.47;
|
|
1296
1347
|
}
|
|
@@ -1300,8 +1351,7 @@
|
|
|
1300
1351
|
align-items: center;
|
|
1301
1352
|
gap: 0.5rem;
|
|
1302
1353
|
}
|
|
1303
|
-
.bluesky-preview__post-header--displayname,
|
|
1304
|
-
.bluesky-preview__post-header--username {
|
|
1354
|
+
.bluesky-preview__post-header--displayname, .bluesky-preview__post-header--username {
|
|
1305
1355
|
overflow: hidden;
|
|
1306
1356
|
text-overflow: ellipsis;
|
|
1307
1357
|
white-space: nowrap;
|
|
@@ -1315,28 +1365,23 @@
|
|
|
1315
1365
|
color: rgb(11, 15, 20);
|
|
1316
1366
|
min-width: 3ch;
|
|
1317
1367
|
}
|
|
1318
|
-
.bluesky-preview__post-header--username,
|
|
1319
|
-
.bluesky-preview__post-header--separator,
|
|
1320
|
-
.bluesky-preview__post-header--date {
|
|
1368
|
+
.bluesky-preview__post-header--username, .bluesky-preview__post-header--separator, .bluesky-preview__post-header--date {
|
|
1321
1369
|
font-size: 15px;
|
|
1322
1370
|
letter-spacing: 0.25px;
|
|
1323
1371
|
font-weight: 400;
|
|
1324
1372
|
color: rgb(66, 87, 108);
|
|
1325
1373
|
}
|
|
1326
|
-
|
|
1327
|
-
/* src/bluesky-preview/post/sidebar/styles.scss */
|
|
1328
1374
|
.bluesky-preview__post-avatar {
|
|
1329
1375
|
width: 52px;
|
|
1330
1376
|
height: 52px;
|
|
1331
1377
|
border-radius: 50%;
|
|
1332
1378
|
}
|
|
1333
|
-
|
|
1334
|
-
/* src/bluesky-preview/styles.scss */
|
|
1335
1379
|
.bluesky-preview__section {
|
|
1336
1380
|
max-width: 100%;
|
|
1337
1381
|
width: 600px;
|
|
1338
1382
|
margin-inline: auto;
|
|
1339
1383
|
}
|
|
1384
|
+
|
|
1340
1385
|
.bluesky-preview__post {
|
|
1341
1386
|
display: flex;
|
|
1342
1387
|
flex-direction: row;
|
|
@@ -1351,6 +1396,7 @@
|
|
|
1351
1396
|
border-radius: 8px;
|
|
1352
1397
|
color: #444b5d;
|
|
1353
1398
|
font-family: "bluesky-font-sans-serif", sans-serif;
|
|
1399
|
+
/* stylelint-disable-next-line scales/font-sizes */
|
|
1354
1400
|
font-size: 0.9375rem;
|
|
1355
1401
|
line-height: 1.47;
|
|
1356
1402
|
}
|
|
@@ -1358,6 +1404,7 @@
|
|
|
1358
1404
|
color: #3a3bff;
|
|
1359
1405
|
text-decoration: none;
|
|
1360
1406
|
}
|
|
1407
|
+
|
|
1361
1408
|
.bluesky-preview__media {
|
|
1362
1409
|
margin-top: 8px;
|
|
1363
1410
|
min-height: 64px;
|
|
@@ -1381,11 +1428,11 @@
|
|
|
1381
1428
|
width: 100%;
|
|
1382
1429
|
object-fit: cover;
|
|
1383
1430
|
}
|
|
1384
|
-
|
|
1385
|
-
/* src/threads-preview/style.scss */
|
|
1431
|
+
/* stylelint-disable scales/radii */
|
|
1386
1432
|
.threads-preview {
|
|
1387
1433
|
padding: 20px;
|
|
1388
1434
|
}
|
|
1435
|
+
|
|
1389
1436
|
.threads-preview__wrapper {
|
|
1390
1437
|
background-color: #fff;
|
|
1391
1438
|
max-width: clamp(200px, 100%, 635px);
|
|
@@ -1394,6 +1441,7 @@
|
|
|
1394
1441
|
border-radius: 4px;
|
|
1395
1442
|
padding-inline-end: 1rem;
|
|
1396
1443
|
}
|
|
1444
|
+
|
|
1397
1445
|
.threads-preview__section.social-preview__section {
|
|
1398
1446
|
width: clamp(200px, 100%, 635px);
|
|
1399
1447
|
}
|
|
@@ -1401,6 +1449,7 @@
|
|
|
1401
1449
|
.threads-preview__section.social-preview__section .social-preview__section-desc {
|
|
1402
1450
|
padding-inline-start: 17px;
|
|
1403
1451
|
}
|
|
1452
|
+
|
|
1404
1453
|
.threads-preview__container {
|
|
1405
1454
|
display: grid;
|
|
1406
1455
|
grid-template-columns: 50px auto;
|
|
@@ -1508,11 +1557,7 @@
|
|
|
1508
1557
|
.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-body {
|
|
1509
1558
|
padding: 0.75em;
|
|
1510
1559
|
text-decoration: none;
|
|
1511
|
-
font-family:
|
|
1512
|
-
"Helvetica Neue",
|
|
1513
|
-
Helvetica,
|
|
1514
|
-
Arial,
|
|
1515
|
-
sans-serif;
|
|
1560
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1516
1561
|
color: var(--studio-black);
|
|
1517
1562
|
text-align: left;
|
|
1518
1563
|
overflow: hidden;
|
|
@@ -1541,14 +1586,10 @@
|
|
|
1541
1586
|
width: 19px;
|
|
1542
1587
|
fill: rgb(66, 66, 66);
|
|
1543
1588
|
}
|
|
1544
|
-
.threads-preview__container .threads-preview__icon--like svg,
|
|
1545
|
-
.threads-preview__container .threads-preview__icon--reply svg,
|
|
1546
|
-
.threads-preview__container .threads-preview__icon--share svg {
|
|
1589
|
+
.threads-preview__container .threads-preview__icon--like svg, .threads-preview__container .threads-preview__icon--reply svg, .threads-preview__container .threads-preview__icon--share svg {
|
|
1547
1590
|
fill: transparent;
|
|
1548
1591
|
stroke: rgb(66, 66, 66);
|
|
1549
1592
|
}
|
|
1550
|
-
|
|
1551
|
-
/* src/instagram-preview/style.scss */
|
|
1552
1593
|
.instagram-preview__wrapper {
|
|
1553
1594
|
padding: 20px;
|
|
1554
1595
|
background-color: #fff;
|
|
@@ -1593,8 +1634,7 @@
|
|
|
1593
1634
|
.instagram-preview__media {
|
|
1594
1635
|
display: flex;
|
|
1595
1636
|
}
|
|
1596
|
-
.instagram-preview__media--image,
|
|
1597
|
-
.instagram-preview__media--video {
|
|
1637
|
+
.instagram-preview__media--image, .instagram-preview__media--video {
|
|
1598
1638
|
width: 100%;
|
|
1599
1639
|
object-fit: cover;
|
|
1600
1640
|
}
|
|
@@ -1631,4 +1671,3 @@
|
|
|
1631
1671
|
font-weight: 400;
|
|
1632
1672
|
color: rgb(115, 115, 115);
|
|
1633
1673
|
}
|
|
1634
|
-
/*# sourceMappingURL=index.css.map */
|