:root { --bg: #0b1c2d; --panel: #132c44; --border: #0e1822; --text: #e0e6ed; --accent: #a4bbd4; } * { box-sizing: border-box; } html, body { min-height: 100%; } body { font-family: Arial, sans-serif; margin: 16px; background: linear-gradient( to bottom, #dddddd -20%, var(--bg) 130% ); color: var(--text); font-size: 14px; } h1 { margin-bottom: 16px; font-size: 20px; color: var(--accent); } /* Grid: mind. 500px pro Spalte, beliebig viele */ .sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; } .section { grid-column: span 2; } .section.half { grid-column: span 1; } /* Section Card */ .section { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 22px 20px; } /* Header = KlickflΓ€che */ .section h2 { margin: 0; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--accent); } /* Pfeil */ .section h2::after { content: "β–Ό"; font-size: 12px; transition: transform 0.2s ease; } .section.collapsed h2::after { transform: rotate(-90deg); } /* Inhalt */ .section ul { margin: 10px 0 0; padding: 0; list-style: none; } .section.collapsed ul { display: none; } .section li { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.05); } /* FluidNC Status Icons */ .section#senders li { position: relative; padding-left: 22px; } .section#senders li::before { position: absolute; left: 0; top: 2px; font-size: 14px; } /* βœ… CONNECTED */ .section#senders li.connected::before { content: "🟒"; } /* ❌ DISCONNECTED */ .section#senders li.disconnected::before { content: "β›”"; } /* 🟑 CONNECTING / RECONNECTING */ .section#senders li.connecting::before, .section#senders li.reconnecting::before { content: "🟑"; } .state-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(25px, 1fr)); gap: 30px 30px; margin: 0; padding: 0; list-style: none; } .math-symbol { font-family: "Noto Sans Math", system-ui, sans-serif; font-weight: 400; font-style: italic; /* βœ… echte math italic */ font-synthesis: none; /* extrem wichtig */ font-size: 1.1em; line-height: 1; vertical-align: -0.05em; transform: skewX(-8deg); display: inline-block; } .state-grid li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.08); } .state-grid span:first-child { color: var(--accent); font-weight: bold; } /* ── Robot.json Tree ─────────────────────────────────────────────────────── */ #robotJsonLabel { font-size: 11px; font-weight: normal; opacity: 0.6; margin-left: 6px; } .section.collapsed #robotJsonTree { display: none; } .json-tree { margin-top: 10px; } .json-tree details { border-bottom: 1px solid rgba(255,255,255,0.05); } .json-tree details > summary { cursor: pointer; color: var(--accent); font-weight: bold; padding: 5px 0; list-style: none; display: flex; align-items: center; gap: 6px; } .json-tree details > summary::before { content: "β–Ά"; font-size: 10px; display: inline-block; transition: transform 0.15s ease; } .json-tree details[open] > summary::before { transform: rotate(90deg); } .json-tree details > pre { margin: 2px 0 6px 16px; font-size: 11px; white-space: pre-wrap; word-break: break-all; color: var(--text); opacity: 0.8; line-height: 1.5; } .json-tree .json-scalar { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; } .json-tree .json-scalar .json-key { color: var(--accent); font-weight: bold; } .json-tree .json-scalar .json-val { opacity: 0.85; } /* ── Robot.json History ──────────────────────────────────────────────────── */ #robotHistoryList li { cursor: pointer; font-size: 13px; font-family: monospace; transition: color 0.1s; } #robotHistoryList li:hover { color: #7ec8e3; } #robotHistoryList li.rh-active { color: #7ec8e3; font-weight: bold; } #robotHistoryList li.rh-active::before { content: "β–Ά "; font-size: 10px; }