-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates for MainPage, TokenDetails and RestorePage
- Loading branch information
1 parent
6107b70
commit 488439c
Showing
34 changed files
with
733 additions
and
538 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
8 changes: 8 additions & 0 deletions
8
packages/browser-wallet/src/popup/popupX/pages/Accounts/Accounts.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
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
174 changes: 82 additions & 92 deletions
174
packages/browser-wallet/src/popup/popupX/pages/MainPage/MainPage.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,119 +1,109 @@ | ||
.main-page-container { | ||
display: flex; | ||
flex-direction: column; | ||
height: 100%; | ||
|
||
.main-page { | ||
&__balance { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
.heading_large { | ||
background-image: $gradient-balance-bg; | ||
color: transparent; | ||
background-clip: text; | ||
} | ||
} | ||
.main-page-x { | ||
&.page-container { | ||
height: 100%; | ||
padding-bottom: unset; | ||
} | ||
|
||
&__action-buttons { | ||
display: flex; | ||
margin-top: rem(32px); | ||
align-items: stretch; | ||
gap: rem(4px); | ||
&__balance { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.icon-button { | ||
flex: 1; | ||
gap: rem(6px); | ||
background: $gradient-card-bg; | ||
border-radius: rem(12px); | ||
padding: rem(12px) 0; | ||
&__action-buttons { | ||
display: flex; | ||
align-items: stretch; | ||
width: 100%; | ||
gap: rem(6px); | ||
margin-top: rem(16px); | ||
|
||
.capture__additional_small { | ||
color: $color-black; | ||
} | ||
} | ||
.send svg { | ||
transform: rotate(-90deg); | ||
} | ||
|
||
svg path { | ||
fill: $color-mineral-1; | ||
} | ||
.receive svg { | ||
transform: rotate(90deg); | ||
} | ||
} | ||
|
||
.send svg { | ||
transform: rotate(-90deg); | ||
} | ||
&__tokens { | ||
margin-top: rem(24px); | ||
overflow: auto; | ||
|
||
.receive svg { | ||
transform: rotate(90deg); | ||
} | ||
&::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
&__tokens { | ||
margin-top: rem(24px); | ||
overflow: auto; | ||
|
||
&::-webkit-scrollbar { | ||
display: none; | ||
} | ||
&-list { | ||
display: flex; | ||
flex-direction: column; | ||
gap: rem(4px); | ||
padding-bottom: rem(32px); | ||
|
||
&-list { | ||
&_item { | ||
display: flex; | ||
flex-direction: column; | ||
gap: rem(4px); | ||
padding: rem(16px) 0; | ||
align-items: center; | ||
padding: rem(12px) rem(14px) rem(12px) rem(12px); | ||
border: unset; | ||
border-radius: rem(12px); | ||
background: $color-transaction-bg; | ||
cursor: pointer; | ||
|
||
&_item { | ||
.token-icon { | ||
display: flex; | ||
align-items: center; | ||
padding: rem(12px) rem(14px) rem(12px) rem(12px); | ||
border-radius: rem(12px); | ||
background: $color-transaction-bg; | ||
|
||
.token-icon { | ||
display: flex; | ||
padding: rem(10px); | ||
margin-right: rem(10px); | ||
border-radius: rem(8px); | ||
background: $color-main-bg; | ||
|
||
svg, | ||
img { | ||
width: rem(20px); | ||
height: rem(20px); | ||
} | ||
padding: rem(10px); | ||
margin-right: rem(10px); | ||
border-radius: rem(8px); | ||
background: $color-main-bg; | ||
|
||
svg, | ||
img { | ||
width: rem(20px); | ||
height: rem(20px); | ||
} | ||
} | ||
|
||
.token-balance { | ||
display: flex; | ||
flex-direction: column; | ||
gap: rem(8px); | ||
width: 100%; | ||
|
||
.token-balance { | ||
&__amount, | ||
&__exchange-rate { | ||
display: flex; | ||
flex-direction: column; | ||
gap: rem(8px); | ||
width: 100%; | ||
} | ||
|
||
&__amount, | ||
&__exchange-rate { | ||
display: flex; | ||
} | ||
.capture__main_small { | ||
opacity: 0.5; | ||
} | ||
|
||
.capture__main_small { | ||
opacity: 0.5; | ||
} | ||
.label__main { | ||
color: $color-white; | ||
} | ||
|
||
.label__main:last-child, | ||
.capture__main_small:last-child { | ||
margin-left: auto; | ||
} | ||
.label__main:last-child, | ||
.capture__main_small:last-child { | ||
margin-left: auto; | ||
} | ||
|
||
svg { | ||
margin-left: rem(8px); | ||
opacity: 0.5; | ||
width: rem(16px); | ||
height: rem(16px); | ||
svg { | ||
margin-left: rem(8px); | ||
margin-top: rem(-2px); | ||
opacity: 0.5; | ||
width: rem(16px); | ||
height: rem(16px); | ||
|
||
path { | ||
fill: $color-mineral-3; | ||
} | ||
path { | ||
fill: $color-mineral-3; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.button__icon { | ||
align-self: flex-start; | ||
margin-top: rem(24px); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.