Skip to content

Commit

Permalink
v1.3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed May 12, 2022
1 parent c540707 commit dc938d6
Showing 5 changed files with 42 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.3.18

Changes to familiar sheets, courtesy of @Vesselchuck. Add setting for increasing the size of the chat box.

# 1.3.17

New dark mode familiar sheets, courtesy of @Vesselchuck.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -22,8 +22,6 @@ Works great with:

Works well with:

- Sidebar, Chat and Windows Resizer
- Module Management+
- Combat Focus
- Combat Enhancement
- Bar Brawl
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
"description": "Overhauls the Foundry UI and several modules.",
"url": "https://github.com/Dorako/pf2e-dorako-ui",
"author": "Dorako",
"version": "1.3.17",
"version": "1.3.18",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "9",
"system": ["pf2e"],
"scripts": ["scripts/dorako-ui.js"],
"templates": ["templates/*"],
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.17.zip",
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.18.zip",
"manifest": "https://github.com/Dorako/pf2e-dorako-ui/raw/main/module.json"
}
21 changes: 21 additions & 0 deletions scripts/dorako-ui.js
Original file line number Diff line number Diff line change
@@ -419,6 +419,22 @@ Hooks.once("init", async function () {
},
});

game.settings.register("pf2e-dorako-ui", "chat-input-height", {
name: "Chatbox height",
scope: "client",
type: Number,
default: 50,
range: {
min: 50,
max: 300,
step: 5,
},
config: true,
onChange: () => {
debouncedReload();
},
});

game.settings.register("pf2e-dorako-ui", "enable-player-tags", {
name: "Add player tags?",
hint: "Adds a tag containing the name of the player next to the speaker.",
@@ -775,6 +791,11 @@ Hooks.once("init", async function () {
"px"
);

root.setProperty(
"--chat-input-height",
game.settings.get("pf2e-dorako-ui", "chat-input-height").toString() + "px"
);

if (game.settings.get("pf2e-dorako-ui", "skin-navigation"))
injectCSS("navigation");
if (game.settings.get("pf2e-dorako-ui", "skin-controls"))
28 changes: 15 additions & 13 deletions styles/sidebar.css
Original file line number Diff line number Diff line change
@@ -3,8 +3,7 @@
/* Glass - Remove prior styling */

#sidebar,
#sidebar-tabs
{
#sidebar-tabs {
border: none;
border-radius: 0px;
box-shadow: none;
@@ -28,8 +27,7 @@
} */

/* .sidebar-popout.app */
#sidebar.app
{
#sidebar.app {
border: none;
border-radius: var(--dorako-radius);
background-color: var(--dorako-bg-current);
@@ -50,7 +48,7 @@
margin: none;
}

#sidebar-tabs > .item {
#sidebar-tabs>.item {
transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
position: relative;
flex: 0 0 21px;
@@ -74,6 +72,7 @@
transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
box-shadow: var(--gold-and-glow);
}

#sidebar-tabs>.item:not(.active):hover {
color: white;
box-shadow: none;
@@ -108,23 +107,26 @@ nav.damage-log-nav .item.active {
background-color: var(--paizo-blue-bright);
border: none;
transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border-radius:5px;
border-radius: 5px;
}

nav.damage-log-nav .item {
transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
margin: 2px;
color: white;
border-radius:5px;
margin:2px;
border-radius: 5px;
margin: 2px;
border: none;
}

nav.damage-log-nav .item:not(.active):hover {
box-shadow: var(--gold-and-glow);
background-color: var(--paizo-blue);
border: none;
border: none;
transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border-radius:5px;
border-radius: 5px;
}

nav.damage-log-nav.tabs {
flex: 0;
margin: 0px;
@@ -142,7 +144,7 @@ nav.damage-log-nav.tabs {
text-shadow: none;
}

#sidebar-tabs > .collapse {
#sidebar-tabs>.collapse {
text-align: center;
align-self: center;
}
@@ -163,11 +165,11 @@ nav.damage-log-nav.tabs {


#chat-form {
flex: 0 0 70px;
flex: 0 0 var(--chat-input-height);
}

#chat-form textarea {
min-height: 50px;
min-height: var(--chat-input-height);
height: 100%;
background-image: none;
border: none;

0 comments on commit dc938d6

Please sign in to comment.