Statut de connexion au serveur
This commit is contained in:
58
styles.css
58
styles.css
@@ -47,6 +47,64 @@ body {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
/* Indicateur de statut SignalR */
|
||||
.signalr-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
margin: 15px 0;
|
||||
padding: 10px;
|
||||
background: #f8f9fa;
|
||||
border-radius: 5px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.signalr-indicator {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background-color: #999;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
.signalr-indicator.connected {
|
||||
background-color: #4CAF50;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.signalr-indicator.connecting {
|
||||
background-color: #FFC107;
|
||||
animation: pulse 1s infinite;
|
||||
}
|
||||
|
||||
.signalr-indicator.disconnected,
|
||||
.signalr-indicator.error {
|
||||
background-color: #F44336;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.signalr-indicator.disabled {
|
||||
background-color: #999;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.5;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.signalr-text {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.login-container h2 {
|
||||
text-align: center;
|
||||
color: #666;
|
||||
|
||||
Reference in New Issue
Block a user