Design refresh: new theme, Ctrl+K quick search, live updates #11

Merged
claude merged 22 commits from design-refresh into master 2026-10-11 17:52:36 +02:00
2 changed files with 44 additions and 1 deletions
Showing only changes of commit 7718d593f4 - Show all commits

No files matched your search

+43
View File
@@ -233,3 +233,46 @@
color: var(--color-font1);
font-weight: 500;
}
/* ==========================================================================
Result cells
A filled cell is a verdict: green passed, blue passed as a non-regression
test, amber and red failed. A cell without a fill has no verdict yet, so it
is only outlined, in warm grey that cannot be mistaken for the blue.
A stopped test keeps the outline and gains diagonal hatching, like an entry
that has been struck out.
========================================================================== */
:root {
--hatch: rgba(237, 234, 227, 0.14);
}
/* Blue: a stronger fill, so it holds its own beside the green */
#content .statblock-blue {
background-color: rgba(76, 141, 255, 0.2);
color: #A9CBFF;
}
/* No verdict yet: running, pending, awaiting artifacts, stopped.
.statblock- is the empty colour name the template renders for them, which
also covers result cells that carry no state class. */
#content .statblock.statblock-,
#content .statblock.state-running,
#content .statblock.state-pending,
#content .statblock.state-awaiting,
#content .statblock.state-stopped {
background-color: transparent;
box-shadow: inset 0 0 0 1px var(--line-strong);
color: var(--color-font2);
}
/* Nothing has been played yet */
#content .statblock.state-pending,
#content .statblock.state-awaiting {
color: var(--muted);
}
#content .statblock.state-stopped {
background-image: repeating-linear-gradient(135deg, transparent 0, transparent 6px, var(--hatch) 6px, var(--hatch) 7.5px, transparent 7.5px, transparent 9px);
}
+1 -1
View File
@@ -23,4 +23,4 @@
{% if test|test_is_time_odds %}<span class="flag flag-time" title="Time odds">time odds</span>{% endif %}
{% if test|test_is_smp_odds %}<span class="flag flag-smp" title="Thread odds">thread odds</span>{% endif %}
</td>
<td class='statblock statblock-{{test|testResultColour}} col-result'><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>
<td class='statblock statblock-{{test|testResultColour}} state-{{ test|test_status }} col-result'><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>