Browse Source
Merge pull request #294 from LN-Zap/fix/unpaid-invoice
fix(unpaid-invoice): make entire div opacity: 0.5 if invoice hasnt be…
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
6 deletions
-
app/routes/activity/components/components/Activity.scss
-
app/routes/activity/components/components/Invoice/Invoice.js
|
|
@ -11,6 +11,10 @@ |
|
|
|
transition-delay: .1s; |
|
|
|
color: $white; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
&.unpaid { |
|
|
|
opacity: 0.5; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.clock { |
|
|
@ -142,7 +146,3 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.unpaid svg { |
|
|
|
opacity: 0.5; |
|
|
|
} |
|
|
|
|
|
@ -12,9 +12,9 @@ import styles from '../Activity.scss' |
|
|
|
const Invoice = ({ |
|
|
|
invoice, ticker, currentTicker, showActivityModal |
|
|
|
}) => ( |
|
|
|
<div className={styles.container} onClick={() => showActivityModal('INVOICE', { invoice })}> |
|
|
|
<div className={`${styles.container} ${!invoice.settled && styles.unpaid}`} onClick={() => showActivityModal('INVOICE', { invoice })}> |
|
|
|
<div className={styles.date}> |
|
|
|
<section className={!invoice.settled && styles.unpaid}> |
|
|
|
<section> |
|
|
|
{ |
|
|
|
invoice.settled ? |
|
|
|
<Isvg src={checkmarkIcon} /> |
|
|
|