Show the workspace credit balance in the topbar
Read from GET /organizations/me, refreshed after every action and every 30 seconds, since agents and schedules spend credits in the background. The date is dropped from the topbar, and its items wrap on phones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -79,7 +79,9 @@ input::placeholder,textarea::placeholder{color:#98a2b3}
|
||||
.breadcrumb span{color:#d0d5dd}
|
||||
.breadcrumb b{color:var(--ink);font-weight:600}
|
||||
.topbar-right{font-size:13px;color:var(--muted);gap:16px}
|
||||
.demo-indicator{height:30px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12.5px;font-weight:550;color:#344054}
|
||||
.demo-indicator{white-space:nowrap;height:30px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12.5px;font-weight:550;color:#344054}
|
||||
.credit-pill{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;background:var(--light);color:var(--blue-dark);font-size:12.5px;font-weight:700;white-space:nowrap}
|
||||
.credit-pill svg{width:15px;height:15px}
|
||||
.demo-indicator i{width:7px;height:7px;background:#059669;box-shadow:0 0 0 3px #d1fae5}
|
||||
.lang-switch{border:0;border-radius:999px;background:#f2f4f7;padding:3px}
|
||||
.lang-switch button{border-radius:999px;padding:5px 11px;font-size:12px;color:#475467}
|
||||
@@ -227,8 +229,7 @@ dialog::backdrop{background:rgba(16,24,40,.45);backdrop-filter:blur(4px)}
|
||||
.sidebar nav :is(button,a).active::before{display:none}
|
||||
.workspace-main{margin:0;width:100%}
|
||||
.topbar{position:static;height:auto;min-height:56px;padding:10px 16px;flex-wrap:wrap}
|
||||
.topbar-right{gap:10px}
|
||||
.topbar-right>span:not(.demo-indicator){display:none}
|
||||
.topbar-right{gap:8px 10px;flex-wrap:wrap}
|
||||
.demo-strip{margin:16px 16px 0;border-radius:16px;font-size:12px}
|
||||
.app main{padding:22px 16px}
|
||||
.app-footer{margin-left:16px;margin-right:16px}
|
||||
|
||||
Reference in New Issue
Block a user