diff --git a/OpenBench/static/workload-refresh.css b/OpenBench/static/workload-refresh.css new file mode 100644 index 0000000..2d97c41 --- /dev/null +++ b/OpenBench/static/workload-refresh.css @@ -0,0 +1,42 @@ +/* Workload page additions for the design refresh. Loaded after workload.css. */ + +.result-hero { + grid-column: 1 / -1; + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 24px; + padding: 18px 20px; + background: var(--color2); + border: 1px solid var(--line); + border-radius: var(--radius); +} + +.result-hero .statblock { + padding: 12px 18px; + border-radius: var(--radius); + font-family: var(--font-mono); + font-size: 15px; + line-height: 1.5; + white-space: nowrap; +} + +.result-hero .result-hero-gauge { + flex: 1 1 260px; + min-width: 220px; +} + +.result-hero .llr { + margin-top: 0; + height: 8px; +} + +.result-hero .llr-scale { + font-size: 12px; +} + +.result-hero-note { + margin: 8px 0 0; + color: var(--muted); + font-size: 13px; +} diff --git a/Templates/OpenBench/workload.html b/Templates/OpenBench/workload.html index e00dd48..ba0d587 100644 --- a/Templates/OpenBench/workload.html +++ b/Templates/OpenBench/workload.html @@ -5,6 +5,7 @@ {% block scripts %} + {% endblock %} @@ -15,6 +16,24 @@