show sync button for admin
This commit is contained in:
@@ -14,12 +14,15 @@ The new design (styles.css, pure CSS, zero JS, no `filter` — A11):
|
||||
- grid (body::before): a STATIC texture — the drift animation and its
|
||||
keyframes are deleted (the 0.73px/s sub-pixel drift rasterizes as a
|
||||
once-per-second down-right jitter);
|
||||
- three independent soft glow spots — body::after (phase-08 indigo,
|
||||
26s), html::before (phase-08 cyan, 34s, -12s delay), html::after
|
||||
(third indigo, 42s, -23s delay) — each on its own SLOW opacity-only
|
||||
fade (the whole-layer breathe keyframes are deleted), so the total
|
||||
light fluxuates smoothly and irregularly; LCM(26, 34, 42) = 4641s,
|
||||
so the composite pattern never repeats within a viewing session.
|
||||
- three independent soft glow spots — body::after (26s), html::before
|
||||
(34s, -12s delay), html::after (42s, -23s delay) — each on its own
|
||||
SLOW opacity-only fade (the whole-layer breathe keyframes are
|
||||
deleted), so the total light fluxuates smoothly and irregularly;
|
||||
LCM(26, 34, 42) = 4641s, so the composite pattern never repeats
|
||||
within a viewing session. The 2026-08-28 rebrand recolored the
|
||||
phase-08 indigo/cyan spots to the warm dark-red theme palette
|
||||
(rose / orange / red) and the grid lines to the warm line tone —
|
||||
structure (sizes, positions, alphas, periods) unchanged.
|
||||
|
||||
This file keeps the generic layer-plumbing pins (the no-occlusion
|
||||
contract, fixed / z-index -1 / pointer-events none — now across all
|
||||
@@ -153,17 +156,20 @@ def test_grid_is_static_no_drift() -> None:
|
||||
|
||||
|
||||
def test_grid_cells_and_line_contrast() -> None:
|
||||
"""44px cells with 1px lines at the phase-22 fixed 60% --line alpha
|
||||
(the static texture keeps the values that made the grid readable —
|
||||
see tests/unit/test_background_no_motion.py for the phase-25 story)."""
|
||||
"""44px cells with 1px lines at the phase-22 fixed 60% line alpha,
|
||||
in the rebrand warm line tone (2026-08-28; the phase-22 indigo
|
||||
value rgb(38 48 74 / 0.6) was recolored with the dark-red theme)
|
||||
— the static texture keeps the values that made the grid readable
|
||||
(see tests/unit/test_background_no_motion.py for the phase-25
|
||||
story)."""
|
||||
block = _grid_rule(_css())
|
||||
assert "background-size: 44px 44px" in block
|
||||
line = "linear-gradient(to right, rgb(38 48 74 / 0.6) 1px, transparent 1px)"
|
||||
assert line in block, "grid must keep horizontal 1px lines at 60% --line"
|
||||
line = "linear-gradient(to right, rgb(74 38 38 / 0.6) 1px, transparent 1px)"
|
||||
assert line in block, "grid must keep horizontal 1px lines at 60% line alpha"
|
||||
assert (
|
||||
"linear-gradient(to bottom, rgb(38 48 74 / 0.6) 1px, transparent 1px)"
|
||||
"linear-gradient(to bottom, rgb(74 38 38 / 0.6) 1px, transparent 1px)"
|
||||
in block
|
||||
), "grid must keep vertical 1px lines at 60% --line"
|
||||
), "grid must keep vertical 1px lines at 60% line alpha"
|
||||
assert "0.35" not in block, "the too-faint 35% line alpha must not return"
|
||||
|
||||
|
||||
@@ -216,21 +222,23 @@ def test_glow_keyframes_are_opacity_only() -> None:
|
||||
)
|
||||
|
||||
|
||||
def test_glow_spots_keep_phase08_colors_and_add_a_third() -> None:
|
||||
"""The phase-08 spots keep their colors, radii and positions — the
|
||||
indigo top-left stays on body::after, the cyan bottom-right moves to
|
||||
html::before — and a third soft indigo spot (52rem at 14% 86%)
|
||||
joins on html::after. All spots fade to transparent at 62%."""
|
||||
def test_glow_spots_use_the_rebrand_warm_palette() -> None:
|
||||
"""The three spots keep their radii and positions from the phase-25
|
||||
layout (rose top-left on body::after, orange bottom-right on
|
||||
html::before, red bottom-left 52rem at 14% 86% on html::after) but
|
||||
wear the 2026-08-28 rebrand palette (warm dark-red theme; the
|
||||
phase-08 indigo/cyan values are gone). All spots fade to
|
||||
transparent at 62%."""
|
||||
assert (
|
||||
"radial-gradient(circle 56rem at 12% 8%, rgb(109 120 242 / 0.14), "
|
||||
"radial-gradient(circle 56rem at 12% 8%, rgb(244 63 94 / 0.10), "
|
||||
"transparent 62%)" in _glow_rule(_css())
|
||||
)
|
||||
assert (
|
||||
"radial-gradient(circle 60rem at 88% 92%, rgb(34 211 238 / 0.10), "
|
||||
"radial-gradient(circle 60rem at 88% 92%, rgb(251 146 60 / 0.08), "
|
||||
"transparent 62%)" in _rule_block(_css(), "html::before")
|
||||
)
|
||||
assert (
|
||||
"radial-gradient(circle 52rem at 14% 86%, rgb(109 120 242 / 0.09), "
|
||||
"radial-gradient(circle 52rem at 14% 86%, rgb(239 68 68 / 0.08), "
|
||||
"transparent 62%)" in _rule_block(_css(), "html::after")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user