Add files via upload

This commit is contained in:
mmpAppsCorp
2025-05-31 01:15:34 -07:00
committed by GitHub
parent bbe1faa2bb
commit 7e4e5f23c9
4 changed files with 2288 additions and 2472 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

+263 -21
View File
@@ -1,4 +1,4 @@
.sheet-wildwest-sheet {
.sheet-d6pp-sheet {
background-color: #deb887; /* Burly Wood */
padding: 20px; /* Adds space inside the edges */
border: 4px solid #8B4513; /* Optional: dark brown border */
@@ -7,7 +7,7 @@
margin: 10px;
}
.sheet-wildwest-sheet p {
.sheet-d6pp-sheet p {
font-family: 'Georgia', serif;
color: #3B2F2F;
font-size: 1.1em;
@@ -321,14 +321,14 @@ input[name="attr_reaction_fixit_active"][value="1"]
white-space: normal;
}
.wildwest-checkbox {
.d6pp-checkbox {
display: inline-flex;
align-items: center;
margin-left: 10px; /* Adjust spacing as needed */
font-weight: bold;
}
.wildwest-checkbox input {
.d6pp-checkbox input {
margin-right: 5px;
}
@@ -385,8 +385,8 @@ input[type="radio"][name="attr_attack_mode_q"][value="melee"]:checked ~ .sheet-m
letter-spacing: 0.2em;
}
button[type="action"].sheet-wildwest,
button[type="roll"].sheet-wildwest,
button[type="action"].sheet-d6pp,
button[type="roll"].sheet-d6pp,
button[type="action"].roll-skill-button,
button[type="action"].undo-activate-skill-button,
button[type="action"].activate-skill-button,
@@ -407,8 +407,8 @@ button[type="action"] {
transition: all 0.2s ease-in-out;
}
button[type="action"].sheet-wildwest:hover,
button[type="roll"].sheet-wildwest:hover,
button[type="action"].sheet-d6pp:hover,
button[type="roll"].sheet-d6pp:hover,
button[type="action"].activate-skill-button:hover,
button[type="action"].undo-activate-skill-button:hover,
button[type="action"].roll-skill-button:hover,
@@ -435,7 +435,7 @@ button[type="action"].commit-spend-mode:hover {
gap: 6px;
}
textarea.sheet-wildwest {
textarea.sheet-d6pp {
resize: vertical;
width: 100%;
line-height: 1.4;
@@ -447,8 +447,8 @@ textarea.sheet-wildwest {
min-height: calc(1.4em * 10 + 8px); /* Matches 10 rows */
}
input.sheet-wildwest,
textarea.sheet-wildwest {
input.sheet-d6pp,
textarea.sheet-d6pp {
/* shared Wild West style */
background-color: #f5f0e6;
border: 2px solid #8B4513;
@@ -460,7 +460,7 @@ textarea.sheet-wildwest {
text-align: left;
}
.sheet-wildwest-label {
.sheet-d6pp-label {
font-weight: bold;
font-size: 1.2em; /* Match actual label size */
color: #3B2F2F;
@@ -573,7 +573,7 @@ textarea.sheet-wildwest {
}
.sheet-character-desc-grid textarea[readonly],
input.sheet-wildwest[readonly] {
input.sheet-d6pp[readonly] {
background-color: #c2b195;
color: #222;
border: 2px solid #8B4513;
@@ -649,7 +649,7 @@ select[name="attr_simple_action_selection"] {
}
.wildwest-checkbox input[type="checkbox"] {
.d6pp-checkbox input[type="checkbox"] {
accent-color: #8B4513; /* Ensures checkbox matches theme in supported browsers */
transform: scale(1.2);
}
@@ -713,13 +713,26 @@ input[type="radio"].sheet-tab {
border: 1px solid #8B4513;
}
.wildwest-span {
.d6pp-span {
font-size: 1.1em;
color: #3B2F2F;
margin-right: 4px;
white-space: nowrap;
}
.sheet-d6pp-select {
background-color: #f5f0e6;
border: 2px solid #8B4513;
border-radius: 6px;
padding: 4px 6px;
font-size: 14px;
color: #3B2F2F;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
text-align: left;
max-width: 100%;
box-sizing: border-box;
}
input[name="attr_spend_mode"][value="1"] ~ .hide-when-spending {
display: none;
}
@@ -841,10 +854,10 @@ input[name="attr_character_type"][value="major_npc"] ~ .show-if-not-npc {
display: block;
}
input[name="attr_character_type"][value="quick_npc"] ~ .sheet-wildwest-sheet,
input[name="attr_character_type"][value="major_npc"] ~ .sheet-wildwest-sheet,
input[name="attr_character_type"][value="npc"] ~ .sheet-wildwest-sheet,
input[name="attr_character_type"][value="beast"] ~ .sheet-wildwest-sheet {
input[name="attr_character_type"][value="quick_npc"] ~ .sheet-d6pp-sheet,
input[name="attr_character_type"][value="major_npc"] ~ .sheet-d6pp-sheet,
input[name="attr_character_type"][value="npc"] ~ .sheet-d6pp-sheet,
input[name="attr_character_type"][value="beast"] ~ .sheet-d6pp-sheet {
background-color: #d0d0d0;
}
@@ -1012,7 +1025,7 @@ input[name="attr_character_type"][value="beast"] ~ .sheet-wildwest-sheet {
display: block;
}
.wildwest-item {
.d6pp-item {
font-family: 'Georgia', serif;
background-color: #fdf6e3;
border: 2px solid #8B4513;
@@ -1040,7 +1053,7 @@ input[name="attr_character_type"][value="beast"] ~ .sheet-wildwest-sheet {
color: #2e1c0b;
}
.skill-group-content textarea.sheet-wildwest {
.skill-group-content textarea.sheet-d6pp {
width: 100%;
box-sizing: border-box;
margin: 0;
@@ -1055,3 +1068,232 @@ input[name="attr_preaction_selection_ignorepain"][value="Dodge"] ~ .sheet-dodge-
input[name="attr_preaction_selection_disengage"][value="Dodge"] ~ .sheet-dodge-toggle {
display: inline-block;
}
/***** Grid Tables *****/
.sheet-grid-table {
display: grid;
width: 500px;
grid-auto-rows: auto;
box-sizing: border-box;
}
.sheet-grid-table.full-width {
width: 100%;
}
/* Column count variants */
.sheet-grid-table.two-col { grid-template-columns: repeat(2, 1fr); }
.sheet-grid-table.three-col { grid-template-columns: repeat(3, 1fr); }
.sheet-grid-table.four-col { grid-template-columns: repeat(4, 1fr); }
.sheet-grid-table.five-col { grid-template-columns: repeat(5, 1fr); }
.sheet-grid-table.six-col { grid-template-columns: repeat(6, 1fr); }
.sheet-grid-table.seven-col { grid-template-columns: repeat(7, 1fr); }
.sheet-grid-table.eight-col { grid-template-columns: repeat(8, 1fr); }
/* All cells */
.sheet-grid-table .grid-header,
.sheet-grid-table .grid-cell {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 6px 8px;
font-size: 1.0em;
text-align: center;
box-sizing: border-box;
/* Only top and left borders to prevent doubling */
border-top: 1px solid #8B4513;
border-left: 1px solid #8B4513;
border-bottom: 0px;
border-right: 0px;
}
/* Header styling */
.sheet-grid-table .grid-header {
background-color: #d2b48c;
font-weight: bold;
color: #4b2e0f;
}
/* Body cell background */
.sheet-grid-table .grid-cell {
background-color: #f5f0e6;
}
/* Add bottom border to last row */
.sheet-grid-table.two-col > *:nth-last-child(-n+2),
.sheet-grid-table.three-col > *:nth-last-child(-n+3),
.sheet-grid-table.four-col > *:nth-last-child(-n+4),
.sheet-grid-table.five-col > *:nth-last-child(-n+5),
.sheet-grid-table.six-col > *:nth-last-child(-n+6),
.sheet-grid-table.seven-col > *:nth-last-child(-n+7),
.sheet-grid-table.eight-col > *:nth-last-child(-n+8) {
border-bottom: 1px solid #8B4513;
}
/* Add right border to the last column of every row */
.sheet-grid-table.two-col > *:nth-child(2n),
.sheet-grid-table.three-col > *:nth-child(3n),
.sheet-grid-table.four-col > *:nth-child(4n),
.sheet-grid-table.five-col > *:nth-child(5n),
.sheet-grid-table.six-col > *:nth-child(6n),
.sheet-grid-table.seven-col > *:nth-child(7n),
.sheet-grid-table.eight-col > *:nth-child(8n) {
border-right: 1px solid #8B4513;
}
/***** FIREARM TABLE *****/
/* === Base Attack Grid Styling === */
.sheet-grid-attack {
display: grid;
width: 500px; /* default */
grid-auto-rows: auto;
box-sizing: border-box;
}
.sheet-grid-attack.full-width {
width: 100%;
}
.sheet-grid-table .target-number-cell {
font-weight: bold;
font-size: 2em;
color: #3B2F2F;
}
.sheet-grid-attack > div {
border: 1px solid #8B4513;
padding: 6px 8px;
font-size: 1em;
font-family: 'Georgia', serif;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
.sheet-grid-attack .grid-header {
background-color: #d2b48c;
color: #4b2e0f;
font-weight: bold;
}
.sheet-grid-attack .grid-cell,
.sheet-grid-attack .grid-header {
border-top: 1px solid #8B4513;
border-left: 1px solid #8B4513;
border-bottom: 0;
border-right: 0;
}
.sheet-grid-attack select {
width: 100%;
font-size: 14px;
}
.sheet-grid-attack button {
font-size: 1.1em;
margin: 0;
padding: 4px 8px;
}
.stack-tight {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
}
.stack-weapon {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
text-align: center;
}
.weapon-skill {
font-style: italic;
font-size: 0.9em;
color: #444;
font-family: Georgia, serif;
line-height: 1.2em;
}
.weapon-skill .small-hint {
display: inline;
}
.ammo-button-row {
display: flex;
flex-direction: row;
gap: 4px;
}
.grid-cell.ammo-display {
display: flex; /* Ensure flex container */
justify-content: flex-start; /* Align contents to left */
align-items: center; /* Vertically center if desired */
text-align: left;
padding-left: 4px;
font-size: 1.5em;
}
/* === Specific Grid Column Layouts === */
.sheet-grid-firearms {
grid-template-columns:
2fr /* Weapon */
1fr /* Dice */
1fr /* Damage */
1.2fr /* Ammo */
1fr /* Short */
1fr /* Medium */
1fr /* Long */
1fr; /* Extreme */
}
.sheet-grid-ranged {
grid-template-columns:
2fr /* Weapon */
1fr /* Dice */
1fr /* Damage */
1fr /* Short */
1fr /* Medium */
1fr /* Long */
1fr; /* Extreme */
}
.sheet-grid-melee {
grid-template-columns:
2fr /* Weapon */
1fr /* Dice */
1fr; /* Damage */
}
/* Add bottom border to last row when grid is melee or ranged */
/*.sheet-grid-attack.sheet-grid-firearms > *:nth-last-child(-n+8),*/
.sheet-grid-attack.sheet-grid-melee > *:nth-last-child(-n+3),
.sheet-grid-attack.sheet-grid-ranged > *:nth-last-child(-n+7) {
border-bottom: 1px solid #8B4513;
}
/* Add right border to the last column of every row when grid is melee or ranged */
.sheet-grid-attack.sheet-grid-firearms > *:nth-child(8n),
.sheet-grid-attack.sheet-grid-melee > *:nth-child(3n),
.sheet-grid-attack.sheet-grid-ranged > *:nth-child(7n) {
border-right: 1px solid #8B4513;
}
.sheet-grid-attack.sheet-grid-firearms > .full-row {
grid-column: span 8;
border-right: 1px solid #8B4513;
}
.sheet-grid-attack.sheet-grid-firearms > .last-row {
grid-column: span 8;
border-bottom: 1px solid #8B4513;
}
+2023 -2432
View File
File diff suppressed because it is too large Load Diff
+2 -19
View File
@@ -8,23 +8,6 @@
"instructions": "For D6++ Wild West, not yet released.",
"version": 1,
"description": "For D6++ Wild West, not yet released.",
"compendium": {
"default": "item",
"item": {
"template": "item",
"searchFields": ["item_name", "category"]
}
},
"compendiumDrop": {
"item": {
"destination": "repeating_inventory",
"fields": {
"name": "repeating_inventory_$0_item_name",
"qty": "repeating_inventory_$0_item_qty",
"weight": "repeating_inventory_$0_item_weight",
"location": "repeating_inventory_$0_item_location",
"description": "repeating_inventory_$0_item_description"
}
}
}
"compendium": "d6pp",
"preview": "d6pp.png"
}