mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
eth_sign warning color
This commit is contained in:
parent
220da24f9a
commit
f9fc6cec3b
@ -4,6 +4,8 @@ const inherits = require('util').inherits
|
||||
const Identicon = require('./identicon')
|
||||
const connect = require('react-redux').connect
|
||||
const ethUtil = require('ethereumjs-util')
|
||||
const classnames = require('classnames')
|
||||
|
||||
const PendingTxDetails = require('./pending-personal-msg-details')
|
||||
const AccountDropdownMini = require('./dropdowns/account-dropdown-mini')
|
||||
const BinaryRenderer = require('./binary-renderer')
|
||||
@ -181,7 +183,12 @@ SignatureRequest.prototype.renderBody = function () {
|
||||
|
||||
this.renderRequestInfo(),
|
||||
|
||||
h('div.request-signature__notice', [notice]),
|
||||
h('div.request-signature__notice', {
|
||||
className: classnames({
|
||||
'request-signature__notice': type === 'personal_sign' || type === 'eth_signTypedData',
|
||||
'request-signature__warning': type === 'eth_sign',
|
||||
})
|
||||
}, [notice]),
|
||||
|
||||
h('div.request-signature__rows', [
|
||||
|
||||
|
@ -131,8 +131,8 @@
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
&__notice {
|
||||
color: #9B9B9B;
|
||||
&__notice,
|
||||
&__warning {
|
||||
font-family: "Avenir Next";
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
@ -142,6 +142,14 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__notice {
|
||||
color: $dusty-gray;
|
||||
}
|
||||
|
||||
&__warning {
|
||||
color: $crimson;
|
||||
}
|
||||
|
||||
&__rows {
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
|
Loading…
x
Reference in New Issue
Block a user