From 663aae9fc150824bf9d931369c1e9988209f709a Mon Sep 17 00:00:00 2001 From: Ola Date: Mon, 28 Feb 2022 11:58:00 +0100 Subject: [PATCH] #86672 improve amcard-image styling --- Amasty_GiftCard/styles/modules/_amgift-card.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Amasty_GiftCard/styles/modules/_amgift-card.scss b/Amasty_GiftCard/styles/modules/_amgift-card.scss index ad8fc68ef..73cd4c38e 100644 --- a/Amasty_GiftCard/styles/modules/_amgift-card.scss +++ b/Amasty_GiftCard/styles/modules/_amgift-card.scss @@ -1,6 +1,8 @@ $amgift-card__content-button-color--hover : $color-primary !default; $amgift-card__content-button-border--hover : 2px solid $color-primary !default; $amgift-card__image-padding : 0 $spacer--medium 0 0 !default; +$amgift-card__image-border : 2px $border-style-base $white !default; +$amgift-card__image-border-color--active : $color-primary !default; $amgift-card__container-margin : 0 0 $spacer--medium 0 !default; .amgift-card { @@ -15,10 +17,19 @@ $amgift-card__container-margin : 0 0 $spacer--medium 0 !default; } } - .amcard-image { + .amcard-image-container { padding: $amgift-card__image-padding; } + .amcard-image { + cursor: pointer; + border: $amgift-card__image-border; + + &.-active { + border-color: $amgift-card__image-border-color--active; + } + } + .amcard-form-container.-interior { margin: $amgift-card__container-margin; }