Version 4.2.1 — Démarrage série 4.2
This commit is contained in:
+230
-22
@@ -231,7 +231,12 @@ html, body {
|
||||
top: 56px;
|
||||
z-index: 9;
|
||||
height: 22px;
|
||||
background: var(--bg-subtle, rgba(128, 128, 128, 0.08));
|
||||
/* v4.1.17 : backdrop-blur sur toute la barre → ce qui défile derrière
|
||||
est légèrement flouté sur TOUTE la largeur. Pas d'opacité sombre
|
||||
ajoutée, transparence préservée. */
|
||||
background: rgba(128, 128, 128, 0.08);
|
||||
backdrop-filter: blur(3px);
|
||||
-webkit-backdrop-filter: blur(3px);
|
||||
border-bottom: 1px solid var(--border, rgba(128, 128, 128, 0.2));
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -258,10 +263,8 @@ html, body {
|
||||
color: #fff;
|
||||
pointer-events: none;
|
||||
letter-spacing: 0.3px;
|
||||
/* v4.1.14 : text-shadow multi-directionnel qui crée un halo sombre autour
|
||||
du texte. Lisible peu importe ce qui défile derrière (noms, icônes,
|
||||
fond gris ou barre verte). Aucun fond opaque → la transparence de la
|
||||
barre est totalement préservée. */
|
||||
/* v4.1.14/17 : text-shadow multi-directionnel (halo sombre autour du
|
||||
texte). Le backdrop-blur est sur toute la barre, plus besoin de pill. */
|
||||
text-shadow:
|
||||
0 0 2px rgba(0, 0, 0, 0.95),
|
||||
0 0 3px rgba(0, 0, 0, 0.85),
|
||||
@@ -269,6 +272,7 @@ html, body {
|
||||
0 -1px 2px rgba(0, 0, 0, 0.75),
|
||||
1px 0 2px rgba(0, 0, 0, 0.75),
|
||||
-1px 0 2px rgba(0, 0, 0, 0.75);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Navigation de date */
|
||||
@@ -759,9 +763,12 @@ html, body {
|
||||
display: grid;
|
||||
grid-template-columns: 4px 58px 1fr auto;
|
||||
grid-template-rows: auto auto;
|
||||
/* v4.1.17 : la ligne du bas (right) s'étend maintenant sur les 2 colonnes
|
||||
droite (right + status) pour que la signature aille vraiment jusqu'au
|
||||
bord droit. Le ✓ status est positionné en absolute par-dessus. */
|
||||
grid-template-areas:
|
||||
"dot time ref copy"
|
||||
"dot time right status";
|
||||
"dot time ref copy"
|
||||
"dot time right right";
|
||||
gap: 2px 10px;
|
||||
align-items: start;
|
||||
padding: 10px 12px 12px 8px;
|
||||
@@ -845,12 +852,17 @@ html, body {
|
||||
}
|
||||
|
||||
.iv-status-check {
|
||||
grid-area: status;
|
||||
align-self: center;
|
||||
/* v4.1.17 : absolute en bas à droite (la grid-area "status" a été
|
||||
fusionnée avec "right" pour étendre la signature jusqu'au bord). */
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--c-closed);
|
||||
padding-right: 6px;
|
||||
pointer-events: none;
|
||||
/* Au-dessus de la signature, mais discret */
|
||||
z-index: 1;
|
||||
}
|
||||
.intervention-v2.status-resolved .iv-status-check { color: var(--c-resolved); }
|
||||
|
||||
@@ -984,11 +996,13 @@ html, body {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
/* v4.1.14 : flex: 1 pour prendre tout l'espace disponible entre category
|
||||
et signature — pousse la signature au bord droit. min-width: 0 permet
|
||||
l'ellipsis sur les longues catégories. */
|
||||
flex: 1 1 auto;
|
||||
/* v4.1.15 : taille naturelle (pas de flex:1 qui étirait le texte et
|
||||
rendait la signature juste à côté). Sans flex, la catégorie reste à
|
||||
son contenu + justify-content:space-between pousse la signature à
|
||||
l'extrême droite du parent. */
|
||||
min-width: 0;
|
||||
flex: 0 1 auto;
|
||||
max-width: calc(100% - 70px);
|
||||
}
|
||||
.iv-signature {
|
||||
color: var(--text-faint);
|
||||
@@ -996,9 +1010,16 @@ html, body {
|
||||
font-family: var(--mono);
|
||||
flex-shrink: 0;
|
||||
letter-spacing: 0.02em;
|
||||
/* v4.1.14 : collée au bord droit, pas de padding-right parasite */
|
||||
text-align: right;
|
||||
/* v4.1.15/17 : margin-left: auto pour collage garanti à droite */
|
||||
margin-left: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* v4.1.17 : si statut clos/résolu, le ✓ est à droite en absolute → décaler
|
||||
la signature pour ne pas se chevaucher */
|
||||
.intervention-v2.status-closed .iv-signature,
|
||||
.intervention-v2.status-resolved .iv-signature {
|
||||
padding-right: 22px;
|
||||
}
|
||||
|
||||
/* Réservation (créneau bloqué par un coordinateur) */
|
||||
@@ -1045,7 +1066,7 @@ html, body {
|
||||
Tooltip
|
||||
========================================================================== */
|
||||
.tooltip {
|
||||
position: fixed;
|
||||
position: fixed !important;
|
||||
z-index: 100;
|
||||
max-width: 620px;
|
||||
max-height: calc(100vh - 40px);
|
||||
@@ -1061,20 +1082,22 @@ html, body {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.1s;
|
||||
/* v4.1.10 : empêcher la sélection par défaut (évite sélection accidentelle
|
||||
pendant qu'on bouge la souris). Ré-activé quand .pinned. */
|
||||
user-select: none;
|
||||
/* v4.2 : sélection de texte autorisée en permanence. Avant (v4.1.10) on
|
||||
bloquait par défaut et n'activait qu'en mode épinglé, mais c'était
|
||||
contre-productif — on veut pouvoir copier un numéro sans pin d'abord. */
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
}
|
||||
.tooltip.visible {
|
||||
opacity: 1;
|
||||
/* v4.1.10 : permet à la souris d'entrer dans la bulle pour la garder
|
||||
visible (persistance au hover) et, en mode pinned, pour sélectionner. */
|
||||
pointer-events: auto;
|
||||
/* v4.2 : curseur texte par défaut (pour signaler que c'est sélectionnable) */
|
||||
cursor: text;
|
||||
}
|
||||
.tooltip.pinned {
|
||||
/* v4.1.10 : bulle épinglée → curseur texte + sélection active */
|
||||
user-select: text;
|
||||
cursor: text;
|
||||
/* Bulle épinglée : bordure verte pour indiquer le mode */
|
||||
border-color: var(--c-accent, #3fb950);
|
||||
box-shadow: 0 0 0 2px rgba(63, 185, 80, 0.15), var(--shadow-hover);
|
||||
}
|
||||
@@ -1130,6 +1153,41 @@ html, body {
|
||||
background: rgba(63, 185, 80, 0.15);
|
||||
}
|
||||
|
||||
/* v4.1.15 : référence dans la bulle avec bouton copier inline */
|
||||
.tt-ref-cell {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.tt-ref-val {
|
||||
font-family: var(--mono, monospace);
|
||||
}
|
||||
.tt-copy-btn {
|
||||
background: transparent;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text-muted);
|
||||
width: 26px;
|
||||
height: 22px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
transition: background 0.12s, color 0.12s, border-color 0.12s;
|
||||
}
|
||||
.tt-copy-btn:hover {
|
||||
background: var(--bg-hover);
|
||||
color: var(--text);
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
.tt-copy-btn.copied {
|
||||
background: rgba(63, 185, 80, 0.2);
|
||||
border-color: #3fb950;
|
||||
color: #3fb950;
|
||||
}
|
||||
|
||||
.tooltip dl {
|
||||
margin: 0;
|
||||
display: grid;
|
||||
@@ -1245,3 +1303,153 @@ html, body {
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
/* ─────────────────────────────────────────────────────────────────────────
|
||||
v4.1.20 : Modal central de confirmation (vider cache)
|
||||
───────────────────────────────────────────────────────────────────────── */
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 10000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* Flou + assombrissement léger de l'arrière-plan */
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
animation: modal-fade-in 0.15s ease-out;
|
||||
}
|
||||
@keyframes modal-fade-in {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
.modal-card {
|
||||
background: var(--bg, #ffffff);
|
||||
color: var(--text, #111);
|
||||
border: 1px solid var(--border, rgba(128, 128, 128, 0.25));
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25),
|
||||
0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
padding: 24px 24px 20px;
|
||||
width: min(440px, 92vw);
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
animation: modal-card-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
@keyframes modal-card-in {
|
||||
from { opacity: 0; transform: translateY(8px) scale(0.98); }
|
||||
to { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
margin: 0 0 12px 0;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--text, #111);
|
||||
}
|
||||
.modal-message {
|
||||
margin: 0 0 20px 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
color: var(--text-muted, #555);
|
||||
}
|
||||
.modal-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.modal-actions .btn {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: background 0.12s, transform 0.06s;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.modal-actions .btn:active { transform: translateY(1px); }
|
||||
|
||||
/* Vider le cache du jour : danger modéré (orange) */
|
||||
.btn-modal-danger {
|
||||
background: rgba(234, 128, 38, 0.12);
|
||||
color: #c85a00;
|
||||
border-color: rgba(234, 128, 38, 0.3);
|
||||
}
|
||||
.btn-modal-danger:hover {
|
||||
background: rgba(234, 128, 38, 0.22);
|
||||
}
|
||||
/* Vider tout le cache : danger fort (rouge) */
|
||||
.btn-modal-danger-strong {
|
||||
background: rgba(220, 60, 60, 0.12);
|
||||
color: #c03030;
|
||||
border-color: rgba(220, 60, 60, 0.3);
|
||||
}
|
||||
.btn-modal-danger-strong:hover {
|
||||
background: rgba(220, 60, 60, 0.22);
|
||||
}
|
||||
/* Annuler : neutre */
|
||||
.btn-modal-cancel {
|
||||
background: transparent;
|
||||
color: var(--text-muted, #666);
|
||||
border-color: var(--border, rgba(128, 128, 128, 0.3));
|
||||
margin-top: 4px;
|
||||
}
|
||||
.btn-modal-cancel:hover {
|
||||
background: var(--bg-hover, rgba(128, 128, 128, 0.08));
|
||||
}
|
||||
|
||||
/* ─────────────────────────────────────────────────────────────────────────
|
||||
v4.1.20 : Message d'absence récurrente (Pillonel vendredi)
|
||||
───────────────────────────────────────────────────────────────────────── */
|
||||
.tech-absence-recurring {
|
||||
padding: 14px 12px;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
font-style: italic;
|
||||
color: var(--text-faint, #888);
|
||||
background: rgba(128, 128, 128, 0.04);
|
||||
border-top: 1px solid var(--border, rgba(128, 128, 128, 0.15));
|
||||
border-bottom: 1px solid var(--border, rgba(128, 128, 128, 0.15));
|
||||
}
|
||||
|
||||
/* v4.2 : contact en rouge quand anomalie détectée (Contact + Personne de
|
||||
contact présents tous les deux dans l'action = situation suspecte).
|
||||
On signale visuellement pour que l'user aille vérifier dans la fiche. */
|
||||
.iv-contact-line.iv-contact-anomalie {
|
||||
color: #dc3030;
|
||||
}
|
||||
.iv-contact-line.iv-contact-anomalie .iv-contact,
|
||||
.iv-contact-line.iv-contact-anomalie .iv-phone {
|
||||
color: #dc3030;
|
||||
}
|
||||
|
||||
/* v4.2 : badge utilisateur EasyVista connecté (en haut à droite de la topbar) */
|
||||
.current-user {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--text-muted, #666);
|
||||
background: rgba(128, 128, 128, 0.08);
|
||||
border: 1px solid var(--border, rgba(128, 128, 128, 0.2));
|
||||
border-radius: 999px;
|
||||
margin-right: 8px;
|
||||
max-width: 220px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.current-user::before {
|
||||
content: "👤";
|
||||
font-size: 11px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.current-user.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user