Simplify /lignes row indicators: drop redundant link button and écart outline
- Remove the left-side link button (actions-col) -- the link status badge already does the same thing (view linked entrées, or open the link form when unlinked), so the button was pure duplication. - Remove the red row outline on écart lines -- the Écart column itself (bold red text) already flags it, no need for a second row-level cue. - Hide the link status badge specifically on "Hébergement" lines (both the main table and the drill-down modal) -- reconciliation math is untouched (hébergement sorties still count toward other rows' totals), this only suppresses the badge on hébergement's own row. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -267,29 +267,14 @@ html.gin--dark-mode #figli-home-app {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Error rows: a thin red outline around the row, not a background fill --
|
||||
easier to read, doesn't fight with dark mode. */
|
||||
#figli-home-app tr.figli-error-row td {
|
||||
border-top: 1px solid var(--figli-error);
|
||||
border-bottom: 1px solid var(--figli-error);
|
||||
}
|
||||
#figli-home-app tr.figli-error-row td:first-child {
|
||||
border-left: 1px solid var(--figli-error);
|
||||
}
|
||||
#figli-home-app tr.figli-error-row td:last-child {
|
||||
border-right: 1px solid var(--figli-error);
|
||||
}
|
||||
|
||||
/* Écart is called out by the Écart column itself (bold red, see
|
||||
.figli-ecart below) -- no separate row-level treatment needed. */
|
||||
#figli-home-app td.figli-ecart {
|
||||
color: var(--figli-error);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Signalé rows: a thick amber accent bar on the left edge, deliberately
|
||||
a different technique from the error row's thin all-around border
|
||||
above (box-shadow, not border) -- so a row that's both in écart *and*
|
||||
signalée shows both indicators at once instead of one overwriting the
|
||||
other's border-left. */
|
||||
/* Signalé rows: a thick amber accent bar on the left edge. */
|
||||
#figli-home-app tr.figli-flag-row td:first-child {
|
||||
box-shadow: inset 4px 0 0 var(--figli-warning);
|
||||
}
|
||||
@@ -403,8 +388,7 @@ html.gin--dark-mode #figli-home-app {
|
||||
table cell breaks the table's own column-width calculation (observed:
|
||||
a ~55px gap opening up between this column and the next, and the
|
||||
buttons rendering outside their cell's actual boundary). */
|
||||
#figli-home-app .figli-edit-btn,
|
||||
#figli-home-app .figli-link-btn {
|
||||
#figli-home-app .figli-edit-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -419,17 +403,12 @@ html.gin--dark-mode #figli-home-app {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#figli-home-app .figli-edit-btn:hover,
|
||||
#figli-home-app .figli-link-btn:hover {
|
||||
#figli-home-app .figli-edit-btn:hover {
|
||||
background: var(--figli-bg-alt);
|
||||
border-color: var(--figli-border);
|
||||
color: var(--figli-text);
|
||||
}
|
||||
|
||||
#figli-home-app .figli-link-btn.is-linked {
|
||||
color: #3b6fe0;
|
||||
}
|
||||
|
||||
/* Reconciliation badge on entrée rows: répartition (money owed) vs the
|
||||
combined répartition of every linked sortie (money actually paid out). */
|
||||
#figli-home-app .figli-recon-badge {
|
||||
|
||||
Reference in New Issue
Block a user