diff --git a/posimai-dev/index.html b/posimai-dev/index.html index fa996ddb..c227522d 100644 --- a/posimai-dev/index.html +++ b/posimai-dev/index.html @@ -13,8 +13,7 @@ - - + @@ -38,10 +37,7 @@ --accent-dim: rgba(167, 139, 250, 0.15); --dev-bg: #0C1221; } - [data-theme="light"] { - --accent: #7C3AED; - --dev-bg: #0C1221; - } + [data-theme="light"] { --accent: #7C3AED; } * { box-sizing: border-box; margin: 0; padding: 0; } @@ -51,91 +47,103 @@ height: 100dvh; overflow: hidden; background: var(--dev-bg); + font-family: Inter, sans-serif; } + /* ── Header ── */ .header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 48px; - border-bottom: 1px solid var(--border); + border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; + background: rgba(12, 18, 33, 0.8); + 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-title { - font-size: 14px; - font-weight: 600; - color: var(--text); - letter-spacing: -0.01em; - } + .header-left { display: flex; align-items: center; gap: 10px; } + .header-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); } + .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); + 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.disconnected { - background: rgba(239, 68, 68, 0.12); - color: #F87171; + .session-badge { + font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.3); + font-family: monospace; display: none; } + .session-badge.visible { display: block; } - .header-right { - display: flex; - align-items: center; - gap: 4px; + /* Claude開始ボタン */ + .claude-btn { + display: flex; align-items: center; gap: 6px; + padding: 5px 12px; border-radius: 8px; border: none; cursor: pointer; + background: var(--accent-dim); color: var(--accent); + font-size: 12px; font-weight: 500; font-family: Inter, sans-serif; + transition: background 0.15s; } + .claude-btn:hover { background: rgba(167,139,250,0.25); } + /* ── Terminal ── */ #terminal-container { flex: 1; overflow: hidden; - padding: 12px; + padding: 12px 12px 0; min-height: 0; background: - radial-gradient(ellipse at 15% 60%, rgba(34, 211, 238, 0.07) 0%, transparent 55%), - radial-gradient(ellipse at 85% 25%, rgba(167, 139, 250, 0.07) 0%, transparent 55%), + radial-gradient(ellipse at 15% 60%, rgba(34,211,238,0.07) 0%, transparent 55%), + radial-gradient(ellipse at 85% 25%, rgba(167,139,250,0.07) 0%, transparent 55%), var(--dev-bg); } + #terminal-container .xterm { height: 100%; } + #terminal-container .xterm-viewport { border-radius: 8px 8px 0 0; } - #terminal-container .xterm { - height: 100%; + /* ── Chat input bar ── */ + .chat-bar { + display: flex; + align-items: center; + gap: 8px; + padding: 10px 12px; + padding-bottom: max(10px, env(safe-area-inset-bottom)); + background: rgba(12, 18, 33, 0.9); + border-top: 1px solid rgba(255,255,255,0.06); + flex-shrink: 0; } - - #terminal-container .xterm-viewport { - border-radius: 8px; + .chat-input { + flex: 1; + background: rgba(255,255,255,0.05); + border: 1px solid rgba(255,255,255,0.08); + border-radius: 10px; + padding: 9px 14px; + color: #F3F4F6; + font-size: 14px; + font-family: Inter, sans-serif; + outline: none; + transition: border-color 0.15s; } - - /* スマホ用キーボード表示ボタン */ - #keyboard-btn { - display: none; - } - - @media (pointer: coarse) { - #keyboard-btn { - display: flex; - } + .chat-input::placeholder { color: rgba(255,255,255,0.25); } + .chat-input:focus { border-color: rgba(167,139,250,0.4); } + .send-btn { + width: 38px; height: 38px; border-radius: 10px; border: none; + background: var(--accent); color: #0C1221; cursor: pointer; + display: flex; align-items: center; justify-content: center; + flex-shrink: 0; transition: opacity 0.15s; } + .send-btn:hover { opacity: 0.85; } + .send-btn:disabled { opacity: 0.3; cursor: default; } .overlay { display: none; } .settings-panel { z-index: 1000; } + + /* icon-btn override for dark bg */ + .icon-btn { color: rgba(255,255,255,0.5); } + .icon-btn:hover { color: #F3F4F6; background: rgba(255,255,255,0.06); }
@@ -156,6 +164,13 @@ +