discourse/plugins/chat/assets/stylesheets/common/chat-selection-manager.scss
Joffrey JAFFEUX 79a260a6bb
FIX: allows selection of messages in threads (#22119)
This commit fixes the selection of message in threads and also applies various refactorings
- improves specs and especially page objects/components
- makes the channel/thread panes responsible of the state
- adds an animationend modifier
- continues to follow the logic of "state" should be displayed as data attributes on component by having a new `data-selected` attribute on chat messages
2023-06-15 11:27:31 +02:00

40 lines
759 B
SCSS

.chat-selection-management {
border-top: 1px solid var(--primary-low);
display: flex;
gap: 0.5rem;
padding: 0.5rem;
.chat-drawer-content & {
flex-direction: column;
}
&__buttons {
display: flex;
gap: 0.5rem;
.chat-drawer-content & {
flex-direction: column;
width: 100%;
}
}
&__copy-success {
animation: chat-quote-message-background-fade-highlight 2s ease-out 3s;
animation-fill-mode: forwards;
background-color: var(--success-low);
color: var(--primary);
flex: 1;
line-height: normal;
padding: 0.5rem 0.65rem;
}
@keyframes chat-quote-message-background-fade-highlight {
0% {
}
100% {
background-color: transparent;
color: transparent;
}
}
}