This repository was archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 360
style: Outlined input migration #3566
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
844d034
style: Override MUI outlined input styles
usame-algan 9b58f51
style: Adjust TxModalWrapper edit screen input styles
usame-algan 75f29db
style: Adjust SendFunds screen input styles
usame-algan 8e7bd81
style: Adjust SendCollectible input styles, dispÃlay placeholder valu…
usame-algan 418cfd4
style: Adjust Contract interaction inputs
usame-algan a8e027c
style: Replace text prop with label prop in all Field elements
usame-algan 2e5a14d
Merge remote-tracking branch 'origin/dev' into outlined-input-migration
usame-algan 635035d
fix: Linting and extract mui styles to global overrides
usame-algan 2ad449b
fix: Input elements in safe creation and adjust label colors
usame-algan a2ec3cd
fix: Remove redundant label for custom tx value input
usame-algan e331aaa
fix: Shrink owner name labels by default on load safe
usame-algan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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: 50 additions & 0 deletions
50
...s/safe/components/Balances/SendModal/screens/ContractInteraction/MethodsDropdown/style.ts
This file contains hidden or 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,50 @@ | ||
| import { makeStyles } from '@material-ui/core/styles' | ||
|
|
||
| const buttonWidth = '140px' | ||
| export const useButtonStyles = makeStyles({ | ||
| button: { | ||
| borderRadius: '4px', | ||
| boxSizing: 'border-box', | ||
| color: '#5d6d74', | ||
| cursor: 'pointer', | ||
| fontSize: '16px', | ||
| fontWeight: 'normal', | ||
| lineHeight: '1.5', | ||
| marginRight: '20px', | ||
| minWidth: (props: any) => (props.buttonWidth ? props.buttonWidth : buttonWidth), | ||
| outline: 'none', | ||
| padding: '16px', | ||
| textAlign: 'left', | ||
| '&:active': { | ||
| opacity: '0.8', | ||
| }, | ||
| }, | ||
| buttonInner: { | ||
| boxSizing: 'border-box', | ||
| display: 'block', | ||
| height: '100%', | ||
| lineHeight: '24px', | ||
| position: 'relative', | ||
| padding: '0 !important', | ||
| width: '100%', | ||
| '&::after': { | ||
| borderLeft: '5px solid transparent', | ||
| borderRight: '5px solid transparent', | ||
| borderTop: '5px solid #5d6d74', | ||
| content: '""', | ||
| height: '0', | ||
| position: 'absolute', | ||
| right: '8px', | ||
| top: '9px', | ||
| width: '0', | ||
| }, | ||
| }, | ||
| openMenuButton: { | ||
| '&::after': { | ||
| borderBottom: '5px solid #5d6d74', | ||
| borderLeft: '5px solid transparent', | ||
| borderRight: '5px solid transparent', | ||
| borderTop: 'none', | ||
| }, | ||
| }, | ||
| }) | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.