diff --git a/public/content.css b/public/content.css index 32770f78..70b74766 100644 --- a/public/content.css +++ b/public/content.css @@ -1,7 +1,3 @@ -html { - color-scheme: dark; -} - #previewbar { overflow: visible; padding: 0; diff --git a/public/popup.css b/public/popup.css index 1e14188c..444039dc 100644 --- a/public/popup.css +++ b/public/popup.css @@ -6,7 +6,7 @@ --sb-green-bg: #077B27; } -html { +#sponsorBlockPopupHTML { color-scheme: dark; } @@ -32,6 +32,8 @@ html { margin: auto; width: 374px; background: var(--sb-main-bg-color); + + color-scheme: dark; } #sponsorblockPopup { diff --git a/public/popup.html b/public/popup.html index 3785057c..80e0d1da 100644 --- a/public/popup.html +++ b/public/popup.html @@ -1,152 +1,154 @@ - - __MSG_openPopup__ - - + + + __MSG_openPopup__ + + - - + + - -
-
- -

SponsorBlock

-
-
-
- -

__MSG_noVideoID__

- -

- + +
+
+ +

SponsorBlock

-
-
+
+
+ +

__MSG_noVideoID__

+ +

+ +
+
+
+
-
-
-
- - -

__MSG_disableSkipping__

- -
-
- - - - - - -

__MSG_yourWork__

-
-
-
-

__MSG_Username__:

-
-

- +
+ + - + + + + +

__MSG_yourWork__

+
+
+
+

__MSG_Username__:

+
+

+
- - + +
+
+
- + - - - - - -
- - - - + + + + + \ No newline at end of file diff --git a/src/content.ts b/src/content.ts index b1db2c76..e0f0572e 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1318,9 +1318,11 @@ function openInfoMenu() { let htmlData = xmlhttp.responseText; // Hack to replace head data (title, favicon) htmlData = htmlData.replace(/[\S\s]*<\/head>/gi, ""); - // Hack to replace body tag with div + // Hack to replace body and html tag with div htmlData = htmlData.replace(/