Finalisation dashboard EcoCharge dynamique
This commit is contained in:
@@ -17,6 +17,15 @@ body {
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* Les 4 cartes principales gardent une hauteur cohérente (alignement propre) */
|
||||
.row.g-4 > [class*="col-"] {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.row.g-4 > [class*="col-"] > .card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card-meteo {
|
||||
border-top: 4px solid #38bdf8;
|
||||
}
|
||||
@@ -38,6 +47,8 @@ body {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
display: inline-block;
|
||||
background-color: #64748b;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.pulse-online {
|
||||
@@ -81,44 +92,55 @@ body {
|
||||
}
|
||||
|
||||
/* =========================================
|
||||
WIDGET BATTERIE (Code de l'Étudiant 2)
|
||||
BLOC ÉTAT DU SYSTÈME
|
||||
========================================= */
|
||||
.battery-circle {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: conic-gradient(#34d399 0deg, #0f172a 0deg);
|
||||
box-shadow: 0 0 15px rgba(52, 211, 153, 0.3), inset 0 0 15px rgba(52, 211, 153, 0.2);
|
||||
transition: background 0.5s ease, box-shadow 0.5s ease;
|
||||
.system-status-item {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-radius: 10px;
|
||||
padding: 10px 14px;
|
||||
}
|
||||
|
||||
.battery-inner {
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
.sys-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: #1e293b;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.bat-percent {
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
color: #e0f2fe;
|
||||
text-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
|
||||
line-height: 1;
|
||||
.sys-label {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #e2e8f0;
|
||||
}
|
||||
|
||||
.sys-badge {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
border-radius: 20px;
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: #94a3b8;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.sys-badge-ok {
|
||||
background: rgba(52, 211, 153, 0.12);
|
||||
color: #34d399;
|
||||
border-color: rgba(52, 211, 153, 0.2);
|
||||
}
|
||||
|
||||
.sys-badge-err {
|
||||
background: rgba(239, 68, 68, 0.12);
|
||||
color: #ef4444;
|
||||
border-color: rgba(239, 68, 68, 0.2);
|
||||
}
|
||||
|
||||
/* =========================================
|
||||
WIDGET SOLAIRE (Code de l'Étudiant 1 adapté et corrigé)
|
||||
WIDGET SOLAIRE (renommé Mesures Électriques)
|
||||
========================================= */
|
||||
|
||||
/* CORRECTION ICI : La boîte est maintenant carrée et ne déborde plus */
|
||||
.gauge-container {
|
||||
position: relative;
|
||||
width: 160px;
|
||||
@@ -155,7 +177,6 @@ body {
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
/* CORRECTION ICI : Le texte est parfaitement centré au milieu du cercle */
|
||||
.gauge-value {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
||||
Reference in New Issue
Block a user