Merged in fix/SW-2243-RateCard-Icon-UI (pull request #1770)
fix(SW-2243): update RateCard checkIcon UI * fix(SW-2243): update RateCard checkIcon UI Approved-by: Christian Andolf
This commit is contained in:
@@ -104,7 +104,7 @@ export default function CampaignRateCard({
|
|||||||
</h3>
|
</h3>
|
||||||
</Typography>
|
</Typography>
|
||||||
<div className={styles.checkIcon}>
|
<div className={styles.checkIcon}>
|
||||||
<MaterialIcon icon="check" color="CurrentColor" />
|
<MaterialIcon icon="check" size={22} color="Icon/Inverted" />
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export default function CodeRateCard({
|
|||||||
</h3>
|
</h3>
|
||||||
</Typography>
|
</Typography>
|
||||||
<div className={styles.checkIcon}>
|
<div className={styles.checkIcon}>
|
||||||
<MaterialIcon icon="check" color="CurrentColor" />
|
<MaterialIcon icon="check" size={22} color="Icon/Inverted" />
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export default function RegularRateCard({
|
|||||||
</h3>
|
</h3>
|
||||||
</Typography>
|
</Typography>
|
||||||
<div className={styles.checkIcon}>
|
<div className={styles.checkIcon}>
|
||||||
<MaterialIcon icon="check" color="CurrentColor" />
|
<MaterialIcon icon="check" size={22} color="Icon/Inverted" />
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.checkIcon {
|
.checkIcon {
|
||||||
--size: 24px;
|
--size: 32px;
|
||||||
width: var(--size);
|
width: var(--size);
|
||||||
height: var(--size);
|
height: var(--size);
|
||||||
|
|
||||||
@@ -19,10 +19,13 @@
|
|||||||
top: -10px;
|
top: -10px;
|
||||||
right: -10px;
|
right: -10px;
|
||||||
|
|
||||||
background-color: var(--Surface-UI-Fill-Active-Hover);
|
display: flex;
|
||||||
border-radius: 50%;
|
align-items: center;
|
||||||
color: var(--Scandic-Blue-70);
|
justify-content: center;
|
||||||
display: none;
|
border: 2px solid var(--Border-Inverted);
|
||||||
|
border-radius: var(--Corner-radius-rounded);
|
||||||
|
background-color: var(--Surface-Feedback-Succes-Accent);
|
||||||
|
color: var(--Icon-Inverted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.rateCard {
|
.rateCard {
|
||||||
@@ -41,8 +44,8 @@
|
|||||||
border: 1px solid var(--Scandic-Peach-80, 'black');
|
border: 1px solid var(--Scandic-Peach-80, 'black');
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio:checked ~ .rateCard .checkIcon {
|
label:not(:has(.radio:checked)) .checkIcon {
|
||||||
display: initial;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner {
|
.banner {
|
||||||
|
|||||||
Reference in New Issue
Block a user