mirror of
https://github.com/LORDBABUINO/stealth.git
synced 2026-04-29 08:59:59 -07:00
Feat: scaffold React frontend with Vite and Stealth theme
Three-screen state machine (input → loading → report) for analyzing Bitcoin wallet descriptor privacy. Includes mock UTXO data with ADDRESS_REUSE, DUST_SPEND, CONSOLIDATION, and CIOH vulnerability types.
This commit is contained in:
53
frontend/src/components/VulnerabilityBadge.module.css
Normal file
53
frontend/src/components/VulnerabilityBadge.module.css
Normal file
@@ -0,0 +1,53 @@
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 3px 10px;
|
||||
border-radius: 20px;
|
||||
font-family: var(--font-ui);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.high {
|
||||
background: var(--danger-dim);
|
||||
color: var(--danger);
|
||||
border: 1px solid rgba(255, 77, 109, 0.3);
|
||||
}
|
||||
|
||||
.high .dot {
|
||||
background: var(--danger);
|
||||
box-shadow: 0 0 4px var(--danger);
|
||||
}
|
||||
|
||||
.medium {
|
||||
background: var(--warning-dim);
|
||||
color: var(--warning);
|
||||
border: 1px solid rgba(244, 162, 97, 0.3);
|
||||
}
|
||||
|
||||
.medium .dot {
|
||||
background: var(--warning);
|
||||
box-shadow: 0 0 4px var(--warning);
|
||||
}
|
||||
|
||||
.low {
|
||||
background: var(--safe-dim);
|
||||
color: var(--safe);
|
||||
border: 1px solid rgba(46, 196, 182, 0.3);
|
||||
}
|
||||
|
||||
.low .dot {
|
||||
background: var(--safe);
|
||||
box-shadow: 0 0 4px var(--safe);
|
||||
}
|
||||
Reference in New Issue
Block a user