From 57fd704497532dd97a2c74546e6d4884c11959d1 Mon Sep 17 00:00:00 2001 From: posimai Date: Tue, 31 Mar 2026 01:13:59 +0900 Subject: [PATCH] fix(posimai-dev): dot status indicator, /todo command, hide text badge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Header dot: grey→green(pulse) on connect, red on disconnect — replaces text badge - /morning renamed to /todo (今日のタスク) - Status text badge hidden (dot carries the signal now) Co-Authored-By: Claude Sonnet 4.6 --- posimai-dev/index.html | 51 ++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/posimai-dev/index.html b/posimai-dev/index.html index 748fd188..0dc04397 100644 --- a/posimai-dev/index.html +++ b/posimai-dev/index.html @@ -63,16 +63,26 @@ backdrop-filter: blur(12px); } .header-left { display: flex; align-items: center; gap: 10px; } - .header-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); } + .header-dot { + width: 8px; height: 8px; border-radius: 50%; + background: #4B5563; + transition: background 0.4s; + flex-shrink: 0; + } + .header-dot.connected { + background: #6EE7B7; + animation: dot-pulse 2.5s ease-in-out infinite; + } + .header-dot.disconnected { background: #F87171; animation: none; } + @keyframes dot-pulse { + 0%, 100% { box-shadow: 0 0 0 0 rgba(110,231,183,0.5); } + 50% { box-shadow: 0 0 0 5px rgba(110,231,183,0); } + } .header-title { font-size: 14px; font-weight: 600; color: #F3F4F6; letter-spacing: -0.01em; } .header-right { display: flex; align-items: center; gap: 4px; } - .status-badge { - font-size: 11px; font-weight: 500; padding: 2px 8px; - border-radius: 20px; background: var(--accent-dim); color: var(--accent); - transition: background 0.2s, color 0.2s; - } - .status-badge.disconnected { background: rgba(239,68,68,0.12); color: #F87171; } + /* status-badge は dot に統合したため非表示 */ + .status-badge { display: none; } /* Claude 開始ボタン */ .claude-btn { @@ -335,7 +345,8 @@