opencd/templates/back-tray.html
B.A. Baracus 0206b69381
phase: ba trim+reset+dimension fixes — opencd.css to 305 lines, tray constraint, spine fix
Phase 3 (Bug #6, #8):
- Stripped decorative comment blocks — simple /* Section */ headers throughout
- Simplified .disc-art--sheen from 3-layer to 2-layer radial gradient
- Removed standalone .advisory-row--red class (use modifier pattern)
- Fixed .cd-spine--side: removed writing-mode: horizontal-tb + flex-direction: row
  override — side spines now inherit vertical-rl from .cd-spine base

Phase 4 (Bug #2, #3, #4):
- Expanded reset from 5 lines to 35 lines: font inheritance, line-height, form
  elements, block images, list-style, heading reset, link reset
- Added --cd-tray-height: calc(236px * var(--cd-scale)) token in :root
- Added max-height: var(--cd-tray-height) + overflow-y: auto to .back-tray
- Changed .cd-jewel-case width to min(var(--cd-jewel-width), 100% - 2rem)
- Updated .cd-jewel-case--open width to min(var(--cd-jewel-open-width), ...)
- Tightened back-tray.html content (condensed credits + technical para)

Co-authored-by: H.M. Murdock <murdock@a-team.dev> (Phases 1-2)
2026-05-26 00:27:06 +02:00

100 lines
No EOL
2.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenCD · Back Tray</title>
<link rel="stylesheet" href="../opencd.css">
<link rel="stylesheet" href="demo.css">
</head>
<body>
<!-- ============================================================
BACK TRAY — Tracklist & Credits
============================================================ -->
<div class="demo-tray-container">
<div class="back-tray cd-grid--crosshatch">
<!-- Left spine -->
<nav class="cd-spine cd-spine--side">
<span class="spine-label">OPENCD</span>
<span class="spine-track">03 · back-tray</span>
</nav>
<!-- Credits / tracklist -->
<section class="tray-credits">
<span class="credits-label">Tracklist</span>
<ol>
<li>jewel-case</li>
<li>leaflet</li>
<li>back-tray</li>
<li>human-advisory</li>
<li>disc-art</li>
<li>spine-navigation</li>
<li>grid-overlay</li>
<li>print-layout</li>
</ol>
<span class="credits-label">Credits</span>
<p>
<strong>Design &amp; Architecture</strong><br>
Hannibal · Face
</p>
<p>
<strong>Engineering &amp; Prototypes</strong><br>
Murdock · B.A. Baracus
</p>
<p>
<strong>Quality &amp; Verification</strong><br>
Amy Amanda Allen
</p>
<span class="credits-label">Technical</span>
<p>
Built on Open Props v2 · Pure CSS framework · No build step required<br>
ISO 15727 jewel case dimensions · 2× display scale<br>
GPG-signed commits · A-Team design collective
</p>
</section>
<!-- Right spine -->
<nav class="cd-spine cd-spine--side">
<span class="spine-label">TRENTUNA</span>
<span class="spine-track">MMXXV</span>
</nav>
</div>
</div>
<!-- Demo controls -->
<div class="demo-controls">
<label>
<input type="checkbox" id="toggle-grid" checked onchange="document.querySelector('.back-tray').classList.toggle('cd-grid--crosshatch', this.checked)">
Show grid
</label>
<label>
Scale:
<select id="scale-select" onchange="setScale(this.value)">
<option value="0.5">0.5× (1× physical)</option>
<option value="1" selected>1 (default 2×)</option>
<option value="1.5">1.5× (3×)</option>
<option value="2">2× (4×)</option>
</select>
</label>
</div>
<div class="demo-footnote">
Back tray paper insert (151 × 118 mm physical) with dual spines, tracklist, and production credits · Grid overlay inspired by trentuna.com paper-card aesthetic
</div>
<script>
function setScale(scale) {
document.documentElement.style.setProperty('--cd-scale', scale);
}
</script>
</body>
</html>