This commit is contained in:
Mirco Wittrien 2020-11-19 18:06:36 +01:00
parent 355939bca4
commit c71d465f19
5 changed files with 18 additions and 14 deletions

View File

@ -830,7 +830,7 @@
"MessageDivider": {"props": ["isUnread", "divider"]},
"MessageElements": {"props": ["messageGroupBlockedBtn", "dividerRed"]},
"MessageFile": {"props": ["cancelButton", "filenameLinkWrapper"]},
"MessageLocalBot": {"props": ["localBotMessage"], "length": 1},
"MessageLocalBot": {"props": ["ephemeralMessage", "icon"]},
"MessageMarkup": {"props": ["markup"]},
"MessageOperations": {"props": ["operations"], "length": 1},
"MessageReactions": {"props": ["reactions", "reactionMe"]},
@ -1905,8 +1905,9 @@
"messagegroupblockedrevealed": ["MessageElements", "revealed"],
"messageheader": ["MessageBody", "header"],
"messageheadertext": ["MessageBody", "headerText"],
"messagelocalbot": ["Message", "localBot"],
"messagelocalbotoperations": ["MessageLocalBot", "localBotMessage"],
"messagelocalbot": ["Message", "ephemeral"],
"messagelocalboticon": ["MessageLocalBot", "icon"],
"messagelocalbotoperations": ["MessageLocalBot", "ephemeralMessage"],
"messagemarkup": ["MessageMarkup", "markup"],
"messagemarkupcompact": ["MessageBody", "compact"],
"messagemarkupcontent": ["MessageBody", "messageContent"],

View File

@ -2052,7 +2052,10 @@
<div class="REPLACE_CLASS_messagemarkup REPLACE_CLASS_messagemarkupcontent">This is a local bot Message.</div>
</div>
<div class="REPLACE_CLASS_messageaccessory">
<div class="REPLACE_CLASS_messagelocalbotoperations">Only you can see this — <a tabindex="0" class="REPLACE_CLASS_anchor REPLACE_CLASS_anchorunderlineonhover" role="button">delete this message</a>.</div>
<div class="REPLACE_CLASS_messagelocalbotoperations">
<svg class="REPLACE_CLASS_messagelocalboticon" aria-hidden="false" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12 5C5.648 5 1 12 1 12C1 12 5.648 19 12 19C18.352 19 23 12 23 12C23 12 18.352 5 12 5ZM12 16C9.791 16 8 14.21 8 12C8 9.79 9.791 8 12 8C14.209 8 16 9.79 16 12C16 14.21 14.209 16 12 16Z"></path><path fill="currentColor" d="M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z"></path></svg>
Only you can see this — <a tabindex="0" class="REPLACE_CLASS_anchor REPLACE_CLASS_anchorunderlineonhover" role="button">delete this message</a>.
</div>
</div>
</div>
</div>

View File

@ -848,14 +848,14 @@ body::before {
.mouse-mode.full-motion .wrapper-1F5TKx:hover {
background-color: rgba(var(--vtransparencycolor), calc(var(--vmessagetransparency) * 1.2 * var(--vusechatbubbles) + 0.3 * (1 - var(--vusechatbubbles))));
}
.message-2qnXI6.localBot-GrCgVt, /* message localbot */
.message-2qnXI6.ephemeral-1PsL1r, /* message localbot */
.message-2qnXI6.replying-1x3H0T { /* message replying */
background-image: linear-gradient(rgba(var(--vaccentcolor), calc(0.1 * (1 - var(--vusechatbubbles)))), rgba(var(--vaccentcolor), calc(0.2 * (1 - var(--vusechatbubbles)))));
}
.message-2qnXI6.mentioned-xhSam7 { /* message mentioned */
background-image: linear-gradient(rgba(var(--vaccentcolor), calc(0.2 * (1 - var(--vusechatbubbles)))), rgba(var(--vaccentcolor), calc(0.2 * (1 - var(--vusechatbubbles)))));
}
.message-2qnXI6.localBot-GrCgVt::before,
.message-2qnXI6.ephemeral-1PsL1r::before,
.message-2qnXI6.replying-1x3H0T::before,
.message-2qnXI6.mentioned-xhSam7::before {
background-color: rgb(var(--vaccentcolor));
@ -936,7 +936,7 @@ body::before {
.mouse-mode.full-motion .message-2qnXI6.cozy-3raOZG:hover .iconContainer-3GkGRf::after {
border-right-color: rgba(var(--vtransparencycolor), calc(var(--vmessagetransparency) * 1.2));
}
#app-mount .localBot-GrCgVt.cozy-3raOZG .header-23xsNx::after,
#app-mount .ephemeral-1PsL1r.cozy-3raOZG .header-23xsNx::after,
#app-mount .replying-1x3H0T.cozy-3raOZG .header-23xsNx::after,
#app-mount .mentioned-xhSam7.cozy-3raOZG .header-23xsNx::after {
border-right-color: rgba(var(--vaccentcolor), calc(var(--vmessagetransparency) * 100000000000000000000000000000));
@ -1045,7 +1045,7 @@ body::before {
background-color: rgba(var(--vtransparencycolor), 0.4);
}
#app-mount .localBotMessage-3cUzun, /* message localbotoperations */
#app-mount .ephemeralMessage-1fEWtQ, /* message localbotoperations */
#app-mount .operations-36ENbA { /* message editoperations */
color: rgb(var(--fontwhite3));
}

View File

@ -417,17 +417,17 @@
color: rgb(var(--vaccentcolor));
}
.localBot-GrCgVt, /* localbot container */
.ephemeral-1PsL1r, /* localbot container */
.replying-1x3H0T { /* replying container */
background-color: rgba(var(--vaccentcolor), 0.05);
}
.localBot-GrCgVt::before, /* localbot before */
.ephemeral-1PsL1r::before, /* localbot before */
.replying-1x3H0T::before { /* replying before */
background-color: rgb(var(--vaccentcolor));
}
.message-2qnXI6.localBot-GrCgVt.selected-2P5D_Z,
.mouse-mode.full-motion .localBot-GrCgVt:hover,
.mouse-mode .localBot-GrCgVt:hover,
.message-2qnXI6.ephemeral-1PsL1r.selected-2P5D_Z,
.mouse-mode.full-motion .ephemeral-1PsL1r:hover,
.mouse-mode .ephemeral-1PsL1r:hover,
.message-2qnXI6.replying-1x3H0T.selected-2P5D_Z,
.mouse-mode.full-motion .replying-1x3H0T:hover,
.mouse-mode .replying-1x3H0T:hover {

View File

@ -1018,7 +1018,7 @@ img[src='/assets/bfffd518c76d3f6bc5e96eb52e4ae2cf.svg'] {
box-shadow: 0 0 0 1px rgba(var(--vbackgroundtertiary),.6),0 2px 10px 0 rgba(0,0,0,.2);
}
#app-mount .localBotMessage-3cUzun,
#app-mount .ephemeralMessage-1fEWtQ,
#app-mount .operations-36ENbA {
color: var(--channels-default);
}