feat(notes/nui): styles for note app

This commit is contained in:
chip committed 2020-10-30 00:16:02 +01:00
1 parent 351fd96c27
commit 2e2ef27f6c
2 files changed
+38 -5

No files matched your search

+32 -4
View File
@@ -1,16 +1,44 @@
import { makeStyles } from '@material-ui/core';
const useStyles = makeStyles((theme) => ({
modalRoot: {
zIndex: 20,
position: "absolute",
height: '100%',
width: '100%',
background: '#232323',
},
modalHide: {
display: 'none'
},
closeButton: {
width: '10%',
position: 'absolute',
right: 0
top: 10,
left: 0
},
noteContainer: {
width: '90%',
marginTop: 80,
margin: '0 auto',
},
input: {
marginBottom: 20,
},
inputStyles: {
inputPropsTitle: {
fontSize: 28,
},
inputPropsContent: {
fontSize: 20,
},
saveButton: {
background: '#f9a825',
padding: '10px 30px'
},
deleteButton: {
marginLeft: 20,
background: '#c62828',
padding: '10px 30px'
}
}))
+6 -1
View File
@@ -8,7 +8,7 @@ const useStyles = makeStyles((theme) => ({
justifyContent: 'center',
alignItems: 'center',
textAlign: 'center',
height: '60px'
height: '60px',
},
backgroundModal: {
background: "black",
@@ -20,6 +20,11 @@ const useStyles = makeStyles((theme) => ({
bottom: 0,
zIndex: 5,
},
absolute: {
position: "sticky",
bottom: theme.spacing(2),
left: theme.spacing(3),
},
}))
export default useStyles;