mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
feat(panel): unify token breakdown order and flatten tooltip cards
This commit is contained in:
@@ -469,12 +469,9 @@ html[data-standalone="true"][data-modern-ui="true"] .app-shell {
|
||||
border: none;
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .trend-tip-sub {
|
||||
background: var(--modern-surface-subtle);
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .trend-tip-sub,
|
||||
[data-modern-ui="true"] .trend-tip-cost {
|
||||
background: var(--modern-surface-subtle);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .cons-pop-models {
|
||||
|
||||
@@ -403,13 +403,13 @@
|
||||
}
|
||||
|
||||
.trend-tip-cost {
|
||||
font-size: var(--fs-sm);
|
||||
font-size: var(--fs-md);
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
padding: 2px 7px;
|
||||
border-radius: var(--radius-xs);
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
color: var(--text-primary);
|
||||
background: color-mix(in srgb, var(--text-primary) 6%, transparent);
|
||||
background: transparent;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -419,10 +419,10 @@
|
||||
}
|
||||
|
||||
.trend-tip-sub {
|
||||
padding: 5px 8px;
|
||||
padding: 2px 0;
|
||||
border: none;
|
||||
border-radius: var(--radius-xs);
|
||||
background: color-mix(in srgb, var(--text-primary) 4.2%, transparent);
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
font-size: var(--fs-xs);
|
||||
line-height: 1.3;
|
||||
color: var(--text-secondary);
|
||||
@@ -438,8 +438,8 @@
|
||||
.trend-tip-sub.is-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
padding: 6px 8px;
|
||||
gap: 10px;
|
||||
padding: 2px 0;
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
}
|
||||
@@ -881,7 +881,7 @@
|
||||
|
||||
.trend-tip-sub:not([hidden]) + .cons-pop-models {
|
||||
border-top: none;
|
||||
padding-top: 1px;
|
||||
padding-top: 2px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1093,17 +1093,27 @@
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 2px 10px;
|
||||
font-size: var(--fs-sm);
|
||||
gap: 4px 10px;
|
||||
font-size: var(--fs-md);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.smodel-perf {
|
||||
color: var(--text-secondary);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.smodel-split {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 10px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.smodel-split strong {
|
||||
color: var(--text-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.smodel-perf {
|
||||
margin-left: auto;
|
||||
font-size: var(--fs-sm);
|
||||
color: var(--text-muted);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user