mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-23 11:35:07 +03:00
Implement fromchat.ru/@username and fromchat.ru/?u=userId links, mentions
This commit is contained in:
@@ -375,3 +375,25 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
// Mention link styling
|
||||
.message-content {
|
||||
.mention-link {
|
||||
color: $color-dark-primary;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
border-radius: 4px;
|
||||
padding: 2px 4px;
|
||||
transition: all 0.2s ease;
|
||||
background-color: rgba(145, 206, 244, 0.1); // TODO adjust
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(145, 206, 244, 0.2); // TODO adjust
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user