File tree Expand file tree Collapse file tree 7 files changed +39
-13
lines changed
Expand file tree Collapse file tree 7 files changed +39
-13
lines changed Original file line number Diff line number Diff line change @@ -56,18 +56,15 @@ const ChainSelector = () => {
5656 ) : (
5757 'Select Network'
5858 ) }
59- < ChevronIcon icon = "ChevronLeft" />
59+ < CIcon icon = "Chevron" color = { vars ( '--color-neutral-foreground-3-rest' ) } />
60+ < UnderLine />
6061 </ StyledButton >
6162 </ StyledSelectBox >
6263 ) ;
6364} ;
6465
6566export default ChainSelector ;
6667
67- const ChevronIcon = styled ( CIcon ) `
68- transform: rotate(180deg);
69- ` ;
70-
7168const ButtonLeftContent = styled . div `
7269 display: flex;
7370 align-items: center;
@@ -80,7 +77,9 @@ const StyledSelectBox = styled(SelectBox)`
8077
8178const StyledButton = styled ( Button ) `
8279 display: flex;
83-
80+ position: relative;
81+ overflow: hidden;
82+
8483 align-items: center;
8584 justify-content: space-between;
8685 gap: ${ vars ( '--spacing-s' ) } ;
@@ -110,3 +109,12 @@ const Option = styled.div`
110109 margin-left: auto;
111110 }
112111` ;
112+
113+ const UnderLine = styled . div `
114+ position: absolute;
115+ left: 0;
116+ bottom: 0;
117+ height: 1px;
118+ width: 100%;
119+ background: ${ vars ( '--color-neutral-stroke-2-rest' ) } ;
120+ ` ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import ChatHelp from './icons/chatHelp.svg?react';
2323import CheckmarkCircle from './icons/checkmarkCircle.svg?react' ;
2424import CheckmarkRegular from './icons/checkmarkRegular.svg?react' ;
2525import CheckmarkStarburst from './icons/checkmarkStarburst.svg?react' ;
26+ import Chevron from './icons/chevron.svg?react' ;
2627import ChevronDoubleDownRegular from './icons/chevronDoubleDownRegular.svg?react' ;
2728import ChevronLeft from './icons/chevronLeft.svg?react' ;
2829import ClipboardPaste from './icons/clipboardPaste.svg?react' ;
@@ -94,6 +95,7 @@ export const icons = {
9495 CheckmarkCircle,
9596 CheckmarkRegular,
9697 CheckmarkStarburst,
98+ Chevron,
9799 ChevronDoubleDownRegular,
98100 ChevronLeft,
99101 ClipboardPaste,
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ export const UserCanvas = styled(Canvas)`
108108 padding-inline: ${ vars ( '--spacing-s' ) } ;
109109 border: 1px solid transparent;
110110 transition: all ${ transitionTime } ;
111+ height: 100%;
111112
112113 @media (width <= ${ BREAKPOINTS . lg } ) { /* stylelint-disable-line media-query-no-invalid */
113114 border-bottom-left-radius: ${ vars ( '--spacing-l' ) } ;
Original file line number Diff line number Diff line change @@ -35,16 +35,17 @@ const TopBar = () => {
3535 { isConnected ? (
3636 < AccountManager >
3737 < ChainSelector />
38+ < Divider />
3839 < AccountDetails >
3940 < AccountIcon />
4041 { address && formatAddress ( address ) }
41- < Button
42+ < PowerButton
4243 variant = "transparent"
4344 leftIcon = "Power"
4445 size = "small"
4546 onClick = { ( ) => void disconnect ( ) }
4647 >
47- </ Button >
48+ </ PowerButton >
4849 </ AccountDetails >
4950 </ AccountManager >
5051 ) : (
@@ -93,3 +94,13 @@ const AccountManager = styled.div`
9394const AccountIcon = styled ( UserIcon ) `
9495 margin-right: ${ vars ( '--spacing-s' ) } ;
9596` ;
97+
98+ const Divider = styled . div `
99+ width: 1px;
100+ background: ${ vars ( '--color-neutral-stroke-2-rest' ) } ;
101+ height: 54px;
102+ ` ;
103+
104+ const PowerButton = styled ( Button ) `
105+ color: ${ vars ( '--color-neutral-foreground-2-rest' ) } ;
106+ ` ;
Original file line number Diff line number Diff line change @@ -100,10 +100,10 @@ const BalanceName = styled.div`
100100 background: inherit;
101101` ;
102102
103- const AdditionalInfo = styled . p `
103+ const AdditionalInfo = styled . div `
104104 display: flex;
105105 align-items: center;
106- padding-right: ${ vars ( '--spacing-l ' ) } ;
106+ padding-right: ${ vars ( '--spacing-xs ' ) } ;
107107` ;
108108
109109const Checked = styled ( CheckmarkChecked ) `
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ const SignatureModal = () => {
8989 To create a Shielded account, a one-time signature is required.
9090 Approve message in your wallet to automatically continue or disconnect.
9191 </ Text >
92- < LearnMore >
93- < a href = { KEY_GENERATION_PROCESS_LINK } target = "_blank" rel = "noopener noreferrer" > Learn more</ a >
92+ < LearnMore href = { KEY_GENERATION_PROCESS_LINK } target = "_blank" rel = "noopener noreferrer" >
93+ < p > Learn more</ p >
9494 < CIcon icon = "Open" size = { 20 } />
9595 </ LearnMore >
9696 < Buttons >
@@ -139,7 +139,7 @@ const Buttons = styled.div`
139139 width: 100%;
140140` ;
141141
142- const LearnMore = styled . div `
142+ const LearnMore = styled . a `
143143 display: flex;
144144 gap: ${ vars ( '--spacing-xs' ) } ;
145145 ${ typography . web . body1 } ;
You can’t perform that action at this time.
0 commit comments