From d76d092c0865a5529872a4aee1368a14da771e6a Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 14 Aug 2021 14:18:49 +0200 Subject: 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. --- src/styles.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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"], -- cgit v1.2.3