Skip to content

Commit

Permalink
Fixed transparency effect on video player when bringing up the UI.
Browse files Browse the repository at this point in the history
Based on the following commit:
reisxd/TizenTube@c1f92b0

Co-authored-by: reisxd <[email protected]>
  • Loading branch information
2 people authored and throwaway96 committed Oct 19, 2024
1 parent cacdf6c commit 8286274
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,18 @@
padding: 0 1em;
line-height: 0;
}

/* Fixes transparency effect for the video player */
.ytlr-watch-default__shadow {
background-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 0) 0,
rgba(0, 0, 0, 0.8) 90%
) !important;
background-color: rgba(0, 0, 0, 0.3) !important;
display: block !important;
height: 100% !important;
pointer-events: none !important;
position: absolute !important;
width: 100% !important;
}

0 comments on commit 8286274

Please sign in to comment.