diff --git a/public/.DS_Store b/public/.DS_Store
new file mode 100644
index 00000000..d032301c
Binary files /dev/null and b/public/.DS_Store differ
diff --git a/public/icons/betterseqta-dark-full.png b/public/icons/betterseqta-dark-full.png
index f6ade70c..f2c77f49 100644
Binary files a/public/icons/betterseqta-dark-full.png and b/public/icons/betterseqta-dark-full.png differ
diff --git a/public/icons/betterseqta-dark-icon.png b/public/icons/betterseqta-dark-icon.png
index fe411c65..e67a13a5 100644
Binary files a/public/icons/betterseqta-dark-icon.png and b/public/icons/betterseqta-dark-icon.png differ
diff --git a/public/icons/betterseqta-light-full.png b/public/icons/betterseqta-light-full.png
index 0d981a59..6bd12477 100644
Binary files a/public/icons/betterseqta-light-full.png and b/public/icons/betterseqta-light-full.png differ
diff --git a/public/icons/betterseqta-light-icon.png b/public/icons/betterseqta-light-icon.png
index e6ea7f8a..6e034178 100644
Binary files a/public/icons/betterseqta-light-icon.png and b/public/icons/betterseqta-light-icon.png differ
diff --git a/public/icons/betterseqta-light-outline.png b/public/icons/betterseqta-light-outline.png
index a5a48125..e71ce88e 100644
Binary files a/public/icons/betterseqta-light-outline.png and b/public/icons/betterseqta-light-outline.png differ
diff --git a/public/icons/icon-32.png b/public/icons/icon-32.png
index 39badb19..547fe182 100644
Binary files a/public/icons/icon-32.png and b/public/icons/icon-32.png differ
diff --git a/public/icons/icon-48.png b/public/icons/icon-48.png
index 118431bd..8ad082c7 100644
Binary files a/public/icons/icon-48.png and b/public/icons/icon-48.png differ
diff --git a/public/icons/icon-64.png b/public/icons/icon-64.png
index 0e8763a6..51fed79f 100644
Binary files a/public/icons/icon-64.png and b/public/icons/icon-64.png differ
diff --git a/public/manifest.json b/public/manifest.json
index a3654ef6..6e171aa2 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "BetterSEQTA+",
- "version": "3.0.0",
+ "version": "3.1.0",
"description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!",
"icons": {
"32": "icons/icon-32.png",
diff --git a/public/popup/info.css b/public/popup/info.css
index 276af1d0..8b1e6f3c 100644
--- a/public/popup/info.css
+++ b/public/popup/info.css
@@ -24,6 +24,29 @@
z-index: 20;
}
+#bksliderinput {
+ background-color: #20e060 !important;
+ color: #20e060 !important;
+ border-radius: 16px !important;
+ border: none !important;
+ width: 100% !important;
+ height: 100% !important;
+ padding: 0 !important;
+ margin: 0 !important;
+}
+
+#bksliderinput::-webkit-slider-thumb {
+ -webkit-appearance: none !important;
+ appearance: none !important;
+ width: 16px !important;
+ height: 16px !important;
+ transform: scale(1.5) !important;
+ background: #86f078 !important;
+ cursor: pointer !important;
+ border-radius: 50% !important;
+ border: 1px solid #20e060 !important;
+}
+
.selector-container {
font-family: Rubik, sans-serif;
background-color: #131313;
diff --git a/public/popup/info.html b/public/popup/info.html
index f2584170..46b9de63 100644
--- a/public/popup/info.html
+++ b/public/popup/info.html
@@ -343,6 +343,16 @@
+
+
+
Animated Background Speed
+
Controls the speed of the animated background.
+
+
+
+
+
+
Custom Theme Colour
diff --git a/public/popup/info.js b/public/popup/info.js
index 9bbff158..e07e7ea0 100644
--- a/public/popup/info.js
+++ b/public/popup/info.js
@@ -1,16 +1,3 @@
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see .
-
/*global chrome*/
const onoffselection = document.querySelector("#onoff");
@@ -22,6 +9,8 @@ const miscsection = document.querySelector("#miscsection");
//const mainpage = document.querySelector("#mainpage");
const colorpicker = document.querySelector("#colorpicker");
const animatedbk = document.querySelector("#animatedbk");
+const bkslider = document.querySelector("#bksliderinput");
+
const customshortcutbutton = document.getElementsByClassName(
"custom-shortcuts-button",
)[0];
@@ -97,9 +86,7 @@ function FindSEQTATab() {
}
});
}
-/*
-Store the currently selected settings using chrome.storage.local.
-*/
+
function storeSettings() {
chrome.storage.local.set({ onoff: onoffselection.checked }, function () {
FindSEQTATab();
@@ -112,6 +99,7 @@ function storeNotificationSettings() {
});
chrome.storage.local.set({ lessonalert: lessonalert.checked });
chrome.storage.local.set({ animatedbk: animatedbk.checked });
+ chrome.storage.local.set({ bksliderinput: bkslider.value });
}
function StoreAllSettings() {
@@ -141,6 +129,7 @@ function updateUI(restoredSettings) {
notificationcollector.checked = restoredSettings.notificationcollector;
lessonalert.checked = restoredSettings.lessonalert;
animatedbk.checked = restoredSettings.animatedbk;
+ bkslider.value = restoredSettings.bksliderinput;
chrome.storage.local.get(["shortcuts"], function (result) {
var shortcuts = Object.values(result)[0];
for (var i = 0; i < shortcutbuttons.length; i++) {
@@ -158,7 +147,7 @@ var stringtoHTML = function (str) {
};
function CreateShortcutDiv(name) {
- div = stringtoHTML(`
+ let div = stringtoHTML(`