mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
feat(panel): refine quota reservation estimator, tier 5x/20x badge, conditional argon_weekly slot, and chart markers
This commit is contained in:
+72
-15
@@ -2263,13 +2263,23 @@ html[data-standalone="true"] .app-shell {
|
||||
.progress-fill-reserved {
|
||||
height: 100%;
|
||||
width: var(--reserved-w, 0%);
|
||||
background: var(--quota-reserved);
|
||||
transition: width var(--dur-normal) var(--ease-fast);
|
||||
background: repeating-linear-gradient(
|
||||
-45deg,
|
||||
color-mix(in srgb, var(--quota-reserved) 72%, transparent) 0 2px,
|
||||
color-mix(in srgb, var(--quota-reserved) 26%, transparent) 2px 5px
|
||||
);
|
||||
transition:
|
||||
width var(--dur-normal) var(--ease-fast),
|
||||
margin-left var(--dur-fast) var(--ease-fast);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.progress-fill-reserved.is-active {
|
||||
min-width: 3px;
|
||||
min-width: 5px;
|
||||
}
|
||||
|
||||
.progress-fill-reserved.is-active.has-sep {
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
.quota-reserved-pct {
|
||||
@@ -2277,6 +2287,47 @@ html[data-standalone="true"] .app-shell {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.quota-reserve-legend {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-top: 2px;
|
||||
padding-top: 2px;
|
||||
font-size: var(--fs-xs);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.quota-reserve-legend[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.quota-legend-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.quota-legend-line {
|
||||
display: inline-block;
|
||||
width: 14px;
|
||||
height: 2px;
|
||||
border-radius: 1px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quota-legend-line.is-actual {
|
||||
background: var(--accent-primary);
|
||||
}
|
||||
|
||||
.quota-legend-line.is-reserved {
|
||||
background: repeating-linear-gradient(
|
||||
90deg,
|
||||
var(--quota-reserved) 0 4px,
|
||||
transparent 4px 6.5px
|
||||
);
|
||||
}
|
||||
|
||||
/* --- 4. 上下文双列图例网格 (Context 10-Channel Legend Grid) --- */
|
||||
.ctx-legend-grid {
|
||||
display: grid;
|
||||
@@ -4683,18 +4734,29 @@ html[data-standalone="true"] .app-shell {
|
||||
stroke: var(--metric-danger);
|
||||
}
|
||||
|
||||
.sstep-anomaly-dot,
|
||||
.sstep-scatter-dot.is-anomaly {
|
||||
fill: var(--surface-panel);
|
||||
fill-opacity: 1;
|
||||
.sstep-anomaly-dot {
|
||||
stroke: var(--metric-warn);
|
||||
stroke-width: 1.6;
|
||||
stroke-width: 1.5;
|
||||
stroke-opacity: 0.82;
|
||||
stroke-linecap: round;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.sstep-anomaly-dot.is-danger,
|
||||
.sstep-scatter-dot.is-anomaly.is-danger {
|
||||
.sstep-anomaly-dot.is-danger {
|
||||
stroke: var(--metric-danger);
|
||||
stroke-opacity: 0.92;
|
||||
}
|
||||
|
||||
.sstep-scatter-dot.is-anomaly {
|
||||
fill: var(--metric-warn);
|
||||
fill-opacity: 0.88;
|
||||
stroke: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.sstep-scatter-dot.is-anomaly.is-danger {
|
||||
fill: var(--metric-danger);
|
||||
fill-opacity: 0.92;
|
||||
}
|
||||
|
||||
.trend-tip-anomaly {
|
||||
@@ -8486,11 +8548,6 @@ html[data-standalone="true"][data-modern-ui="true"] .app-shell {
|
||||
margin: 4px 2px 2px;
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .sstep-anomaly-dot,
|
||||
[data-modern-ui="true"] .sstep-scatter-dot.is-anomaly {
|
||||
fill: var(--modern-surface-card);
|
||||
}
|
||||
|
||||
/* --- 6. 设置表单、折叠面板、槽位排序与输入控件去边框 --- */
|
||||
[data-modern-ui="true"] .collapsible-body,
|
||||
[data-modern-ui="true"] .settings-action-block + .settings-action-block,
|
||||
|
||||
Reference in New Issue
Block a user