From d4f668559c737018f8ee4ab40c9d152827f0c528 Mon Sep 17 00:00:00 2001 From: Ajay Date: Wed, 21 Jun 2023 19:55:17 -0400 Subject: [PATCH] Add link in options to dearrow --- manifest/manifest.json | 1 + public/_locales | 2 +- public/icons/dearrow.svg | 54 +++++++++++++++++++++++++++++++++++++ public/options/options.css | 18 ++++++++++++- public/options/options.html | 25 +++++++++++++++++ src/config.ts | 2 ++ src/options.ts | 6 +++++ 7 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 public/icons/dearrow.svg diff --git a/manifest/manifest.json b/manifest/manifest.json index 7cd727c9..12e78abd 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -67,6 +67,7 @@ "icons/export.svg", "icons/PlayerInfoIconSponsorBlocker.svg", "icons/PlayerDeleteIconSponsorBlocker.svg", + "icons/dearrow.svg", "popup.html", "popup.css", "content.css", diff --git a/public/_locales b/public/_locales index a3e0764e..d2db6e9a 160000 --- a/public/_locales +++ b/public/_locales @@ -1 +1 @@ -Subproject commit a3e0764e9a5ebdd5cd57ce231f900776e33f820f +Subproject commit d2db6e9a0f0336194e8ee1181a9b827ac570775f diff --git a/public/icons/dearrow.svg b/public/icons/dearrow.svg new file mode 100644 index 00000000..d2d351d2 --- /dev/null +++ b/public/icons/dearrow.svg @@ -0,0 +1,54 @@ + + + diff --git a/public/options/options.css b/public/options/options.css index 0ec58be6..827fb825 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -38,7 +38,7 @@ --white: black; } -.medium-description, .switch-container, .optionLabel, .categoryTableElement { +.medium-description, .switch-container, .optionLabel, .categoryTableElement, .promotion-description { color: var(--white); } @@ -701,4 +701,20 @@ svg { .no-bottom-border { border: none !important; padding: 20px 0px 0px 0px !important; +} + +#deArrowPromotion { + width: fit-content; +} + +.dearrow-link { + display: flex; + align-items: center; + justify-content: center; + text-decoration: none; +} + +.dearrow-link > img { + width: 40px; + margin-right: 4px; } \ No newline at end of file diff --git a/public/options/options.html b/public/options/options.html index 825e8b75..c27cea6c 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -65,6 +65,19 @@ + +
+
+
+ + +
+
+