mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
feat: cleanup and changelog for update
This commit is contained in:
+21
-1
@@ -3286,7 +3286,7 @@ body {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.whatsnewImg {
|
||||
margin: 8px auto;
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
|
||||
@@ -3305,6 +3305,26 @@ body {
|
||||
text-indent: -1em;
|
||||
padding-left: 1em;
|
||||
}
|
||||
.whatsnewTextContainer .beta {
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
padding-top: 0.125rem;
|
||||
padding-bottom: 0.125rem;
|
||||
margin-left: 2px;
|
||||
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;
|
||||
border-color: rgba(253, 186, 140, 0.3);
|
||||
}
|
||||
.dark .whatsnewTextContainer .beta {
|
||||
border-color: rgb(124 45 18 / 0.3);
|
||||
background-color: rgb(124 45 18 / 0.3);
|
||||
color: rgb(253 186 116);
|
||||
}
|
||||
.whatsnewTextHeader {
|
||||
font-size: 1.4em !important;
|
||||
color: #4dd868;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["resources/icons/*"],
|
||||
"resources": ["resources/icons/*", "resources/update-image.webp"],
|
||||
"matches": ["*://*/*"]
|
||||
}
|
||||
]
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -41,7 +41,7 @@ export function OpenWhatsNewPopup() {
|
||||
let imagecont = document.createElement("div");
|
||||
imagecont.classList.add("whatsnewImgContainer");
|
||||
|
||||
let video = document.createElement("video");
|
||||
/* let video = document.createElement("video");
|
||||
let source = document.createElement("source");
|
||||
|
||||
source.setAttribute(
|
||||
@@ -53,13 +53,27 @@ export function OpenWhatsNewPopup() {
|
||||
video.loop = true;
|
||||
video.appendChild(source);
|
||||
video.classList.add("whatsnewImg");
|
||||
imagecont.appendChild(video);
|
||||
imagecont.appendChild(video); */
|
||||
|
||||
let whatsnewimg = document.createElement("img");
|
||||
//whatsnewimg.src = "https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/update-image.webp";
|
||||
whatsnewimg.src = browser.runtime.getURL('../../resources/update-image.webp');
|
||||
whatsnewimg.classList.add("whatsnewImg");
|
||||
imagecont.appendChild(whatsnewimg);
|
||||
|
||||
let textcontainer = document.createElement("div");
|
||||
textcontainer.classList.add("whatsnewTextContainer");
|
||||
|
||||
let text = stringToHTML(/* html */ `
|
||||
<div class="whatsnewTextContainer" style="height: 50%;overflow-y: scroll;">
|
||||
<h1>3.4.7 - Global Search</h1>
|
||||
<li>Added a new global search bar (enable in settings)
|
||||
<span class="beta">beta</span>
|
||||
</li>
|
||||
<li>Fixed news feed not loading</li>
|
||||
<li>Style changes and improvements</li>
|
||||
<li>Other bug fixes</li>
|
||||
|
||||
<h1>3.4.6.1 - Hot patch!</h1>
|
||||
<li>Fixed storage not updating and sometimes being replaced with default values</li>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user