-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmessenger_chat_bubbles.css
76 lines (76 loc) · 2.05 KB
/
messenger_chat_bubbles.css
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
/* Message shape */
.cozy-VmLDNB.wrapper-2a6GCs {
padding-top: 1px;
padding-bottom: 1px;
}
.cozyMessage-1DWF9U:not(.groupStart-3Mlgv1)>.contents-2MsGLg>.markup-eYLPri:not(:empty) {
border-radius: 6px 15px 15px 6px;
}
.contents-2MsGLg>.markup-eYLPri:not(:empty){
display: inline-block;
max-width: min(650px, 100%);
margin: 0;
padding: 8px 12px 7px;
border-radius: 15px 15px 15px 6px;
position: relative;
overflow: visible;
}
/* Bubble color */
.theme-light [data-is-author-self=false] .markup-eYLPri:not(:empty) {
background-color: #E4E6EB;
}
.theme-dark [data-is-author-self=false] .markup-eYLPri:not(:empty) {
background-color: #313131;
}
[data-is-author-self=true]>.contents-2MsGLg>.markup-eYLPri:not(:empty) {
background: linear-gradient(#00c8d3 0%,#3654e8 100%);
background-size: cover;
background-position: center;
background-attachment: fixed;
}
/* Text style */
.container-2sjPya *,.contents-2MsGLg>.markup-eYLPri,
.contents-2MsGLg>.markup-eYLPri>* {
--text-normal: #fff;
--text-link: #fff;
font-size: 15px;
line-height: 20px;
font-weight: 400;
}
.theme-light [data-is-author-self=false] .container-2sjPya *,
.theme-light [data-is-author-self=false] .markup-eYLPri,
.theme-light [data-is-author-self=false] .markup-eYLPri>* {
--text-normal: #000;
--text-link: #000;
}
/* Last rounded corner */
.groupStart-3Mlgv1::before,
.hasContent-1y12-u::before,
.messageListItem-ZZ7v6g+.scrollerSpacer-3AqkT9::before {
content: '';
display: block;
width: 20px;
height: 20px;
background: transparent;
position: absolute;
border-bottom-left-radius: 20px;
border: 5px solid var(--background-primary);
border-right: 0;
border-top: 0;
}
.groupStart-3Mlgv1::before {
transform: translate(-20%,-156%);
}
.hasContent-1y12-u::before {
left: 51px;
transform: translateY(-132%);
}
.messageListItem-ZZ7v6g+.scrollerSpacer-3AqkT9::before {
left: 67px;
transform: translateY(-84%);
}
.mentioned-Tre-dv::before {
left: unset;
top: unset;
bottom: unset;
}