This commit is contained in:
Mirco Wittrien 2020-01-30 16:26:17 +01:00
parent 03bf23afcf
commit 55378f90f3
2 changed files with 24 additions and 12 deletions

View File

@ -7150,6 +7150,7 @@
LibraryComponents.ContextMenuItems.Item = BDFDB.ReactUtils.getValue(window.BDFDB, "LibraryComponents.ContextMenuItems.Item") || reactInitialized && class BDFDB_ContextMenuItem extends LibraryModules.React.Component { LibraryComponents.ContextMenuItems.Item = BDFDB.ReactUtils.getValue(window.BDFDB, "LibraryComponents.ContextMenuItems.Item") || reactInitialized && class BDFDB_ContextMenuItem extends LibraryModules.React.Component {
render() { render() {
let hintIsString = typeof this.props.hint == "string";
return BDFDB.ReactUtils.createElement(LibraryComponents.Clickable, { return BDFDB.ReactUtils.createElement(LibraryComponents.Clickable, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.contextmenuitem, !this.props.disabled && BDFDB.disCN.contextmenuitemclickable, this.props.danger && BDFDB.disCN.contextmenuitemdanger, this.props.disabled && BDFDB.disCN.contextmenuitemdisabled, this.props.brand && BDFDB.disCN.contextmenuitembrand, this.props.className), className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.contextmenuitem, !this.props.disabled && BDFDB.disCN.contextmenuitemclickable, this.props.danger && BDFDB.disCN.contextmenuitemdanger, this.props.disabled && BDFDB.disCN.contextmenuitemdisabled, this.props.brand && BDFDB.disCN.contextmenuitembrand, this.props.className),
style: this.props.style, style: this.props.style,
@ -7162,15 +7163,15 @@
}), }),
BDFDB.ReactUtils.createElement("div", { BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.contextmenuhint, className: BDFDB.disCN.contextmenuhint,
style: this.props.hint ? { style: hintIsString ? {
width: 42, width: 42,
maxWidth: 42, maxWidth: 42,
marginLeft: 8 marginLeft: 8
} : {}, } : {},
children: this.props.hint ? BDFDB.ReactUtils.createElement(LibraryComponents.TextScroller, { children: hintIsString ? BDFDB.ReactUtils.createElement(LibraryComponents.TextScroller, {
speed: 2, speed: 2,
children: this.props.hint children: this.props.hint
}) : null }) : (this.props.hint || null)
}), }),
this.props.children this.props.children
] ]

View File

@ -878,9 +878,6 @@ body:before {
.timestampCompactBase-26h38e { /* header timestampcompact */ .timestampCompactBase-26h38e { /* header timestampcompact */
color: rgb(var(--fontwhite4)); color: rgb(var(--fontwhite4));
} }
.timestamp-1E3uAL { /* header timestampsystem */
color: rgb(var(--fontwhite4));
}
.timestampVisibleOnHover-276OMc { .timestampVisibleOnHover-276OMc {
color: transparent; color: transparent;
} }
@ -1007,10 +1004,21 @@ body:before {
border-radius: 3px; border-radius: 3px;
background-color: rgba(var(--vaccentcolor), 0.3); background-color: rgba(var(--vaccentcolor), 0.3);
} }
.message-2qnXI6 .headerCozy-2H1QuU:after, .systemMessage-1I9LCe .iconContainer-3GkGRf {
.preview-2nSL_2 .container-3FojY8 .headerCozy-2H1QuU:after, background-color: rgba(var(--vtransparencycolor), var(--vmessagetransparency));
.messageGroupCozy-2iY6cT .headerCozy-2H1QuU:after, border-radius: 50%;
.messageGroupCozy-1BZuO8 .headerCozy-2H1QuU:after { left: -65px;
height: 40px;
}
.systemMessage-1I9LCe .iconContainer-3GkGRf:after {
content: "";
position: absolute;
top: 10px;
left: 33px;
border: 10px solid transparent;
border-right: 12px solid rgba(var(--vtransparencycolor), var(--vmessagetransparency));
}
.headerCozy-2H1QuU:after {
content: ""; content: "";
position: absolute; position: absolute;
top: 12px; top: 12px;
@ -1019,7 +1027,9 @@ body:before {
border-right: 12px solid rgba(var(--vtransparencycolor), var(--vmessagetransparency)); border-right: 12px solid rgba(var(--vtransparencycolor), var(--vmessagetransparency));
} }
.message-2qnXI6.selected-2P5D_Z .headerCozy-2H1QuU:after, .message-2qnXI6.selected-2P5D_Z .headerCozy-2H1QuU:after,
.mouse-mode .message-2qnXI6:hover .headerCozy-2H1QuU:after { .mouse-mode .message-2qnXI6:hover .headerCozy-2H1QuU:after,
.message-2qnXI6.selected-2P5D_Z .iconContainer-3GkGRf:after,
.mouse-mode .message-2qnXI6:hover .iconContainer-3GkGRf:after {
border-right-color: rgba(var(--vtransparencycolor), calc(var(--vmessagetransparency) * 1.2)); border-right-color: rgba(var(--vtransparencycolor), calc(var(--vmessagetransparency) * 1.2));
} }
.message-2qnXI6.mentioned-xhSam7.selected-2P5D_Z .headerCozy-2H1QuU:after, .message-2qnXI6.mentioned-xhSam7.selected-2P5D_Z .headerCozy-2H1QuU:after,
@ -1056,7 +1066,8 @@ body:before {
} }
.timestampCozy-1HNQR2, /* message timestamp */ .timestampCozy-1HNQR2, /* message timestamp */
.timestampCompact-29LLPQ { .timestampCompact-29LLPQ,
.timestamp-1E3uAL {
color: rgb(var(--fontwhite3)); color: rgb(var(--fontwhite3));
} }