AeThex-Connect/astro-site/src/react-app/components/Chat/MessageReactions.css

97 lines
1.6 KiB
CSS

/**
* MessageReactions CSS
* Displays emoji reactions on messages
*/
.message-reactions-container {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.5rem;
flex-wrap: wrap;
position: relative;
}
.reactions-list {
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
}
.reaction-button {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.35rem 0.6rem;
border: 1px solid #7289da;
background: rgba(114, 137, 218, 0.15);
border-radius: 12px;
cursor: pointer;
transition: all 0.2s;
font-size: 0.875rem;
}
.reaction-button:hover {
background: rgba(114, 137, 218, 0.25);
border-color: #00d9ff;
}
.reaction-button.user-reacted {
background: rgba(0, 217, 255, 0.2);
border-color: #00d9ff;
}
.reaction-button.user-reacted:hover {
background: rgba(0, 217, 255, 0.3);
}
.reaction-emoji {
font-size: 1.125rem;
}
.reaction-count {
font-size: 0.75rem;
color: #b5bac1;
font-weight: 500;
}
.add-reaction-container {
position: relative;
}
.btn-add-reaction {
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #7289da;
background: rgba(114, 137, 218, 0.15);
border-radius: 50%;
cursor: pointer;
transition: all 0.2s;
font-size: 0.875rem;
padding: 0;
}
.btn-add-reaction:hover {
background: rgba(114, 137, 218, 0.25);
transform: scale(1.1);
}
@media (max-width: 480px) {
.message-reactions-container {
gap: 0.35rem;
}
.reaction-button {
padding: 0.3rem 0.5rem;
font-size: 0.8125rem;
}
.btn-add-reaction {
width: 24px;
height: 24px;
font-size: 0.75rem;
}
}