mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-09 20:07:43 +08:00
fix(ui): highlight only the hovered file in a multi-file patch row
Hovering one file link of a multi-file apply_patch row brightened the whole row, so every file looked active. The row now keeps its idle color and diff totals while a file link is hovered, and only that link brightens. Refs #7696
This commit is contained in:
@@ -145,6 +145,23 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Pointing at one file of a multi-file patch brightens that file alone: the
|
||||
row keeps its idle color and diff totals instead of the whole-row hover. */
|
||||
@media (hover: hover) {
|
||||
.row:has(.fileTargetLink:hover) {
|
||||
color: var(--dsw-alias-label-tertiary);
|
||||
}
|
||||
|
||||
.row:not([aria-expanded='true']):has(.fileTargetLink:hover) .diffAdded,
|
||||
.row:not([aria-expanded='true']):has(.fileTargetLink:hover) .diffRemoved {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.fileTargetLink:hover {
|
||||
color: var(--dsw-alias-label-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
/* Error row's collapsed summary: the failure's first line in the error color. */
|
||||
.errorSummary {
|
||||
color: var(--dsw-alias-state-error-primary);
|
||||
|
||||
Reference in New Issue
Block a user