mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
fix(panel): refine context risk warning layout and prevent settings header status overlap
- Collapse locked context controls out of flow so the initial risk notice fits cleanly without extra vertical void or blur bleed, and soften the Modern UI notice and danger-confirm button surfaces - Lock settings panel header titles to flex: 0 0 auto and single-line truncate long status feedback (such as exported JSON paths) with hover tooltips
This commit is contained in:
@@ -668,6 +668,21 @@ html[data-standalone="true"][data-modern-ui="true"] .app-shell {
|
||||
border: none;
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .ctx-risk-mask {
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--metric-warn) 8%, transparent);
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .btn-danger-confirm {
|
||||
border: none !important;
|
||||
background: color-mix(in srgb, var(--metric-danger) 14%, transparent) !important;
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .btn-danger-confirm:hover:not(:disabled) {
|
||||
border: none !important;
|
||||
background: color-mix(in srgb, var(--metric-danger) 22%, transparent) !important;
|
||||
}
|
||||
|
||||
[data-modern-ui="true"] .number-input,
|
||||
[data-modern-ui="true"] .dt-trigger,
|
||||
[data-modern-ui="true"] .dt-mini-step,
|
||||
|
||||
Reference in New Issue
Block a user