Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Commit

Permalink
#86672 improve amcard-image styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrankowska committed Feb 28, 2022
1 parent c950646 commit 663aae9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Amasty_GiftCard/styles/modules/_amgift-card.scss
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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;
}
Expand Down

0 comments on commit 663aae9

Please sign in to comment.