highlight messages with mentions
This commit is contained in:
parent
b52a35a734
commit
fd8aa70ee2
2 changed files with 19 additions and 1 deletions
|
@ -53,10 +53,26 @@
|
|||
height: 40px;
|
||||
}
|
||||
|
||||
.message:hover, .message.pinged {
|
||||
.message:hover {
|
||||
background-color: var(--background-color-3);
|
||||
}
|
||||
|
||||
.message.pinged {
|
||||
background-color: var(--purple-2-highlight);
|
||||
}
|
||||
|
||||
.message.pinged::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 3px;
|
||||
border-radius: 2px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background-color: var(--purple-2);
|
||||
}
|
||||
|
||||
.message-content {
|
||||
color: var(--foreground-color-2);
|
||||
white-space: pre-wrap;
|
||||
|
|
|
@ -66,6 +66,8 @@
|
|||
--yellow-2: hsl(50, 78%, 60%);
|
||||
--red-2: hsl(2, 78%, 60%);
|
||||
|
||||
--purple-2-highlight: hsla(266, 62%, 58%, 0.1);
|
||||
|
||||
|
||||
--space-unit: 1em;
|
||||
--space-xxs: calc(0.25 * var(--space-unit));
|
||||
|
|
Loading…
Reference in a new issue