Version 4.1.14 — moveTooltip devenu no-op (popup statique)
This commit is contained in:
+208
-1
@@ -171,6 +171,106 @@ html, body {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Bannière de session expirée (v4.1.12) — sticky sous la topbar, non bloquante */
|
||||
.session-banner {
|
||||
position: sticky;
|
||||
top: 56px;
|
||||
z-index: 8;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 10px 16px;
|
||||
background: linear-gradient(90deg, #7a1f1f, #8b2a2a);
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #5a1515;
|
||||
font-size: 13px;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.25);
|
||||
}
|
||||
.session-banner.hidden {
|
||||
display: none;
|
||||
}
|
||||
.session-banner-icon {
|
||||
font-size: 18px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.session-banner-text {
|
||||
flex: 1;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.session-banner .btn-primary {
|
||||
background: #fff;
|
||||
color: #7a1f1f;
|
||||
border: 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
.session-banner .btn-primary:hover {
|
||||
background: #f0f0f0;
|
||||
}
|
||||
.session-banner .btn-sm {
|
||||
padding: 4px 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.session-banner .btn-icon {
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
.session-banner .btn-icon:hover {
|
||||
background: rgba(255,255,255,0.15);
|
||||
}
|
||||
|
||||
/* Barre de progression pendant le rafraîchissement — v4.1.12 : texte
|
||||
toujours lisible, que la zone verte l'ait atteint ou non (utilise
|
||||
mix-blend-mode:difference pour inverser la couleur du texte là où la
|
||||
barre verte est dessous). */
|
||||
.progress-bar {
|
||||
position: sticky;
|
||||
top: 56px;
|
||||
z-index: 9;
|
||||
height: 22px;
|
||||
background: var(--bg-subtle, rgba(128, 128, 128, 0.08));
|
||||
border-bottom: 1px solid var(--border, rgba(128, 128, 128, 0.2));
|
||||
overflow: hidden;
|
||||
}
|
||||
.progress-bar.hidden {
|
||||
display: none;
|
||||
}
|
||||
.progress-bar-fill {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(90deg, #2ea043, #3fb950);
|
||||
width: 0%;
|
||||
transition: width 240ms ease-out;
|
||||
box-shadow: 0 0 8px rgba(63, 185, 80, 0.3);
|
||||
}
|
||||
.progress-bar-label {
|
||||
position: relative;
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 22px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
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. */
|
||||
text-shadow:
|
||||
0 0 2px rgba(0, 0, 0, 0.95),
|
||||
0 0 3px rgba(0, 0, 0, 0.85),
|
||||
0 1px 2px rgba(0, 0, 0, 0.75),
|
||||
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);
|
||||
}
|
||||
|
||||
/* Navigation de date */
|
||||
.date-nav {
|
||||
display: flex;
|
||||
@@ -249,6 +349,41 @@ html, body {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* v4.1.12 : boutons refresh plus clairs visuellement.
|
||||
- "Vérifier" (partiel) : style discret, icône demi-rotation
|
||||
- "Tout recharger" (total) : plus affirmé, icône double-flèche circulaire */
|
||||
.btn-refresh {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.btn-refresh-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
flex-shrink: 0;
|
||||
color: currentColor;
|
||||
}
|
||||
.btn-refresh-label {
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
.btn-refresh-strong {
|
||||
background: var(--bg-subtle, rgba(63, 185, 80, 0.08));
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
.btn-refresh-strong:hover {
|
||||
background: rgba(63, 185, 80, 0.18);
|
||||
border-color: rgba(63, 185, 80, 0.5);
|
||||
}
|
||||
.btn-refresh-icon.spinning {
|
||||
animation: refresh-spin 0.9s linear infinite;
|
||||
transform-origin: 50% 50%;
|
||||
}
|
||||
@keyframes refresh-spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--accent);
|
||||
color: white;
|
||||
@@ -840,6 +975,8 @@ html, body {
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
font-size: 12px;
|
||||
/* v4.1.14 : forcer la ligne à occuper 100% de largeur du parent */
|
||||
width: 100%;
|
||||
}
|
||||
.iv-category {
|
||||
color: var(--text-muted);
|
||||
@@ -847,7 +984,10 @@ html, body {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
/* 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;
|
||||
min-width: 0;
|
||||
}
|
||||
.iv-signature {
|
||||
@@ -856,6 +996,9 @@ 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;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* Réservation (créneau bloqué par un coordinateur) */
|
||||
@@ -918,9 +1061,73 @@ 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;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.tooltip.pinned {
|
||||
/* v4.1.10 : bulle épinglée → curseur texte + sélection active */
|
||||
user-select: text;
|
||||
cursor: text;
|
||||
border-color: var(--c-accent, #3fb950);
|
||||
box-shadow: 0 0 0 2px rgba(63, 185, 80, 0.15), var(--shadow-hover);
|
||||
}
|
||||
|
||||
/* v4.1.13/14 : barre d'actions en haut à droite de la bulle
|
||||
(recharger cette iv + épingler) */
|
||||
.tooltip-actions {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
z-index: 5;
|
||||
}
|
||||
.tooltip-actionbtn {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
opacity: 0.55;
|
||||
transition: opacity 0.15s, background 0.15s, transform 0.15s;
|
||||
user-select: none;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.tooltip-actionbtn svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.tooltip-actionbtn:hover {
|
||||
opacity: 1;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: var(--text);
|
||||
}
|
||||
.tooltip-actionbtn.spinning svg {
|
||||
animation: refresh-spin 0.8s linear infinite;
|
||||
transform-origin: 50% 50%;
|
||||
}
|
||||
/* L'ancien .tooltip-pinbtn garde ses variantes */
|
||||
.tooltip-pinbtn {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
.tooltip-pinbtn:hover {
|
||||
filter: grayscale(0%);
|
||||
}
|
||||
.tooltip.pinned .tooltip-pinbtn {
|
||||
opacity: 1;
|
||||
filter: grayscale(0%);
|
||||
transform: rotate(-30deg);
|
||||
background: rgba(63, 185, 80, 0.15);
|
||||
}
|
||||
|
||||
.tooltip dl {
|
||||
|
||||
Reference in New Issue
Block a user