[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:
Eyejoker
2026-04-26 22:03:52 +09:00
committed by GitHub
parent 646bc34372
commit 11ab18280c
2 changed files with 140 additions and 39 deletions

View File

@@ -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;