Skip to content

Commit 9cd7814

Browse files
committed
Fix subtitles search color
1 parent ac422cb commit 9cd7814

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

chrome/player/assets/fluidplayer/css/fluidplayer.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,6 +1766,10 @@ body {
17661766
padding: 15px 0px;
17671767
}
17681768

1769+
.subtitle-result-container:hover {
1770+
background-color: var(--menu-list-item-hover-background-color);
1771+
}
1772+
17691773
.subtitle-result-lang {
17701774
grid-column: 1;
17711775
text-align: center;

chrome/player/ui/subtitles/OpenSubtitlesSearch.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,6 @@ export class OpenSubtitlesSearch extends EventEmitter {
376376
container.appendChild(rank);
377377

378378
WebUtils.setupTabIndex(container);
379-
container.addEventListener('mouseenter', (e) => {
380-
container.style.color = 'rgba(255,200,200,.8)';
381-
});
382-
container.addEventListener('mouseleave', (e) => {
383-
container.style.color = 'rgba(255,255,255,.8)';
384-
});
385379
container.addEventListener('click', async (e) => {
386380
console.log(item.attributes.files[0].file_id);
387381
let body;

0 commit comments

Comments
 (0)