Make people, limits and usage one page, with a panel per branch
A team's members, quota and spend were on three pages that linked to each other. They are three tabs of one page now, each at its old address, and choosing anything in the tree opens its limits, capacity and use beside it, editable in place. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
1b89d5cdea
commit
fffed716be
16 files changed
+635
-129
No files matched your search
@@ -869,3 +869,36 @@ table.rows td.warn { color: var(--warn); cursor: help; }
|
||||
.gpu-node { width: 7em; flex: none; font-size: 12px; color: var(--muted, #666); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.gpu-cell { width: 26px; height: 26px; flex: none; border: 1px solid rgba(0,0,0,.18); border-radius: 4px;
|
||||
font-size: 10px; line-height: 26px; text-align: center; color: rgba(0,0,0,.7); cursor: default; }
|
||||
|
||||
/* The people page: one page in tabs, and a panel for the branch or person
|
||||
chosen in the tree, beside it on a wide screen and above it on a narrow one. */
|
||||
.page-tabs { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 1px solid var(--line); margin: .25rem 0 1rem; }
|
||||
.page-tabs a { padding: .45rem .8rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
|
||||
.page-tabs a:hover { color: var(--fg); }
|
||||
.page-tabs a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); font-weight: 600; }
|
||||
.people-grid.with-detail { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: start; }
|
||||
.people-grid.with-detail .people-detail { grid-column: 2; grid-row: 1; position: sticky; top: .75rem; max-height: calc(100vh - 1.5rem); overflow-y: auto; }
|
||||
.people-grid.with-detail .people-main { grid-column: 1; grid-row: 1; min-width: 0; }
|
||||
@media (max-width: 960px) {
|
||||
.people-grid.with-detail { grid-template-columns: minmax(0, 1fr); }
|
||||
.people-grid.with-detail .people-detail { grid-column: 1; grid-row: 1; position: static; max-height: none; }
|
||||
.people-grid.with-detail .people-main { grid-row: 2; }
|
||||
}
|
||||
.people-detail { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1rem; }
|
||||
.people-detail h2 { margin: .1rem 0 0; font-size: 1.15rem; }
|
||||
.people-detail h3 { margin: 1rem 0 .4rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
|
||||
.people-detail .chart-wrap { margin-bottom: .75rem; }
|
||||
.people-detail .q-form .field-row { flex-wrap: wrap; }
|
||||
.pd-head { position: relative; padding-right: 1.5rem; }
|
||||
.pd-path, .pd-sub { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
|
||||
.pd-close { position: absolute; top: 0; right: 0; font-size: 1.3rem; line-height: 1; color: var(--muted); text-decoration: none; }
|
||||
.pd-limits { display: grid; grid-template-columns: auto 1fr; gap: .25rem .9rem; margin: 0; font-size: .88rem; }
|
||||
.pd-limits dt { color: var(--muted); }
|
||||
.pd-limits dd { margin: 0; font-variant-numeric: tabular-nums; }
|
||||
a.sel-link { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--line); }
|
||||
a.sel-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
|
||||
a.sel-link.on { color: var(--accent); border-bottom: 2px solid var(--accent); }
|
||||
a.sel-link.small { font-size: .78rem; color: var(--muted); margin-left: .4rem; }
|
||||
.people-detail h3.chart-title { text-transform: none; letter-spacing: 0; color: var(--fg); font-size: .85rem; margin: .2rem 0; }
|
||||
.people-detail details.edit { display: inline-block; margin-right: 1rem; vertical-align: top; }
|
||||
.people-detail details.edit[open] { display: block; margin: .5rem 0; }
|
||||
Reference in new issue
Block a user