Skip to content

Commit

Permalink
Change tab menu, fix monster sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
maqloner committed May 4, 2022
1 parent 5ec778d commit 71fefaa
Show file tree
Hide file tree
Showing 23 changed files with 95 additions and 21 deletions.
33 changes: 26 additions & 7 deletions css/pirateborg.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/pirateborg.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,10 @@
"PB.SettingsWhiteOnPinkWhite": "White on pink (white)",
"PB.SettingsTrackAmmo": "Track Ammo",
"PB.SettingsTrackAmmoHint": "Select and autodecrement ammo for ranged weapons.",
"PB.SheetClassCharacter": "Default Mork Borg Character Sheet",
"PB.SheetClassContainer": "Default Mork Borg Container Sheet",
"PB.SheetClassCreature": "Default Mork Borg Creature Sheet",
"PB.SheetClassCharacter": "Default Pirate Borg Character Sheet",
"PB.SheetClassContainer": "Default Pirate Borg Container Sheet",
"PB.SheetClassCreature": "Default Pirate Borg Creature Sheet",
"PB.SheetItem": "Default Pirate Borg Item Sheet",
"PB.Silver": "Silver",
"PB.StandsFirm": "Stands firm",
"PB.Starting": "Starting",
Expand Down
5 changes: 4 additions & 1 deletion module/system/configure-system.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@ export const configureSystem = () => {

Items.unregisterSheet("core", ItemSheet);

Items.registerSheet("morkpirateborgborg", PBItemSheet, { makeDefault: true });
Items.registerSheet("pirateborg", PBItemSheet, {
makeDefault: true,
label: "PB.SheetItem",
});
};
10 changes: 10 additions & 0 deletions scss/pirateborg/_creature-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@
flex: 0 0 35px;
margin-bottom: 10px;
}

.buttons-row {
display: flex;
justify-content: flex-start;
gap: 8px;

button {
width: auto;
}
}
}
}
}
1 change: 0 additions & 1 deletion scss/pirateborg/_foundry-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ form button {
padding-top: 1px;
cursor: pointer;
height: 28px;
width: auto;

&:hover {
box-shadow: 0 0 10px var(--highlight-background-color);
Expand Down
1 change: 1 addition & 0 deletions scss/pirateborg/_root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
--sidebar-tab-color: #FFFFFF;

--light-border-color: #f6dec2;
--dark-border-color: #a29280;

--sidebar-background: var(--window-background);
--sidebar-color: #000000;
Expand Down
24 changes: 18 additions & 6 deletions scss/pirateborg/_sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,27 +97,38 @@
border-top: none;
border-bottom: none;
padding: 0;
margin: 8px 16px 8px 16px;
margin: 0px;

.spacer {
border-bottom: 1px solid var(--dark-border-color);
display: block;
padding-left: 16px;
}

.item {
font-family: var(--h2-font);
font-size: 22px;
height: 30px;
line-height: 32px;
height: 34px;
line-height: 34px;
width: 100%;
border-radius: 16px;
white-space: nowrap;
padding-left: 16px;
padding-right: 16px;
border: 1px solid transparent;
border-bottom: 1px solid var(--dark-border-color);

&:hover {
text-shadow: 0 0 16px var(--highlight-background-color);
}

&.active {
text-shadow: none;
background: var(--highlight-background-color);
color: var(--highlight-foreground-color);
border: 1px solid var(--dark-border-color);
border-bottom: 0;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
background: rgba(255, 255, 255, 0.20);
border-bottom: 0;
}
}
}
Expand All @@ -130,6 +141,7 @@
height: 100%;
overflow-y: auto;
padding: 16px 16px 16px 16px;
background: rgba(255, 255, 255, 0.2);
}
}

Expand Down
3 changes: 2 additions & 1 deletion template.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
"fumbleOn": 1,
"usesAmmo": false,
"userAmmoDamage": true,
"weaponType": "melee"
"weaponType": "melee",
"isGunpowderWeapon": false
},
"misc": {
"templates": [
Expand Down
Loading

0 comments on commit 71fefaa

Please sign in to comment.