diff --git a/crates/fastled-cli/src/server.rs b/crates/fastled-cli/src/server.rs index 6b1b89a2..eb991a8c 100644 --- a/crates/fastled-cli/src/server.rs +++ b/crates/fastled-cli/src/server.rs @@ -49,24 +49,80 @@ const LOADING_PAGE: &str = r#" .spinner { width: 40px; height: 40px; border: 4px solid #333; border-top: 4px solid #4fc3f7; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; } + .spinner.error { border-top-color: #ef5350; animation: none; } @keyframes spin { to { transform: rotate(360deg); } } - #status { font-size: 1.2em; } + #header { font-size: 1.2em; display: flex; align-items: baseline; gap: 12px; } + #status { } + #elapsed { color: #888; font-size: 0.9em; } + #header.error #status { color: #ef5350; } #log { margin-top: 20px; width: 80%; max-height: 50vh; overflow-y: auto; font-size: 0.85em; color: #aaa; white-space: pre-wrap; text-align: left; line-height: 1.4; padding: 8px; background: #1a1a1a; border-radius: 4px; }
- -