EASI-Leaderboard / src /assets /css /backend-status-indicator.css
yangzhitao
feat: enhance backend status indicator and refactor app structure
ae66b87
raw
history blame contribute delete
847 Bytes
/* Backend status indicator - breathing light animation */
#backend-status-indicator {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
}
.backend-status-light {
width: 12px;
height: 12px;
border-radius: 75%;
display: inline-block;
animation: breathing 2s ease-in-out infinite;
}
.backend-status-light.undefined {
background-color: #6b7280;
box-shadow: 0 0 10px rgba(107, 114, 128, 0.5);
}
.backend-status-light.healthy {
background-color: #10b981;
box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
.backend-status-light.unhealthy {
background-color: #ef4444;
box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}
@keyframes breathing {
0%, 100% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.6;
transform: scale(1.1);
}
}