Bundles a stretch of in-progress work across the SPA tools so the
tree returns to a coherent shippable state ahead of cutting a new
zddc-server stable image:
- landing: substantial rework of the project picker (sortable/filterable
table, presets refactor, ?projects= filter, ?v= channel propagation,
loading/error states)
- archive: presets cleanup, source.js refactor, filtering/url-state
alignment with the landing page
- mdedit: file-system module split, resizer, file-tree improvements,
base/toc styling tweaks
- transmittal/classifier: small template touch-ups for shared chrome
- shared: build-lib.sh helpers, new favicon.svg
- bootstrap, build.sh: pick up the channel-aware install/track zip
generation
- tests: new landing.spec.js, expanded archive/mdedit/build-label specs
- docs: CLAUDE.md picks up the zddc-server section and freshens the
alpha-build exception note
- regenerated artifacts: install.zip, track-{alpha,beta,stable}.zip,
*_alpha.html — these are produced by `sh build.sh` and per project
convention are committed alongside the source changes
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
280 lines
5.1 KiB
CSS
280 lines
5.1 KiB
CSS
/* Table of Contents styles */
|
|
.toc-pane {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.toc-section {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.toc-container,
|
|
.toc-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 1rem;
|
|
}
|
|
|
|
/* Header layout — font/padding/weight come from .pane-section-header. */
|
|
.toc-header {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.toc-depth-selector {
|
|
font-size: 0.85rem;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
border: 1px solid var(--border);
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.toc-list {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
margin: 0;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.toc-item {
|
|
padding: 0;
|
|
margin: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
/* TOC heading level styles */
|
|
.toc-level-1 > a {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.toc-level-2 > a {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.toc-level-3 > a {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.toc-level-4 > a {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.toc-level-5 > a,
|
|
.toc-level-6 > a {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Nested list spacing */
|
|
.toc-list ul {
|
|
list-style: none;
|
|
padding-left: 6px;
|
|
margin: 0;
|
|
}
|
|
|
|
.toc-list li {
|
|
margin-bottom: 1px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.toc-list li a {
|
|
display: block;
|
|
padding: 2px 6px;
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
border-radius: 3px;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.toc-list li a:hover {
|
|
background-color: var(--bg-hover);
|
|
color: var(--text);
|
|
}
|
|
|
|
/* Active TOC item highlighting */
|
|
.toc-list li.toc-active {
|
|
background-color: var(--primary);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Use high-specificity selectors to override per-level color rules */
|
|
.toc-list li.toc-active > a,
|
|
.toc-list li.toc-active > a:hover,
|
|
.toc-list li.toc-level-1.toc-active > a,
|
|
.toc-list li.toc-level-2.toc-active > a,
|
|
.toc-list li.toc-level-3.toc-active > a,
|
|
.toc-list li.toc-level-4.toc-active > a,
|
|
.toc-list li.toc-level-5.toc-active > a,
|
|
.toc-list li.toc-level-6.toc-active > a {
|
|
color: var(--text-light);
|
|
border-bottom-color: transparent;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.toc-list li.toc-level-1 {
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.toc-list li.toc-level-1 a {
|
|
color: var(--text);
|
|
border-bottom: 1px solid var(--primary);
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
/* Tree-style connecting lines for TOC hierarchy */
|
|
.toc-list li.toc-level-2 {
|
|
font-weight: 650;
|
|
font-size: 0.9rem;
|
|
padding-left: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.toc-list li.toc-level-2::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 6px;
|
|
top: 0;
|
|
bottom: 50%;
|
|
border-left: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
width: 8px;
|
|
}
|
|
|
|
.toc-list li.toc-level-2 a {
|
|
color: var(--text);
|
|
}
|
|
|
|
.toc-list li.toc-level-3 {
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
padding-left: 32px;
|
|
position: relative;
|
|
}
|
|
|
|
.toc-list li.toc-level-3::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 22px;
|
|
top: 0;
|
|
bottom: 50%;
|
|
border-left: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
width: 8px;
|
|
}
|
|
|
|
.toc-list li.toc-level-3 a {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.toc-list li.toc-level-4 {
|
|
font-weight: 600;
|
|
font-size: 0.75rem;
|
|
padding-left: 48px;
|
|
position: relative;
|
|
}
|
|
|
|
.toc-list li.toc-level-4::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 38px;
|
|
top: 0;
|
|
bottom: 50%;
|
|
border-left: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
width: 8px;
|
|
}
|
|
|
|
.toc-list li.toc-level-4 a {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.toc-list li.toc-level-5 {
|
|
font-weight: 600;
|
|
font-size: 0.7rem;
|
|
padding-left: 64px;
|
|
font-style: italic;
|
|
position: relative;
|
|
}
|
|
|
|
.toc-list li.toc-level-5::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 54px;
|
|
top: 0;
|
|
bottom: 50%;
|
|
border-left: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
width: 8px;
|
|
}
|
|
|
|
.toc-list li.toc-level-5 a {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.toc-list li.toc-level-6 {
|
|
font-weight: 600;
|
|
font-size: 0.65rem;
|
|
padding-left: 80px;
|
|
font-style: italic;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
position: relative;
|
|
}
|
|
|
|
.toc-list li.toc-level-6::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 70px;
|
|
top: 0;
|
|
bottom: 50%;
|
|
border-left: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
width: 8px;
|
|
}
|
|
|
|
.toc-list li.toc-level-6 a {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Vertical connecting lines */
|
|
.toc-list li:not(.toc-level-1)::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 6px;
|
|
top: 50%;
|
|
bottom: -2px;
|
|
border-left: 1px solid var(--border);
|
|
z-index: -1;
|
|
}
|
|
|
|
.toc-list li.toc-level-3::after {
|
|
left: 22px;
|
|
}
|
|
|
|
.toc-list li.toc-level-4::after {
|
|
left: 38px;
|
|
}
|
|
|
|
.toc-list li.toc-level-5::after {
|
|
left: 54px;
|
|
}
|
|
|
|
.toc-list li.toc-level-6::after {
|
|
left: 70px;
|
|
}
|