-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace Stepper for MUI's List (#1467)
* refactor: replace Stepper for MUI List. Prefer custom svg over MUI icons * fix leftover naming * replace MUI icons by custom svgs * use sx palette * fix isConfirmed logic
- Loading branch information
1 parent
db190fc
commit 7e6aa6c
Showing
7 changed files
with
182 additions
and
104 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,50 @@ | ||
.icon { | ||
height: 20px; | ||
width: 20px; | ||
margin-right: 2px; | ||
height: 16px; | ||
width: 16px; | ||
} | ||
|
||
.stepper { | ||
.dot { | ||
height: 10px; | ||
width: 10px; | ||
} | ||
|
||
.signers { | ||
padding: 0; | ||
} | ||
|
||
.stepper :global .MuiStepConnector-line { | ||
margin-left: -3px; | ||
border-color: var(--color-border-light); | ||
border-left-width: 2px; | ||
min-height: 14px; | ||
.signers::before { | ||
content: ''; | ||
position: absolute; | ||
border-left: 2px solid var(--color-border-light); | ||
left: 15px; | ||
top: 20px; | ||
height: calc(100% - 40px); | ||
} | ||
|
||
.signers :global .MuiListItem-root:first-of-type { | ||
padding-top: 0; | ||
} | ||
|
||
.stepper :global .MuiStepLabel-root { | ||
padding: 0 !important; | ||
.signers :global .MuiListItem-root { | ||
padding-left: 0; | ||
padding-right: 0; | ||
} | ||
|
||
.signers :global .MuiListItemIcon-root { | ||
color: var(--color-primary-main); | ||
justify-content: center; | ||
min-width: 32px; | ||
padding: var(--space-1) 0; | ||
background-color: var(--color-background-paper); | ||
} | ||
|
||
.confirmationsTotal { | ||
color: var(--color-border-main); | ||
display: inline; | ||
font-weight: normal; | ||
} | ||
|
||
.listFooter { | ||
margin-left: var(--space-4); | ||
margin-top: calc(var(--space-1) * -1); | ||
} |