1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00

Fix chat lines where you've been mentioned.

This commit is contained in:
SirStendec 2017-11-23 14:32:30 -05:00
parent 2e5fe7f177
commit f66069798d
3 changed files with 8 additions and 9 deletions

View file

@ -31,8 +31,6 @@
<li>Settings cannot be searched.</li> <li>Settings cannot be searched.</li>
<li>FFZ badges do not display.</li> <li>FFZ badges do not display.</li>
<li>Oh god everything is missing.</li> <li>Oh god everything is missing.</li>
<li>FFZ:AP is broken.</li>
<li>Uptime breaks occasionally.</li>
</ul> </ul>
<p>And the biggest features still under development:</p> <p>And the biggest features still under development:</p>

View file

@ -161,7 +161,7 @@ export default class ChatLine extends Module {
return null; return null;
return e('div', { return e('div', {
className: `${cls}${msg.mentioned ? 'ffz-mentioned' : ''}`, className: `${cls}${msg.mentioned ? ' ffz-mentioned' : ''}`,
'data-room-id': this.props.channelID, 'data-room-id': this.props.channelID,
'data-room': room, 'data-room': room,
'data-user-id': user.userID, 'data-user-id': user.userID,

View file

@ -1335,17 +1335,18 @@
color: var(--ffz-color-4); color: var(--ffz-color-4);
} }
.tw-interactable { .tw-interactable {
color: inherit;
&:hover { &:hover {
background-color: var(--ffz-color-8); background-color: var(--ffz-color-8);
color: var(--ffz-color-4); color: var(--ffz-color-4);
} }
&:active { &:active {
background-color: var(--ffz-color-3); background-color: var(--ffz-color-3);
color: var(--ffz-color-4); color: var(--ffz-color-4);
} }
&:focus { &:focus {
-webkit-box-shadow: 0 0 6px 0 var(--ffz-color-5), inset 0 0 0 1px var(--ffz-color-5); -webkit-box-shadow: 0 0 6px 0 var(--ffz-color-5), inset 0 0 0 1px var(--ffz-color-5);
box-shadow: 0 0 6px 0 var(--ffz-color-5), inset 0 0 0 1px var(--ffz-color-5); box-shadow: 0 0 6px 0 var(--ffz-color-5), inset 0 0 0 1px var(--ffz-color-5);
} }
} }
.tw-interactable--selected { .tw-interactable--selected {