2022-11-10 09:08:14 -05:00
|
|
|
.chat-message-actions {
|
|
|
|
position: absolute;
|
|
|
|
bottom: -100vh;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-radius: 8px 8px 0 0;
|
2023-04-11 03:03:12 -04:00
|
|
|
margin: 0 5px;
|
|
|
|
transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
|
|
|
visibility cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
visibility: hidden;
|
|
|
|
box-sizing: border-box;
|
2022-11-10 09:08:14 -05:00
|
|
|
|
|
|
|
.selected-message-container {
|
|
|
|
padding: 0.5em 0.5em 1em 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected-message {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.5em;
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
box-shadow: 0 0 4px rgba(0, 0, 0, 0.125);
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
|
|
.selected-message-reply {
|
2023-03-03 07:09:25 -05:00
|
|
|
margin-left: 5px;
|
|
|
|
|
2022-11-10 09:08:14 -05:00
|
|
|
&:not(.is-expanded) {
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded {
|
|
|
|
@include user-select(text);
|
|
|
|
max-height: 80px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1em 1em 1.5em 1em;
|
|
|
|
|
|
|
|
.chat-message-reaction {
|
|
|
|
background: none;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.reacted {
|
|
|
|
border-color: var(--tertiary-medium);
|
|
|
|
background: var(--tertiary-very-low);
|
|
|
|
color: var(--tertiary-hover);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--tertiary-low);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-btn {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
font-size: var(--font-up-4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-reaction,
|
|
|
|
.react-btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-reaction,
|
|
|
|
.reply-btn,
|
2023-02-13 20:38:41 -05:00
|
|
|
.chat-message-thread-btn,
|
2022-11-10 09:08:14 -05:00
|
|
|
.react-btn,
|
|
|
|
.bookmark-btn {
|
|
|
|
flex-grow: 1;
|
|
|
|
height: 42px;
|
2023-04-11 03:03:12 -04:00
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: var(--primary-low);
|
|
|
|
}
|
2022-11-10 09:08:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-btn,
|
|
|
|
.react-btn {
|
|
|
|
> .svg-icon-title,
|
|
|
|
> .svg-icon {
|
|
|
|
font-size: var(--font-up-4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply-btn {
|
|
|
|
border-radius: 3px;
|
|
|
|
.d-icon {
|
|
|
|
font-size: var(--font-up-4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.secondary-actions {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: flex-start;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.chat-message-action-item {
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
width: 100%;
|
|
|
|
list-style: none;
|
2023-04-11 03:03:12 -04:00
|
|
|
padding: 0.25em 0;
|
2022-11-10 09:08:14 -05:00
|
|
|
display: flex;
|
|
|
|
|
2023-04-11 03:03:12 -04:00
|
|
|
&:active {
|
|
|
|
background: var(--primary-low);
|
|
|
|
}
|
|
|
|
|
2022-11-10 09:08:14 -05:00
|
|
|
&:last-child {
|
2023-04-11 03:03:12 -04:00
|
|
|
border-bottom: 0;
|
2022-11-10 09:08:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-action {
|
|
|
|
justify-content: flex-start;
|
|
|
|
background: none;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
color: var(--primary);
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-actions-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: z("header") + 1;
|
2023-06-09 11:37:26 -04:00
|
|
|
transition: background-color 0.4s ease-in;
|
2022-11-10 09:08:14 -05:00
|
|
|
|
|
|
|
.collapse-area {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fade-in {
|
2023-06-09 11:37:26 -04:00
|
|
|
background: rgba(var(--always-black-rgb), 0.6);
|
2022-11-10 09:08:14 -05:00
|
|
|
|
|
|
|
.chat-message-actions {
|
2023-04-11 03:03:12 -04:00
|
|
|
bottom: 0px;
|
|
|
|
visibility: visible;
|
2022-11-10 09:08:14 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|