/* BetterDesk Console - Network Monitor Styles */ /* Tools grid */ .tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; } .tool-card { background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: 8px; padding: 20px; } .tool-card h3 { display: flex; align-items: center; gap: 8px; color: var(--text-primary); font-size: 16px; margin-bottom: 16px; } .tool-card h3 .material-icons { color: var(--accent-blue); font-size: 22px; } .tool-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .tool-form input { flex: 1; min-width: 120px; padding: 8px 12px; background: var(--bg-tertiary); border: 1px solid var(--border-primary); border-radius: 6px; color: var(--text-primary); font-size: 14px; } .tool-result { margin-top: 12px; padding: 10px 12px; background: var(--bg-primary); border-radius: 6px; font-family: 'Fira Mono', 'Consolas', monospace; font-size: 13px; color: var(--text-secondary); min-height: 24px; white-space: pre-wrap; word-break: break-all; } .tool-result.success { color: var(--accent-green); } .tool-result.error { color: var(--accent-red); } /* latency cell */ .latency-val { font-variant-numeric: tabular-nums; } .latency-val.good { color: var(--accent-green); } .latency-val.warn { color: var(--accent-yellow); } .latency-val.bad { color: var(--accent-red); } /* target status */ .target-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; } .target-status .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; } .target-status.up .dot { background: var(--accent-green); } .target-status.up { color: var(--accent-green); } .target-status.down .dot { background: var(--accent-red); } .target-status.down { color: var(--accent-red); } .target-status.unknown .dot { background: var(--text-muted); } .target-status.unknown { color: var(--text-muted); } /* history timeline */ .history-timeline { display: flex; flex-direction: column; gap: 8px; } .history-entry { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--bg-tertiary); border-radius: 6px; font-size: 13px; } .history-entry .time { color: var(--text-muted); min-width: 100px; } .history-entry .status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .history-entry .status-dot.up { background: var(--accent-green); } .history-entry .status-dot.down { background: var(--accent-red); } .history-entry .latency { color: var(--text-secondary); margin-left: auto; font-variant-numeric: tabular-nums; } /* monitor status indicator */ .monitor-active { color: var(--accent-green) !important; } .monitor-active .material-icons { color: var(--accent-green); } /* responsive */ @media (max-width: 768px) { .tools-grid { grid-template-columns: 1fr; } .tool-form { flex-direction: column; } .tool-form input { width: 100%; } }