Stat-Box: gruener Border wenn at-scale (analog Hover-Akzent)
User: wenn die 2-stoeckige Massstab-Pille gruen ist (atScale=true), soll auch der Border gruen sein — konsistent mit den anderen Hover/Active- Akzenten in der Topbar. Border: '1px solid border' → '1px solid (accent wenn atScale, sonst border)'. Transition fuer smooth Wechsel beim Snap auf 100%. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -705,12 +705,13 @@ export default function OberleisteApp() {
|
||||
width: STAT_W, height: BAR_H * 2 + 4,
|
||||
background: atScale ? 'var(--accent-dim)' : 'var(--bg-input)',
|
||||
color: atScale ? 'var(--accent-light)' : 'var(--text-primary)',
|
||||
border: '1px solid var(--border)',
|
||||
border: '1px solid ' + (atScale ? 'var(--accent)' : 'var(--border)'),
|
||||
borderRadius: 14,
|
||||
overflow: 'hidden',
|
||||
fontFamily: 'DM Mono, monospace', fontSize: 11,
|
||||
fontWeight: atScale ? 600 : 500,
|
||||
flexShrink: 0,
|
||||
transition: 'border-color 0.15s, background 0.15s',
|
||||
}}>
|
||||
<div style={{
|
||||
height: BAR_H,
|
||||
|
||||
Reference in New Issue
Block a user