Skip to content

Commit

Permalink
2.11.21
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Nov 12, 2023
1 parent f3659ee commit c795599
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 18 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.11.21

- (Maintenance) Made adjustments to NPC sheet themes to keep up to date with system changes.
- (Maintenance) Kept up to date with system changes to system changes to add-gm-notes and editor buttons for dark theme.
- (Refinement) Adjusted Smalltime styling to account for date display.

# 2.11.20

- (New) Added support for Smalltime.
Expand Down
2 changes: 1 addition & 1 deletion esmodules/dorako-ux/npc-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Hooks.on("renderNPCSheetPF2e", (app, html, data) => {
const collapseSaves = app.object.system.attributes.allSaves.value === "";

const immunities = app.object.system.attributes.immunities;
const collapseImmunities = immunities.length === 0 && immunities.custom === "";
const collapseImmunities = immunities.length === 0 && (immunities.custom === undefined || immunities.custom === "");
const weaknesses = app.object.system.attributes.weaknesses;
const collapseWeaknesses = weaknesses.length === 0;
const resistances = app.object.system.attributes.resistances;
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"type": "system",
"compatibility": {
"minimum": "4.0.0",
"verified": "5.8.0"
"verified": "5.8.3"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion sass/dorako-theme/foundry-core/_application-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
background: none;
}

&.pf2e.item.sheet form section.sheet-body .item-description .descriptions .editor a {
&.pf2e.item.sheet form .sheet-body .tab.active.description .editor a {
&.add-gm-notes,
&.editor-edit {
@include glass;
Expand Down
9 changes: 8 additions & 1 deletion sass/dorako-theme/pf2e-system/_npc-sheet.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.dorako-ui.sheet.pf2e.actor.npc {
.dorako-ux.sheet.pf2e.actor.npc {
--color-text-dark-input: black;

form {
Expand All @@ -21,6 +21,13 @@
&.actor.npc.sheet form ol.spell-list > li .uses input {
color: var(--text-light);
}

&.actor.npc.sheet form .side-bar-label.empty {
color: var(--section-header-text-color);
}
.item.empty {
color: var(--color-text-dark-inactive);
}
}

/* Green */
Expand Down
7 changes: 6 additions & 1 deletion sass/module-support/_smalltime.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
}

&#smalltime-app #slideContainer {
margin-bottom: 10px;
max-height: 24px;
}
&#smalltime-app #dateDisplay {
text-shadow: 0px 1px 2px black;
background: unset;
box-shadow: unset;
}
}

Expand Down
36 changes: 24 additions & 12 deletions styles/dorako-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -3717,7 +3717,13 @@ body.compact-ui #navigation.dorako-ui .monks-scene-navigation #nav-toggle {
}
.dorako-ui#smalltime-app #slideContainer,
.foundry2#smalltime-app #slideContainer {
margin-bottom: 10px;
max-height: 24px;
}
.dorako-ui#smalltime-app #dateDisplay,
.foundry2#smalltime-app #dateDisplay {
text-shadow: 0px 1px 2px black;
background: unset;
box-shadow: unset;
}

.foundry2#smalltime-app {
Expand Down Expand Up @@ -5127,7 +5133,7 @@ html .xdy-pf2e-workbench-rarity-unique {
.dorako-ui.dark-theme.filepicker .favorites .path {
background: none;
}
.dorako-ui.dark-theme.pf2e.item.sheet form section.sheet-body .item-description .descriptions .editor a.add-gm-notes, .dorako-ui.dark-theme.pf2e.item.sheet form section.sheet-body .item-description .descriptions .editor a.editor-edit {
.dorako-ui.dark-theme.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes, .dorako-ui.dark-theme.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.editor-edit {
border: none;
border-radius: var(--border-radius);
background: none;
Expand All @@ -5137,7 +5143,7 @@ html .xdy-pf2e-workbench-rarity-unique {
text-shadow: 0 0 3px black;
color: var(--color-text-light-heading);
}
.dorako-ui.dark-theme.pf2e.item.sheet form section.sheet-body .item-description .descriptions .editor a.add-gm-notes:hover, .dorako-ui.dark-theme.pf2e.item.sheet form section.sheet-body .item-description .descriptions .editor a.editor-edit:hover {
.dorako-ui.dark-theme.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes:hover, .dorako-ui.dark-theme.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.editor-edit:hover {
border: none;
border-radius: var(--border-radius);
background: none;
Expand All @@ -5147,10 +5153,10 @@ html .xdy-pf2e-workbench-rarity-unique {
color: var(--color-text-light-highlight);
box-shadow: var(--glassy);
}
.dorako-ui.dark-theme.pf2e.item.sheet form section.sheet-body .item-description .descriptions .editor a.add-gm-notes {
.dorako-ui.dark-theme.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes {
background-color: #2e0587;
}
.dorako-ui.dark-theme.pf2e.item.sheet form section.sheet-body .item-description .descriptions .editor a.add-gm-notes:hover {
.dorako-ui.dark-theme.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes:hover {
background-color: #440eb9;
}
.dorako-ui.dark-theme.pf2e.item.sheet form section.sheet-body .item-description .descriptions .gm-notes {
Expand Down Expand Up @@ -7724,23 +7730,29 @@ nav#controls.dorako-ui ol.control-tools > li.toggle:hover {
color: var(--color-text-light-highlight);
}

.dorako-ui.sheet.pf2e.actor.npc {
.dorako-ux.sheet.pf2e.actor.npc {
--color-text-dark-input: black;
}
.dorako-ui.sheet.pf2e.actor.npc form .activity-icon {
.dorako-ux.sheet.pf2e.actor.npc form .activity-icon {
font-weight: 100;
}
.dorako-ui.sheet.pf2e.actor.npc form input.adjustable:not(:focus).adjusted-higher,
.dorako-ui.sheet.pf2e.actor.npc form span.adjustable.adjusted-higher {
.dorako-ux.sheet.pf2e.actor.npc form input.adjustable:not(:focus).adjusted-higher,
.dorako-ux.sheet.pf2e.actor.npc form span.adjustable.adjusted-higher {
color: green !important;
}
.dorako-ui.sheet.pf2e.actor.npc form input.adjustable:not(:focus).adjusted-lower,
.dorako-ui.sheet.pf2e.actor.npc form span.adjustable.adjusted-lower {
.dorako-ux.sheet.pf2e.actor.npc form input.adjustable:not(:focus).adjusted-lower,
.dorako-ux.sheet.pf2e.actor.npc form span.adjustable.adjusted-lower {
color: red !important;
}
.dorako-ui.sheet.pf2e.actor.npc.actor.npc.sheet form ol.spell-list > li.spell-level-header input, .dorako-ui.sheet.pf2e.actor.npc.actor.npc.sheet form ol.spell-list > li .uses input {
.dorako-ux.sheet.pf2e.actor.npc.actor.npc.sheet form ol.spell-list > li.spell-level-header input, .dorako-ux.sheet.pf2e.actor.npc.actor.npc.sheet form ol.spell-list > li .uses input {
color: var(--text-light);
}
.dorako-ux.sheet.pf2e.actor.npc.actor.npc.sheet form .side-bar-label.empty {
color: var(--section-header-text-color);
}
.dorako-ux.sheet.pf2e.actor.npc .item.empty {
color: var(--color-text-dark-inactive);
}

/* Green */
.dorako-ui.sheet.pf2e.actor.npc.green-theme {
Expand Down
2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit c795599

Please sign in to comment.