From f074964f9a39644fc2acd901b137eca345fdae5a Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 15 Feb 2026 17:09:57 +0100 Subject: refactor(tools): consolidate common CSS for HTML tools Extract common styles from various tool HTML files (timeline, spectral, cnn_v2_test, etc.) into a shared stylesheet. This reduces code duplication and improves maintainability of the tool frontends. - Create a new 'tools/common/style.css' to house the shared rules. - Update all tool HTML files to link to the new stylesheet. - Remove redundant inline styles from individual HTML files. --- tools/cnn_v2_test/index.html | 39 +-- tools/common/style.css | 117 ++++++++ tools/shader_editor/index.html | 42 +-- tools/spectral_editor/index.html | 1 + tools/spectral_editor/style.css | 106 +------- tools/timeline_editor/index.html | 555 +++++++++++++++++++++++++++++++------- tools/track_visualizer/index.html | 21 +- 7 files changed, 582 insertions(+), 299 deletions(-) create mode 100644 tools/common/style.css (limited to 'tools') diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html index e226d0c..84702d5 100644 --- a/tools/cnn_v2_test/index.html +++ b/tools/cnn_v2_test/index.html @@ -32,32 +32,21 @@ CNN v2 Testing Tool + diff --git a/tools/track_visualizer/index.html b/tools/track_visualizer/index.html index 4a613ec..d1e7480 100644 --- a/tools/track_visualizer/index.html +++ b/tools/track_visualizer/index.html @@ -4,18 +4,8 @@ Music Track Visualizer +