diff --git a/src/ds4.scss b/src/ds4.scss index f91ff4ba..b2e83661 100644 --- a/src/ds4.scss +++ b/src/ds4.scss @@ -17,4 +17,5 @@ @import "scss/components/tabs"; @import "scss/components/items"; @import "scss/components/description"; + @import "scss/components/character_values"; } diff --git a/src/scss/components/_character_values.scss b/src/scss/components/_character_values.scss new file mode 100644 index 00000000..6f2e1a2b --- /dev/null +++ b/src/scss/components/_character_values.scss @@ -0,0 +1,51 @@ +header.sheet-header { + .character-values { + flex: 0 0 100%; + .attributes-traits { + margin-top: 5px; + .attribute { + .attribute-label { + font-family: $font-heading; + font-size: 2em; + text-align: center; + } + .attribute-value { + border: 2px groove $c-border-groove; + line-height: 26px; + font-size: 1.5em; + text-align: center; + padding-left: 2px; + padding-right: 2px; + gap: 0; + input, + .attribute-value-total { + grid-column: span 2; + } + } + } + .trait { + .trait-label { + color: transparent; + font-family: $font-heading; + font-size: 2em; + text-align: center; + //text-shadow: -1px 1px 0 $c-black, 1px 1px 0 $c-black, 1px -1px 0 $c-black, -1px -1px 0 $c-black; + -webkit-text-stroke: 1px $c-black; + } + .trait-value { + border: 2px groove $c-border-groove; + font-size: 1.5em; + line-height: 26px; + text-align: center; + padding-left: 2px; + padding-right: 2px; + gap: 0; + input, + .trait-value-total { + grid-column: span 2; + } + } + } + } + } +} diff --git a/src/scss/components/_forms.scss b/src/scss/components/_forms.scss index 2f1bafa1..2a992d7b 100644 --- a/src/scss/components/_forms.scss +++ b/src/scss/components/_forms.scss @@ -23,10 +23,6 @@ header.sheet-header { flex: 1; } - .base-infos { - flex: 0 0 100%; - } - h1.charname { height: 50px; padding: 0px; diff --git a/src/templates/actor/actor-sheet.hbs b/src/templates/actor/actor-sheet.hbs index af98e0ec..555412a8 100644 --- a/src/templates/actor/actor-sheet.hbs +++ b/src/templates/actor/actor-sheet.hbs @@ -5,75 +5,160 @@

- {{!-- The grid classes are defined in scss/global/_grid.scss. To use, use both the "grid" and "grid-Ncol" - class where "N" can be any number from 1 to 12 and will create that number of columns. --}} -
- {{!-- "flex-group-center" is also defined in the _grid.scss file and it will add a small amount of - padding, a border, and will center all of its child elements content and text. --}} -
- -
- +
+ {{!-- The grid classes are defined in scss/global/_grid.scss. To use, use both the "grid" and "grid-Ncol" + class where "N" can be any number from 1 to 12 and will create that number of columns. --}} +
+ {{!-- "flex-group-center" is also defined in the _grid.scss file and it will add a small amount of + padding, a border, and will center all of its child elements content and text. --}} +
+ +
+ +
-
-
-
-
- -
- +
+
+
+ +
+ +
-
-
- -
- / - +
+ +
+ / + +
-
-
- -
- / - +
+ +
+ / + +
-
-
- -
- +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
-
- -
- +
+
+
+ + = + {{data.attributes.body.total}}
-
-
- -
- +
+
+ + = + {{data.attributes.mobility.total}}
-
-
- -
- +
+
+ + = + {{data.attributes.mind.total}}
+
+
+
+ + = + {{data.traits.strength.total}}
+
+
+
+ + = + {{data.traits.agility.total}}
+
+
+
+ + = + {{data.traits.intellect.total}}
+
+
+
+ + = + {{data.traits.constitution.total}}
+
+
+
+ + = + {{data.traits.dexterity.total}}
+
+
+
+ + = + {{data.traits.aura.total}}