Redesign the page: a grid of panels with an instrument-panel look
Every colour, size, spacing and font now lives in crates/ui/src/theme.rs. At 1100 px and wider the page is three columns of panels, at 700 px two, below that one: a toolbar with the range as one segmented control, a headline panel, six stat cards in one row, three panels side by side, then Over time beside Speed, then Raw counters as key/value lines. The type is Inter and JetBrains Mono (SIL Open Font License, licence files beside the fonts). Tables size their columns to what they hold, charts keep their time labels inside the plot and tint unrecorded time, and the hit-rate bars leave the language table where there is no room. Behaviour is unchanged: ranges, refresh, theme switch, Copy summary, Export JSON, Zero stats with its question, the language filter and the remembered settings work as before.
This commit is contained in:
1 parent
72fcf8f976
commit
a7d836d45a
19 files changed
+2214
-979
No files matched your search
@@ -24,6 +24,8 @@ mod speed;
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
mod style;
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
mod theme;
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
mod where_went;
|
||||
|
||||
/// The canvas in `index.html` the page is drawn on.
|
||||
|
||||
Reference in new issue
Block a user