diff --git a/.justfile b/.justfile index 20b65ab..1dbd7a1 100644 --- a/.justfile +++ b/.justfile @@ -6,12 +6,21 @@ _default: # Build on changes [group('dev')] serve-watch: - bacon --job run-long -- -- --hostname localhost --port 3003 + watchexec -q -c -e rs,toml,html -r cargo run -- -p 3003 -h localhost alias sw := serve-watch alias dev := serve-watch alias d := serve-watch +[group('dev')] +serve-watch-interface: + watchexec -qr -c -w . -w ../interface -e rs,toml,html cargo run \ + -- -h localhost -p 3001 -g ../interface/graph.toml + +alias swi := serve-watch-interface +alias dev-interface := serve-watch-interface +alias di := serve-watch-interface + # Run tests on changes [group('dev')] test-watch: diff --git a/static/style.css b/static/style.css index a7cdd59..97a5840 100644 --- a/static/style.css +++ b/static/style.css @@ -1,6 +1,7 @@ html { height: 100%; font-family: sans-serif; + line-height: 1.5; } body { @@ -102,9 +103,20 @@ nav li { color: #1bc8c8; text-decoration-color: #159b9b; } + + span.id-label { + background-color: #444; + border-color: #666; + } + + span.hidden-label { + background-color: #000; + border-color: #555; + color: #969696; + } } -@media (max-width: 650px) { +@media (max-width: 600px) { nav li { margin-right: 3px; }