Some styles
This commit is contained in:
@@ -200,10 +200,11 @@ export class RollL5r5e extends Roll {
|
||||
|
||||
// Define chat data
|
||||
const chatData = {
|
||||
// borderColor: game.user.color, // don't work :/
|
||||
formula: isPrivate ? "???" : this._formula,
|
||||
flavor: isPrivate ? null : chatOptions.flavor,
|
||||
user: chatOptions.user,
|
||||
isPublicRoll: !chatOptions.isPrivate,
|
||||
isPublicRoll: !isPrivate,
|
||||
tooltip: isPrivate ? "" : await this.getTooltip({ from: "render" }),
|
||||
total: isPrivate ? "?" : Math.round(this._total * 100) / 100,
|
||||
data: this.data,
|
||||
@@ -251,6 +252,7 @@ export class RollL5r5e extends Roll {
|
||||
// Prepare chat data
|
||||
messageData = mergeObject(
|
||||
{
|
||||
borderColor: game.user.color,
|
||||
user: game.user._id,
|
||||
type: template,
|
||||
content: this._total,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -8,6 +8,29 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
/* Chat */
|
||||
#chat-log .message.ic {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
#chat-log .message.ic .message-header {
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
#chat-log .message.emote {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
#chat-log .message.emote .message-header {
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
#chat-log .message {
|
||||
background-color: rgba(195, 165, 130, 0.5);
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
#chat-log .message .message-header {
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
|
||||
/* Windows */
|
||||
.window-app {
|
||||
.window-content {
|
||||
|
||||
Reference in New Issue
Block a user