Skip to content

Commit

Permalink
Style consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Dawson authored and Matt Dawson committed Aug 22, 2023
1 parent c9288ba commit eddb1b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion module/scripts/illuminated-worlds-roller.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ class IlluminatedWorldsRoller {
getAnnotatedRollResults(r, gildedRollType) {
const rolls = [];

if (gildedRollType == "none" || gildedRollType == "with-standard-dice") {
if (
gildedRollType == "none" ||
gildedRollType == "with-standard-dice"
) {
r.terms[0].results.forEach(result => {
rolls.push(result);
});
Expand Down
14 changes: 9 additions & 5 deletions module/styles/illuminated-worlds-roller.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
list-style: none;
}
* .illuminated-worlds-die-tooltip .dialog-buttons {
margin-top: 5px;
margin-top: 5px;
}
* .illuminated-worlds-die-tooltip textarea {
margin-top: 10px;
Expand Down Expand Up @@ -215,18 +215,22 @@
* .illuminated-worlds-die-tooltip .die.failure {
color: red;
}
* .dice-tooltip.illuminated-worlds-die-tooltip .dice-rolls .roll.die.illuminated-worlds-d6.black {
*
.dice-tooltip.illuminated-worlds-die-tooltip
.dice-rolls
.roll.die.illuminated-worlds-d6.black {
background-image: url(../icons/d6-black.svg) !important;
color: var(--almostwhite);
&.gilded {
background-image: url(../icons/d6-black-gilded.svg) !important;
}
}
* .dice-tooltip.illuminated-worlds-die-tooltip .dice-rolls .roll.die.illuminated-worlds-d6.gray {
*
.dice-tooltip.illuminated-worlds-die-tooltip
.dice-rolls
.roll.die.illuminated-worlds-d6.gray {
background-image: url(../icons/d6-grey.svg) !important;
&.gilded {
background-image: url(../icons/d6-grey-gilded.svg) !important;
}
}


0 comments on commit eddb1b9

Please sign in to comment.