Merge pull request #7175 from thornbill/app-bar-visibility
This commit is contained in:
@@ -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%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user