XcodeAddy commited on
Commit
3b3d577
·
1 Parent(s): 04ebe70

Refine live snapshot cards

Browse files
Files changed (2) hide show
  1. ui/assets/styles.css +34 -0
  2. ui/index.html +6 -4
ui/assets/styles.css CHANGED
@@ -293,7 +293,18 @@ main {
293
  }
294
 
295
  .hero-panel .stat-card {
 
 
296
  min-height: 142px;
 
 
 
 
 
 
 
 
 
297
  }
298
 
299
  .feature-strip {
@@ -389,6 +400,29 @@ main {
389
  line-height: 1;
390
  }
391
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  .feature-card {
393
  min-height: 220px;
394
  }
 
293
  }
294
 
295
  .hero-panel .stat-card {
296
+ display: grid;
297
+ align-content: space-between;
298
  min-height: 142px;
299
+ min-width: 0;
300
+ overflow: hidden;
301
+ background:
302
+ linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 247, 241, 0.84));
303
+ }
304
+
305
+ .hero-panel .stat-card-text {
306
+ background:
307
+ linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(238, 250, 247, 0.9));
308
  }
309
 
310
  .feature-strip {
 
400
  line-height: 1;
401
  }
402
 
403
+ .hero-panel .stat-value {
404
+ white-space: nowrap;
405
+ }
406
+
407
+ .hero-panel .stat-value-text {
408
+ font-size: clamp(1.55rem, 2.8vw, 2.35rem);
409
+ letter-spacing: -0.04em;
410
+ }
411
+
412
+ .stat-note {
413
+ display: inline-flex;
414
+ width: fit-content;
415
+ margin-top: 14px;
416
+ padding: 7px 10px;
417
+ border-radius: 999px;
418
+ background: rgba(19, 35, 44, 0.06);
419
+ color: var(--muted);
420
+ font-size: 0.78rem;
421
+ font-weight: 700;
422
+ letter-spacing: 0.06em;
423
+ text-transform: uppercase;
424
+ }
425
+
426
  .feature-card {
427
  min-height: 220px;
428
  }
ui/index.html CHANGED
@@ -48,13 +48,15 @@
48
  <span class="stat-label">Task Families</span>
49
  <strong class="stat-value" data-task-count>--</strong>
50
  </article>
51
- <article class="stat-card">
52
  <span class="stat-label">API Mode</span>
53
- <strong class="stat-value">FastAPI</strong>
 
54
  </article>
55
- <article class="stat-card">
56
  <span class="stat-label">Episode Shape</span>
57
- <strong class="stat-value">Single Step</strong>
 
58
  </article>
59
  </div>
60
  </div>
 
48
  <span class="stat-label">Task Families</span>
49
  <strong class="stat-value" data-task-count>--</strong>
50
  </article>
51
+ <article class="stat-card stat-card-text">
52
  <span class="stat-label">API Mode</span>
53
+ <strong class="stat-value stat-value-text">FastAPI</strong>
54
+ <span class="stat-note">HTTP API</span>
55
  </article>
56
+ <article class="stat-card stat-card-text">
57
  <span class="stat-label">Episode Shape</span>
58
+ <strong class="stat-value stat-value-text">1 Step</strong>
59
+ <span class="stat-note">reset -> step</span>
60
  </article>
61
  </div>
62
  </div>