More Styling on Safe's balance view

This commit is contained in:
apanizo 2018-10-18 17:44:09 +02:00
parent 9fedcb7449
commit db8cfdb174
3 changed files with 22 additions and 4 deletions

View File

@ -29,7 +29,7 @@ type State = {
const styles = { const styles = {
root: { root: {
backgroundColor: 'white', backgroundColor: 'white',
boxShadow: '0 -1px 5px 0 rgba(74, 85, 121, 0.5)', boxShadow: '0 -1px 4px 0 rgba(74, 85, 121, 0.5)',
}, },
selectRoot: { selectRoot: {
lineHeight: '40px', lineHeight: '40px',
@ -40,7 +40,7 @@ const styles = {
}, },
paginationRoot: { paginationRoot: {
backgroundColor: 'white', backgroundColor: 'white',
boxShadow: '0 2px 5px 0 rgba(74, 85, 121, 0.5)', boxShadow: '0 2px 4px 0 rgba(74, 85, 121, 0.5)',
}, },
} }

View File

@ -54,6 +54,9 @@ const styles = {
zero: { zero: {
letterSpacing: '-0.5px', letterSpacing: '-0.5px',
}, },
message: {
margin: `${sm} 0`,
},
} }
type Props = { type Props = {
@ -82,7 +85,7 @@ class Balances extends React.Component<Props, State> {
return ( return (
<React.Fragment> <React.Fragment>
<Row align="center"> <Row align="center" className={classes.message}>
<Checkbox <Checkbox
classes={checkboxClasses} classes={checkboxClasses}
checked={hideZero} checked={hideZero}

View File

@ -1,7 +1,7 @@
// @flow // @flow
import red from '@material-ui/core/colors/red' import red from '@material-ui/core/colors/red'
import { createMuiTheme } from '@material-ui/core/styles' import { createMuiTheme } from '@material-ui/core/styles'
import { largeFontSize, mediumFontSize, smallFontSize, disabled, primary, secondary, md, lg, background, bolderFont } from './variables' import { largeFontSize, mediumFontSize, smallFontSize, disabled, primary, secondary, md, lg, background, bolderFont, boldFont } from './variables'
export type WithStyles = { export type WithStyles = {
classes: Object, classes: Object,
@ -160,6 +160,21 @@ export default createMuiTheme({
color: disabled, color: disabled,
}, },
}, },
MuiTableCell: {
root: {
fontFamily: 'Roboto Mono, monospace',
},
head: {
letterSpacing: '1px',
textTransform: 'uppercase',
fontWeight: boldFont,
},
body: {
color: primary,
letterSpacing: '-0.5px',
fontWeight: 'normal',
},
},
}, },
palette, palette,
}) })