.chat-message-wrapper { &.hovered-message-chain { .animated.Avatar { canvas { display: none; } img { visibility: visible; } } } .chat-message-toolbar { transition: opacity 0.1s; opacity: 0; position: absolute; top: -0.8em; right: 0.4rem; z-index: 10; .quick-action-buttons { justify-items: end; grid-template-columns: auto auto auto; } .simple-button { padding-top: 0.2em; padding-bottom: 0.2em; } &.-visible { opacity: 1; } } .menu-icon { cursor: pointer; } .reply-to-header { white-space: nowrap; width: 100%; display: flex; align-items: baseline; gap: 0.5em; .reply-label { display: inline-block; line-height: 1; } .reply-body { line-height: 1; display: inline-block; overflow-x: hidden; text-overflow: ellipsis; } } .popover { width: 12em; } .chat-message { display: flex; .status-body:hover { --_still-image-img-visibility: visible; --_still-image-canvas-visibility: hidden; --_still-image-label-visibility: hidden; } } .avatar-wrapper { margin-right: 0.72em; width: 32px; } .link-preview, .attachments { margin-bottom: 1em; } .status { background-color: var(--background); color: var(--text); border-radius: var(--roundness); display: flex; padding: 0.75em; border: 1px solid var(--border); } .created-at { position: relative; float: right; font-size: 0.8em; margin: -1em 0 -0.5em; font-style: italic; } .without-attachment { .message-content { // TODO figure out how to do it properly .RichContent::after { margin-right: 5.4em; content: " "; display: inline-block; } } } .pending { .status-content.media-body, .created-at { color: var(--faint); } } .error { .status-content.media-body, .created-at { color: var(--badgeNotification); } } .chat-message-inner { display: flex; flex-direction: column; align-items: flex-start; max-width: 80%; min-width: 10em; width: 100%; } .-outgoing { display: flex; flex-flow: row wrap; place-content: end flex-end; .chat-message-inner { align-items: flex-end; } .reply-to-header { justify-content: end; } } .chat-message-inner.with-media { width: 100%; .status { width: 100%; } } .visible { opacity: 1; } } .chat-message-date-separator { text-align: center; font-size: 0.9em; line-height: 2; user-select: none; color: var(--textFaint); }