diff --git a/src/ds4.scss b/src/ds4.scss index db46a09a..af018bb7 100644 --- a/src/ds4.scss +++ b/src/ds4.scss @@ -8,6 +8,7 @@ @import "scss/global/window"; @import "scss/global/grid"; @import "scss/global/flex"; +@import "scss/global/accessibility"; /* Styles limited to ds4 sheets */ .ds4 { diff --git a/src/scss/components/_basic_property.scss b/src/scss/components/_basic_property.scss index 40978da4..56668373 100644 --- a/src/scss/components/_basic_property.scss +++ b/src/scss/components/_basic_property.scss @@ -1,6 +1,7 @@ .basic-properties { flex: 0 0 100%; - gap: 2px; + grid-gap: 2px; + grid-template-columns: repeat(auto-fill, minmax(9em, 1fr)); .basic-property { display: grid; align-content: end; diff --git a/src/scss/components/_character_progression.scss b/src/scss/components/_character_progression.scss index c2b3fdcd..b13927d9 100644 --- a/src/scss/components/_character_progression.scss +++ b/src/scss/components/_character_progression.scss @@ -11,7 +11,7 @@ font-family: $font-heading; display: block; height: 50px; - padding: 0px; + padding: 0; color: $c-light-grey; border: none; line-height: 50px; diff --git a/src/scss/components/_description.scss b/src/scss/components/_description.scss index 767fb516..fc299a29 100644 --- a/src/scss/components/_description.scss +++ b/src/scss/components/_description.scss @@ -9,7 +9,7 @@ .side-property { margin: 2px 0; display: grid; - grid-template-columns: 40% auto; + grid-template-columns: minmax(40%, max-content) 1fr; justify-content: left; label { diff --git a/src/scss/global/_accessibility.scss b/src/scss/global/_accessibility.scss new file mode 100644 index 00000000..dd0e4211 --- /dev/null +++ b/src/scss/global/_accessibility.scss @@ -0,0 +1,3 @@ +.hidden { + display: none; +} diff --git a/src/templates/actor/character-sheet.hbs b/src/templates/actor/character-sheet.hbs index b1008c7a..0fb538f9 100644 --- a/src/templates/actor/character-sheet.hbs +++ b/src/templates/actor/character-sheet.hbs @@ -1,55 +1,71 @@
{{!-- Sheet Header --}}
- + Actor Icon
-

+

+ + +

{{> systems/ds4/templates/actor/partials/character-progression.hbs}}
- +
- +
+ for="data.progression.progressPoints.used">{{config.characterProgression.progressPoints}}
- / - + + / + +
+ for="data.progression.talentPoints.used">{{config.characterProgression.talentPoints}}
/ - + id="data.progression.talentPoints.used" + value="{{data.progression.talentPoints.used}}" data-dtype="Number" /> + / + +
- +
- + for="data.baseInfo.heroClass">{{config.characterBaseInfo.heroClass}} +
diff --git a/src/templates/actor/partials/character-progression.hbs b/src/templates/actor/partials/character-progression.hbs index 8990656c..fd0a3932 100644 --- a/src/templates/actor/partials/character-progression.hbs +++ b/src/templates/actor/partials/character-progression.hbs @@ -2,14 +2,16 @@

- Progression Level +

- Experience Points +
diff --git a/src/templates/item/spell-sheet.hbs b/src/templates/item/spell-sheet.hbs index 5f2c7a28..4e180755 100644 --- a/src/templates/item/spell-sheet.hbs +++ b/src/templates/item/spell-sheet.hbs @@ -28,10 +28,10 @@ {{#> systems/ds4/templates/item/partials/sheet-header.hbs}} -
+
- - {{#select data.spellType}} {{#each config.spellTypes as |value key|}} @@ -41,16 +41,16 @@
- +
{{/systems/ds4/templates/item/partials/sheet-header.hbs}} - + {{!-- Common Item body --}} {{#> systems/ds4/templates/item/partials/body.hbs}}
- - {{#select data.spellCategory}} {{#each config.spellCategories as |value key|}} @@ -65,7 +65,7 @@
+ name="data.scrollPrice" id="data.scrollPrice" value="{{data.scrollPrice}}" />
{{/systems/ds4/templates/item/partials/body.hbs}}