[codex] Switch dashboard sections to view routing
Switch dashboard navigation from long section scrolling to hash-backed views, preserving Usage as the default operational view and keeping mobile drawer navigation visible.
This commit is contained in:
@@ -70,8 +70,20 @@ table {
|
||||
|
||||
.dashboard-content {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
min-height: calc(100vh - 36px);
|
||||
}
|
||||
|
||||
.view-stack {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.view-panel {
|
||||
min-height: calc(100vh - 36px);
|
||||
}
|
||||
|
||||
.shell::before {
|
||||
@@ -248,6 +260,15 @@ button:disabled {
|
||||
background: rgba(191, 95, 44, 0.12);
|
||||
}
|
||||
|
||||
.side-rail nav a.is-active,
|
||||
.side-rail nav a[aria-current='page'],
|
||||
.nav-drawer nav a.is-active,
|
||||
.nav-drawer nav a[aria-current='page'] {
|
||||
color: #fffaf0;
|
||||
background: linear-gradient(135deg, #2b3726, #1c211c);
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.18);
|
||||
}
|
||||
|
||||
.side-refresh {
|
||||
width: 100%;
|
||||
min-height: 44px;
|
||||
@@ -1024,6 +1045,10 @@ progress::-moz-progress-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.section-nav .menu-button span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.section-nav button {
|
||||
min-width: 0;
|
||||
color: transparent;
|
||||
|
||||
Reference in New Issue
Block a user