Cleanup diff

This commit is contained in:
Stubenhocker1399
2019-09-08 20:50:39 +02:00
parent 4eeaf3994c
commit 299619bb79
2 changed files with 8 additions and 7 deletions
@@ -1,4 +1,5 @@
@import '../../../../styles/partials/variables';
.chat-box {
max-width: 500px;
height: 37px;
@@ -51,27 +52,27 @@
.chat-party > &, .chat-party-think > & {
color: $chat-party;
}
.chat-say > &, .chat-think > & {
color: $chat-color;
}
.chat-sup > & {
color: $supporter-1;
}
.chat-sup1 > & {
color: $supporter-1;
}
.chat-sup2 > & {
color: $supporter-2;
}
.chat-sup3 > & {
color: $supporter-3;
}
.chat-whisper > & {
color: $chat-whisper;
}
@@ -112,7 +112,7 @@ export function createChatLogLineDOM(clickLabel: ClickHandler, clickName: ClickH
'span', 'chat-line-label mr-1', [line.labelText = textNode('')], undefined, { click: () => clickLabel(line.entry) }),
line.prefixText = textNode(''),
line.name = element('span', 'chat-line-name', [
textNode(`[`),
textNode('['),
line.nameContent = element(
'span', 'chat-line-name-content', [textNode('')], undefined, { click: () => clickName(line.entry) }),
line.index = element('span', 'chat-line-name-index', [line.indexText = textNode('')], { title: 'duplicate name' }),