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 { .iconSmall {
display: inline-block; display: inline-block;
padding: 1em; padding: 1em;
padding-bottom: 1em;
vertical-align: middle; vertical-align: middle;
} }
@ -84,6 +85,7 @@
.iconSmall i { .iconSmall i {
font-size: 3em; font-size: 3em;
margin-bottom: 1em;
} }
.console { .console {
@ -111,3 +113,15 @@
animation-duration: 1.5s; animation-duration: 1.5s;
animation-iteration-count: infinite; 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> <div>
<FormattedMessage <FormattedMessage
id='connection.noConnection' 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={ { values={ {
newToken: <span className={ styles.console }>parity signer new-token</span> newToken: <div className={ styles.console }>parity signer new-token</div>
} } } }
/> />
</div> </div>
<div className={ styles.form }> <div className={ styles.form }>
<Input <Input
className={ styles.formInput }
disabled={ loading } disabled={ loading }
error={ error={
validToken || (!token || !token.length) validToken || (!token || !token.length)
@ -110,13 +111,7 @@ class Connection extends Component {
hint={ hint={
<FormattedMessage <FormattedMessage
id='connection.token.hint' id='connection.token.hint'
defaultMessage='a generated token from Parity' defaultMessage='Insert the generated token here'
/>
}
label={
<FormattedMessage
id='connection.token.label'
defaultMessage='secure token'
/> />
} }
onChange={ this.onChangeToken } onChange={ this.onChangeToken }