diff --git a/Heart-the-City-Beneath-mk2/Heart.css b/Heart-the-City-Beneath-mk2/Heart.css index 87c1038351..98ce2ffba6 100644 --- a/Heart-the-City-Beneath-mk2/Heart.css +++ b/Heart-the-City-Beneath-mk2/Heart.css @@ -17,13 +17,14 @@ display: grid; grid-template-areas: "top stress" - "beats abilities-fallout" - "equipment abilities-fallout" - "resources abilities-fallout" - "skills-domains abilities-fallout" + "beats abilities" + "equipment abilities" + "resources abilities" + "skills-domains abilities" + "fallout abilities" "notes notes"; grid-template-columns: 1fr 1fr; - grid-template-rows: repeat(4,auto) 1fr auto; + grid-template-rows: repeat(5,auto) 1fr auto; grid-gap: var(--large-gap) calc(2 * var(--large-gap)); align-items: start; align-content: start; @@ -102,7 +103,6 @@ input[type="checkbox"] + span { display: flex; border: 1px solid black; background: transparent; - margin-right: 4px; width: 16px; height: 16px; align-items: center; @@ -247,6 +247,29 @@ input[type="text"].sheet-redtext { text-align: inherit; } +/* Broadcast buttons */ + +button[type=roll].btn.sheet-broadcast-button { + font-family: pictos; + position: absolute; + border: none; + outline: none; + margin: 0; + padding: 0; + z-index: 3; + font-size: 12px; + line-height: 14px; + height: 14px; + width: 14px; + color: #777; + right: 3px; + bottom: 7px; +} + +button[type=roll].sheet-broadcast-button::before { + display: none; +} + /* Common grid formatting */ .sheet-grid-tiny { display: grid; @@ -334,6 +357,9 @@ input[type="text"].sheet-redtext { font-weight: bold; align-self: stretch; } +.sheet-rollbutton input[type="checkbox"] + span { + margin-right: 4px; +} .sheet-rollbutton .sheet-small-text { grid-area: text; } @@ -362,7 +388,15 @@ label.sheet-extradice input[type="number"] { grid-area: beats; } .sheet-beats .sheet-reprow { - grid-template-columns: 1fr 80px; + grid-template-columns: auto 1fr 80px; + align-items: flex-start; +} +.sheet-beats label { + height: 24px; +} +.sheet-beats .sheet-auto-expand { + padding: var(--def-padding); + min-height: 24px; } /* Equipment and resources */ @@ -394,6 +428,9 @@ label.sheet-extradice input[type="number"] { grid-template-columns: 1fr 1fr; align-items: start; } +.sheet-skills-domains input[type="checkbox"] + span { + margin-right: 4px;; +} .sheet-skills, .sheet-domains { grid-template-columns: 85px 1fr; @@ -419,18 +456,22 @@ label.sheet-extradice input[type="number"] { } /* Abilities, Fallout */ -.sheet-abilities-fallout { - grid-area: abilities-fallout; -} -.sheet-abilities-fallout h3 { +.sheet-abilities h3, +.sheet-fallout h3 { display: flex; } +.sheet-abilities { + grid-area: abilities; +} .sheet-abilities .sheet-reprow { - grid-template-columns: 1fr 80px; + grid-template-columns: 1fr 80px auto; border-bottom: 2px solid var(--red-color); } .sheet-abilities .sheet-auto-expand { - grid-column: span 2; + grid-column: span 3; +} +.sheet-fallout { + grid-area: fallout; } .sheet-fallout .sheet-reprow { grid-template-columns: 1fr 90px 90px; @@ -493,6 +534,7 @@ label.sheet-extradice input[type="number"] { .sheet-rolltemplate-heart .sheet-name { font-size: 1.1em; letter-spacing: 0.5px; + grid-area: name; } .sheet-rolltemplate-heart .sheet-roll { grid-area: roll; diff --git a/Heart-the-City-Beneath-mk2/Heart.html b/Heart-the-City-Beneath-mk2/Heart.html index b182db1893..0bb7c2f238 100644 --- a/Heart-the-City-Beneath-mk2/Heart.html +++ b/Heart-the-City-Beneath-mk2/Heart.html @@ -5,79 +5,79 @@ src="https://raw.githubusercontent.com/roll20/roll20-character-sheets/master/Heart-the-City-Beneath-mk2/Heart-logo-transparent.png" alt="Heart: The City Beneath logo" />
-

Stress

-

Protection

+

Stress

+

Protection

-

Clear Stress

+

Clear Stress

- +
- +
- @@ -138,25 +138,31 @@
-

Active Beats

+

Active Beats

- + +
+ +
-

Equipment

+

Equipment

-

Name

+

Name

Domain/Tags

-

Die

+

Die

@@ -183,11 +189,11 @@
-

Resources

+

Resources

-

Name

+

Name

Domain/Tags

-

Die

+

Die

@@ -215,8 +221,8 @@
-

Skills

-

Knacks

+

Skills

+

Knacks

-

Domains

-

Knacks

+

Domains

+

Knacks

-
-
-

Abilities

-
-
- - -
- -
+
+

Abilities

+
+
+ + + +
+
-
-
-
-

Fallout

-
-
- - - -
- -
-
-
-
+ +
+
+
+

Fallout

+
+
+ + + +
+ +
+ +
+
+
-

Notes

+

Notes

@@ -441,10 +454,10 @@ {{#title_suffix}}({{title_suffix}}){{/title_suffix}}
{{name}}
-
+ {{#roll}}
{{roll}}
{{roll_details}}
-
+
{{/roll}} {{#showresult}}
{{^zerodice}} {{#rollTotal() roll 1}} diff --git a/Heart-the-City-Beneath-mk2/translation.json b/Heart-the-City-Beneath-mk2/translation.json index 23f4b8eb14..370a39481b 100644 --- a/Heart-the-City-Beneath-mk2/translation.json +++ b/Heart-the-City-Beneath-mk2/translation.json @@ -1,18 +1,18 @@ { - "abilities-label": "Abilities", + "abilities": "Abilities", "ability_name": "Ability name", - "active-beats-label": "Active Beats", - "all-stress-label": "All Stress", - "ancestry-label": "Ancestry", - "blood-label": "Blood", - "build-pool-label": "Build dice pool: 1D + Skill + Domain + Mastery + Knack", - "calling-label": "Calling", - "class-label": "Class", - "clear-label": "Clear", - "clearstress-label": "Clear Stress", + "active-beats": "Active Beats", + "all-stress": "All Stress", + "ancestry": "Ancestry", + "blood": "Blood", + "calling": "Calling", + "class": "Class", + "clear": "Clear", + "clearstress": "Clear Stress", "compel": "Compel", + "core": "Core", "critical-failure-msg": "Critical failure (take double stress)", - "critical-label": "Critical", + "critical": "Critical", "critical-success-msg": "Critical success (increase outgoing stress die size)", "cursed": "Cursed", "dangerous": "Dangerous", @@ -20,54 +20,53 @@ "delve": "Delve", "description-label": "Domains/Tags", "desolate": "Desolate", - "die-label": "Die", + "die": "Die", "difficulty": "Difficulty", "discern": "Discern", - "domains-label": "Domains", - "echo-label": "Echo", + "domains": "Domains", + "echo": "Echo", "endure": "Endure", - "equipment-label": "Equipment", + "equipment": "Equipment", "evade": "Evade", "failure-msg": "Failure (take stress)", - "fallout-label": "Fallout", - "fallout-test-label": "Fallout Test", + "fallout": "Fallout", + "fallout-test": "Fallout Test", "fallout_name": "Fallout name", - "fortune-label": "Fortune", + "fortune": "Fortune", "haven": "Haven", "hunt": "Hunt", "kill": "Kill", - "knacks-label": "Knacks", - "major-label": "Major", + "knacks": "Knacks", + "major": "Major", "mastery?": "Mastery?", "mend": "Mend", - "mind-label": "Mind", - "minor-label": "Minor", - "name-label": "Name", + "mind": "Mind", + "minor": "Minor", + "name": "Name", "no-fallout": "No fallout", "none": "None", - "notes-label": "Notes", + "notes": "Notes", "occult": "Occult", - "protection-label": "Protection", + "protection": "Protection", "religion": "Religion", - "resources-label": "Resources", + "resources": "Resources", "risky": "Risky", "risky-pool-label": "drop highest result, use second-highest result", - "roll-label": "Roll", - "skills-label": "Skills", + "roll": "Roll", + "skills": "Skills", "success-at-a-cost-msg": "Success at a cost (take stress)", "success-msg": "Success (take no stress)", "sneak": "Sneak", "standard": "Standard", "standard-pool-label": "use highest result", - "stress-label": "Stress", - "supplies-label": "Supplies", + "stress": "Stress", + "supplies": "Supplies", "take-major-fallout": "Take major fallout", "take-minor-fallout": "Take minor fallout", "technology": "Technology", - "total-label": "Total", + "total": "Total", "warren": "Warren", "wild": "Wild", - "zenith-label": "Zenith", - "zero-dice-label": "only succeed on a 10.", + "zenith": "Zenith", "zero-effective-dice": "Zero effective dice" -} \ No newline at end of file +}