forked from FroSteel/Planification
v2026.5.40 — Sélection groupe EV + édition domaines + tri équipe + vue horizontale enrichie
This commit is contained in:
+463
-24
@@ -1358,6 +1358,29 @@ html.view-horizontal .timeline-noon {
|
||||
.tt-ref-val {
|
||||
font-family: var(--mono, monospace);
|
||||
}
|
||||
/* v2026.5.40 r18 : référence cliquable → ouvre la fiche EV. Style "lien"
|
||||
immédiatement reconnaissable : couleur accent, soulignée, cursor pointer. */
|
||||
.tt-ref-link {
|
||||
font-family: var(--mono, monospace);
|
||||
color: var(--accent);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
transition: color 0.1s, text-shadow 0.1s;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.tt-ref-link:hover {
|
||||
color: var(--accent);
|
||||
text-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
|
||||
}
|
||||
.tt-ref-link::after {
|
||||
content: " ↗";
|
||||
font-family: inherit;
|
||||
font-size: 0.85em;
|
||||
opacity: 0.7;
|
||||
margin-left: 2px;
|
||||
}
|
||||
.tt-copy-btn {
|
||||
background: transparent;
|
||||
border: 1px solid var(--border);
|
||||
@@ -2835,7 +2858,10 @@ header.topbar::before {
|
||||
========================================================================== */
|
||||
.session-slide-alert {
|
||||
position: fixed;
|
||||
top: 60px;
|
||||
/* v2026.5.40 r12 : on positionne l'alerte SOUS les initiales (badge user)
|
||||
pour ne pas chevaucher l'horloge centrale. La topbar fait ~48px donc
|
||||
top: 56px laisse 8px de respiration sous le badge. */
|
||||
top: 56px;
|
||||
left: -420px; /* hors écran au départ */
|
||||
width: 380px;
|
||||
max-width: calc(100vw - 40px);
|
||||
@@ -2849,10 +2875,17 @@ header.topbar::before {
|
||||
transition: left 0.28s ease-out, opacity 0.28s;
|
||||
opacity: 0;
|
||||
}
|
||||
/* v2026.5.40 r12 : alignée avec le bord gauche de la topbar (à hauteur
|
||||
des initiales — left: 14px = padding gauche de la topbar). */
|
||||
.session-slide-alert.visible {
|
||||
left: 20px;
|
||||
left: 14px;
|
||||
opacity: 1;
|
||||
}
|
||||
/* En vue horizontale, l'alerte vient sous le badge user dans la sidebar
|
||||
gauche, donc on laisse left: 14px aussi (la sidebar a son propre padding). */
|
||||
html.view-horizontal .session-slide-alert.visible {
|
||||
left: 14px;
|
||||
}
|
||||
.session-slide-alert.urgent {
|
||||
border-left-color: #ef4444;
|
||||
animation: session-pulse 1.4s ease-in-out infinite;
|
||||
@@ -3329,10 +3362,14 @@ html.theme-dark .card.absence-cat-conge {
|
||||
réduisait la largeur depuis le côté droit — désormais ils restent à leur
|
||||
taille créée et sont simplement repositionnés dans la safe area.
|
||||
========================================================================== */
|
||||
/* v2026.5.40 r17 : on retire le `!important` sur width pour permettre à
|
||||
pinTooltip d'imposer la même largeur que le tooltip live au moment du
|
||||
clic (via style.width inline). 520px reste la valeur par défaut si le
|
||||
JS ne définit rien. */
|
||||
.pinned-popup:not(.pinned-popup-minimized):not(.pinned-popup-reduced) {
|
||||
max-width: none !important;
|
||||
width: 520px !important; /* largeur standard fixe */
|
||||
min-width: 380px;
|
||||
width: 520px; /* défaut, peut être override par pinTooltip */
|
||||
min-width: 320px;
|
||||
}
|
||||
/* Sur les très petits écrans (< 600px), on laisse le clamp naturel */
|
||||
@media (max-width: 600px) {
|
||||
@@ -3513,34 +3550,51 @@ html.view-horizontal .card {
|
||||
}
|
||||
|
||||
/* Header devient une barre latérale gauche fixe */
|
||||
/* v2026.5.35 : réduit à 140px (au lieu de 200px) pour donner plus de place à la timeline */
|
||||
/* v2026.5.40 r15 : 180px pour loger "Maladie/Accident" en entier sans
|
||||
tronquer (libellé le plus long parmi tous les badges). */
|
||||
html.view-horizontal .card-header {
|
||||
flex-direction: column !important;
|
||||
align-items: flex-start !important;
|
||||
justify-content: center !important;
|
||||
min-width: 140px !important;
|
||||
max-width: 140px !important;
|
||||
min-width: 180px !important;
|
||||
max-width: 180px !important;
|
||||
border-bottom: none !important;
|
||||
border-right: 1px solid var(--border) !important;
|
||||
padding: 6px 10px !important;
|
||||
gap: 3px !important;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
/* v2026.5.40 r8 : nom du tech complet (jusqu'à 3 lignes). Si vraiment
|
||||
trop long, .card-tech-name-tight est appliqué dynamiquement par le JS
|
||||
pour réduire légèrement la font-size (12px → 11.5px). */
|
||||
html.view-horizontal .card-tech-name {
|
||||
font-size: 13px !important;
|
||||
font-size: calc(13px * var(--text-scale)) !important;
|
||||
font-weight: 600;
|
||||
line-height: 1.2 !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
word-break: break-word;
|
||||
hyphens: auto;
|
||||
}
|
||||
html.view-horizontal .card-tech-name.card-tech-name-tight {
|
||||
font-size: calc(11.5px * var(--text-scale)) !important;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
/* v2026.5.40 r16 : badge tech compact, sidebar 180px. Le texte est décalé
|
||||
un peu vers la gauche via padding-right > padding-left (effet visuel
|
||||
demandé). */
|
||||
html.view-horizontal .card-tech-badge {
|
||||
font-size: 10px !important;
|
||||
padding: 2px 6px !important;
|
||||
font-size: calc(8.5px * var(--text-scale)) !important;
|
||||
padding: 2px 14px 2px 4px !important;
|
||||
line-height: 1.3 !important;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
align-self: flex-start;
|
||||
max-width: 100%;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
/* Le body prend le reste de la ligne, scroll horizontal si trop d'interv */
|
||||
@@ -3559,7 +3613,18 @@ html.view-horizontal .timeline {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
html.view-horizontal .timeline-bar {
|
||||
height: 22px !important;
|
||||
height: 10px !important; /* v2026.5.40 r4 : timeline très fine */
|
||||
}
|
||||
/* Timeline elle-même : padding réduit pour gagner de la hauteur */
|
||||
html.view-horizontal .timeline {
|
||||
padding: 4px 14px 2px 14px !important;
|
||||
}
|
||||
/* Échelle d'heures plus compacte */
|
||||
html.view-horizontal .timeline-scale {
|
||||
height: 11px !important;
|
||||
}
|
||||
html.view-horizontal .timeline-tick {
|
||||
font-size: calc(10px * var(--text-scale)) !important;
|
||||
}
|
||||
|
||||
/* Liste interventions en mode "chips" (défilement horizontal) */
|
||||
@@ -3584,17 +3649,22 @@ html.view-horizontal .card-header::after {
|
||||
}
|
||||
html.view-horizontal .tech-row-stats {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-size: 11px;
|
||||
flex-wrap: wrap; /* libellés complets → permet wrap */
|
||||
gap: 4px;
|
||||
font-size: calc(11px * var(--text-scale));
|
||||
color: var(--text-muted);
|
||||
margin-top: 2px;
|
||||
margin-top: 4px;
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
html.view-horizontal .tech-row-stats .stat-pill {
|
||||
padding: 1px 6px;
|
||||
padding: 2px 8px;
|
||||
background: var(--bg-muted);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 3px;
|
||||
border-radius: 10px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-size: calc(10.5px * var(--text-scale));
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* En vue classique, on cache les éléments spécifiques horizontal */
|
||||
@@ -3767,9 +3837,26 @@ html.view-horizontal .horizontal-sidebar #stats .global-stat b {
|
||||
html.view-horizontal .horizontal-sidebar #stats .global-stat-main b {
|
||||
font-size: 15px !important;
|
||||
}
|
||||
/* v2026.5.40 r19 : en sidebar horizontale, on cache tous les séparateurs
|
||||
sauf le `+` (classe .global-stat-sep-keep) qui s'affiche en bloc CENTRÉ
|
||||
entre "tech. dispo" et "pompier". */
|
||||
html.view-horizontal .horizontal-sidebar #stats .global-stat-sep {
|
||||
display: none !important;
|
||||
}
|
||||
html.view-horizontal .horizontal-sidebar #stats .global-stat-sep.global-stat-sep-keep {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
text-align: center !important;
|
||||
color: var(--text-faint);
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
padding: 0;
|
||||
/* Compenser le gap parent (#stats a gap: 4px) pour que le `+` soit serré
|
||||
entre "tech. dispo" et "pompier" — pas d'espace artificiel autour. */
|
||||
margin: -3px auto -3px auto;
|
||||
line-height: 1;
|
||||
align-self: center;
|
||||
}
|
||||
html.view-horizontal .horizontal-sidebar #stats .global-stat-sub {
|
||||
display: block !important;
|
||||
font-size: 10px;
|
||||
@@ -3827,8 +3914,8 @@ html.view-horizontal main .stats {
|
||||
font-size: 11px;
|
||||
}
|
||||
html.view-horizontal .card-header {
|
||||
min-width: 110px !important;
|
||||
max-width: 110px !important;
|
||||
min-width: 160px !important; /* v2026.5.40 r15 : un peu plus serré sur petit écran */
|
||||
max-width: 160px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4079,10 +4166,18 @@ html.view-horizontal #progress-bar {
|
||||
}
|
||||
}
|
||||
|
||||
/* 14. Banderole "En pompier du..." : masquée en vue horizontale uniquement
|
||||
(la barre rouge à gauche et le badge POMPIER restent visibles). */
|
||||
/* v2026.5.40 r17 : banderole "En pompier du..." en vue HORIZONTALE
|
||||
uniquement — pleine largeur, hauteur modérée (2 fois plus que r14d),
|
||||
texte centré. */
|
||||
html.view-horizontal .card-status-note.pompier {
|
||||
display: none !important;
|
||||
padding: 4px 14px !important;
|
||||
text-align: center !important;
|
||||
line-height: 1.3 !important;
|
||||
font-size: calc(11.5px * var(--text-scale)) !important;
|
||||
margin: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
@@ -4375,3 +4470,347 @@ html.view-horizontal .day-period-sep {
|
||||
line-height: 1.55;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
v2026.5.40 : segments timeline enrichis (vue horizontale uniquement)
|
||||
- Barre verticale couleur catégorie à gauche (comme les cards classique)
|
||||
- Référence + ville lisibles dans le segment (si assez large)
|
||||
- Cachés en vue classique (pas la place dans une timeline 20px de haut)
|
||||
========================================================================== */
|
||||
|
||||
/* (retiré v2026.5.40 r3 : le contenu enrichi est maintenant dans
|
||||
.iv-mini-cards en-dessous de la timeline) */
|
||||
.timeline-slot-content { display: none; }
|
||||
|
||||
/* v2026.5.40 r3 : la timeline reste comme la vue classique (segments colorés
|
||||
compacts). Les infos détaillées sont dans .iv-mini-cards juste en-dessous. */
|
||||
|
||||
/* ==========================================================================
|
||||
v2026.5.40 r3 : mini-cartes d'intervention sous la timeline (vue horizontale
|
||||
uniquement). Chaque carte contient ref / heure / ville / adresse, alignée
|
||||
sur l'ordre temporel des interventions. Largeur proportionnelle à la durée
|
||||
(flex-grow), avec min-width pour rester lisible. Trous représentés par des
|
||||
espaces vides qui préservent l'alignement avec la timeline du dessus.
|
||||
========================================================================== */
|
||||
|
||||
/* Par défaut (vue classique) : caché */
|
||||
.iv-mini-cards { display: none; }
|
||||
|
||||
/* En vue horizontale : flex row qui prend toute la largeur — toutes les
|
||||
mini-cartes équidistantes. Si vraiment trop d'interv pour la largeur
|
||||
(rare), elles se compriment via flex-shrink. */
|
||||
html.view-horizontal .iv-mini-cards {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
gap: 3px;
|
||||
padding: 2px 14px 4px 14px;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Carte mini d'intervention : v2026.5.40 r5 — toutes les cartes ont la
|
||||
MÊME largeur (flex: 1 1 0) pour qu'on puisse les voir toutes d'un coup
|
||||
sans scroll. La position temporelle est donnée par la timeline au-dessus. */
|
||||
.iv-mini-card {
|
||||
flex: 1 1 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
min-width: 0; /* permet au flex de bien rétrécir */
|
||||
background: var(--bg-elevated);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
transition: background 0.1s, border-color 0.1s, box-shadow 0.1s;
|
||||
}
|
||||
.iv-mini-card:hover {
|
||||
background: var(--bg-hover);
|
||||
border-color: var(--border-strong);
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
.iv-mini-card.highlight {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: -1px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Barre verticale couleur catégorie à gauche de chaque carte (4 px) */
|
||||
.iv-mini-card-bar {
|
||||
flex: 0 0 4px;
|
||||
background: var(--c-autre);
|
||||
}
|
||||
.iv-mini-card.color-livraison .iv-mini-card-bar { background: var(--c-livraison); }
|
||||
.iv-mini-card.color-installation .iv-mini-card-bar { background: var(--c-installation); }
|
||||
.iv-mini-card.color-recup .iv-mini-card-bar { background: var(--c-recup); }
|
||||
.iv-mini-card.color-remplacement .iv-mini-card-bar { background: var(--c-remplacement); }
|
||||
.iv-mini-card.color-incident .iv-mini-card-bar { background: var(--c-incident); }
|
||||
.iv-mini-card.color-rollout .iv-mini-card-bar { background: var(--c-rollout); }
|
||||
.iv-mini-card.color-reservation .iv-mini-card-bar { background: var(--c-reservation); }
|
||||
.iv-mini-card.color-autre .iv-mini-card-bar { background: var(--c-autre); }
|
||||
|
||||
/* v2026.5.40 r7 : bloc heure VERTICAL (09:00 / ↓ / 10:00) */
|
||||
.iv-mini-time-vertical {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0;
|
||||
padding: 4px 6px;
|
||||
border-right: 1px solid var(--border);
|
||||
font-variant-numeric: tabular-nums;
|
||||
min-width: 44px;
|
||||
}
|
||||
.iv-mini-time-start,
|
||||
.iv-mini-time-end {
|
||||
font-size: calc(11px * var(--text-scale));
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
line-height: 1.1;
|
||||
}
|
||||
.iv-mini-time-arrow {
|
||||
font-size: calc(9px * var(--text-scale));
|
||||
color: var(--text-faint);
|
||||
line-height: 1;
|
||||
margin: 1px 0;
|
||||
}
|
||||
|
||||
/* Bloc texte (3 lignes) à droite — v2026.5.40 r7 : centré horizontalement */
|
||||
.iv-mini-card-text {
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center; /* centre les lignes horizontalement */
|
||||
gap: 1px;
|
||||
padding: 4px 8px;
|
||||
min-width: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.iv-mini-line {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
line-height: 1.2;
|
||||
text-align: center;
|
||||
}
|
||||
.iv-mini-ref {
|
||||
font-weight: 700;
|
||||
font-size: calc(11px * var(--text-scale));
|
||||
color: var(--text);
|
||||
letter-spacing: 0.2px;
|
||||
}
|
||||
.iv-mini-ville {
|
||||
font-size: calc(10.5px * var(--text-scale));
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
}
|
||||
.iv-mini-adresse {
|
||||
font-size: calc(10px * var(--text-scale));
|
||||
font-style: italic;
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
v2026.5.40 r4 : compactage vertical des lignes tech en vue horizontale
|
||||
- Card globale : pas de padding inutile en haut/bas
|
||||
- Body : padding nul, gap minimal
|
||||
- Card-stats (X interv. matin/apm) cachées (info redondante avec mini-cards)
|
||||
========================================================================== */
|
||||
html.view-horizontal .card {
|
||||
margin-bottom: 6px !important;
|
||||
border-radius: 6px;
|
||||
}
|
||||
html.view-horizontal .card-body {
|
||||
padding: 0 !important;
|
||||
gap: 0 !important;
|
||||
}
|
||||
/* v2026.5.40 r6 : la card-stats du bas est CACHÉE en horizontal — l'info est
|
||||
désormais dans les pills (.tech-row-stats) du header tech, libellés complets. */
|
||||
html.view-horizontal .card-body > .card-stats {
|
||||
display: none !important;
|
||||
}
|
||||
/* Header tech plus compact (centrage vertical, hauteur auto) */
|
||||
html.view-horizontal .card-header {
|
||||
padding: 4px 10px !important;
|
||||
}
|
||||
|
||||
/* v2026.5.40 r7 : chiffre du nombre d'interventions mis en évidence dans
|
||||
la pill du header tech (ex: "4 interventions" → le 4 plus gros). */
|
||||
html.view-horizontal .tech-row-stats .stat-pill .stat-pill-big-num {
|
||||
font-size: calc(15px * var(--text-scale));
|
||||
font-weight: 800;
|
||||
color: var(--text);
|
||||
margin-right: 2px;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
html.view-horizontal .tech-row-stats .stat-pill {
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
/* v2026.5.40 r8 : en vue horizontale, le dock des popups épinglés réduits
|
||||
commence APRÈS la sidebar (200px). Sinon les pills étaient cachées sous
|
||||
la sidebar fixe à gauche. */
|
||||
html.view-horizontal .pinned-popups-dock {
|
||||
left: 200px !important;
|
||||
}
|
||||
@media (max-width: 1400px) {
|
||||
html.view-horizontal .pinned-popups-dock {
|
||||
left: 170px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* v2026.5.40 r9 : 2 blocs MATIN / APRÈS-MIDI côte à côte. Chaque bloc a
|
||||
son label en haut + ses mini-cards en dessous. Séparation visuelle
|
||||
entre les 2 blocs via un gap plus large + bordure gauche sur l'après-midi. */
|
||||
.iv-mini-block {
|
||||
flex: 1 1 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
gap: 2px;
|
||||
}
|
||||
.iv-mini-block.period-afternoon {
|
||||
border-left: 2px solid var(--border-strong);
|
||||
padding-left: 8px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.iv-mini-block-label {
|
||||
font-size: calc(10px * var(--text-scale));
|
||||
font-weight: 700;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
padding: 1px 0;
|
||||
}
|
||||
.iv-mini-block-cards {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 3px;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
.iv-mini-block-cards .iv-mini-card {
|
||||
flex: 1 1 0;
|
||||
}
|
||||
|
||||
/* v2026.5.40 r18 : ordre fixe des boutons en vue classique topbar-right.
|
||||
Absence → Douchette → Actualiser → Tout recharger → Vider cache → Thème */
|
||||
html.view-classic .topbar-right #absence-btn { order: 1; }
|
||||
html.view-classic .topbar-right #douchette-btn { order: 2; }
|
||||
html.view-classic .topbar-right #refresh-partial-btn { order: 3; }
|
||||
html.view-classic .topbar-right #refresh-btn { order: 4; }
|
||||
html.view-classic .topbar-right #abort-btn { order: 4; }
|
||||
html.view-classic .topbar-right #clear-cache-btn { order: 5; }
|
||||
html.view-classic .topbar-right #theme-toggle { order: 6; }
|
||||
|
||||
/* ==========================================================================
|
||||
v2026.5.40 r18 : refonte visuelle onglet Équipe — plus moderne, cohérent
|
||||
avec le reste du panel admin (Apparence, À propos).
|
||||
========================================================================== */
|
||||
.admin-team-table {
|
||||
background: var(--bg-elevated);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
margin-top: 14px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
.admin-team-table th {
|
||||
background: var(--bg-muted) !important;
|
||||
border-bottom: 1px solid var(--border-strong) !important;
|
||||
font-size: 11.5px !important;
|
||||
letter-spacing: 0.6px !important;
|
||||
padding: 10px 14px !important;
|
||||
}
|
||||
.admin-team-table td {
|
||||
padding: 10px 14px !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
}
|
||||
.admin-team-table tr:last-child td {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
.admin-team-table tr:hover td {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
.admin-team-table .admin-input {
|
||||
background: var(--bg);
|
||||
transition: border-color 0.12s, box-shadow 0.12s;
|
||||
}
|
||||
.admin-team-table .admin-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px var(--accent-soft);
|
||||
}
|
||||
.admin-team-table .admin-input-id {
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
/* Checkbox + label "Exclure" / jours d'absence : style pill */
|
||||
.admin-team-table label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 3px 8px;
|
||||
background: var(--bg-muted);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
margin-right: 4px;
|
||||
transition: background 0.12s, border-color 0.12s;
|
||||
user-select: none;
|
||||
}
|
||||
.admin-team-table label:hover {
|
||||
background: var(--bg-hover);
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
.admin-team-table label input[type="checkbox"] {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.admin-team-table label:has(input:checked) {
|
||||
background: var(--accent-soft);
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* v2026.5.40 r20 : onglet Équipe — colonne "Inclure" plus étroite, ID +
|
||||
nom en lecture seule (texte clair, pas d'input). */
|
||||
.admin-team-table th:first-child,
|
||||
.admin-team-table td:first-child {
|
||||
width: 60px !important;
|
||||
text-align: center !important;
|
||||
padding-left: 8px !important;
|
||||
padding-right: 8px !important;
|
||||
}
|
||||
.admin-team-table th:first-child {
|
||||
font-size: 10px !important;
|
||||
letter-spacing: 0.4px !important;
|
||||
}
|
||||
.admin-team-id-readonly {
|
||||
font-family: var(--mono);
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
font-size: 12.5px;
|
||||
}
|
||||
.admin-team-name-readonly {
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* v2026.5.40 r21b : seul le `/` prend la couleur faint d'absent.
|
||||
Le `+` reste en couleur neutre (héritée du parent stats). */
|
||||
.global-stat-sep.sep-absent {
|
||||
color: var(--text-faint) !important;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user