diff --git a/public/index.html b/public/index.html index 8e89cd8d2..4c8cba3b3 100644 --- a/public/index.html +++ b/public/index.html @@ -1213,6 +1213,7 @@ Movable UI Panels + diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index cc3e776f1..55fca1e2b 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -170,7 +170,7 @@ function RA_CountCharTokens() { $("#result_info").html(` ${count_tokens} Tokens (${perm_tokens} Permanent Tokens)
- `); + `); } //warn if either are over 1024 } //Auto Load Last Charcter -- (fires when active_character is defined and auto_load_chat is true) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 30e8009b4..5414177e1 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -427,6 +427,31 @@ $(document).ready(() => { switchMovingUI(); }); + $("#movingUIreset").on('click', function () { + + document.getElementById("sheld").style.top = ''; + document.getElementById("sheld").style.left = ''; + document.getElementById("sheld").style.height = ''; + document.getElementById("sheld").style.width = ''; + + document.getElementById("left-nav-panel").style.top = ''; + document.getElementById("left-nav-panel").style.left = ''; + document.getElementById("left-nav-panel").style.height = ''; + document.getElementById("left-nav-panel").style.width = ''; + + document.getElementById("right-nav-panel").style.top = ''; + document.getElementById("right-nav-panel").style.left = ''; + document.getElementById("right-nav-panel").style.right = ''; + document.getElementById("right-nav-panel").style.height = ''; + document.getElementById("right-nav-panel").style.width = ''; + + document.getElementById("expression-holder").style.top = ''; + document.getElementById("expression-holder").style.left = ''; + document.getElementById("expression-holder").style.height = ''; + document.getElementById("expression-holder").style.width = ''; + + }) + $(`input[name="avatar_style"]`).on('input', function (e) { power_user.avatar_style = Number(e.target.value); localStorage.setItem(storage_keys.avatar_style, power_user.avatar_style); diff --git a/public/style.css b/public/style.css index d861d7457..23027d481 100644 --- a/public/style.css +++ b/public/style.css @@ -1905,11 +1905,11 @@ input[type="range"]::-webkit-slider-thumb { transition: 0.3s; } -.token-warning-button { +.whitespacenowrap { white-space: nowrap; } -.token-warning-button a { +#chartokenwarning a { color: var(--SmartThemeBodyColor); }