mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-21 05:58:12 +00:00
Merge branch 'development' into hotfix/v3.3.1
This commit is contained in:
commit
ae3ac21b28
@ -161,7 +161,7 @@
|
|||||||
"@gnosis.pm/safe-apps-sdk": "1.0.3",
|
"@gnosis.pm/safe-apps-sdk": "1.0.3",
|
||||||
"@gnosis.pm/safe-apps-sdk-v1": "npm:@gnosis.pm/safe-apps-sdk@0.4.2",
|
"@gnosis.pm/safe-apps-sdk-v1": "npm:@gnosis.pm/safe-apps-sdk@0.4.2",
|
||||||
"@gnosis.pm/safe-contracts": "1.1.1-dev.2",
|
"@gnosis.pm/safe-contracts": "1.1.1-dev.2",
|
||||||
"@gnosis.pm/safe-react-components": "https://github.com/gnosis/safe-react-components.git#80f5db6",
|
"@gnosis.pm/safe-react-components": "https://github.com/gnosis/safe-react-components.git#a68a67e",
|
||||||
"@gnosis.pm/util-contracts": "2.0.6",
|
"@gnosis.pm/util-contracts": "2.0.6",
|
||||||
"@ledgerhq/hw-transport-node-hid-singleton": "5.45.0",
|
"@ledgerhq/hw-transport-node-hid-singleton": "5.45.0",
|
||||||
"@material-ui/core": "^4.11.0",
|
"@material-ui/core": "^4.11.0",
|
||||||
|
@ -12,7 +12,7 @@ import Spacer from 'src/components/Spacer'
|
|||||||
import Col from 'src/components/layout/Col'
|
import Col from 'src/components/layout/Col'
|
||||||
import Img from 'src/components/layout/Img'
|
import Img from 'src/components/layout/Img'
|
||||||
import Row from 'src/components/layout/Row'
|
import Row from 'src/components/layout/Row'
|
||||||
import { border, headerHeight, md, screenSm, sm } from 'src/theme/variables'
|
import { headerHeight, md, screenSm, sm } from 'src/theme/variables'
|
||||||
import { useStateHandler } from 'src/logic/hooks/useStateHandler'
|
import { useStateHandler } from 'src/logic/hooks/useStateHandler'
|
||||||
|
|
||||||
import SafeLogo from '../assets/gnosis-safe-multisig-logo.svg'
|
import SafeLogo from '../assets/gnosis-safe-multisig-logo.svg'
|
||||||
@ -29,8 +29,6 @@ const styles = () => ({
|
|||||||
summary: {
|
summary: {
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'white',
|
backgroundColor: 'white',
|
||||||
borderBottom: `solid 2px ${border}`,
|
|
||||||
boxShadow: '0 2px 4px 0 rgba(212, 212, 211, 0.59)',
|
|
||||||
flexWrap: 'nowrap',
|
flexWrap: 'nowrap',
|
||||||
height: headerHeight,
|
height: headerHeight,
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
|
@ -6,13 +6,11 @@ import ConnectButton from 'src/components/ConnectButton'
|
|||||||
import Block from 'src/components/layout/Block'
|
import Block from 'src/components/layout/Block'
|
||||||
import Paragraph from 'src/components/layout/Paragraph'
|
import Paragraph from 'src/components/layout/Paragraph'
|
||||||
import Row from 'src/components/layout/Row'
|
import Row from 'src/components/layout/Row'
|
||||||
import { lg, md } from 'src/theme/variables'
|
|
||||||
import { KeyRing } from 'src/components/AppLayout/Header/components/KeyRing'
|
import { KeyRing } from 'src/components/AppLayout/Header/components/KeyRing'
|
||||||
|
import { Card } from '@gnosis.pm/safe-react-components'
|
||||||
|
import styled from 'styled-components'
|
||||||
|
|
||||||
const styles = () => ({
|
const styles = () => ({
|
||||||
container: {
|
|
||||||
padding: `${md} 12px`,
|
|
||||||
},
|
|
||||||
logo: {
|
logo: {
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
},
|
},
|
||||||
@ -22,8 +20,8 @@ const styles = () => ({
|
|||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
},
|
},
|
||||||
connect: {
|
connect: {
|
||||||
padding: `${md} ${lg}`,
|
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
marginTop: '60px',
|
||||||
},
|
},
|
||||||
connectText: {
|
connectText: {
|
||||||
letterSpacing: '1px',
|
letterSpacing: '1px',
|
||||||
@ -33,22 +31,24 @@ const styles = () => ({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const StyledCard = styled(Card)`
|
||||||
|
padding: 20px;
|
||||||
|
`
|
||||||
const ConnectDetails = ({ classes }) => (
|
const ConnectDetails = ({ classes }) => (
|
||||||
<>
|
<StyledCard>
|
||||||
<div className={classes.container}>
|
<Row align="center" margin="lg">
|
||||||
<Row align="center" margin="lg">
|
<Paragraph className={classes.text} noMargin size="xl" weight="bolder">
|
||||||
<Paragraph className={classes.text} noMargin size="lg" weight="bolder">
|
Connect a Wallet
|
||||||
Connect a Wallet
|
</Paragraph>
|
||||||
</Paragraph>
|
</Row>
|
||||||
</Row>
|
|
||||||
</div>
|
<Row className={classes.logo}>
|
||||||
<Row className={classes.logo} margin="lg">
|
<KeyRing center circleSize={60} dotRight={20} dotSize={20} dotTop={50} keySize={28} mode="error" />
|
||||||
<KeyRing center circleSize={75} dotRight={25} dotSize={25} dotTop={50} keySize={32} mode="error" />
|
|
||||||
</Row>
|
</Row>
|
||||||
<Block className={classes.connect}>
|
<Block className={classes.connect}>
|
||||||
<ConnectButton data-testid="heading-connect-btn" />
|
<ConnectButton data-testid="heading-connect-btn" />
|
||||||
</Block>
|
</Block>
|
||||||
</>
|
</StyledCard>
|
||||||
)
|
)
|
||||||
|
|
||||||
export default withStyles(styles as any)(ConnectDetails)
|
export default withStyles(styles as any)(ConnectDetails)
|
||||||
|
@ -2,7 +2,7 @@ import { makeStyles } from '@material-ui/core/styles'
|
|||||||
import Dot from '@material-ui/icons/FiberManualRecord'
|
import Dot from '@material-ui/icons/FiberManualRecord'
|
||||||
import classNames from 'classnames'
|
import classNames from 'classnames'
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { EthHashInfo, Identicon } from '@gnosis.pm/safe-react-components'
|
import { EthHashInfo, Identicon, Card } from '@gnosis.pm/safe-react-components'
|
||||||
|
|
||||||
import Spacer from 'src/components/Spacer'
|
import Spacer from 'src/components/Spacer'
|
||||||
import Block from 'src/components/layout/Block'
|
import Block from 'src/components/layout/Block'
|
||||||
@ -18,6 +18,7 @@ import { getExplorerInfo } from 'src/config'
|
|||||||
import { KeyRing } from 'src/components/AppLayout/Header/components/KeyRing'
|
import { KeyRing } from 'src/components/AppLayout/Header/components/KeyRing'
|
||||||
import { CircleDot } from '../CircleDot'
|
import { CircleDot } from '../CircleDot'
|
||||||
import { createStyles } from '@material-ui/core'
|
import { createStyles } from '@material-ui/core'
|
||||||
|
import styled from 'styled-components'
|
||||||
|
|
||||||
import WalletIcon from '../../assets/wallet.svg'
|
import WalletIcon from '../../assets/wallet.svg'
|
||||||
|
|
||||||
@ -91,6 +92,9 @@ const styles = createStyles({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const StyledCard = styled(Card)`
|
||||||
|
padding: 0px;
|
||||||
|
`
|
||||||
type Props = {
|
type Props = {
|
||||||
connected: boolean
|
connected: boolean
|
||||||
network: ETHEREUM_NETWORK
|
network: ETHEREUM_NETWORK
|
||||||
@ -116,11 +120,11 @@ export const UserDetails = ({
|
|||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<StyledCard>
|
||||||
<Block className={classes.container}>
|
<Block className={classes.container}>
|
||||||
<Row align="center" className={classes.identicon} margin="md">
|
<Row align="center" className={classes.identicon} margin="md">
|
||||||
{connected ? (
|
{connected ? (
|
||||||
<Identicon address={userAddress || 'random'} size="lg" />
|
<Identicon address={userAddress || 'random'} size="xxl" />
|
||||||
) : (
|
) : (
|
||||||
<KeyRing circleSize={75} dotRight={25} dotSize={25} dotTop={50} hideDot keySize={30} mode="warning" />
|
<KeyRing circleSize={75} dotRight={25} dotSize={25} dotTop={50} hideDot keySize={30} mode="warning" />
|
||||||
)}
|
)}
|
||||||
@ -185,11 +189,11 @@ export const UserDetails = ({
|
|||||||
variant="contained"
|
variant="contained"
|
||||||
data-testid="disconnect-btn"
|
data-testid="disconnect-btn"
|
||||||
>
|
>
|
||||||
<Paragraph className={classes.disconnectText} color="white" noMargin size="md">
|
<Paragraph className={classes.disconnectText} color="white" noMargin size="lg">
|
||||||
Disconnect
|
Disconnect
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
</>
|
</StyledCard>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ const IconContainer = styled.div`
|
|||||||
`
|
`
|
||||||
const StyledButton = styled(Button)`
|
const StyledButton = styled(Button)`
|
||||||
&&.MuiButton-root {
|
&&.MuiButton-root {
|
||||||
padding: 0 16px;
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
*:first-child {
|
*:first-child {
|
||||||
margin: 0 4px 0 0;
|
margin: 0 4px 0 0;
|
||||||
@ -170,7 +170,7 @@ const SafeHeader = ({
|
|||||||
<StyledText size="xl">{balance}</StyledText>
|
<StyledText size="xl">{balance}</StyledText>
|
||||||
<StyledButton size="md" disabled={!granted} color="primary" variant="contained" onClick={onNewTransactionClick}>
|
<StyledButton size="md" disabled={!granted} color="primary" variant="contained" onClick={onNewTransactionClick}>
|
||||||
<FixedIcon type="arrowSentWhite" />
|
<FixedIcon type="arrowSentWhite" />
|
||||||
<Text size="lg" color="white">
|
<Text size="xl" color="white">
|
||||||
New transaction
|
New transaction
|
||||||
</Text>
|
</Text>
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
|
@ -17,16 +17,16 @@ const Container = styled.div`
|
|||||||
`
|
`
|
||||||
|
|
||||||
const HeaderWrapper = styled.nav`
|
const HeaderWrapper = styled.nav`
|
||||||
height: 54px;
|
height: 52px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1;
|
z-index: 2;
|
||||||
|
|
||||||
background-color: white;
|
background-color: white;
|
||||||
box-shadow: 0 0 4px 0 rgba(212, 212, 211, 0.59);
|
box-shadow: 0 2px 4px 0 rgba(40, 54, 61, 0.18);
|
||||||
`
|
`
|
||||||
|
|
||||||
const BodyWrapper = styled.div`
|
const BodyWrapper = styled.div`
|
||||||
height: calc(100% - 54px);
|
height: calc(100% - 52px);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@ -41,7 +41,7 @@ const SidebarWrapper = styled.aside`
|
|||||||
|
|
||||||
padding: 8px 8px 0 8px;
|
padding: 8px 8px 0 8px;
|
||||||
background-color: ${({ theme }) => theme.colors.white};
|
background-color: ${({ theme }) => theme.colors.white};
|
||||||
border-right: 2px solid ${({ theme }) => theme.colors.separator};
|
box-shadow: 0 2px 4px 0 rgba(40, 54, 61, 0.18);
|
||||||
`
|
`
|
||||||
|
|
||||||
const ContentWrapper = styled.section`
|
const ContentWrapper = styled.section`
|
||||||
|
@ -73,7 +73,7 @@ export const onConnectButtonClick = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const ConnectButton = (props): React.ReactElement => (
|
const ConnectButton = (props): React.ReactElement => (
|
||||||
<Button color="primary" minWidth={140} onClick={onConnectButtonClick} variant="contained" {...props}>
|
<Button color="primary" minWidth={240} onClick={onConnectButtonClick} variant="contained" {...props}>
|
||||||
Connect
|
Connect
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
|
@ -21,7 +21,7 @@ const useStyles = makeStyles({
|
|||||||
container: {
|
container: {
|
||||||
backgroundColor: '#fff',
|
backgroundColor: '#fff',
|
||||||
bottom: '0',
|
bottom: '0',
|
||||||
boxShadow: '0 2px 4px 0 rgba(212, 212, 211, 0.59)',
|
boxShadow: '1px 2px 10px 0 rgba(40, 54, 61, 0.18)',
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
@ -11,7 +11,6 @@ import { styles } from './style'
|
|||||||
import Table from 'src/components/Table'
|
import Table from 'src/components/Table'
|
||||||
import { cellWidth } from 'src/components/Table/TableHead'
|
import { cellWidth } from 'src/components/Table/TableHead'
|
||||||
import Block from 'src/components/layout/Block'
|
import Block from 'src/components/layout/Block'
|
||||||
import Button from 'src/components/layout/Button'
|
|
||||||
import ButtonLink from 'src/components/layout/ButtonLink'
|
import ButtonLink from 'src/components/layout/ButtonLink'
|
||||||
import Col from 'src/components/layout/Col'
|
import Col from 'src/components/layout/Col'
|
||||||
import Img from 'src/components/layout/Img'
|
import Img from 'src/components/layout/Img'
|
||||||
@ -40,7 +39,19 @@ import { addressBookQueryParamsSelector, safesListSelector } from 'src/logic/saf
|
|||||||
import { checksumAddress } from 'src/utils/checksumAddress'
|
import { checksumAddress } from 'src/utils/checksumAddress'
|
||||||
import { grantedSelector } from 'src/routes/safe/container/selector'
|
import { grantedSelector } from 'src/routes/safe/container/selector'
|
||||||
import { useAnalytics, SAFE_NAVIGATION_EVENT } from 'src/utils/googleAnalytics'
|
import { useAnalytics, SAFE_NAVIGATION_EVENT } from 'src/utils/googleAnalytics'
|
||||||
|
import { FixedIcon, Text, Button } from '@gnosis.pm/safe-react-components'
|
||||||
|
import styled from 'styled-components'
|
||||||
|
|
||||||
|
const StyledButton = styled(Button)`
|
||||||
|
&&.MuiButton-root {
|
||||||
|
margin: 4px 12px 4px 0px;
|
||||||
|
padding: 0 12px;
|
||||||
|
min-width: auto;
|
||||||
|
}
|
||||||
|
svg {
|
||||||
|
margin: 0 6px 0 0;
|
||||||
|
}
|
||||||
|
`
|
||||||
const useStyles = makeStyles(styles)
|
const useStyles = makeStyles(styles)
|
||||||
|
|
||||||
interface AddressBookSelectedEntry extends AddressBookEntry {
|
interface AddressBookSelectedEntry extends AddressBookEntry {
|
||||||
@ -202,19 +213,21 @@ const AddressBookTable = (): ReactElement => {
|
|||||||
testId={REMOVE_ENTRY_BUTTON}
|
testId={REMOVE_ENTRY_BUTTON}
|
||||||
/>
|
/>
|
||||||
{granted ? (
|
{granted ? (
|
||||||
<Button
|
<StyledButton
|
||||||
className={classes.send}
|
|
||||||
color="primary"
|
color="primary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setSelectedEntry({ entry: row })
|
setSelectedEntry({ entry: row })
|
||||||
setSendFundsModalOpen(true)
|
setSendFundsModalOpen(true)
|
||||||
}}
|
}}
|
||||||
size="small"
|
size="md"
|
||||||
testId={SEND_ENTRY_BUTTON}
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
data-testid={SEND_ENTRY_BUTTON}
|
||||||
>
|
>
|
||||||
Send
|
<FixedIcon type="arrowSentWhite" />
|
||||||
</Button>
|
<Text size="xl" color="white">
|
||||||
|
Send
|
||||||
|
</Text>
|
||||||
|
</StyledButton>
|
||||||
) : null}
|
) : null}
|
||||||
</Row>
|
</Row>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { lg, marginButtonImg, md, sm } from 'src/theme/variables'
|
import { lg, md, sm } from 'src/theme/variables'
|
||||||
import { createStyles } from '@material-ui/core'
|
import { createStyles } from '@material-ui/core'
|
||||||
|
|
||||||
export const styles = createStyles({
|
export const styles = createStyles({
|
||||||
@ -37,7 +37,7 @@ export const styles = createStyles({
|
|||||||
},
|
},
|
||||||
editEntryButton: {
|
editEntryButton: {
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
marginBottom: marginButtonImg,
|
marginBottom: '16px',
|
||||||
},
|
},
|
||||||
editEntryButtonNonOwner: {
|
editEntryButtonNonOwner: {
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
@ -45,13 +45,13 @@ export const styles = createStyles({
|
|||||||
removeEntryButton: {
|
removeEntryButton: {
|
||||||
marginLeft: lg,
|
marginLeft: lg,
|
||||||
marginRight: lg,
|
marginRight: lg,
|
||||||
marginBottom: marginButtonImg,
|
marginBottom: '16px',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
},
|
},
|
||||||
removeEntryButtonDisabled: {
|
removeEntryButtonDisabled: {
|
||||||
marginLeft: lg,
|
marginLeft: lg,
|
||||||
marginRight: lg,
|
marginRight: lg,
|
||||||
marginBottom: marginButtonImg,
|
marginBottom: '16px',
|
||||||
cursor: 'default',
|
cursor: 'default',
|
||||||
},
|
},
|
||||||
removeEntryButtonNonOwner: {
|
removeEntryButtonNonOwner: {
|
||||||
@ -65,14 +65,6 @@ export const styles = createStyles({
|
|||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
},
|
},
|
||||||
send: {
|
|
||||||
width: '75px',
|
|
||||||
minWidth: '75px',
|
|
||||||
borderRadius: '4px',
|
|
||||||
'& > span': {
|
|
||||||
fontSize: '14px',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
leftIcon: {
|
leftIcon: {
|
||||||
marginRight: sm,
|
marginRight: sm,
|
||||||
},
|
},
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import React, { useEffect, useMemo } from 'react'
|
import React, { useEffect, useMemo } from 'react'
|
||||||
|
import styled from 'styled-components'
|
||||||
import { useSelector } from 'react-redux'
|
import { useSelector } from 'react-redux'
|
||||||
import { List } from 'immutable'
|
import { List } from 'immutable'
|
||||||
import TableCell from '@material-ui/core/TableCell'
|
import TableCell from '@material-ui/core/TableCell'
|
||||||
@ -8,11 +9,11 @@ import TableRow from '@material-ui/core/TableRow'
|
|||||||
import { Skeleton } from '@material-ui/lab'
|
import { Skeleton } from '@material-ui/lab'
|
||||||
|
|
||||||
import InfoIcon from 'src/assets/icons/info_red.svg'
|
import InfoIcon from 'src/assets/icons/info_red.svg'
|
||||||
|
import { FixedIcon, Text, Button } from '@gnosis.pm/safe-react-components'
|
||||||
|
|
||||||
import Img from 'src/components/layout/Img'
|
import Img from 'src/components/layout/Img'
|
||||||
import Table from 'src/components/Table'
|
import Table from 'src/components/Table'
|
||||||
import { cellWidth } from 'src/components/Table/TableHead'
|
import { cellWidth } from 'src/components/Table/TableHead'
|
||||||
import Button from 'src/components/layout/Button'
|
|
||||||
import Row from 'src/components/layout/Row'
|
import Row from 'src/components/layout/Row'
|
||||||
import { BALANCE_ROW_TEST_ID } from 'src/routes/safe/components/Balances'
|
import { BALANCE_ROW_TEST_ID } from 'src/routes/safe/components/Balances'
|
||||||
import AssetTableCell from 'src/routes/safe/components/Balances/AssetTableCell'
|
import AssetTableCell from 'src/routes/safe/components/Balances/AssetTableCell'
|
||||||
@ -30,6 +31,17 @@ import { makeStyles } from '@material-ui/core/styles'
|
|||||||
import { styles } from './styles'
|
import { styles } from './styles'
|
||||||
import { currentCurrencySelector } from 'src/logic/currencyValues/store/selectors'
|
import { currentCurrencySelector } from 'src/logic/currencyValues/store/selectors'
|
||||||
|
|
||||||
|
const StyledButton = styled(Button)`
|
||||||
|
&&.MuiButton-root {
|
||||||
|
margin: 4px 12px 4px 0px;
|
||||||
|
padding: 0 12px;
|
||||||
|
min-width: auto;
|
||||||
|
}
|
||||||
|
svg {
|
||||||
|
margin: 0 6px 0 0;
|
||||||
|
}
|
||||||
|
`
|
||||||
|
|
||||||
const useStyles = makeStyles(styles)
|
const useStyles = makeStyles(styles)
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
@ -137,31 +149,25 @@ const Coins = (props: Props): React.ReactElement => {
|
|||||||
<TableCell component="td">
|
<TableCell component="td">
|
||||||
<Row align="end" className={classes.actions}>
|
<Row align="end" className={classes.actions}>
|
||||||
{granted && (
|
{granted && (
|
||||||
<Button
|
<StyledButton
|
||||||
className={classes.send}
|
|
||||||
color="primary"
|
color="primary"
|
||||||
onClick={() => showSendFunds(row.asset.address)}
|
onClick={() => showSendFunds(row.asset.address)}
|
||||||
size="small"
|
size="md"
|
||||||
testId="balance-send-btn"
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
data-testid="balance-send-btn"
|
||||||
>
|
>
|
||||||
{/* <CallMade alt="Send Transaction" className={classNames(classes.leftIcon, classes.iconSmall)} /> */}
|
<FixedIcon type="arrowSentWhite" />
|
||||||
Send
|
<Text size="xl" color="white">
|
||||||
</Button>
|
Send
|
||||||
|
</Text>
|
||||||
|
</StyledButton>
|
||||||
)}
|
)}
|
||||||
<Button
|
<StyledButton color="primary" onClick={showReceiveFunds} size="md" variant="contained">
|
||||||
className={classes.receive}
|
<FixedIcon type="arrowReceivedWhite" />
|
||||||
color="primary"
|
<Text size="xl" color="white">
|
||||||
onClick={showReceiveFunds}
|
Receive
|
||||||
size="small"
|
</Text>
|
||||||
variant="contained"
|
</StyledButton>
|
||||||
>
|
|
||||||
{/* <CallReceived
|
|
||||||
alt="Receive Transaction"
|
|
||||||
className={classNames(classes.leftIcon, classes.iconSmall)}
|
|
||||||
/> */}
|
|
||||||
Receive
|
|
||||||
</Button>
|
|
||||||
</Row>
|
</Row>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { sm, xs } from 'src/theme/variables'
|
import { sm } from 'src/theme/variables'
|
||||||
import { createStyles } from '@material-ui/core'
|
import { createStyles } from '@material-ui/core'
|
||||||
|
|
||||||
export const styles = createStyles({
|
export const styles = createStyles({
|
||||||
@ -25,23 +25,6 @@ export const styles = createStyles({
|
|||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
visibility: 'hidden',
|
visibility: 'hidden',
|
||||||
},
|
},
|
||||||
receive: {
|
|
||||||
width: '95px',
|
|
||||||
minWidth: '95px',
|
|
||||||
marginLeft: sm,
|
|
||||||
borderRadius: xs,
|
|
||||||
'& > span': {
|
|
||||||
fontSize: '14px',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
send: {
|
|
||||||
width: '75px',
|
|
||||||
minWidth: '75px',
|
|
||||||
borderRadius: xs,
|
|
||||||
'& > span': {
|
|
||||||
fontSize: '14px',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
leftIcon: {
|
leftIcon: {
|
||||||
marginRight: sm,
|
marginRight: sm,
|
||||||
},
|
},
|
||||||
|
@ -5,7 +5,7 @@ const disabled = '#5D6D74'
|
|||||||
const errorColor = '#f02525'
|
const errorColor = '#f02525'
|
||||||
const fancyColor = '#f02525'
|
const fancyColor = '#f02525'
|
||||||
const fontColor = '#001428'
|
const fontColor = '#001428'
|
||||||
const headerHeight = '53px'
|
const headerHeight = '52px'
|
||||||
const lg = '24px'
|
const lg = '24px'
|
||||||
const marginButtonImg = '12px'
|
const marginButtonImg = '12px'
|
||||||
const md = '16px'
|
const md = '16px'
|
||||||
|
@ -13,7 +13,7 @@ $warning: #ffc05f;
|
|||||||
$fancy: #f02525;
|
$fancy: #f02525;
|
||||||
$secondary: #008C73;
|
$secondary: #008C73;
|
||||||
|
|
||||||
$headerHeight: 53px;
|
$headerHeight: 52px;
|
||||||
$marginButtonImg: 12px;
|
$marginButtonImg: 12px;
|
||||||
|
|
||||||
$lg: 24px;
|
$lg: 24px;
|
||||||
|
@ -1596,9 +1596,9 @@
|
|||||||
solc "0.5.14"
|
solc "0.5.14"
|
||||||
truffle "^5.1.21"
|
truffle "^5.1.21"
|
||||||
|
|
||||||
"@gnosis.pm/safe-react-components@https://github.com/gnosis/safe-react-components.git#80f5db6":
|
"@gnosis.pm/safe-react-components@https://github.com/gnosis/safe-react-components.git#a68a67e":
|
||||||
version "0.5.0"
|
version "0.5.0"
|
||||||
resolved "https://github.com/gnosis/safe-react-components.git#80f5db672d417ea410d58c8d713e46e16e3c7e7f"
|
resolved "https://github.com/gnosis/safe-react-components.git#a68a67e634d0be091856ebba9f6874eebb767cd7"
|
||||||
dependencies:
|
dependencies:
|
||||||
classnames "^2.2.6"
|
classnames "^2.2.6"
|
||||||
react-media "^1.10.0"
|
react-media "^1.10.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user