diff --git a/app/main.py b/app/main.py index a7751dc..e64ece4 100644 --- a/app/main.py +++ b/app/main.py @@ -325,6 +325,18 @@ PAGE_HTML = """ .model-sub { color: var(--muted); font-size: 12px; } .model-spend { font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; } + /* Usage mode switch */ + .usage-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } + .usage-header h2 { margin-bottom: 0; } + .mode-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; } + .mode-btn { + font-family: inherit; cursor: pointer; border: none; background: #fff; color: var(--muted); + font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 0; + } + .mode-btn.active { background: var(--green-deep); color: #fff; } + .docs-link { display: inline-block; margin-top: 14px; color: var(--green-deep); font-size: 13px; font-weight: 600; text-decoration: none; } + .docs-link:hover { text-decoration: underline; } + /* Leaderboard */ .board-row { display: flex; align-items: flex-start; gap: 14px; @@ -338,6 +350,8 @@ PAGE_HTML = """ } .board-row:first-child .board-rank { background: var(--green-deep); color: #fff; } .board-main { flex: 1; min-width: 0; } + .board-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; } + .board-cost { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; } .board-name { font-weight: 600; font-size: 13px; margin-bottom: 5px; } .board-bar { height: 6px; background: #eef0ea; border-radius: 4px; overflow: hidden; } .board-fill { height: 100%; background: var(--green-mid); border-radius: 4px; } @@ -468,27 +482,36 @@ PAGE_HTML = """
Which models members are using most, across the whole co-op. A starting point when choosing one.
- +