2023-09-25 13:54:33 -04:00
|
|
|
// Default MUI breakpoints
|
|
|
|
// https://mui.com/material-ui/customization/breakpoints/#default-breakpoints
|
|
|
|
$mui-bp-sm: 600px;
|
|
|
|
$mui-bp-md: 900px;
|
|
|
|
$mui-bp-lg: 1200px;
|
|
|
|
$mui-bp-xl: 1536px;
|
|
|
|
|
2024-05-25 11:50:47 -04:00
|
|
|
$drawer-width: 240px;
|
|
|
|
|
2023-09-25 13:54:33 -04:00
|
|
|
// Fix dashboard pages layout to work with drawer
|
|
|
|
.dashboardDocument {
|
2024-10-10 10:59:00 -04:00
|
|
|
.mainAnimatedPage:not(.metadataEditorPage) {
|
2024-05-25 11:50:47 -04:00
|
|
|
@media all and (min-width: $mui-bp-md) {
|
|
|
|
left: $drawer-width;
|
|
|
|
}
|
2023-09-25 13:54:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.skinBody {
|
|
|
|
position: unset !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fix the padding of dashboard pages
|
2024-05-17 13:52:49 -04:00
|
|
|
.content-primary {
|
|
|
|
padding-top: 3.25rem;
|
|
|
|
}
|
|
|
|
// Tabbed pages
|
|
|
|
.withTabs .content-primary {
|
|
|
|
padding-top: 6.5rem;
|
|
|
|
|
|
|
|
@media all and (min-width: $mui-bp-lg) {
|
|
|
|
padding-top: 3.25rem;
|
|
|
|
}
|
2023-09-25 13:54:33 -04:00
|
|
|
}
|
2024-10-10 10:59:00 -04:00
|
|
|
|
|
|
|
.metadataEditorPage {
|
|
|
|
padding-top: 3.25rem !important;
|
|
|
|
}
|
2023-09-25 13:54:33 -04:00
|
|
|
}
|