update auth styles

This commit is contained in:
Sidney Alcantara
2021-09-09 10:49:49 +10:00
parent dd9082116e
commit 5c307ae8d5
2 changed files with 10 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ export default function AuthLayout({ children, loading }: IAuthLayoutProps) {
maxWidth: 400,
width: "100%",
p: 4,
boxShadow: 4,
"--spacing-contents": (theme) => theme.spacing(4),
"& > * + *": { marginTop: "var(--spacing-contents)" },

View File

@@ -60,7 +60,15 @@ const useStyles = makeStyles((theme) =>
borderRadius: (theme.shape.borderRadius as number) * (48 / 32),
...theme.typography.button,
},
"& .mdl-button--raised": { boxShadow: "none" },
"& .mdl-button--raised": {
boxShadow: `0 -1px 0 0 rgba(0, 0, 0, 0.12) inset, ${theme.shadows[2]}`,
"&:hover": {
boxShadow: `0 -1px 0 0 rgba(0, 0, 0, 0.12) inset, ${theme.shadows[4]}`,
},
"&:active, &:focus": {
boxShadow: `0 -1px 0 0 rgba(0, 0, 0, 0.12) inset, ${theme.shadows[8]}`,
},
},
"& .mdl-card": {
boxShadow: "none",
minHeight: 0,