This commit is contained in:
Craig O'Connor 2017-05-18 06:33:01 -04:00 committed by Jaco Greeff
parent 20bda5f5a0
commit 6978e38752
2 changed files with 18 additions and 9 deletions

View File

@ -72,6 +72,7 @@
.iconSmall {
display: inline-block;
padding: 1em;
padding-bottom: 1em;
vertical-align: middle;
}
@ -84,6 +85,7 @@
.iconSmall i {
font-size: 3em;
margin-bottom: 1em;
}
.console {
@ -111,3 +113,15 @@
animation-duration: 1.5s;
animation-iteration-count: infinite;
}
.inputLabel {
color: rgb(208, 208, 208);
}
.formInput input {
background: rgba(0, 0, 0, 0.25) !important;
}
.formInput input:focus {
background: rgba(0, 0, 0, 0.25) !important;
}

View File

@ -88,14 +88,15 @@ class Connection extends Component {
<div>
<FormattedMessage
id='connection.noConnection'
defaultMessage='Unable to make a connection to the Parity Secure API. To update your secure token or to generate a new one, run {newToken} and paste the generated token into the space below.'
defaultMessage='Unable to make a connection to the Parity Secure API. To update your secure token or to generate a new one, run: {newToken} and paste the generated token into the space below.'
values={ {
newToken: <span className={ styles.console }>parity signer new-token</span>
newToken: <div className={ styles.console }>parity signer new-token</div>
} }
/>
</div>
<div className={ styles.form }>
<Input
className={ styles.formInput }
disabled={ loading }
error={
validToken || (!token || !token.length)
@ -110,13 +111,7 @@ class Connection extends Component {
hint={
<FormattedMessage
id='connection.token.hint'
defaultMessage='a generated token from Parity'
/>
}
label={
<FormattedMessage
id='connection.token.label'
defaultMessage='secure token'
defaultMessage='Insert the generated token here'
/>
}
onChange={ this.onChangeToken }