diff --git a/.gitignore b/.gitignore index 54cc5b7..87a17a1 100644 --- a/.gitignore +++ b/.gitignore @@ -68,6 +68,7 @@ plugins/build-toxi.bat Overlord-Server/plugins/* plugins/toxi/* plugins/toxi copy/* +plugins/extension/* *.zip diff --git a/Overlord-Server/public/assets/change-password.js b/Overlord-Server/public/assets/change-password.js index bf2784d..8c64e33 100644 --- a/Overlord-Server/public/assets/change-password.js +++ b/Overlord-Server/public/assets/change-password.js @@ -124,7 +124,7 @@ if (typeof anime !== "undefined") { form?.addEventListener("submit", async (e) => { e.preventDefault(); errEl.textContent = ""; - successEl.style.display = "none"; + successEl.textContent = ""; if (newPass.value !== confirmPass.value) { errEl.textContent = "New passwords do not match"; @@ -164,19 +164,14 @@ form?.addEventListener("submit", async (e) => { sessionStorage.removeItem("temp_user"); successEl.textContent = "Password changed successfully! Redirecting..."; - successEl.style.opacity = "0"; - successEl.style.display = "block"; if (typeof anime !== "undefined") { anime({ targets: successEl, - opacity: [0, 1], translateY: [-5, 0], duration: 400, easing: "easeOutQuad", }); - } else { - successEl.style.opacity = "1"; } setTimeout(() => { diff --git a/Overlord-Server/public/assets/main.css b/Overlord-Server/public/assets/main.css index fc17d90..cb93d52 100644 --- a/Overlord-Server/public/assets/main.css +++ b/Overlord-Server/public/assets/main.css @@ -1478,21 +1478,74 @@ article.card[data-bookmarked="true"] { .error { color: #ff9b9b; - min-height: 18px; margin-top: 12px; font-size: 13px; text-align: center; - padding: 8px; + padding: 0; border-radius: 8px; - background: rgba(255, 99, 99, 0.1); - border: 1px solid rgba(255, 99, 99, 0.2); + background: transparent; + border: 1px solid transparent; opacity: 0; + transition: + opacity 220ms ease, + padding 220ms ease, + background-color 220ms ease, + border-color 220ms ease; } .error:not(:empty) { opacity: 1; + padding: 8px 10px; + background: rgba(255, 99, 99, 0.1); + border-color: rgba(255, 99, 99, 0.22); } +.success { + color: #6ee7b7; + margin-top: 12px; + font-size: 13px; + text-align: center; + padding: 0; + border-radius: 8px; + background: transparent; + border: 1px solid transparent; + opacity: 0; + transition: + opacity 220ms ease, + padding 220ms ease, + background-color 220ms ease, + border-color 220ms ease; +} + +.success:not(:empty) { + opacity: 1; + padding: 8px 10px; + background: rgba(16, 185, 129, 0.12); + border-color: rgba(16, 185, 129, 0.28); +} + +.login-footer { + margin-top: 18px; + padding-top: 16px; + border-top: 1px solid rgba(255, 255, 255, 0.06); + text-align: center; + font-size: 13px; + color: var(--color-text-muted); +} + +.login-footer a { + color: #c4b8ff; + text-decoration: none; + border-bottom: 1px solid rgba(196, 184, 255, 0.25); + transition: color 180ms ease, border-color 180ms ease; +} + +.login-footer a:hover { + color: #e6dffe; + border-bottom-color: rgba(230, 223, 254, 0.7); +} + + .console-body { background: radial-gradient(120% 120% at 20% 20%, #102040 0%, transparent 45%), diff --git a/Overlord-Server/public/change-password.html b/Overlord-Server/public/change-password.html index ae463f5..d50bfe0 100644 --- a/Overlord-Server/public/change-password.html +++ b/Overlord-Server/public/change-password.html @@ -23,28 +23,23 @@
- For security reasons, you must change the default password before - continuing. + Choose a fresh password to replace the default before you continue.
- Access your Overlord -
+Sign in to your control plane