Second batch of CSS improvements on Open Safe

This commit is contained in:
apanizo 2018-11-07 16:41:47 +01:00
parent 4512388493
commit 3021915956
2 changed files with 19 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class SafeOwners extends React.Component<Props, State> {
return ( return (
<React.Fragment> <React.Fragment>
<Block className={classes.title}> <Block className={classes.title}>
<Paragraph noMargin size="md" color="primary" weight="light"> <Paragraph noMargin size="md" color="primary">
Specify the owners of the Safe. Specify the owners of the Safe.
</Paragraph> </Paragraph>
</Block> </Block>
@ -163,6 +163,7 @@ class SafeOwners extends React.Component<Props, State> {
{ index > 0 && { index > 0 &&
<IconButton aria-label="Delete" onClick={this.onRemoveRow(index)} className={classes.trash}> <IconButton aria-label="Delete" onClick={this.onRemoveRow(index)} className={classes.trash}>
<Delete /> <Delete />
{/* <Img className={classes.logo} src={dot} height={14} alt="Network" /> */}
</IconButton> </IconButton>
} }
</Col> </Col>
@ -172,7 +173,7 @@ class SafeOwners extends React.Component<Props, State> {
</Block> </Block>
<Row align="center" grow className={classes.add} margin="xl"> <Row align="center" grow className={classes.add} margin="xl">
<Button color="secondary" onClick={this.onAddOwner}> <Button color="secondary" onClick={this.onAddOwner}>
{ADD_OWNER_BUTTON} <Paragraph weight="bold" size="md" noMargin>{ADD_OWNER_BUTTON}</Paragraph>
</Button> </Button>
</Row> </Row>
</React.Fragment> </React.Fragment>

View File

@ -55,6 +55,11 @@ export default createMuiTheme({
minWidth: '130px', minWidth: '130px',
fontSize: smallFontSize, fontSize: smallFontSize,
}, },
textSecondary: {
'&:hover': {
borderRadius: '3px',
},
},
}, },
MuiStepper: { MuiStepper: {
root: { root: {
@ -64,12 +69,19 @@ export default createMuiTheme({
MuiStepIcon: { MuiStepIcon: {
root: { root: {
fontSize: '22px', fontSize: '22px',
color: '#A2A8BA !important',
}, },
completed: { completed: {
color: `${secondary} !important`, color: `${secondary} !important`,
}, },
active: { active: {
color: `${secondary} !important`, color: `${secondary} !important`,
fontWeight: boldFont,
},
},
MuiStepContent: {
root: {
borderLeft: '1px solid #A2A8BA',
}, },
}, },
MuiTypography: { MuiTypography: {
@ -130,6 +142,10 @@ export default createMuiTheme({
MuiStepLabel: { MuiStepLabel: {
label: { label: {
textAlign: 'left', textAlign: 'left',
color: '#A2A8BA',
'&$active': {
color: primary,
},
}, },
}, },
MuiSnackbarContent: { MuiSnackbarContent: {