mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
Add opacity and scale animation, update
transparency effects, and improve loading symbol style
This commit is contained in:
+1
-1
@@ -290,7 +290,7 @@ async function DeleteWhatsNew() {
|
|||||||
|
|
||||||
animate(
|
animate(
|
||||||
[popup, bkelement],
|
[popup, bkelement],
|
||||||
{ opacity: [1, 0]},
|
{ opacity: [1, 0], scale: [1, 0] },
|
||||||
{ easing: [.22, .03, .26, 1] }
|
{ easing: [.22, .03, .26, 1] }
|
||||||
).finished.then(() => {
|
).finished.then(() => {
|
||||||
bkelement.remove();
|
bkelement.remove();
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ html.transparencyEffects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Blurs */
|
/* Blurs */
|
||||||
|
.BasicPanel__BasicPanel___1GP6s,
|
||||||
.message.addMessage,
|
.message.addMessage,
|
||||||
.singleSelect,
|
.singleSelect,
|
||||||
.uiFileHandlerPanel,
|
.uiFileHandlerPanel,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export function AppendLoadingSymbol(givenID, position) {
|
|||||||
export default function loading() {
|
export default function loading() {
|
||||||
let loadinghtml = stringToHTML(
|
let loadinghtml = stringToHTML(
|
||||||
String.raw`
|
String.raw`
|
||||||
<div class="bkloading" id="loading" style="background-color: var(--theme-secondary, var(--background-secondary)); color: var(--text-primary); width: 100%;overflow: hidden;opacity: 1;transition: 1s;height: 100%;transition: color 1ms linear;top: 0;position: absolute;left: 0;z-index: 1000000;">
|
<div class="bkloading" id="loading" style="background-color: var(--theme-secondary, var(--background-secondary)); color: var(--text-primary); width: 100%;overflow: hidden;opacity: 1;transition: 1s;height: 100%;transition: color 1ms linear, opacity 1s ease-in-out;top: 0;position: absolute;left: 0;z-index: 1000000;">
|
||||||
<style>
|
<style>
|
||||||
.svg {
|
.svg {
|
||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user