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/calendar/static/tokens.css+7 −3
CI failed — run details
CI log
=== vet ===
go vet ./...
go vet -tags browser ./internal/calendartest/
=== fmt ===
=== test ===
go test ./...
ok amadan.net/oficina/calendar/cmd/calendar 0.098s
? amadan.net/oficina/calendar/cmd/calendar-contract [no test files]
ok amadan.net/oficina/calendar/internal/calendar 26.319s
? amadan.net/oficina/calendar/internal/calendar/icons [no test files]
? amadan.net/oficina/calendar/internal/calendar/keymailtest [no test files]
? amadan.net/oficina/calendar/internal/calendar/seal [no test files]
? amadan.net/oficina/calendar/internal/calendar/teamstate [no test files]
2026/11/19 13:09:05 INFO migrate applied="[oficina_dashboard/0001_dashboard sessions/0001_init auth/0001_init auth/0002_sessions_backfill calendar/0001_create_people calendar/0002_alter_people calendar/0003_alter_reminders calendar/0004_create_attendees calendar/0005_alter_people calendar/0006_alter_reminder_queues calendar/0007_create_reminder_notices]" skipped=0 adopted=false
2026/11/19 13:09:05 ERROR calendar: scheduled work registration failed stage=schedule.register err="calendar: this platform does not support safe scheduled work; update the platform before starting Calendar"
--- FAIL: TestVendoredAssetsMatchTheLibrary (0.00s)
vendored_test.go:98: static/tokens.css differs from the library copy; re-copy it with rastrillo doctor --fix (or add it to vendoredIsMine if the edit was deliberate)
FAIL
FAIL amadan.net/oficina/calendar/internal/calendartest 3.940s
ok amadan.net/oficina/calendar/internal/guardstest 0.082s
? amadan.net/oficina/calendar/scripts/writeestilo [no test files]
FAIL
make: *** [Makefile:87: test] Error 1
amadan: step test failed: exit status 2
amadan: job failed at step test — its output is above, not at the tail of this log
diff --git a/internal/calendar/static/tokens.css b/internal/calendar/static/tokens.css| index 6886854..2b45b8c 100644 |
| --- a/internal/calendar/static/tokens.css |
| +++ b/internal/calendar/static/tokens.css |
| @@ -814,11 +814,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 |