1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fix bold font weight of usernames in the chat stream

This commit is contained in:
Maximilian Mader 2014-02-27 23:12:22 +01:00
parent 8b0e53d559
commit c7cd385a14
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@
.timsChatUsernameContainer { .timsChatUsernameContainer {
// sender username // sender username
> span:first-child { > span:not(.icon):not(.receiver) {
font-weight: bold; font-weight: bold;
} }
} }

View File

@ -29,7 +29,7 @@
{if $message.type == $messageTypes.WHISPER} {if $message.type == $messageTypes.WHISPER}
<span class="icon icon16 icon-double-angle-right jsTooltip pointer" title="{/literal}{lang}chat.global.whispers{/lang}{literal}" onclick="be.bastelstu.Chat.insertText('/whisper {if $message.receiver == WCF.User.userID}{$message.username.replace("\\", "\\\\").replace("'", "\\'")}{else}{$message.additionalData.receiverUsername.replace("\\", "\\\\").replace("'", "\\'")}{/if}, ', { append: false });"></span> <span class="icon icon16 icon-double-angle-right jsTooltip pointer" title="{/literal}{lang}chat.global.whispers{/lang}{literal}" onclick="be.bastelstu.Chat.insertText('/whisper {if $message.receiver == WCF.User.userID}{$message.username.replace("\\", "\\\\").replace("'", "\\'")}{else}{$message.additionalData.receiverUsername.replace("\\", "\\\\").replace("'", "\\'")}{/if}, ', { append: false });"></span>
<span class="reciever">{$message.additionalData.receiverUsername}</span> <span class="receiver">{$message.additionalData.receiverUsername}</span>
{/if} {/if}
</span> </span>