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;
|
||||
font-size: 1.5em;
|
||||
&.hitPoints {
|
||||
background-image: url("assets/official/DS4-HP.png");
|
||||
background-image: url("#{$official-assets-path}/DS4-HP.png");
|
||||
}
|
||||
&.defense {
|
||||
background-image: url("assets/official/DS4-DEF.png");
|
||||
background-image: url("#{$official-assets-path}/DS4-DEF.png");
|
||||
}
|
||||
&.initiative {
|
||||
background-image: url("assets/official/DS4-INI.png");
|
||||
background-image: url("#{$official-assets-path}/DS4-INI.png");
|
||||
}
|
||||
&.movement {
|
||||
background-image: url("assets/official/DS4-MR.png");
|
||||
background-image: url("#{$official-assets-path}/DS4-MR.png");
|
||||
}
|
||||
&.meleeAttack {
|
||||
background-image: url("assets/official/DS4-MAT.png");
|
||||
background-image: url("#{$official-assets-path}/DS4-MAT.png");
|
||||
}
|
||||
&.rangedAttack {
|
||||
background-image: url("assets/official/DS4-RAT.png");
|
||||
background-image: url("#{$official-assets-path}/DS4-RAT.png");
|
||||
}
|
||||
&.spellcasting {
|
||||
background-image: url("assets/official/DS4-SPC.png");
|
||||
background-image: url("#{$official-assets-path}/DS4-SPC.png");
|
||||
}
|
||||
&.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-md: $padding-md;
|
||||
$margin-lg: $padding-lg;
|
||||
|
||||
$official-assets-path: "assets/official";
|
||||
|
|
Loading…
Reference in a new issue