diff options
author | Dan J Miller <danjm.com@gmail.com> | 2017-09-13 05:59:33 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-13 05:59:33 +0800 |
commit | 492507aa94cb5713d5eaa700cfd7e88b2a16ca7a (patch) | |
tree | 80b4cf076049541e38b4801df1947f8b9a5b8c48 /ui/app/css/itcss/components | |
parent | 7eb6dae4185d083ebb967256fdd09203b5092480 (diff) | |
download | tangerine-wallet-browser-492507aa94cb5713d5eaa700cfd7e88b2a16ca7a.tar tangerine-wallet-browser-492507aa94cb5713d5eaa700cfd7e88b2a16ca7a.tar.gz tangerine-wallet-browser-492507aa94cb5713d5eaa700cfd7e88b2a16ca7a.tar.bz2 tangerine-wallet-browser-492507aa94cb5713d5eaa700cfd7e88b2a16ca7a.tar.lz tangerine-wallet-browser-492507aa94cb5713d5eaa700cfd7e88b2a16ca7a.tar.xz tangerine-wallet-browser-492507aa94cb5713d5eaa700cfd7e88b2a16ca7a.tar.zst tangerine-wallet-browser-492507aa94cb5713d5eaa700cfd7e88b2a16ca7a.zip |
[NewUI] Color tx-list-item text depending on transaction status. (#2050)
* Color tx-list-item text depending on transaction status.
* Handle css change of text colour with scss instead on inline styles, add classnames package and helper function.
* Refactored to use classnames with component property className.
Diffstat (limited to 'ui/app/css/itcss/components')
-rw-r--r-- | ui/app/css/itcss/components/transaction-list.scss | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/app/css/itcss/components/transaction-list.scss b/ui/app/css/itcss/components/transaction-list.scss index 298cacec0..50bdb3cd5 100644 --- a/ui/app/css/itcss/components/transaction-list.scss +++ b/ui/app/css/itcss/components/transaction-list.scss @@ -151,6 +151,10 @@ font-size: 16px; text-transform: capitalize; } + + .tx-list-status--rejected { + color: $monzo; + } } .tx-list-item { @@ -179,6 +183,10 @@ text-align: right; } + .tx-list-value--confirmed { + color: $caribbean-green; + } + .tx-list-fiat-value { font-size: 12px; text-align: right; @@ -191,3 +199,12 @@ padding: 16px; } } + +.tx-list-value { + font-size: 16px; + text-align: right; +} + +.tx-list-value--confirmed { + color: $caribbean-green; +} |