Compare commits

...

11 Commits

Author SHA1 Message Date
SethBurkart123 d53dc9ff06 feat: 3.4.13 2026-01-23 07:56:39 +11:00
Seth Burkart 5b590512ee Merge pull request #365 from Jaxx7594/line
fix: House/year box hard failing when house_colour does not exist
2026-01-21 21:52:43 +11:00
Seth Burkart 3ff8ef144a Merge pull request #366 from Jones8683/main
Fix the message of the day being unreadable in light mode
2026-01-21 21:52:20 +11:00
Seth Burkart d9abed1c5d Merge pull request #367 from Jaxx7594/bar
fix: Incorrect styling due to SEQTA update
2026-01-21 21:51:40 +11:00
Jaxon Lewis-Wilson 82a789bbec fix: Global fonts
Prior commit was not actually functional upon review
2026-01-21 12:22:45 +08:00
Jaxon Lewis-Wilson ce6538f850 fix: Global font
Overrides SEQTA's new important tag for font under *{}
2026-01-21 11:40:16 +08:00
Jaxon Lewis-Wilson 979ae7149f fix: Incorrect styling due to SEQTA update 2026-01-21 11:17:49 +08:00
codefactor-io 6e71437fe8 [CodeFactor] Apply fixes to commit 940ecf8 2026-01-19 01:41:43 +00:00
Jones8683 940ecf8714 fix: message of the day unreadable in light mode 2026-01-19 12:09:57 +10:30
Jaxon Lewis-Wilson e0cc2e0fdf fix: House/year box hard failing when house_colour does not exist 2026-01-18 00:11:09 +08:00
SethBurkart123 5a19ef92e8 feat: v3.4.12 2025-12-19 17:04:08 +11:00
7 changed files with 57 additions and 35 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "betterseqtaplus",
"version": "3.4.11",
"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",
+1 -1
View File
@@ -108,7 +108,7 @@ function getDefaultValues(): SettingsState {
originalSelectedColor: "",
DarkMode: true,
animations: !isLowEndDevice,
assessmentsAverage: true,
assessmentsAverage: false,
defaultPage: "home",
shortcuts: [
{
+11 -13
View File
@@ -57,7 +57,8 @@ select {
transition: 200ms;
background: var(--auto-background) !important;
}
* {
:root * {
font-family: Rubik, sans-serif !important;
--theme-fg-parts: white;
}
.extension-editor {
@@ -824,7 +825,7 @@ div > ol:has(.uiFileHandlerWrapper) {
min-height: 128px !important;
}
.student #menu > ul::before {
background-image: var(--betterseqta-logo);
background-image: var(--betterseqta-logo) !important;
position: -webkit-sticky;
position: sticky;
top: 0;
@@ -1043,8 +1044,8 @@ html.transparencyEffects
display: none;
}
#title {
background: var(--background-primary);
color: var(--text-primary);
background: var(--background-primary) !important;
color: var(--text-primary) !important;
display: flex;
justify-content: space-between;
padding-right: 56px !important;
@@ -2206,7 +2207,6 @@ div.bar.flat {
border-radius: 12px !important;
border: none !important;
box-shadow: none !important;
color: #fff !important;
padding: 16px !important;
margin: 0 !important;
height: 100% !important;
@@ -2214,6 +2214,7 @@ div.bar.flat {
display: flex !important;
align-items: flex-start !important;
overflow: hidden !important;
color: var(--text-primary) !important;
}
}
@@ -3357,7 +3358,6 @@ div.day-empty {
flex-direction: column;
color: var(--text-primary);
transform-origin: center center;
}
.whatsnewTextContainer.privacyStatement p {
margin-bottom: 1.5ex;
@@ -3436,7 +3436,6 @@ div.day-empty {
font-size: 0.75rem;
font-weight: 500;
color: #9a3412;
background-color: #ffedd569;
border-radius: 9999px;
border: 1px solid rgba(253, 186, 140, 0.3);
background-color: #ffedd5;
@@ -3813,7 +3812,7 @@ div.day-empty {
font-size: 20px !important; // Nice middle ground - not too big, not too small
font-weight: 600 !important;
color: var(--text-primary) !important;
margin: 0 0 12px 0 !important;
margin: 0 0 12px !important;
line-height: 1.3 !important;
flex-shrink: 0;
}
@@ -3925,7 +3924,6 @@ button.notice-close-btn {
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 18px;
color: var(--text-primary);
transition: all 0.2s ease !important;
flex-shrink: 0;
@@ -3983,13 +3981,13 @@ button.notice-close-btn {
font-size: 24px;
font-weight: 600;
color: var(--text-primary);
margin: 16px 20px 20px 20px;
margin: 16px 20px 20px;
line-height: 1.3;
flex-shrink: 0;
}
.notice-modal-body {
padding: 0 20px 20px 20px;
padding: 0 20px 20px;
font-size: 15px;
line-height: 1.6;
color: var(--text-secondary);
@@ -4070,11 +4068,11 @@ button.notice-close-btn {
.notice-modal-title {
font-size: 20px;
margin: 12px 16px 16px 16px;
margin: 12px 16px 16px;
}
.notice-modal-body {
padding: 0 16px 16px 16px;
padding: 0 16px 16px;
}
.notice-card {
+1 -1
View File
@@ -14,7 +14,7 @@ const updatedFirefoxManifest = {
},
browser_specific_settings: {
gecko: {
id: pkg.author.email,
id: "betterseqta@betterseqta.com",
},
},
};
@@ -8,12 +8,16 @@
object-fit: cover;
z-index: 4;
box-shadow: 0 0 0 3px #000000;
transition: box-shadow 0.05s ease-in-out;
}
.dark .userInfoImg {
box-shadow: 0 0 0 3px #ffffff;
transition: box-shadow 0.05s ease-in-out;
}
.userInfosvgdiv {
filter: invert(0) !important;
@media (prefers-reduced-motion: reduce) {
.userInfoImg {
transition: none !important;
}
}
+22 -15
View File
@@ -173,28 +173,35 @@ async function updateStudentInfo(students: any) {
);
});
let houseelement1 = document.getElementsByClassName("userInfohouse")[0];
const houseelement = houseelement1 as HTMLElement;
const houseelement = document.getElementsByClassName("userInfohouse")[0] as HTMLElement;
// Fallback to N/A
let text = 'N/A';
const student = students[index] ?? {};
// If student has a house, prefer to show year + house. If no year, only show house.
if (student.house) {
text = `${student.year ?? ""}${student.house}`;
// If house_colour exists, compute colour
if (student.house_colour) {
houseelement.style.background = student.house_colour;
if (students[index]?.house) {
if (students[index]?.house_colour) {
houseelement.style.background = students[index].house_colour;
try {
let colorresult = GetThresholdOfColor(students[index]?.house_colour);
const colorresult = GetThresholdOfColor(student.house_colour);
houseelement.style.color =
colorresult && colorresult > 300 ? "black" : "white";
houseelement.innerText = students[index].year + students[index].house;
} catch (error) {
houseelement.innerText = students[index].house;
} catch (err) {
// Colour calculation failed, no text colour set
}
}
} else {
try {
houseelement.innerText = students[index].year;
} catch (err) {
houseelement.innerText = "N/A";
}
} else if (student.year) {
// No house, only year will be shown
text = student.year;
}
houseelement.innerText = text;
}
function createNewsButton(fragment: DocumentFragment, menu: HTMLElement) {
@@ -32,6 +32,19 @@ export function OpenWhatsNewPopup() {
const text = stringToHTML(/* html */ `
<div class="whatsnewTextContainer" style="height: 50%;overflow-y: auto;">
<h1>3.4.13 - Bug Fixes & Styling Improvements</h1>
<li>Fixed house/year box hard failing when house_colour does not exist</li>
<li>Fixed message of the day being unreadable in light mode</li>
<li>Fixed global font styling issues due to SEQTA updates</li>
<li>Fixed styling issues with title bar and other elements</li>
<li>Other minor bug fixes and improvements</li>
<h1>3.4.12 - Privacy Updates & Bug Fixes</h1>
<li>Added privacy statement</li>
<li>Added disclaimer modal to assessment averages switch</li>
<li>Improved popup management system</li>
<li>Other minor bug fixes and improvements</li>
<h1>3.4.11 - New Features & Bug Fixes</h1>
<li>Added Background Music plugin</li>
<li>Added empty state for assessments on homepage</li>