-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rebrand unstake banner * Move two line design to lower breakpoint
- Loading branch information
1 parent
75a362e
commit 3017fe3
Showing
8 changed files
with
86 additions
and
43 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
@import '../../../styles/fonts.module.scss'; | ||
|
||
@mixin link-gray { | ||
color: $color-gray-700; | ||
height: 20px; | ||
border: none; | ||
|
||
&.xs { | ||
@include font-overline-2; | ||
} | ||
|
||
&.sm { | ||
@include font-link-3; | ||
} | ||
|
||
&.md { | ||
@include font-link-2; | ||
} | ||
|
||
&.lg { | ||
height: 24px; | ||
@include font-link-1; | ||
} | ||
|
||
&:hover { | ||
color: $color-green-800; | ||
} | ||
|
||
&:active { | ||
color: $color-green-700; | ||
} | ||
|
||
&:disabled { | ||
color: $color-gray-400; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 29 additions & 21 deletions
50
src/pages/dashboard/unstake-banner/unstake-banner.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,52 @@ | ||
@import '../../../styles/variables.module.scss'; | ||
@import '../../../styles/fonts.module.scss'; | ||
|
||
.unstakeBanner { | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 16px; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: $space-lg 0; | ||
border-top: 1px solid rgba(124, 227, 203, 0.4); | ||
border-bottom: 1px solid rgba(124, 227, 203, 0.4); | ||
margin-bottom: 2 * $space-xl; | ||
|
||
@media (max-width: $max-md) { | ||
flex-direction: column; | ||
|
||
& > *:not(:last-child) { | ||
margin-bottom: $space-lg; | ||
} | ||
background: linear-gradient(180deg, #fafafa 0%, #f0f4ff 100%); | ||
border-top: 1px solid $color-dark-blue-10; | ||
border-bottom: 1px solid $color-dark-blue-10; | ||
margin: 32px 0; | ||
padding: 24px 16px; | ||
|
||
@media (min-width: $sm) { | ||
margin: 40px 0 72px 0; | ||
padding: 24px; | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
.unstakeBannerWrap { | ||
display: flex; | ||
align-items: center; | ||
margin-right: $space-lg; | ||
|
||
@media (max-width: $max-sm) { | ||
margin-right: 0; | ||
margin-bottom: $space-md; | ||
gap: 16px; | ||
@include font-body-10; | ||
|
||
& > svg { | ||
color: $color-action-success-600; | ||
width: 28px; | ||
height: 28px; | ||
} | ||
|
||
& > img { | ||
margin-right: $space-lg; | ||
@media (min-width: $md) { | ||
@include font-body-4; | ||
gap: 24px; | ||
|
||
& > svg { | ||
width: 36px; | ||
height: 36px; | ||
} | ||
} | ||
} | ||
|
||
.buttonPanel { | ||
display: flex; | ||
align-items: center; | ||
|
||
& > *:not(:last-child) { | ||
margin-right: $space-xxl; | ||
} | ||
gap: 32px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters