Rail: secondary entries use class rsec (the generic .sec eyebrow rule upper-cased Training/Pipeline/Profile)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-11 06:56:14 -05:00
parent f562cc50be
commit 67f38daac4
11 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Ads · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
@@ -61,7 +61,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/ads-screen.js?v=20261008b"></script>
</body>
</html>
+1 -1
View File
@@ -50,7 +50,7 @@ window.CR = (function () {
const page = $('page'); if (!page) return;
const app = document.createElement('div'); app.className = 'app'; let railWide = true; try { railWide = localStorage.getItem('cr.rail') !== 'narrow'; } catch (e) {} if (railWide) app.classList.add('wide'); // expanded by default (Marty 2026-10-08), the choice remembered per browser
app.innerHTML = '<nav class="rail" aria-label="LinkSpin"><a class="mark" href="/" aria-label="LinkSpin home" title="LinkSpin"></a>'
+ NAV.map(([k, label, href, svg, sec]) => '<a href="' + (BUILT.has(k) ? href : FALLBACK[k]) + '"' + (k === o.active ? ' class="on' + (sec ? ' sec' : '') + '" aria-current="page"' : (sec ? ' class="sec"' : '')) + ' title="' + label + '" aria-label="' + label + '"><svg viewBox="0 0 24 24">' + svg + '</svg><span class="lbl">' + label + '</span></a>').join('')
+ NAV.map(([k, label, href, svg, sec]) => '<a href="' + (BUILT.has(k) ? href : FALLBACK[k]) + '"' + (k === o.active ? ' class="on' + (sec ? ' rsec' : '') + '" aria-current="page"' : (sec ? ' class="rsec"' : '')) + ' title="' + label + '" aria-label="' + label + '"><svg viewBox="0 0 24 24">' + svg + '</svg><span class="lbl">' + label + '</span></a>').join('')
+ '<span class="sp"></span><button class="railtog" type="button" id="crRailTog" title="Collapse or expand the menu" aria-label="Collapse or expand the menu"><svg viewBox="0 0 24 24"><path d="M15 6l-6 6 6 6"/></svg><span class="lbl">Collapse</span></button></nav>'
+ '<div class="main"><div class="topbar"><div><div class="crumb">' + esc(o.crumb || 'Control room') + '</div><h1>' + esc(o.title || '') + '</h1></div><span class="readout" id="crSub">' + esc(o.sub || '') + '</span><span class="grow"></span><span id="crActions">' + (o.actions || '') + '</span><button class="who" type="button" id="crUserBtn" title="Account"><i id="crAv"></i><span id="crWho">Sign in</span></button></div><div id="crBody"></div>'
+ '<div class="strip" id="crStrip"><span><span class="dot off" id="stDot"></span>rotator <b id="stHealth">checking</b></span><span>served today <b id="stServed">·</b></span><span>zones live <b id="stZones">·</b></span><span>network <b id="stNet">·</b></span><span class="grow"></span><span id="stClock"></span></div></div>';
+1 -1
View File
@@ -174,7 +174,7 @@ label.lbl{display:grid;gap:5px;font-size:10.5px;font-weight:700;letter-spacing:.
@media (max-width:760px){
.app{grid-template-columns:1fr}
.rail{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;flex-direction:row;justify-content:space-around;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));border-right:0;border-top:1px solid var(--chrome-line);z-index:30}
.rail .mark,.rail .sp,.railtog,.rail .lbl,.rail a.sec{display:none} .rail a.on::before{display:none}
.rail .mark,.rail .sp,.railtog,.rail .lbl,.rail a.rsec{display:none} .rail a.on::before{display:none}
.app.wide{grid-template-columns:1fr} .app.wide .rail{align-items:center;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))} .app.wide .rail a{width:40px;justify-content:center;padding:0}
.main{padding-bottom:64px;min-height:auto}
.topbar{padding:10px 16px;flex-wrap:wrap;gap:10px 14px} .topbar .readout{display:none}
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Credits · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
@@ -80,7 +80,7 @@
</div>
<script src="/assets/common.js?v=20261009a"></script>
<script src="/assets/wallet.js?v=20261008a"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/credits-screen.js?v=20261007a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Links · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.ws{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:calc(100vh - 94px)}
.dbody .tiles{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}
@@ -135,7 +135,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/links.js?v=20261010b"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<title>More · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700;800&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>@import url("/assets/site.css?v=ls20260916a") layer(legacy);</style>
<link rel="stylesheet" href="/assets/tools.css?v=20261008a">
</head>
@@ -1008,7 +1008,7 @@
</div>
</div>
<script src="/assets/common.js?v=20261009a"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/tools.js?v=20261011a"></script>
<script src="/assets/wallet.js?v=20261008a"></script>
<script src="/assets/promo.js?v=20261009b"></script>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Pages · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.look{display:grid;gap:10px;margin:6px 0 10px}.lk-row{display:flex;gap:10px;align-items:flex-start}.lk-k{flex:none;width:64px;font:700 11px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-top:9px}
.lk-opts{display:flex;gap:6px;flex-wrap:wrap}.lk-opts button{font:600 12px var(--body);padding:7px 10px;border-radius:7px;border:1px solid var(--line);background:transparent;color:var(--fg);cursor:pointer}.lk-opts button.on{border-color:var(--accent);background:rgba(59,157,255,.12)}
@@ -72,7 +72,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/pages-screen.js?v=20261011a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Reports · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}
@@ -63,7 +63,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/reports.js?v=20261010a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Team · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}
@@ -37,7 +37,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/team.js?v=20260929a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Wallet · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
@@ -31,7 +31,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/wallet-screen.js?v=20261009a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Zones · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011b">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
@@ -41,7 +41,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/cr-shell.js?v=20261011b"></script>
<script src="/assets/zones-screen.js?v=20261010a"></script>
</body>
</html>