Merge pull request #317 from thelounge/astorije/colored-nicknames
Fix missing colors in action messages
This commit is contained in:
commit
b13767d3a6
@ -747,6 +747,7 @@ button,
|
||||
}
|
||||
|
||||
#chat.no-colors .from .user,
|
||||
#chat.no-colors .text .user,
|
||||
#chat.no-colors .sidebar .user {
|
||||
color: #50a656 !important;
|
||||
}
|
||||
|
@ -113,6 +113,7 @@ a:hover,
|
||||
}
|
||||
|
||||
#chat.no-colors .from .user,
|
||||
#chat.no-colors .text .user,
|
||||
#chat.no-colors .sidebar .user {
|
||||
color: #000 !important;
|
||||
font-weight: bold;
|
||||
|
@ -93,11 +93,13 @@ QUIT #d0907d
|
||||
|
||||
/* Nicknames */
|
||||
#chat.no-colors .from .user,
|
||||
#chat.no-colors .text .user,
|
||||
#chat.no-colors .sidebar .user {
|
||||
color: #b0bacf !important;
|
||||
}
|
||||
|
||||
#chat.no-colors .from .user:hover,
|
||||
#chat.no-colors .text .user:hover,
|
||||
#chat.no-colors .sidebar .user:hover {
|
||||
color: #fefefe !important;
|
||||
}
|
||||
|
@ -123,11 +123,13 @@ body {
|
||||
|
||||
/* Nicknames */
|
||||
#chat.no-colors .from .user,
|
||||
#chat.no-colors .text .user,
|
||||
#chat.no-colors .sidebar .user {
|
||||
color: #bc8cbc !important;
|
||||
}
|
||||
|
||||
#chat.no-colors .from .user:hover,
|
||||
#chat.no-colors .text .user:hover,
|
||||
#chat.no-colors .sidebar .user:hover {
|
||||
color: #dcdccc !important;
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{mode}}{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{mode}}{{from}}</a>
|
||||
<span class="action-text">{{{parse text}}}</span>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{from}}</a>
|
||||
<b>{{ctcpType}}</b> {{{parse ctcpMessage}}}
|
||||
|
@ -1,9 +1,9 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{from}}</a>
|
||||
invited
|
||||
{{#if invitedYou}}
|
||||
you
|
||||
{{else}}
|
||||
<a href="#" class="user" data-name="{{invited}}">{{invited}}</a>
|
||||
<a href="#" class="user" data-name="{{invited}}" style="color:#{{stringcolor invited}}">{{invited}}</a>
|
||||
{{/if}}
|
||||
to
|
||||
{{{parse channel}}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{mode}}{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{mode}}{{from}}</a>
|
||||
<i class="hostmask">({{hostmask}})</i>
|
||||
has joined the channel
|
||||
|
@ -1,6 +1,6 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{mode}}{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{mode}}{{from}}</a>
|
||||
has kicked
|
||||
<a href="#" class="user" data-name="{{target}}">{{target}}</a>
|
||||
<a href="#" class="user" data-name="{{target}}" style="color:#{{stringcolor target}}">{{target}}</a>
|
||||
{{#if text}}
|
||||
<i class="part-reason">({{{parse text}}})</i>
|
||||
{{/if}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{mode}}{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{mode}}{{from}}</a>
|
||||
sets mode
|
||||
{{{parse text}}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
<a href="#" class="user" data-name="{{nick}}">{{mode}}{{nick}}</a>
|
||||
<a href="#" class="user" data-name="{{nick}}" style="color:#{{stringcolor nick}}">{{mode}}{{nick}}</a>
|
||||
is now known as
|
||||
<a href="#" class="user" data-name="{{new_nick}}">{{mode}}{{new_nick}}</a>
|
||||
<a href="#" class="user" data-name="{{new_nick}}" style="color:#{{stringcolor new_nick}}">{{mode}}{{new_nick}}</a>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{mode}}{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{mode}}{{from}}</a>
|
||||
<i class="hostmask">({{hostmask}})</i>
|
||||
has left the channel
|
||||
{{#if text}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<a href="#" class="user" data-name="{{from}}">{{mode}}{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{mode}}{{from}}</a>
|
||||
<i class="hostmask">({{hostmask}})</i>
|
||||
has quit
|
||||
{{#if text}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{#if from}}
|
||||
<a href="#" class="user" data-name="{{from}}">{{mode}}{{from}}</a>
|
||||
<a href="#" class="user" data-name="{{from}}" style="color:#{{stringcolor from}}">{{mode}}{{from}}</a>
|
||||
has changed the topic to:
|
||||
{{else}}
|
||||
The topic is:
|
||||
|
@ -1 +1,3 @@
|
||||
Topic set by <a href="#" class="user" data-name="{{nick}}">{{mode}}{{nick}}</a> on {{localeDate when}}
|
||||
Topic set by
|
||||
<a href="#" class="user" data-name="{{nick}}" style="color:#{{stringcolor nick}}">{{mode}}{{nick}}</a>
|
||||
on {{localeDate when}}
|
||||
|
@ -1,35 +1,35 @@
|
||||
<div>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}">{{whois.nick}}</a>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
|
||||
<i class="hostmask">({{whois.user}}@{{whois.host}})</i>:
|
||||
<b>{{whois.real_name}}</b>
|
||||
</div>
|
||||
{{#if whois.account}}
|
||||
<div>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}">{{whois.nick}}</a>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
|
||||
is logged in as <b>{{whois.account}}</b>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if whois.channels}}
|
||||
<div>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}">{{whois.nick}}</a>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
|
||||
is on the following channels: {{{parse whois.channels}}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if whois.server}}
|
||||
<div>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}">{{whois.nick}}</a>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
|
||||
is connected to {{whois.server}} <i>({{whois.server_info}})</i>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if whois.secure}}
|
||||
<div>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}">{{whois.nick}}</a>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
|
||||
is using a secure connection
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if whois.away}}
|
||||
<div>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}">{{whois.nick}}</a>
|
||||
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
|
||||
is away <i>({{whois.away}})</i>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user