From 37d62cf2a8c64f5a0863aa1f302625c14a335cc8 Mon Sep 17 00:00:00 2001 From: Jones Date: Fri, 30 May 2025 12:08:11 +0930 Subject: [PATCH 1/3] Neaten "here" button in openaboutpage.ts --- src/seqta/utils/Openers/OpenAboutPage.ts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/seqta/utils/Openers/OpenAboutPage.ts b/src/seqta/utils/Openers/OpenAboutPage.ts index a953714a..1f441c10 100644 --- a/src/seqta/utils/Openers/OpenAboutPage.ts +++ b/src/seqta/utils/Openers/OpenAboutPage.ts @@ -5,6 +5,26 @@ import { animate, stagger } from "motion"; import { DeleteWhatsNew } from "../Whatsnew"; export function OpenAboutPage() { + if (!document.getElementById('about-here-link-style')) { + const style = document.createElement('style'); + style.id = 'about-here-link-style'; + style.textContent = ` + .about-here-link { + background: rgba(0, 102, 255, 0.07) !important; + border-radius: 0.3em !important; + padding: 2px 10px !important; + color: #176bb2 !important; + font-weight: 500 !important; + transition: background 0.2s, color 0.2s !important; + cursor: pointer !important; + } + .about-here-link:hover { + background: rgba(0, 102, 255, 0.13) !important; + color: #124c87 !important; + } + `; + document.head.appendChild(style); + } const background = document.createElement("div"); background.id = "whatsnewbk"; background.classList.add("whatsnewBackground"); @@ -28,7 +48,7 @@ export function OpenAboutPage() {

We are currently working on fixing bugs and adding useful features. If you want to make a feature request or report a bug, you can do so on GitHub (find icon below). We are always looking for more contributors!

Credits:

Nulkem created the original extension, was ported to Manifest V3 by MEGA-Dawg68, and is under active development by Crazypersonalph, SethBurkart123, and other contributors.

-

Full contributors list here

+

Full contributors list here

`).firstChild; From 59e195d2aa714c19d6e5f98a6816f95291c5ebe0 Mon Sep 17 00:00:00 2001 From: Jones Date: Fri, 30 May 2025 12:10:36 +0930 Subject: [PATCH 2/3] Update OpenAboutPage.ts - Fix coloring --- src/seqta/utils/Openers/OpenAboutPage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seqta/utils/Openers/OpenAboutPage.ts b/src/seqta/utils/Openers/OpenAboutPage.ts index 1f441c10..ab543bb5 100644 --- a/src/seqta/utils/Openers/OpenAboutPage.ts +++ b/src/seqta/utils/Openers/OpenAboutPage.ts @@ -13,14 +13,14 @@ export function OpenAboutPage() { background: rgba(0, 102, 255, 0.07) !important; border-radius: 0.3em !important; padding: 2px 10px !important; - color: #176bb2 !important; + color:rgb(56, 166, 255) !important; font-weight: 500 !important; transition: background 0.2s, color 0.2s !important; cursor: pointer !important; } .about-here-link:hover { background: rgba(0, 102, 255, 0.13) !important; - color: #124c87 !important; + color:rgb(80, 168, 255) !important; } `; document.head.appendChild(style); From 280163111e9191d32d25dc7a21dc421eedab58e0 Mon Sep 17 00:00:00 2001 From: Jones Date: Fri, 30 May 2025 12:16:53 +0930 Subject: [PATCH 3/3] Update OpenAboutPage.ts - Move css to injected.scss --- src/seqta/utils/Openers/OpenAboutPage.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/seqta/utils/Openers/OpenAboutPage.ts b/src/seqta/utils/Openers/OpenAboutPage.ts index ab543bb5..2a3fbafb 100644 --- a/src/seqta/utils/Openers/OpenAboutPage.ts +++ b/src/seqta/utils/Openers/OpenAboutPage.ts @@ -5,26 +5,6 @@ import { animate, stagger } from "motion"; import { DeleteWhatsNew } from "../Whatsnew"; export function OpenAboutPage() { - if (!document.getElementById('about-here-link-style')) { - const style = document.createElement('style'); - style.id = 'about-here-link-style'; - style.textContent = ` - .about-here-link { - background: rgba(0, 102, 255, 0.07) !important; - border-radius: 0.3em !important; - padding: 2px 10px !important; - color:rgb(56, 166, 255) !important; - font-weight: 500 !important; - transition: background 0.2s, color 0.2s !important; - cursor: pointer !important; - } - .about-here-link:hover { - background: rgba(0, 102, 255, 0.13) !important; - color:rgb(80, 168, 255) !important; - } - `; - document.head.appendChild(style); - } const background = document.createElement("div"); background.id = "whatsnewbk"; background.classList.add("whatsnewBackground");