Empty states are heading and text on the page, with no dashed box
Paul, about Docs' empty list: "Can we get rid of these dotted line views? I don't think they add anything." A dashed outline reads as a place to drop a file, and an empty state accepts nothing. This app serves its own copy of rastrillo's tokens.css. Its .rst-empty rule now matches Fiesta 1.5.0's: transparent background, no border, the padding takes back the border's 1px so nothing moves. The words and markup are untouched. The app's rastrillo pin is not moved: the pin is several releases behind, and `go tool rastrillo doctor --fix` at the next upgrade writes this rule itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+7
−3
internal/home/static/tokens.css+7 −3
CI failed — run details
CI log
amadan: .amadan/timeout: this job's budget is 20m0s (this runner allows up to 30m0s)
=== vet ===
CGO_ENABLED=0 go vet ./...
CGO_ENABLED=0 go vet -tags browser ./internal/home/
cd handoff && CGO_ENABLED=0 go vet ./...
cd roster && CGO_ENABLED=0 go vet ./...
cd dashboard && CGO_ENABLED=0 go vet ./...
cd connect && CGO_ENABLED=0 go vet ./...
cd teammode && CGO_ENABLED=0 go vet ./...
=== fmt ===
=== build ===
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ./cmd/home ./cmd/oficina ./internal/operatorlaunch
cd handoff && CGO_ENABLED=0 go build ./...
cd roster && CGO_ENABLED=0 go build ./...
cd dashboard && CGO_ENABLED=0 go build ./...
cd connect && CGO_ENABLED=0 go build ./...
cd teammode && CGO_ENABLED=0 go build ./...
=== go-test ===
CGO_ENABLED=0 go test -count=1 ./...
? amadan.net/oficina/home/cmd/home [no test files]
ok amadan.net/oficina/home/cmd/home-placeholder 0.634s
? amadan.net/oficina/home/cmd/oficina [no test files]
ok amadan.net/oficina/home/internal/guardstest 0.063s
--- FAIL: TestVendoredAssetsMatchTheLibrary (0.06s)
noscript_test.go:392: static/tokens.css differs from ui.TokensCSS(); run `rastrillo doctor --fix`
FAIL
FAIL amadan.net/oficina/home/internal/home 50.472s
ok amadan.net/oficina/home/internal/home/directorydata 1.361s
ok amadan.net/oficina/home/internal/home/logtest 0.003s
ok amadan.net/oficina/home/internal/home/seal 0.002s
ok amadan.net/oficina/home/internal/home/sealtest 0.002s
ok amadan.net/oficina/home/internal/home/wisp 0.048s
ok amadan.net/oficina/home/internal/operator 6.334s
ok amadan.net/oficina/home/internal/operatorlaunch 4.119s
ok amadan.net/oficina/home/internal/provisioner 48.504s
FAIL
make: *** [Makefile:115: test-go] Error 1
amadan: step go-test failed: exit status 2
amadan: job failed at step go-test — its output is above, not at the tail of this log
diff --git a/internal/home/static/tokens.css b/internal/home/static/tokens.css| index 10f6da5..e4d2bf4 100644 |
| --- a/internal/home/static/tokens.css |
| +++ b/internal/home/static/tokens.css |
| @@ -697,11 +697,15 @@ body { |
| } |
| /* ── empty-state ──────────────────────────────────────────────────── */ |
| +/* No box: the heading and text sit on the page. A dashed outline reads |
| + as a drop target, and an empty state accepts nothing. The radius |
| + stays because 1.x keeps every 1.0 declaration; it paints nothing now. |
| + The padding gains the 1px the border took, so nothing moves. */ |
| .rst-empty, [rst-empty] { |
| - background: var(--rst-surface); |
| - border: 1px dashed var(--rst-line-strong); |
| + background: transparent; |
| + border: none; |
| border-radius: var(--rst-radius); |
| - padding: var(--rst-sp-6) var(--rst-sp-4); |
| + padding: calc(var(--rst-sp-6) + 1px) calc(var(--rst-sp-4) + 1px); |
| text-align: center; |
| } |
| /* Class-based, so it styles the partial's <h2> without inheriting any |