-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Create Safe] add overview and CreateSafeInfo widget (#1002)
* add overview and CreateSafeInfo widget - displays safe name and connected wallet during owner setup - displays hints for each step + dynamic hints during owner and threshold setup - state is pulled up into the CreateSafe component and update functions passed into the owner step * step static tips are collapsed by default * navigate tips logic * reverse expanded logic * restyle InfoWidget * remove the add mobile owner row * remove flickering when opening the accordion * fix keys * add hover style to the Accordion expand icon * Accordion summary bold when expanded * style: PR comments * fix empty form data name * simplify map key * link to Safe setup article * change allOwners logic * mv sx to css modules * add current chain in Overview widget Co-authored-by: Diogo Soares <diogo.lsoares@gmail.com>
- Loading branch information
1 parent
9be5b07
commit 6b05e27
Showing
9 changed files
with
339 additions
and
176 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,30 +1,38 @@ | ||
.header { | ||
.cardHeader { | ||
padding-bottom: 0px; | ||
} | ||
|
||
.headerWrapper { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.title { | ||
font-weight: 700; | ||
padding: calc(var(--space-1) / 2) var(--space-1); | ||
width:fit-content; | ||
padding: 4px var(--space-1); | ||
border-radius: 6px; | ||
display: flex; | ||
align-items: center; | ||
gap: 4px; | ||
} | ||
|
||
.lightbulb { | ||
margin-right: calc(var(--space-1) / 2); | ||
.titleIcon { | ||
font-size: 12px; | ||
} | ||
|
||
.count { | ||
color: var(--color-text-secondary); | ||
.tipsList :global .MuiCardContent-root { | ||
padding: 0; | ||
} | ||
|
||
.actions { | ||
display: flex; | ||
justify-content: flex-end; | ||
.tipAccordion { | ||
background-color: inherit; | ||
border: none; | ||
} | ||
|
||
.tipAccordion :global .MuiAccordionSummary-root:hover { | ||
background: inherit; | ||
} | ||
|
||
.tipAccordion :global .Mui-expanded.MuiAccordionSummary-root { | ||
background: inherit; | ||
font-weight: bold; | ||
} | ||
|
||
.tipAccordion :global .MuiAccordionDetails-root { | ||
padding-top: 0; | ||
} |
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
Oops, something went wrong.