Browse Source

style(syncing): update syncing address style

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
e131651928
  1. 7
      app/components/Onboarding/Syncing.js
  2. 18
      app/components/Onboarding/Syncing.scss

7
app/components/Onboarding/Syncing.js

@ -4,6 +4,7 @@ import QRCode from 'qrcode.react'
import copy from 'copy-to-clipboard'
import Isvg from 'react-inlinesvg'
import zapLogo from 'icons/zap_logo.svg'
import copyIcon from 'icons/copy.svg'
import { showNotification } from 'notifications'
import styles from './Syncing.scss'
@ -110,8 +111,10 @@ class Syncing extends Component {
/>
</div>
<section className={styles.textAddress}>
<span>{address}</span>
<span onClick={copyClicked}>copy</span>
<span className={styles.text}>{address}</span>
<span className={styles.icon} onClick={copyClicked}>
<Isvg src={copyIcon} />
</span>
</section>
</div>
) : (

18
app/components/Onboarding/Syncing.scss

@ -45,18 +45,28 @@
span {
font-size: 12px;
margin: 0 5px;
&:nth-child(2) {
font-size: 14px;
opacity: 0.5;
&.text {
background: #2a2d38;
padding: 10px;
}
&.icon {
background: #383b47;
padding: 10px;
cursor: pointer;
transition: all 0.25s;
color: $white;
&:hover {
opacity: 0.25;
}
}
svg {
width: 12px;
height: 12px;
}
}
}
}

Loading…
Cancel
Save