Spsa panel #12

Merged
rektdie merged 7 commits from spsa-panel into master 2026-10-11 21:31:10 +02:00
2 changed files with 22 additions and 5 deletions
Showing only changes of commit 0167e19057 - Show all commits

No files matched your search

+19 -2
View File
@@ -43,17 +43,34 @@
#content .tune-page > .tune-side { grid-column: 1; grid-row: 2; } #content .tune-page > .tune-side { grid-column: 1; grid-row: 2; }
} }
/* ---------- Spacing inside the cards ---------- */
/* .card has no padding of its own: only its header is padded, so whatever
follows has to keep clear of the border by itself. */
#content .spsa-panel { padding-bottom: 16px; }
#content .spsa-panel > :not(.card-head) {
margin-left: 16px;
margin-right: 16px;
}
#content .spsa-panel > .card-head + * { margin-top: 14px; }
/* The Modify button ends the Actions card and used to sit 4px from its edge */
#content .workload-container #actions { padding-bottom: 16px; }
#content .workload-container #actions .llr-history-panel { margin-bottom: 0; }
/* ---------- The parameter list scrolls inside the panel ---------- */ /* ---------- The parameter list scrolls inside the panel ---------- */
/* With dozens of parameters the list ran the page down to the results table. /* With dozens of parameters the list ran the page down to the results table.
It now keeps to a bounded height; the filter and sort bar above it stays in It now keeps to a bounded height; the filter and sort bar above it stays in
view. The small negative margin keeps focus rings from being clipped. */ view. The left padding keeps focus rings from being clipped. */
#content .spsa-panel .spsa-rows { #content .spsa-panel .spsa-rows {
max-height: min(60vh, 540px); max-height: min(60vh, 540px);
overflow-y: auto; overflow-y: auto;
overscroll-behavior: contain; overscroll-behavior: contain;
scrollbar-width: thin; scrollbar-width: thin;
margin-left: -4px; margin-left: 12px;
padding-left: 4px; padding-left: 4px;
padding-right: 8px; padding-right: 8px;
} }
+3 -3
View File
@@ -306,8 +306,8 @@
</details> </details>
{% endif %} {% endif %}
<div id="results" class="card"> {% if type == "TUNE" %}<details id="results" class="card config-fold"><summary><span class="card-title">Results by Machine</span><span class="config-hint">{{ results|length }} machine{{ results|length|pluralize }}, games and results</span></summary>{% else %}<div id="results" class="card">
<header class="card-head"><h2 class="card-title">Results by Machine</h2></header> <header class="card-head"><h2 class="card-title">Results by Machine</h2></header>{% endif %}
<table class="stripes wrappable"> <table class="stripes wrappable">
<tr class="table-header"> <tr class="table-header">
<th>#</th> <th>#</th>
@@ -336,7 +336,7 @@
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
</div> {% if type == "TUNE" %}</details>{% else %}</div>{% endif %}
{% if type == "TUNE" %}</div><!-- /tune-main -->{% endif %} {% if type == "TUNE" %}</div><!-- /tune-main -->{% endif %}
</div> </div>