Spsa panel #12
No files matched your search
@@ -43,17 +43,34 @@
|
||||
#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 ---------- */
|
||||
|
||||
/* 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
|
||||
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 {
|
||||
max-height: min(60vh, 540px);
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-width: thin;
|
||||
margin-left: -4px;
|
||||
margin-left: 12px;
|
||||
padding-left: 4px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
@@ -306,8 +306,8 @@
|
||||
</details>
|
||||
{% endif %}
|
||||
|
||||
<div id="results" class="card">
|
||||
<header class="card-head"><h2 class="card-title">Results by Machine</h2></header>
|
||||
{% 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>{% endif %}
|
||||
<table class="stripes wrappable">
|
||||
<tr class="table-header">
|
||||
<th>#</th>
|
||||
@@ -336,7 +336,7 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% if type == "TUNE" %}</details>{% else %}</div>{% endif %}
|
||||
{% if type == "TUNE" %}</div><!-- /tune-main -->{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user