Refine Ontime clock size and bottom message alignment
Config Central CI Config Central passed all CI integrity checks.
Beffroi/config-central/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-10-19 15:46:03 +02:00
parent 575f6e4b40
commit 00afa8fa47
3 changed files with 23 additions and 4 deletions

View File

@ -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.

View File

@ -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,

View File

@ -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