mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-08 07:01:04 +00:00
smaller close button in modals
This commit is contained in:
parent
be88d307ef
commit
ea4dba96ec
@ -75,7 +75,7 @@ const Log = (props: Props): ?React$Element<string> => {
|
|||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<Click onClick={props.toggle}>
|
<Click onClick={props.toggle}>
|
||||||
<Icon size={14} color={colors.INFO_PRIMARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.INFO_PRIMARY} icon={icons.CLOSE} />
|
||||||
</Click>
|
</Click>
|
||||||
<H5>
|
<H5>
|
||||||
<FormattedMessage {...l10nMessages.TR_LOG} />
|
<FormattedMessage {...l10nMessages.TR_LOG} />
|
||||||
|
@ -134,7 +134,7 @@ class QrModal extends Component<Props, State> {
|
|||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<CloseLink onClick={this.handleCancel}>
|
<CloseLink onClick={this.handleCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</CloseLink>
|
</CloseLink>
|
||||||
<Padding>
|
<Padding>
|
||||||
<H5>
|
<H5>
|
||||||
|
@ -64,7 +64,7 @@ const Row = styled.div`
|
|||||||
const Confirmation = (props: Props) => (
|
const Confirmation = (props: Props) => (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<StyledLink onClick={() => props.onReceiveConfirmation(false)}>
|
<StyledLink onClick={() => props.onReceiveConfirmation(false)}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<H5>Your Trezor is not backed up</H5>
|
<H5>Your Trezor is not backed up</H5>
|
||||||
<Icon size={48} color={colors.WARNING_PRIMARY} icon={icons.WARNING} />
|
<Icon size={48} color={colors.WARNING_PRIMARY} icon={icons.WARNING} />
|
||||||
|
@ -145,7 +145,7 @@ class ConfirmUnverifiedAddress extends PureComponent<Props> {
|
|||||||
<Wrapper>
|
<Wrapper>
|
||||||
<Content>
|
<Content>
|
||||||
<StyledLink onClick={onCancel}>
|
<StyledLink onClick={onCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<H5>{deviceStatus}</H5>
|
<H5>{deviceStatus}</H5>
|
||||||
<StyledP size="small">
|
<StyledP size="small">
|
||||||
|
@ -132,7 +132,7 @@ class DuplicateDevice extends PureComponent<Props, State> {
|
|||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<StyledLink onClick={onCancel}>
|
<StyledLink onClick={onCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<H5>Clone {device.label}?</H5>
|
<H5>Clone {device.label}?</H5>
|
||||||
<StyledP size="small">
|
<StyledP size="small">
|
||||||
|
@ -108,7 +108,7 @@ class WalletType extends PureComponent<Props> {
|
|||||||
<Wrapper>
|
<Wrapper>
|
||||||
{device.state && (
|
{device.state && (
|
||||||
<StyledLink onClick={onCancel}>
|
<StyledLink onClick={onCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
)}
|
)}
|
||||||
<StyledHeading>
|
<StyledHeading>
|
||||||
|
@ -45,7 +45,7 @@ const Img = styled.img`
|
|||||||
const CardanoWallet = (props: Props) => (
|
const CardanoWallet = (props: Props) => (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<StyledLink onClick={props.onCancel}>
|
<StyledLink onClick={props.onCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<Img src={CardanoImage} />
|
<Img src={CardanoImage} />
|
||||||
<H5>
|
<H5>
|
||||||
|
2
src/components/modals/external/Nem/index.js
vendored
2
src/components/modals/external/Nem/index.js
vendored
@ -42,7 +42,7 @@ const Img = styled.img`
|
|||||||
const NemWallet = (props: Props) => (
|
const NemWallet = (props: Props) => (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<StyledLink onClick={props.onCancel}>
|
<StyledLink onClick={props.onCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<H5>
|
<H5>
|
||||||
<FormattedMessage {...l10nMessages.TR_NEM_WALLET} />
|
<FormattedMessage {...l10nMessages.TR_NEM_WALLET} />
|
||||||
|
@ -45,7 +45,7 @@ const Img = styled.img`
|
|||||||
const StellarWallet = (props: Props) => (
|
const StellarWallet = (props: Props) => (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<StyledLink onClick={props.onCancel}>
|
<StyledLink onClick={props.onCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<Img src={StellarImage} />
|
<Img src={StellarImage} />
|
||||||
<H5>
|
<H5>
|
||||||
|
@ -41,7 +41,7 @@ const Img = styled.img`
|
|||||||
const TezosWallet = (props: Props) => (
|
const TezosWallet = (props: Props) => (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<StyledLink onClick={props.onCancel}>
|
<StyledLink onClick={props.onCancel}>
|
||||||
<Icon size={14} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
<Icon size={12} color={colors.TEXT_SECONDARY} icon={icons.CLOSE} />
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<Img src={TezosImage} />
|
<Img src={TezosImage} />
|
||||||
<H5>Tezos wallet</H5>
|
<H5>Tezos wallet</H5>
|
||||||
|
@ -91,7 +91,7 @@ const BetaDisclaimer = (props: { close: () => void }) => (
|
|||||||
/>
|
/>
|
||||||
</StyledP>
|
</StyledP>
|
||||||
<StyledP>
|
<StyledP>
|
||||||
<StyledIcon size={14} color={colors.WARNING_PRIMARY} icon={icons.WARNING} />
|
<StyledIcon size={12} color={colors.WARNING_PRIMARY} icon={icons.WARNING} />
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
{...l10nMessages.TR_PLEASE_NOTE_THAT_THE_TREZOR}
|
{...l10nMessages.TR_PLEASE_NOTE_THAT_THE_TREZOR}
|
||||||
values={{
|
values={{
|
||||||
|
Loading…
Reference in New Issue
Block a user