From 00afa8fa47c2a22f5f06135f8904d73faea809cb Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Mon, 19 Oct 2026 15:46:03 +0200 Subject: [PATCH] Refine Ontime clock size and bottom message alignment --- TASKS.md | 1 + configs/ontime/override.css | 20 ++++++++++++++++++-- docs/desktop-app-configs.md | 6 ++++-- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/TASKS.md b/TASKS.md index a7c9af0..d2c6bc5 100644 --- a/TASKS.md +++ b/TASKS.md @@ -139,3 +139,4 @@ open until it is run on disposable machines with the required account setups. - [x] Standardize entrypoint error summaries, status colors, plain redirected output, and automation exit codes across setup, updates, capture, CLI, and SSH. - [x] Record the cross-script output and error-handling convention in AGENTS.md and the advanced guide. - [x] Simplify the Ontime event timer: hide event cards, enlarge countdown and bottom message equally, and blink the background red; checked in a local Firefox fixture. +- [x] Reduce Ontime countdown/message sizing by 30%, enlarge the clock, and bottom-align fullscreen messages; preview both layouts in Firefox. diff --git a/configs/ontime/override.css b/configs/ontime/override.css index 8b53176..0d1defe 100644 --- a/configs/ontime/override.css +++ b/configs/ontime/override.css @@ -1,6 +1,7 @@ /* Ontime event timer. Keep changes scoped to this view. */ .stage-timer { - --cc-timer-size: min(12vw, 26vh); + --cc-timer-size: min(8.4vw, 18.2vh); + --cc-clock-size: min(5vw, 10vh); --cc-blink-red: #b00020; padding: min(2vh, 16px) clamp(14px, 2vw, 32px); } @@ -15,7 +16,8 @@ .stage-timer .timer, .stage-timer .secondary, .stage-timer .secondary > div, -.stage-timer .end-message { +.stage-timer .end-message, +.stage-timer .message { font-size: var(--cc-timer-size) !important; line-height: 1.05; } @@ -29,6 +31,20 @@ border-top: 0; } +/* The fullscreen message uses a grid that Ontime centers by default. */ +.stage-timer .message { + place-content: end center !important; + overflow-wrap: anywhere; +} + +.stage-timer .message-overlay { + padding-bottom: min(2vh, 16px); +} + +.stage-timer .clock { + font-size: var(--cc-clock-size) !important; +} + .stage-timer .secondary--hidden, .stage-timer .event, .stage-timer .clock-container > .label, diff --git a/docs/desktop-app-configs.md b/docs/desktop-app-configs.md index f37049b..941f0de 100644 --- a/docs/desktop-app-configs.md +++ b/docs/desktop-app-configs.md @@ -53,11 +53,13 @@ The profile manages Ontime's supported CSS override at `configs/ontime/override.css` to define the shared presentation. The event timer hides current/next event cards, uses the same enlarged font size for the countdown and bottom message, and flashes the background red when Blink is active. Text -stays visible. Fullscreen message blink uses the same background effect. +stays visible. Fullscreen messages are bottom-aligned, share the countdown font +size, and use the same background blink effect. The upper-right clock is enlarged. Keep bottom messages short to fit at countdown size. The background trigger uses CSS `:has()`, so use a current browser for the timer display. -The shared size is `--cc-timer-size` and the flash color is `--cc-blink-red` at the +The shared size is `--cc-timer-size`, the clock size is `--cc-clock-size`, and +the flash color is `--cc-blink-red` at the top of the stylesheet. After deploying, reload the timer browser view. Ontime stores projects, uploads, logs, crash data, its database, and volatile