upskill-event-manager/assets/css/hvac-master-dashboard.css
Ben bc2a7191e7 fix: master dashboard layout and breadcrumb issues
- Fixed breadcrumb method name (render() -> render_breadcrumbs())
- Resolved two-column layout by moving navigation inside content wrapper
- Added dedicated CSS to force single-column layout
- Updated hierarchical URL detection for master dashboard pages
- Updated TROUBLESHOOTING.md with complete master dashboard fixes
- Removed redundant authentication blocking content display
2025-08-22 15:16:45 -03:00

83 lines
No EOL
2.2 KiB
CSS

/**
* HVAC Master Dashboard Specific Styles
* Ensures proper single-column layout
*/
/* Force single column layout for master dashboard */
.hvac-master-dashboard-page {
width: 100% !important;
max-width: 100% !important;
}
.hvac-master-dashboard-page .hvac-page-wrapper {
width: 100% !important;
max-width: 100% !important;
}
/* Ensure navigation doesn't create sidebar */
.hvac-master-dashboard-page .hvac-trainer-menu-wrapper {
width: 100% !important;
display: block !important;
float: none !important;
position: relative !important;
margin-bottom: 20px !important;
}
/* Force horizontal menu layout */
.hvac-master-dashboard-page .hvac-trainer-menu {
display: flex !important;
flex-direction: row !important;
flex-wrap: wrap !important;
width: 100% !important;
float: none !important;
}
/* Ensure content takes full width */
.hvac-master-dashboard-page .container {
width: 100% !important;
max-width: 1200px !important;
margin: 0 auto !important;
padding: 0 20px !important;
float: none !important;
display: block !important;
}
/* Remove any potential sidebar styles from theme */
.hvac-master-dashboard-page .ast-container,
.hvac-master-dashboard-page .content-area,
.hvac-master-dashboard-page #primary {
width: 100% !important;
max-width: 100% !important;
float: none !important;
margin: 0 !important;
}
/* Hide any theme sidebars on master dashboard */
.hvac-master-dashboard-page #secondary,
.hvac-master-dashboard-page .widget-area,
.hvac-master-dashboard-page .sidebar {
display: none !important;
}
/* Ensure main content area is full width */
.hvac-master-dashboard-page #main,
.hvac-master-dashboard-page .site-main {
width: 100% !important;
float: none !important;
margin: 0 !important;
}
/* Remove any grid or flex layouts that might create columns */
.hvac-master-dashboard-page .ast-row {
display: block !important;
width: 100% !important;
}
.hvac-master-dashboard-page .ast-col-lg-8,
.hvac-master-dashboard-page .ast-col-lg-4,
.hvac-master-dashboard-page .ast-col-md-8,
.hvac-master-dashboard-page .ast-col-md-4 {
width: 100% !important;
float: none !important;
display: block !important;
}