tweak(bank/nui): spearate styling for account and card

This commit is contained in:
Christopher committed 2020-12-12 15:14:33 +01:00
1 parent e04113d62d
commit b4a1ba0197
2 files changed
+98

No files matched your search

@@ -0,0 +1,63 @@
import { makeStyles, Theme } from '@material-ui/core/styles';
const useStyles = makeStyles((theme: Theme) => ({
root: {
width: '100%',
},
header: {
width: '90%',
display: 'flex',
justifyItems: 'center',
justifyContent: 'space-between',
margin: 'auto',
},
title: {
padding: 7,
borderRadius: '10px',
display: 'flex',
justifyItems: 'center',
justifyContent: 'center',
fontSize: '24px',
},
seeAll: {
fontFamily: 'Bahnschrift Regular',
fontWeight: 'bold',
height: 'auto',
},
transcationDiv: {
marginTop: '-30px',
},
transactions: {
marginLeft: '32px',
display: 'flex',
justifyContent: 'space-between',
borderBottom: '2px solid #707070',
width: '85%',
margin: 'auto',
},
tranSource: {
fontSize: '22px',
},
tranType: {
fontSize: '18px',
fontWeight: 'bold',
color: '#BFBFBF',
marginTop: '-18px',
width: '100%',
},
depositType: {
color: '#55B452',
marginRight: '32px',
fontSize: '22px',
fontWeight: 'bold',
},
withdrawType: {
color: '#FF5E5E',
marginRight: '32px',
fontSize: '22px',
fontWeight: 'bold',
},
}));
export default useStyles;
@@ -0,0 +1,35 @@
import { makeStyles, Theme } from '@material-ui/core/styles';
const useStyles = makeStyles((theme: Theme) => ({
root: {
background: '#388CF8',
height: '179px',
width: '350px',
margin: 'auto',
borderRadius: '15px',
fontFamily: 'Bahnschrift Regular',
},
cardName: {
margin: 10,
paddingTop: 15,
fontSize: '24px',
},
cardAccount: {
margin: '10px',
marginTop: '10px',
color: '#DFDFDF',
fontWeight: 'bold',
borderBottom: '2px solid #D8D1D1',
paddingBottom: 5,
},
balance: {
position: 'absolute',
bottom: '53%',
left: '10%',
},
balanceFont: {
fontSize: '29px',
},
}));
export default useStyles;