Skip to content

Commit 1aab032

Browse files
author
yolo h8cker 93
committed
Enh(Viewer): Remove highlighting of jump target
1 parent b40d7e1 commit 1aab032

2 files changed

Lines changed: 0 additions & 29 deletions

File tree

codeclash/viewer/static/css/style.css

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,26 +1338,6 @@ summary:focus {
13381338
visibility: hidden;
13391339
}
13401340

1341-
/* Highlight effect for jumped-to rounds */
1342-
.highlight-round {
1343-
animation: roundHighlight 2s ease-in-out;
1344-
}
1345-
1346-
@keyframes roundHighlight {
1347-
0% {
1348-
background-color: var(--accent-color);
1349-
opacity: 0.1;
1350-
}
1351-
50% {
1352-
background-color: var(--accent-color);
1353-
opacity: 0.2;
1354-
}
1355-
100% {
1356-
background-color: transparent;
1357-
opacity: 1;
1358-
}
1359-
}
1360-
13611341
/* Bootstrap table hover styles are used instead of custom ones */
13621342

13631343
/* Ensure text visibility in all table states */

codeclash/viewer/static/js/app.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,6 @@ function scrollToRound(roundNum) {
202202
block: "start",
203203
});
204204

205-
// Add a brief highlight effect
206-
const roundSection = roundAnchor.nextElementSibling;
207-
if (roundSection) {
208-
roundSection.classList.add("highlight-round");
209-
setTimeout(() => {
210-
roundSection.classList.remove("highlight-round");
211-
}, 2000);
212-
}
213-
214205
// Close TOC menu after navigation (optional - user can keep it open)
215206
// closeTocMenu();
216207
} else {

0 commit comments

Comments
 (0)