mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
Update OpenAboutPage.ts - Move css to injected.scss
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user