-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathLPRichLink.scss
More file actions
131 lines (104 loc) · 2.79 KB
/
LPRichLink.scss
File metadata and controls
131 lines (104 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
.lp-balloon {
display: flex;
flex-flow: column;
--lp-background-override: var(--light-lp-background-override);
@media (prefers-color-scheme: dark) {
--lp-background-override: var(--dark-lp-background-override);
}
background-color: var(--lp-background-override, var(--not-from-me));
max-width: 300px;
text-decoration: none;
color: inherit;
&.lp-message-extension-compat {
.lp-media > .lp-caption-bar:first-child > img {
border-radius: 50%;
}
}
.lp-media {
display: flex;
flex-flow: column;
position: relative;
background-color: var(--text-t05);
& > video, & > img {
object-fit: fill;
}
.lp-caption-bar {
position: absolute;
&:first-child {
top: 0;
}
&:last-child {
bottom: 0;
}
}
}
.lp-caption-icon {
--icon-size: 35px;
background: var(--icon-url);
background-size: contain;
height: var(--icon-size);
width: var(--icon-size);
margin: 6px 0;
border-radius: 5px;
object-fit: contain;
&.lp-caption-icon-left {
margin-left: 16px;
}
&.lp-caption-icon-right {
margin-right: 16px;
}
}
.lp-quoted-text {
padding: 10px 16px 0 16px;
font-size: 14.66px;
font-weight: 200;
white-space: pre-wrap;
word-break: break-all;
color: var(--text);
}
.lp-caption-bar {
display: flex;
flex-flow: row;
align-items: center;
width: 100%;
.lp-text-stack {
display: grid;
grid-auto-flow: row;
padding: 7.39px 16px 8.68px 16px;
row-gap: 2.5px;
flex: 1;
.lp-caption-section {
display: flex;
flex-flow: row;
justify-content: space-between;
&.lp-caption-section-top, &.lp-caption-section-aboveTop {
font-size: 12px;
font-weight: 500;
color: var(--text);
}
&.lp-caption-section-bottom, &.lp-caption-section-belowBottom {
font-size: 11px;
color: var(--lp-bottom-caption);
}
}
}
}
}
[attr-privacy-mode=true] .lp-balloon {
.lp-caption-section > * {
background: currentColor;
}
.lp-caption-icon {
object-position: 100000px;
background: white;
}
.lp-media {
& > video, & > img {
opacity: 0;
}
}
.lp-quoted-text {
text-shadow: 0 0 10px var(--text);
color: rgba(0, 0, 0, 0);
}
}