pokedex-web / frontend /src /components /ConfidenceBar.module.css
gpimentel's picture
feat: initialize Pokedex Web project with FastAPI backend and React frontend
f2bfbb5
Raw
History Blame Contribute Delete
957 Bytes
.container {
width: 100%;
margin: 1.5rem 0;
}
.labelRow {
display: flex;
justify-content: space-between;
align-items: flex-end;
margin-bottom: 8px;
}
.label {
font-size: 0.9rem;
color: var(--text-secondary);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.value {
font-size: 1.1rem;
font-weight: 700;
color: var(--text-primary);
}
.track {
width: 100%;
height: 8px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 4px;
overflow: hidden;
}
.fill {
height: 100%;
border-radius: 4px;
transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
box-shadow: 0 0 10px currentColor;
}
.high {
background: linear-gradient(90deg, #4ade80, #22c55e);
color: rgba(34, 197, 94, 0.5);
}
.medium {
background: linear-gradient(90deg, #facc15, #eab308);
color: rgba(234, 179, 8, 0.5);
}
.low {
background: linear-gradient(90deg, #f87171, #ef4444);
color: rgba(239, 68, 68, 0.5);
}