Skip to content

Commit

Permalink
Update: Show number and visited checkmark when using pin images for H…
Browse files Browse the repository at this point in the history
…ot Graphic #338 (#538)
  • Loading branch information
swashbuck authored Jan 9, 2025
1 parent b886dfe commit ac5cd5f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions less/plugins/adapt-contrib-hotgraphic/hotgraphic.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@
text-align: center;
}

// Hotgraphic with pin images
// --------------------------------------------------
&__pin.has-pin-image &__pin-number,
&__pin.has-pin-image.is-visited .icon {
display: flex;
justify-content: center;
align-items: center;
background-color: @visited;
color: @visited-inverted;
border-radius: 50%;
height: @icon-size * 2;
width: @icon-size * 2;
}

// Hotgraphic as tiles
// --------------------------------------------------
&__tile.is-visited .icon {
Expand Down

0 comments on commit ac5cd5f

Please sign in to comment.