Resserre le tableau hebdomadaire pour qu'il tienne dans son cadre
Le tableau débordait horizontalement à cause de la colonne Cible. On force la
largeur à 100%, on réduit les paddings et on laisse le contenu de la cible se
replier sur deux lignes.
💘 Generated with Crush
Assisted-by: Crush:glm-5.2
This commit is contained in:
@ -188,6 +188,7 @@
|
|||||||
/* ── Table ── */
|
/* ── Table ── */
|
||||||
.table-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
.table-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
||||||
table {
|
table {
|
||||||
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 1.5px solid var(--rule);
|
border: 1.5px solid var(--rule);
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
@ -195,7 +196,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.th-group th {
|
.th-group th {
|
||||||
padding: .45rem .85rem .25rem;
|
padding: .45rem .65rem .25rem;
|
||||||
font-family: var(--mono);
|
font-family: var(--mono);
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
letter-spacing: .12em;
|
letter-spacing: .12em;
|
||||||
@ -222,7 +223,7 @@
|
|||||||
.th-group .g-conge { text-align: center; }
|
.th-group .g-conge { text-align: center; }
|
||||||
|
|
||||||
.th-sub th {
|
.th-sub th {
|
||||||
padding: .25rem .85rem .5rem;
|
padding: .25rem .65rem .5rem;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
color: rgba(107,97,82,.65);
|
color: rgba(107,97,82,.65);
|
||||||
border-bottom: 2px solid var(--text);
|
border-bottom: 2px solid var(--text);
|
||||||
@ -258,7 +259,7 @@
|
|||||||
tbody tr:not(:last-child) td { border-bottom: 1px solid var(--rule-l); }
|
tbody tr:not(:last-child) td { border-bottom: 1px solid var(--rule-l); }
|
||||||
|
|
||||||
td {
|
td {
|
||||||
padding: .6rem .85rem;
|
padding: .5rem .65rem;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -267,7 +268,7 @@
|
|||||||
.td-fill {
|
.td-fill {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: .6rem .85rem;
|
padding: .5rem .65rem;
|
||||||
}
|
}
|
||||||
td.c-matin .td-fill { border-left: 3px solid rgba(47,95,160,.2); }
|
td.c-matin .td-fill { border-left: 3px solid rgba(47,95,160,.2); }
|
||||||
td.c-aprem .td-fill { border-left: 3px solid rgba(184,106,8,.2); }
|
td.c-aprem .td-fill { border-left: 3px solid rgba(184,106,8,.2); }
|
||||||
@ -284,11 +285,11 @@
|
|||||||
.jour-nom { display: block; font-weight: 500; font-size: 13px; }
|
.jour-nom { display: block; font-weight: 500; font-size: 13px; }
|
||||||
.jour-date { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
|
.jour-date { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
|
||||||
|
|
||||||
.time-pair { display: flex; align-items: center; gap: 4px; justify-content: center; }
|
.time-pair { display: flex; align-items: center; gap: 3px; justify-content: center; }
|
||||||
.time-sep { color: var(--rule); font-size: 11px; flex-shrink: 0; }
|
.time-sep { color: var(--rule); font-size: 11px; flex-shrink: 0; }
|
||||||
.time-input {
|
.time-input {
|
||||||
width: 80px;
|
width: 70px;
|
||||||
padding: .28rem .4rem;
|
padding: .28rem .35rem;
|
||||||
border: 1px solid var(--rule);
|
border: 1px solid var(--rule);
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
font-family: var(--mono);
|
font-family: var(--mono);
|
||||||
@ -316,10 +317,10 @@
|
|||||||
|
|
||||||
/* Cumulative delta and sortie cible columns */
|
/* Cumulative delta and sortie cible columns */
|
||||||
.col-cumul { text-align: right; padding-left: .5rem; }
|
.col-cumul { text-align: right; padding-left: .5rem; }
|
||||||
.col-cible { text-align: right; padding-left: .5rem; }
|
.col-cible { text-align: right; padding-left: .5rem; white-space: normal; min-width: 110px; }
|
||||||
.g-cumul { text-align: right; }
|
.g-cumul { text-align: right; }
|
||||||
.g-cible { text-align: right; }
|
.g-cible { text-align: right; }
|
||||||
.cible-num { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 500; }
|
.cible-num { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 500; display: inline-block; }
|
||||||
|
|
||||||
.col-save { text-align: center; padding: .4rem .3rem; }
|
.col-save { text-align: center; padding: .4rem .3rem; }
|
||||||
.g-save { background: var(--ground); }
|
.g-save { background: var(--ground); }
|
||||||
|
|||||||
Reference in New Issue
Block a user