Merge branch 'master' into equip-items-in-character-sheet

now using cleaned up template
This commit is contained in:
Gesina Schwalbe 2021-01-03 21:14:11 +01:00
commit fb780ae4c2
25 changed files with 639 additions and 321 deletions

View file

@ -62,28 +62,28 @@ header.sheet-header {
background-size: contain;
font-size: 1.5em;
&.hitPoints {
background-image: url("assets/DS4-HP.png");
background-image: url("#{$official-assets-path}/DS4-HP.png");
}
&.defense {
background-image: url("assets/DS4-DEF.png");
background-image: url("#{$official-assets-path}/DS4-DEF.png");
}
&.initiative {
background-image: url("assets/DS4-INI.png");
background-image: url("#{$official-assets-path}/DS4-INI.png");
}
&.movement {
background-image: url("assets/DS4-MR.png");
background-image: url("#{$official-assets-path}/DS4-MR.png");
}
&.meleeAttack {
background-image: url("assets/DS4-MAT.png");
background-image: url("#{$official-assets-path}/DS4-MAT.png");
}
&.rangedAttack {
background-image: url("assets/DS4-RAT.png");
background-image: url("#{$official-assets-path}/DS4-RAT.png");
}
&.spellcasting {
background-image: url("assets/DS4-SPC.png");
background-image: url("#{$official-assets-path}/DS4-SPC.png");
}
&.targetedSpellcasting {
background-image: url("assets/DS4-TSC.png");
background-image: url("#{$official-assets-path}/DS4-TSC.png");
}
}

View file

@ -1,16 +1,18 @@
.side-properties {
flex: 0 0 50%;
flex: 0;
min-width: fit-content;
max-width: 50%;
margin: 5px 5px 5px 0;
padding-right: 5px;
border-right: 2px groove $c-border-groove;
.side-property {
margin: 2px 0;
display: flex;
flex-direction: row;
display: grid;
grid-template-columns: 40% auto;
justify-content: left;
label {
flex: 1;
line-height: 26px;
font-weight: bold;
}
@ -18,9 +20,14 @@
input,
select {
text-align: left;
flex: 1.5 1.5 0px;
width: calc(100% - 2px);
}
input[type="checkbox"] {
width: auto;
height: 100%;
margin: 0px;
}
}
}

View file

@ -32,6 +32,10 @@
}
}
.flexnowrap {
flex-wrap: nowrap;
}
.flexcol {
display: flex;
flex-direction: column;

View file

@ -4,3 +4,5 @@ $padding-lg: 20px;
$margin-sm: $padding-sm;
$margin-md: $padding-md;
$margin-lg: $padding-lg;
$official-assets-path: "assets/official";