Merge pull request #7175 from thornbill/app-bar-visibility

This commit is contained in:
Bill Thornton
2025-10-10 17:57:11 -04:00
committed by GitHub
2 changed files with 22 additions and 3 deletions
+14 -3
View File
@@ -27,7 +27,18 @@ $mui-bp-xl: 1536px;
padding-top: 3.25rem !important;
}
// Fix backdrop position on mobile item details page
.layout-mobile .itemBackdrop {
margin-top: 0 !important;
.layout-mobile {
.itemBackdrop {
// Fix backdrop position on mobile item details page
margin-top: 0 !important;
// Add a subtle gradient over the backdrop to ensure the app bar buttons are visible
&::before {
display: block;
content: "";
height: 100%;
width: 100%;
background: linear-gradient(180deg, rgba(32, 32, 32, 0.6) 0%, rgba(32, 32, 32, 0.2) 4rem, rgba(0, 0, 0, 0) 50%);
}
}
}
+8
View File
@@ -1,4 +1,5 @@
import type { ColorSystemOptions, ThemeOptions } from '@mui/material/styles';
import type {} from '@mui/material/themeCssVarsAugmentation';
const LIST_ICON_WIDTH = 36;
@@ -54,6 +55,13 @@ export const DEFAULT_THEME_OPTIONS: ThemeOptions = {
}
}
},
MuiAppBar: {
styleOverrides: {
colorTransparent: ({ theme }) => ({
color: theme.vars.palette.text.primary
})
}
},
MuiButton: {
defaultProps: {
variant: 'contained'