aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-08 03:39:40 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-08 03:39:40 +0800
commit468c1ffa427321c95c6e8acbf16b5f4fdb462495 (patch)
tree348c8820540d931251acb09285dc16fa04e6ee6e /ui
parent2a204624f54da65613e57c24d047af6b17014ec7 (diff)
downloadtangerine-wallet-browser-468c1ffa427321c95c6e8acbf16b5f4fdb462495.tar
tangerine-wallet-browser-468c1ffa427321c95c6e8acbf16b5f4fdb462495.tar.gz
tangerine-wallet-browser-468c1ffa427321c95c6e8acbf16b5f4fdb462495.tar.bz2
tangerine-wallet-browser-468c1ffa427321c95c6e8acbf16b5f4fdb462495.tar.lz
tangerine-wallet-browser-468c1ffa427321c95c6e8acbf16b5f4fdb462495.tar.xz
tangerine-wallet-browser-468c1ffa427321c95c6e8acbf16b5f4fdb462495.tar.zst
tangerine-wallet-browser-468c1ffa427321c95c6e8acbf16b5f4fdb462495.zip
Refined tx confirmation button styles
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx.js26
1 files changed, 19 insertions, 7 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index 8067aef05..dce933df1 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -24,18 +24,30 @@ PendingTx.prototype.render = function () {
// tx info
h(PendingTxDetails, state),
+ h('style', `
+ .conf-buttons button {
+ margin-left: 10px;
+ text-transform: uppercase;
+ }
+ `),
+
// send + cancel
- h('.flex-row.flex-space-around', {
+ h('.flex-row.flex-space-around.conf-buttons', {
style: {
- marginTop: '14px',
+ display: 'flex',
+ justifyContent: 'flex-end',
+ margin: '14px 25px',
},
}, [
- h('button', {
- onClick: state.cancelTransaction,
- }, 'Reject'),
- h('button', {
+ h('button.confirm', {
onClick: state.sendTransaction,
- }, 'Approve'),
+ style: { background: 'rgb(251,117,1)' },
+ }, 'Confirm'),
+
+ h('button.cancel', {
+ onClick: state.cancelTransaction,
+ style: { background: 'rgb(254,35,17)' },
+ }, 'Cancel'),
]),
])
)