[Community PR] Use 2d12 as hover icon for PCs and omit when feature has no uses (#1202)

* Use 2d12 as hover icon for player rolls

* SVG test files added

Try to manipulate the fills and stroke of the SVG files as needed. I have made hope and fear based vectors to easily identify between them.

* Updated SVG path

Fear path fixed

* Use b&w duality and only show roll img if there are usable actions

* Switch to SVG and change colors

---------

Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
This commit is contained in:
Carlos Fernandez 2025-10-08 12:18:19 -04:00 committed by GitHub
parent 86eeba0648
commit b3a72d6b1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 69 additions and 2 deletions

View file

@ -26,7 +26,7 @@
&:not(.single-img) {
.inventory-item-header:hover {
.img-portait {
.img-portait:has(.roll-img) {
.roll-img {
opacity: 1;
}
@ -96,7 +96,9 @@
}
.roll-img {
object-fit: contain;
opacity: 0;
padding: 2px;
}
}