diff --git a/package.json b/package.json index 6424cc42..6b1b7451 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterseqtaplus", - "version": "3.4.12", + "version": "3.4.13", "type": "module", "description": "Enhance SEQTA Learn's usability and aesthetics! A fork of BetterSEQTA to continue development add add heaps more features!", "browserslist": "> 0.5%, last 2 versions, not dead", diff --git a/src/css/injected.scss b/src/css/injected.scss index b5e6018f..19990054 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -824,7 +824,7 @@ div > ol:has(.uiFileHandlerWrapper) { [aria-labelledby="lixycoxs-tab-1"] [minlength="0"] { min-height: 128px !important; } -.student #menu > ul::before { +body.student #menu > ul::before { background-image: var(--betterseqta-logo) !important; position: -webkit-sticky; position: sticky; diff --git a/src/plugins/built-in/themes/theme-manager.ts b/src/plugins/built-in/themes/theme-manager.ts index c30ecdd1..69e6ff23 100644 --- a/src/plugins/built-in/themes/theme-manager.ts +++ b/src/plugins/built-in/themes/theme-manager.ts @@ -147,14 +147,21 @@ export class ThemeManager { public async initialize(): Promise { console.debug("[ThemeManager] Starting initialization"); try { - // Check if theme creator was open during reload + const neumorphicThemeId = "9a9786d1-b5fc-4a91-8c7a-f8bf7f7679ad"; + const migrationCSS = "#title {\nbackground: transparent !important;\n}"; + + const theme = (await localforage.getItem(neumorphicThemeId)) as CustomTheme | null; + if (theme && theme.CustomCSS && !theme.CustomCSS.includes("#title {\nbackground: transparent !important;\n}")) { + theme.CustomCSS = theme.CustomCSS + "\n" + migrationCSS; + await localforage.setItem(neumorphicThemeId, theme); + } + const themeCreatorOpen = localStorage.getItem("themeCreatorOpen"); if (themeCreatorOpen === "true") { console.debug( "[ThemeManager] Theme creator was open, clearing preview state", ); this.clearPreview(); - // Clean up the flag localStorage.removeItem("themeCreatorOpen"); } diff --git a/src/seqta/utils/Openers/OpenWhatsNewPopup.ts b/src/seqta/utils/Openers/OpenWhatsNewPopup.ts index 893cf8a4..d4f70985 100644 --- a/src/seqta/utils/Openers/OpenWhatsNewPopup.ts +++ b/src/seqta/utils/Openers/OpenWhatsNewPopup.ts @@ -32,6 +32,13 @@ export function OpenWhatsNewPopup() { const text = stringToHTML(/* html */ `
+

3.4.13 - Bug Fixes & Styling Improvements

+
  • Fixed house/year box hard failing when house_colour does not exist
  • +
  • Fixed message of the day being unreadable in light mode
  • +
  • Fixed global font styling issues due to SEQTA updates
  • +
  • Fixed styling issues with title bar and other elements
  • +
  • Other minor bug fixes and improvements
  • +

    3.4.12 - Privacy Updates & Bug Fixes

  • Added privacy statement
  • Added disclaimer modal to assessment averages switch