Skip to content

Commit

Permalink
1.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Mar 6, 2022
1 parent d5062d6 commit 085d6d4
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# 1.3.8
Added support for the new damage buttons on attack cards. Fixed issue causing multiple elements in chat messages to create newlines.
# 1.3.7
Fixed styling of worn-related buttons and crafting screen on dark mode pc sheets. Added minor support for Navigation Presets module.
# 1.3.6
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Overhauls the Foundry UI and several modules.",
"url": "https://github.com/Dorako/pf2e-dorako-ui",
"author": "Dorako",
"version": "1.3.7",
"version": "1.3.8",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "9",
"system": ["pf2e"],
Expand All @@ -14,6 +14,6 @@
"templates": [
"templates/*"
],
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.7.zip",
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.8.zip",
"manifest": "https://github.com/Dorako/pf2e-dorako-ui/raw/main/module.json"
}
1 change: 0 additions & 1 deletion scripts/dorako-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ Hooks.once('init', async function () {
}
});

//todo Token, Body, None
game.settings.register("pf2e-dorako-ui", "insertSpeakerImage", {
name: "Add chat portrait?",
hint: "Adds the image of the speaker to the chat card.",
Expand Down
32 changes: 27 additions & 5 deletions styles/chat.css
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,11 @@ message-content .chat-damage-buttons button {
width: 12px;
}

.message-content .chat-damage-buttons.includes-fumble span.plus {
.chat-message>.message-content .chat-damage-buttons button>.transparent-half {
display: none;
}

.chat-message>.message-content .chat-damage-buttons.includes-fumble span.plus {
left: unset;
}

Expand Down Expand Up @@ -839,11 +843,11 @@ message-content .chat-damage-buttons button {
gap: 5px;
}

.chat-message .message-content {
/* .chat-message .message-content {
display: flex;
flex-direction: column;
gap: 5px;
}
} */

button.half-damage .fa-heart-broken::after {
content:"\f7a9";
Expand Down Expand Up @@ -989,14 +993,14 @@ button.half-damage .fa-heart-broken::after {
[data-visibility]:is(div,em,h4,p,span,strong):not([data-visibility=all])[data-visibility=owner] {
background:none;
background-color: #1f1fa830;
outline: 1px dashed #4646ffa0;
outline: 1px dashed #a6a6ffd0;

}

[data-visibility]:is(div,em,h4,p,span,strong):not([data-visibility=all])[data-visibility=gm] {
background:none;
background-color: hsla(0,0%,50%,0.25);
outline: 1px dotted black;
/* outline: 1px dotted black; */
}

[data-visibility]:is(div,em,h4,p,span,strong):not([data-visibility=all])[data-visibility=owner] [data-visibility=owner] {
Expand Down Expand Up @@ -1515,4 +1519,22 @@ div#scrollToBottom:hover {

.chat-message .message-header .message-metadata {
align-content: center;
}

.chat-message>.message-content .message-buttons {
gap: 3px;
}

.message button {
line-height: 20px;
border: 1px solid var(--alt);
background: hsla(0, 0%, 20%,0.1);
}

.dice-roll .dice-result {
margin-top: 5px;
}

h4 .action {
margin: 0px;
}

0 comments on commit 085d6d4

Please sign in to comment.