Browse Source
Merge pull request #554 from LN-Zap/style/onboarding-address
style(syncing): update syncing address style
renovate/lint-staged-8.x
Ben Woosley
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
19 additions and
6 deletions
-
app/components/Onboarding/Syncing.js
-
app/components/Onboarding/Syncing.scss
|
|
@ -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> |
|
|
|
) : ( |
|
|
|
|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|