Skip to content

Commit

Permalink
Update glass skin: add margin before message, change highlight color
Browse files Browse the repository at this point in the history
  • Loading branch information
onoderis committed Jun 24, 2018
1 parent 4889c1f commit 43b6fe7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions src/main/external-resources/skins/_shared/example-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,18 @@ $(() => {
}
});

failchat.handleMessage({
"type": "message",
"content": {
"id": 393112,
"origin": "peka2tv",
"author": {"name": "fail0001", "id": "fail0001"},
"text": "highlighted message! one two three",
"timestamp": 1529402475110,
"highlighted": true,
"badges": [],
"elements": []
}
});

});
3 changes: 2 additions & 1 deletion src/main/external-resources/skins/glass/glass.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ span.nick::after {
#272a3233 100%
);
padding: 6px 6px 10px;
margin-top: 5px;
position: relative;
animation: appear-bottom 0.4s;
font-family: Verdana, Geneva, sans-serif;
Expand Down Expand Up @@ -107,7 +108,7 @@ span.nick, span.origin-name {
}

span.highlighted {
color: #74CD36;
color: #91e0ff;
}

span.origin-name {
Expand Down

0 comments on commit 43b6fe7

Please sign in to comment.