Refactor NavMenu to use DevExpress DxTreeView for navigation, replacing the old NavLink-based menu. Update sidebar and navigation row styling to use CSS variables, remove Bootstrap-specific and SVG icon CSS, and add a responsive hamburger menu for small screens. Improve dark mode support and overall maintainability.
53 lines
872 B
CSS
53 lines
872 B
CSS
.nav-brand-row {
|
|
height: 3.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 1rem;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.nav-brand-link {
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.nav-toggle-btn {
|
|
display: block;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.4rem;
|
|
cursor: pointer;
|
|
padding: 0.25rem 0.5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.nav-scrollable {
|
|
display: none;
|
|
}
|
|
|
|
.nav-scrollable.nav-open {
|
|
display: block;
|
|
}
|
|
|
|
.sidebar-tree {
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: 641px) {
|
|
.nav-toggle-btn {
|
|
display: none;
|
|
}
|
|
|
|
.nav-scrollable {
|
|
display: block;
|
|
height: calc(100vh - 3.5rem);
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|