aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2021-08-14 14:18:49 +0200
committerTeddy Wing2021-08-14 15:16:07 +0200
commitd76d092c0865a5529872a4aee1368a14da771e6a (patch)
tree276ab44da62e2c4b05d49933bcf060cc98da1dc8 /src
parent2e40c8a2b18930cf83f28e816a9042254c5edf30 (diff)
downloadnetflix-immersive-d76d092c0865a5529872a4aee1368a14da771e6a.tar.bz2
styles.ts: Add new age rating CSS class
New css class for age ratings. The old one appears not to be used any more. Changed as a result of an early August 2021 player UI overhaul.
Diffstat (limited to 'src')
-rw-r--r--src/styles.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/styles.ts b/src/styles.ts
index 73ae7c9..5a16d6e 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,15 @@ 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,
/* Age rating. */
.player-view-childrens,
+ .advisory-container,
/* "Watch Credits" button. */
[data-uia="watch-credits-seamless-button"],