mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(notes/nui): styles for note app
This commit is contained in:
1 parent
351fd96c27
commit
2e2ef27f6c
2 files changed
+38
-5
No files matched your search
@@ -1,16 +1,44 @@
|
|||||||
import { makeStyles } from '@material-ui/core';
|
import { makeStyles } from '@material-ui/core';
|
||||||
|
|
||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles((theme) => ({
|
||||||
|
modalRoot: {
|
||||||
|
zIndex: 20,
|
||||||
|
position: "absolute",
|
||||||
|
height: '100%',
|
||||||
|
width: '100%',
|
||||||
|
background: '#232323',
|
||||||
|
},
|
||||||
|
modalHide: {
|
||||||
|
display: 'none'
|
||||||
|
},
|
||||||
closeButton: {
|
closeButton: {
|
||||||
width: '10%',
|
width: '10%',
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
right: 0
|
top: 10,
|
||||||
|
left: 0
|
||||||
|
},
|
||||||
|
noteContainer: {
|
||||||
|
width: '90%',
|
||||||
|
marginTop: 80,
|
||||||
|
margin: '0 auto',
|
||||||
},
|
},
|
||||||
input: {
|
input: {
|
||||||
|
marginBottom: 20,
|
||||||
},
|
},
|
||||||
inputStyles: {
|
inputPropsTitle: {
|
||||||
|
fontSize: 28,
|
||||||
|
},
|
||||||
|
inputPropsContent: {
|
||||||
|
fontSize: 20,
|
||||||
|
},
|
||||||
|
saveButton: {
|
||||||
|
background: '#f9a825',
|
||||||
|
padding: '10px 30px'
|
||||||
|
},
|
||||||
|
deleteButton: {
|
||||||
|
marginLeft: 20,
|
||||||
|
background: '#c62828',
|
||||||
|
padding: '10px 30px'
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
height: '60px'
|
height: '60px',
|
||||||
},
|
},
|
||||||
backgroundModal: {
|
backgroundModal: {
|
||||||
background: "black",
|
background: "black",
|
||||||
@@ -20,6 +20,11 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
bottom: 0,
|
bottom: 0,
|
||||||
zIndex: 5,
|
zIndex: 5,
|
||||||
},
|
},
|
||||||
|
absolute: {
|
||||||
|
position: "sticky",
|
||||||
|
bottom: theme.spacing(2),
|
||||||
|
left: theme.spacing(3),
|
||||||
|
},
|
||||||
}))
|
}))
|
||||||
|
|
||||||
export default useStyles;
|
export default useStyles;
|
||||||
Reference in new issue
Block a user