From aa7fdb85bd91e28302fd31ad48f9a5d54a991ad9 Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Tue, 17 Dec 2024 09:49:37 -0700 Subject: [PATCH] Show number and visited checkmark when using pin images for Hot Graphic #338 --- .../adapt-contrib-hotgraphic/hotgraphic.less | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/less/plugins/adapt-contrib-hotgraphic/hotgraphic.less b/less/plugins/adapt-contrib-hotgraphic/hotgraphic.less index 25472822..bce82bce 100644 --- a/less/plugins/adapt-contrib-hotgraphic/hotgraphic.less +++ b/less/plugins/adapt-contrib-hotgraphic/hotgraphic.less @@ -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 {