Skip to content

Commit

Permalink
2.10.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Oct 21, 2023
1 parent 39dc23a commit d50362c
Show file tree
Hide file tree
Showing 15 changed files with 782 additions and 53 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ foundry.js
/client
/common

vtt.novumgaming.com
vtt.novumgaming.com:2053
localhost:30000
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 2.10.11

- (Refinement) Ensured that Jewel of Indigo Isles and World of Indigo Isles journals are excluded from styling.
- (Refinement) Added Foundry 2 styling for Tokenizer.
- (Refinement) Added Foundry 2 styling for MLD's Token HUD.
- (Refinement) Added Foundry 2 styling for Monk's active token thingie.
- (Refinement) Fixed several Foundry 2 styling issues related to biography on PC sheets or spell prep.
- (Refinement) Ensured that Foundry 2 styling doesn't apply to .pf2e tables, like those in class descriptions.

# 2.10.10

- (Refinement) Ensured that Season of Ghosts journals are excluded from styling.
Expand Down
2 changes: 1 addition & 1 deletion modules/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const baseThemeApplications = [...baseThemeCoreFoundryApplications,...bas
export const darkThemeCompatibleApplications = [...darkThemeCompatibleCoreFoundryApplications, ...darkThemeCompatibleModuleApplications, ...darkThemeCompatiblePf2eApplications, ...dorakoUiApplications]

// prettier-ignore
export const premiumModuleSelector = ".seasonofghosts, .seasonofghosts-wrapper, .skykingstomb-wrapper, .skykingstomb, .stolenfate-wrapper, .stolenfate, .harrow-reading, .harrow, .pf2e-km, .kingdom-app, .swpf-sheet, .swpf-wrapper, .pf2e-av, .pf2e-bb, .gatewalkers-wrapper, .gatewalkers, .outlaws-wrapper, .outlaws, .bloodlords-wrapper, .bloodlords, .kingmaker-wrapper, .kingmaker"; //
export const premiumModuleSelector = ".pf2e-ii, .pf2e-woii, .seasonofghosts, .seasonofghosts-wrapper, .skykingstomb-wrapper, .skykingstomb, .stolenfate-wrapper, .stolenfate, .harrow-reading, .harrow, .pf2e-km, .kingdom-app, .swpf-sheet, .swpf-wrapper, .pf2e-av, .pf2e-bb, .gatewalkers-wrapper, .gatewalkers, .outlaws-wrapper, .outlaws, .bloodlords-wrapper, .bloodlords, .kingmaker-wrapper, .kingmaker"; //
// SWPFSheet
// SWPFJournalSheet

Expand Down
2 changes: 1 addition & 1 deletion sass/foundry/_foundry2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
padding: 2px 5px;
}

table tr:nth-child(even) {
table:not(.pf2-table) tr:nth-child(even) {
background: color-mix(in srgb, var(--color-cool-3) 20%, transparent);
}

Expand Down
2 changes: 1 addition & 1 deletion sass/module/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"scene-preview", "speaking-as", "target-damage", "token-action-hud", "workbench", "party-overview", "pf2e-dailies",
"dalvyn-journal", "swade", "chat-reactions", "card-hand-mini-toolbar", "module-management-plus", "misc", "item-piles",
"pf2e-idle-hud", "pf2e-utility-buttons", "window-tabs", "pinned-chatlog", "forien-easy-polls", "button-feel",
"global-progress-clocks", "token-attacher", "lib-df-buttons";
"global-progress-clocks", "token-attacher", "lib-df-buttons", "tokenizer", "foundry2";
105 changes: 68 additions & 37 deletions sass/module/_monks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,55 +206,86 @@
background-color: var(--primary-light);
}

#token-hud.monks-little-details .status-effects .effect-control,
#token-hud.monks-little-details .status-effects .pf2e-effect-control {
border-radius: unset;
}

#token-hud.placeable-hud.monks-little-details .status-effects {
grid-template-columns: 90px 90px 90px 90px !important;
background: none;
.dorako-ui {
&#token-hud.monks-little-details .status-effects .effect-control,
&#token-hud.monks-little-details .status-effects .pf2e-effect-control {
border-radius: unset;
}

.effect-control {
border: none;
opacity: unset;
#token-hud.placeable-hud.monks-little-details .status-effects {
grid-template-columns: 90px 90px 90px 90px !important;
background: none;

&.active {
.effect-control {
border: none;
opacity: 1;
background-color: var(--secondary-light);
opacity: unset;

.effect-name {
color: white;
opacity: unset;
&.active {
border: none;
opacity: 1;
background-color: var(--secondary-light);

.effect-name {
color: white;
opacity: unset;
}
}
}

img {
border-radius: 4px 0px 0px 4px;

&::before {
@include quick-transition;
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: 0px 0px 1px var(--tertiary);
img {
border-radius: 4px 0px 0px 4px;
overflow: hidden;
pointer-events: none;

&::before {
@include quick-transition;
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: 0px 0px 1px var(--tertiary);
border-radius: 4px 0px 0px 4px;
overflow: hidden;
pointer-events: none;
}
}
}

.effect-name {
opacity: unset;
padding-right: 4px;
color: var(--color-text-light-heading);
font-size: var(--font-size-12);
}
}
}

.effect-name {
opacity: unset;
padding-right: 4px;
color: var(--color-text-light-heading);
font-size: var(--font-size-12);
.foundry2 {
&#token-hud.monks-little-details .status-effects {
gap: 5px;
}

&#token-hud.monks-little-details .status-effects .effect-control.active,
&#token-hud.monks-little-details .status-effects .pf2e-effect-control.active {
border: unset;
}

picture {
opacity: 1 !important;
left: -1px;
top: -1px;
position: relative;
}

#token-hud .status-effects .effect-control .badge {
border-top: unset;
border-right: unset;
width: 18px;
right: 0px;
}
}

body.system-pf2e #token-hud.monks-little-details.foundry2 .status-effects .effect-control {
@include f2-button-warm;
}

/* ----------------------------------------- */
Expand Down
68 changes: 68 additions & 0 deletions sass/module/_tokenizer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
.foundry2 {
#tokenizer div.avatar div.view > div > canvas,
#tokenizer div.token div.view > div > canvas {
@include f2-app;
background-image: linear-gradient(45deg, #808080 25%, transparent 25%),
linear-gradient(-45deg, #808080 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #808080 75%),
linear-gradient(-45deg, transparent 75%, #808080 75%);
background-size: 20px 20px;
background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

#tokenizer div.menu,
#tokenizer div.view-layer-control {
background: unset;
}

#tokenizer div.view-layer-control {
border: unset;
}

#tokenizer div.view-layer-control canvas,
#tokenizer div.view-layer-control .section.move-control button {
border-radius: var(--border-radius);
}

#tokenizer button .fa-regular::before,
#tokenizer button .fas::before,
#tokenizer button .button-fas::before {
margin-top: unset;
}

#tokenizer div.section {
@include f2-app;
border-color: var(--color-cool-3);
button {
@include f2-button-warm;
}
}

#tokenizer button.menu-button {
@include f2-button-warm;
}

&.tokenizer .title .box-button {
@include f2-button-warm;
--button-background-color: var(--color-cool-2);
--button-border-color: var(--color-warm-1);
--button-text-color: var(--color-light-1);
--button-focus-outline-color: var(--color-warm-1);
--button-hover-background-color: var(--color-cool-3);
--button-hover-border-color: var(--color-cool-2);
--button-hover-text-color: var(--color-light-2);

&.deselected {
--button-background-color: var(--color-cool-3);
--button-border-color: var(--color-cool-2);
--button-text-color: var(--color-light-2);
--button-focus-outline-color: var(--color-warm-1);
--button-hover-background-color: var(--color-cool-2);
--button-hover-border-color: var(--color-cool-1);
--button-hover-text-color: var(--color-light-1);
}

> i:before {
margin-top: 50% !important;
}
}
}
3 changes: 3 additions & 0 deletions sass/module/foundry2/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import "../../mixins";

@import "monks";
77 changes: 77 additions & 0 deletions sass/module/foundry2/_monks.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.foundry2 {
.monks-active-tiles.sheet .items-list .items-header,
&.monks-active-tiles.sheet .items-list .items-header {
background: unset;
border: unset;
// @include f2-app;
// border-color: var(--color-cool-3);
.item-controls {
color: var(--color-light-3);
}
}

.monks-active-tiles.sheet .items-list .items-header h3,
&.monks-active-tiles.sheet .items-list .items-header h3 {
font-family: Signika, sans-serif;
}

&#trigger-action .files-list .items-header .item-controls,
&#trigger-action .buttons-list .items-header .item-controls,
&.monks-active-tiles .files-list .items-header .item-controls {
color: var(--color-light-2);
}

&.monks-active-tiles .file-list {
color: var(--color-light-3);
}

&.monks-active-tiles.sheet .items-list,
&#trigger-action .items-list li a,
&.monks-active-tiles .file-list li a {
color: var(--color-light-3);
}
&#trigger-action .file-list li,
&.monks-active-tiles.sheet .file-list li.item {
border-color: var(--color-cool-3);
}

&.action-sheet .display-value {
@include f2-input;
}

&.monks-active-tiles.sheet .items-list .item-controls a {
@include f2-button-warm;
}

&.monks-active-tiles.sheet .items-list .item .item-name {
color: var(--color-light-3);
}

&.monks-active-tiles div[data-tab="triggers"] .action-items .action-style {
color: #fafafa;
}

&.monks-active-tiles div[data-tab="triggers"] .action-items .filter-style {
color: #f73458;
}

&.monks-active-tiles div[data-tab="triggers"] .action-items .logic-style {
color: #2b40f8;
}

&.monks-active-tiles div[data-tab="triggers"] .action-items .entity-style {
color: #a9a9a9;
}

&.monks-active-tiles div[data-tab="triggers"] .action-items .details-style {
color: #a326fc;
}

&.monks-active-tiles div[data-tab="triggers"] .action-items .value-style {
color: #515151;
}

&.monks-active-tiles div[data-tab="triggers"] .action-items .tag-style {
color: #063d68;
}
}
10 changes: 10 additions & 0 deletions sass/pf2e/foundry2/_actor-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
border: unset;
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.2) inset;
}

&.spellcasting-entry {
--primary: var(--color-warm-2);
--secondary: var(--color-cool-3);
--text-dark: var(--color-light-2);
--color-border-divider: var(--color-cool-3);
--sub: var(--color-light-6);
--alt: var(--color-light-5);
--bg: var(--color-cool-5-90);
}
}

.foundry2-pc,
Expand Down
20 changes: 20 additions & 0 deletions sass/pf2e/foundry2/_pc-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,26 @@
}
.editor {
@include f2-input;
height: auto;
.tox.tox-tinymce {
background: white;
}
}
}

&.actor.sheet.character .crb-style.locked.limited .sheet-body .sheet-content .tab.biography {
section input,
.editor {
--input-text-color: var(--color-light-3);
--input-focus-text-color: var(--color-light-3);
--input-background-color: transparent;
--input-border-color: transparent;
--input-focus-outline-color: transparent;
--box-shadow: transparent;

&:hover {
outline-color: transparent;
}
}
}

Expand Down
Loading

0 comments on commit d50362c

Please sign in to comment.