extract path to official assets in scss variable
This commit is contained in:
parent
1c61a5d54d
commit
cc9a133ebe
2 changed files with 10 additions and 8 deletions
|
@ -62,28 +62,28 @@ header.sheet-header {
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
&.hitPoints {
|
&.hitPoints {
|
||||||
background-image: url("assets/official/DS4-HP.png");
|
background-image: url("#{$official-assets-path}/DS4-HP.png");
|
||||||
}
|
}
|
||||||
&.defense {
|
&.defense {
|
||||||
background-image: url("assets/official/DS4-DEF.png");
|
background-image: url("#{$official-assets-path}/DS4-DEF.png");
|
||||||
}
|
}
|
||||||
&.initiative {
|
&.initiative {
|
||||||
background-image: url("assets/official/DS4-INI.png");
|
background-image: url("#{$official-assets-path}/DS4-INI.png");
|
||||||
}
|
}
|
||||||
&.movement {
|
&.movement {
|
||||||
background-image: url("assets/official/DS4-MR.png");
|
background-image: url("#{$official-assets-path}/DS4-MR.png");
|
||||||
}
|
}
|
||||||
&.meleeAttack {
|
&.meleeAttack {
|
||||||
background-image: url("assets/official/DS4-MAT.png");
|
background-image: url("#{$official-assets-path}/DS4-MAT.png");
|
||||||
}
|
}
|
||||||
&.rangedAttack {
|
&.rangedAttack {
|
||||||
background-image: url("assets/official/DS4-RAT.png");
|
background-image: url("#{$official-assets-path}/DS4-RAT.png");
|
||||||
}
|
}
|
||||||
&.spellcasting {
|
&.spellcasting {
|
||||||
background-image: url("assets/official/DS4-SPC.png");
|
background-image: url("#{$official-assets-path}/DS4-SPC.png");
|
||||||
}
|
}
|
||||||
&.targetedSpellcasting {
|
&.targetedSpellcasting {
|
||||||
background-image: url("assets/official/DS4-TSC.png");
|
background-image: url("#{$official-assets-path}/DS4-TSC.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,5 @@ $padding-lg: 20px;
|
||||||
$margin-sm: $padding-sm;
|
$margin-sm: $padding-sm;
|
||||||
$margin-md: $padding-md;
|
$margin-md: $padding-md;
|
||||||
$margin-lg: $padding-lg;
|
$margin-lg: $padding-lg;
|
||||||
|
|
||||||
|
$official-assets-path: "assets/official";
|
||||||
|
|
Loading…
Reference in a new issue