v2026.5.41 — Suppression des hardcodes runtime + UX admin + thème unifié
This commit is contained in:
+40
-1
@@ -896,6 +896,43 @@ html.view-horizontal .timeline-noon {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
v2026.5.41 : Conflit absence/réservation × intervention.
|
||||
Quand une intervention est planifiée pendant qu'un tech est marqué
|
||||
"absent" (toute la journée ou demi-journée) ou qu'il a une réservation
|
||||
sur le même créneau, on signale visuellement le conflit en peignant la
|
||||
carte de l'intervention en rouge plein. S'applique à la row classique
|
||||
(.intervention-v2) ET à la mini-card (.iv-mini-card) en vue horizontale.
|
||||
========================================================================== */
|
||||
.intervention-v2.intervention-conflict-absence,
|
||||
.iv-mini-card.intervention-conflict-absence {
|
||||
background: #b03030 !important;
|
||||
color: #ffffff !important;
|
||||
border-color: #7a1f1f !important;
|
||||
}
|
||||
.intervention-v2.intervention-conflict-absence::before {
|
||||
/* Renforce la barre gauche pour rester cohérent avec le rouge plein. */
|
||||
background: #7a1f1f !important;
|
||||
}
|
||||
.intervention-v2.intervention-conflict-absence .intervention-dot,
|
||||
.intervention-v2.intervention-conflict-absence .iv-status-check,
|
||||
.intervention-v2.intervention-conflict-absence a,
|
||||
.iv-mini-card.intervention-conflict-absence .iv-mini-card-bar,
|
||||
.iv-mini-card.intervention-conflict-absence .iv-mini-time-vertical,
|
||||
.iv-mini-card.intervention-conflict-absence .iv-mini-card-text {
|
||||
color: #ffffff !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
/* La barre couleur catégorie à gauche de la mini-card devient un blanc
|
||||
semi-transparent pour rester visible sur le rouge. */
|
||||
.iv-mini-card.intervention-conflict-absence .iv-mini-card-bar {
|
||||
background: rgba(255, 255, 255, 0.45) !important;
|
||||
}
|
||||
.intervention-v2.intervention-conflict-absence:hover,
|
||||
.iv-mini-card.intervention-conflict-absence:hover {
|
||||
background: #c44040 !important;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Interventions — layout v2 (heures verticales)
|
||||
========================================================================== */
|
||||
@@ -1482,7 +1519,9 @@ html.view-horizontal .timeline-noon {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
z-index: 200;
|
||||
/* v2026.5.41 : au-dessus du modal-overlay du panel admin (z-index 10000)
|
||||
pour que les toasts de feedback restent visibles avec le flou en arrière. */
|
||||
z-index: 11000;
|
||||
display: flex;
|
||||
flex-direction: column-reverse; /* les nouveaux en bas, les anciens au-dessus */
|
||||
gap: 8px;
|
||||
|
||||
Reference in New Issue
Block a user