diff options
author | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-04-05 17:04:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 17:04:18 -0300 |
commit | 26f4ab8d8943e6aa4f2033999e6b31810034bec3 (patch) | |
tree | d0c031d405cadf6008cba0df449e294ba03f2dbf /web-ui/src/common/link_button/link_button.js | |
parent | 658bc283585de7692af9b4d877962b2d0f96ebe0 (diff) | |
parent | 2f99b6fef90f5a395094c72b05cef1395ab83deb (diff) |
Merge pull request #1045 from pixelated/backup_account_during_recovery
Backup account during recovery
Diffstat (limited to 'web-ui/src/common/link_button/link_button.js')
-rw-r--r-- | web-ui/src/common/link_button/link_button.js | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/web-ui/src/common/link_button/link_button.js b/web-ui/src/common/link_button/link_button.js index e18903f2..e7fd80b0 100644 --- a/web-ui/src/common/link_button/link_button.js +++ b/web-ui/src/common/link_button/link_button.js @@ -16,33 +16,36 @@ */ import React from 'react'; -import RaisedButton from 'material-ui/RaisedButton'; +import FlatButton from 'material-ui/FlatButton'; -import '../submit_button/submit_button.scss'; import './link_button.scss'; const labelStyle = { textTransform: 'none', - fontSize: '1em', - lineHeight: '48px', - color: '#ff9c00' + color: 'inherit', + fontSize: 'inherit', + width: '100%', + padding: '0' }; -const buttonStyle = { - height: '48px', - backgroundColor: '#fff' +const linkButtonStyle = { + color: 'inherit', + borderRadius: '0', + minHeight: '36px', + height: 'auto', + lineHeight: '20px', + padding: '12px 0' }; const LinkButton = ({ buttonText, href }) => ( - <div className='submit-button link-button'> - <RaisedButton + <div className='link-button'> + <FlatButton href={href} containerElement='a' label={buttonText} labelStyle={labelStyle} - buttonStyle={buttonStyle} - overlayStyle={buttonStyle} - fullWidth + hoverColor={'#ff9c00'} + style={linkButtonStyle} /> </div> ); |