aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles.ts
diff options
context:
space:
mode:
authorTeddy Wing2022-04-10 20:44:04 +0200
committerTeddy Wing2022-04-10 20:44:04 +0200
commit5395fc40b97dc035923d91e89336353f47ba0781 (patch)
treef83e26166bc3e752d9453a67cfb57420bb524a30 /src/styles.ts
parent2393b7b44826b2677660fa6dc162371151e00b2c (diff)
parent348e28d41d72bbfd2b2cfb509cef5adbb10e4bae (diff)
downloadnetflix-immersive-5395fc40b97dc035923d91e89336353f47ba0781.tar.bz2
Merge branch 'update-for-new-Netflix-player-2021.08'
Diffstat (limited to 'src/styles.ts')
-rw-r--r--src/styles.ts14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/styles.ts b/src/styles.ts
index 73ae7c9..c809a43 100644
--- a/src/styles.ts
+++ b/src/styles.ts
@@ -1,4 +1,4 @@
-// Copyright (c) 2020 Teddy Wing
+// Copyright (c) 2020–2021 Teddy Wing
//
// This file is part of Immersive.
//
@@ -23,12 +23,21 @@ export default function styles () {
const stylesheet = style.sheet as CSSStyleSheet;
+ // 2021.08.13: May want to remove `.player-view-childrens`, which is now
+ // replaced by `.advisory-container`.
stylesheet.insertRule(`
/* "Back to Browse" button that appears when credits are minimised. */
.OriginalsPostPlay-BackgroundTrailer .BackToBrowse,
+ .watch-video--seamless-back,
+
+ /* Promo that appears during credis */
+ .OriginalsPostPlay-BackgroundTrailer,
+ .SeamlessControls--background-artwork-visible,
+ .ptrack-container.fill-container,
/* Age rating. */
.player-view-childrens,
+ .advisory-container,
/* "Watch Credits" button. */
[data-uia="watch-credits-seamless-button"],
@@ -37,7 +46,8 @@ export default function styles () {
a[aria-label="Skip Intro"],
a[aria-label="Skip Recap"],
a[aria-label="Next Episode"],
- [data-uia="next-episode-seamless-button"] {
+ [data-uia="next-episode-seamless-button"],
+ .watch-video--skip-content {
visibility: hidden !important;
}`,
stylesheet.cssRules.length