From 70c983f1e70797f1e35532c9ac6caaf0083b4089 Mon Sep 17 00:00:00 2001 From: posimai Date: Thu, 2 Apr 2026 14:09:39 +0900 Subject: [PATCH] fix: remove binary footer tape from station-b, restore bottom flex row --- posimai-dev/station-b.html | 42 ++++++++------------------------------ 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/posimai-dev/station-b.html b/posimai-dev/station-b.html index 7c3fdf59..6f17777b 100644 --- a/posimai-dev/station-b.html +++ b/posimai-dev/station-b.html @@ -56,7 +56,7 @@ #alert-bar.crit { background:rgba(248,113,113,0.10);border:1px solid rgba(248,113,113,0.3);color:var(--crit);animation:alert-pulse 2s ease-in-out infinite; } @keyframes alert-pulse { 0%,100%{border-color:rgba(248,113,113,0.3)} 50%{border-color:rgba(248,113,113,0.65)} } - #app { position:relative;z-index:1;height:100vh;display:grid;grid-template-rows:auto auto 1fr auto;padding:16px 20px 12px;gap:0; } + #app { position:relative;z-index:1;height:100vh;display:grid;grid-template-rows:auto auto 1fr auto;padding:20px;gap:0; } #top { display:flex;align-items:flex-end;justify-content:space-between;padding:10px 16px 14px;flex-shrink:0;background:rgba(8,14,26,0.72);backdrop-filter:blur(16px);border-radius:14px;margin-bottom:4px; } #hostname-area { display:flex;align-items:center;gap:8px; } @@ -156,13 +156,7 @@ @keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} } /* bottom */ - #bottom { display:flex;flex-direction:column;gap:8px;padding-top:10px; } - #bin-footer { width:100%;overflow:hidden;white-space:nowrap;font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:0.12em;line-height:1;border-top:1px solid var(--border2);padding-top:7px; } - #bin-footer-inner { display:inline-block;animation:bfticker 40s linear infinite; } - @keyframes bfticker { from{transform:translateX(0)} to{transform:translateX(-50%)} } - .bf1 { color:var(--accent);opacity:0.75; } - .bf0 { color:rgba(100,180,220,0.28); } - #bottom-bar { display:flex;align-items:center;justify-content:space-between; } + #bottom { display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--border); } .bottom-brand { font-size:12px;color:var(--text3);font-weight:500;letter-spacing:0.04em; } .bottom-brand span { color:var(--accent); } .bottom-links { display:flex;gap:7px; } @@ -294,16 +288,13 @@
- -
-
posimai-station B
- -
次の更新まで 30s
+
posimai-station B
+ +
次の更新まで 30s
@@ -422,23 +413,6 @@ draw(); })(); -// ── full-width binary footer tape ────────────────────────────────────────── -(function initBinFooter(){ - const el = document.getElementById('bin-footer-inner'); - if(!el) return; - function makeTape(len){ - let s = ''; - for(let i = 0; i < len; i++){ - const b = Math.random() < 0.5 ? '1' : '0'; - const sp = (i > 0 && i % 8 === 0) ? ' ' : ''; - s += sp + (b === '1' ? `1` : `0`); - } - return s; - } - const tape = makeTape(600); - el.innerHTML = tape + '    ' + tape; -})(); - // ── Shared logic (same as station.html) ──────────────────────────────────── const HEALTH_URL = '/api/health'; const REFRESH_SEC = 30;