diff --git a/public/index.html b/public/index.html index 1c7fe3ac5..544683c9f 100644 --- a/public/index.html +++ b/public/index.html @@ -1763,7 +1763,7 @@ -
+
diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index a2c9339a6..a1a7aa54a 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -209,10 +209,7 @@ function RA_checkOnlineStatus() { } else { if (online_status !== undefined && online_status !== "no_connection") { $("#send_textarea").attr("placeholder", "Type a message..."); //on connect, placeholder tells user to type message - const formColor = power_user.fast_ui_mode ? "var(--SmartThemeFastUIBGColor)" : "var(--SmartThemeBlurTintColor)"; - /* console.log("RA-AC -- connected, coloring input as " + formColor); */ $('#send_form').removeClass("no-connection"); - $("#send_form").css("background-color", formColor); //on connect, form BG changes to transprent black $("#API-status-top").removeClass("fa-plug-circle-exclamation redOverlayGlow"); $("#API-status-top").addClass("fa-plug"); connection_made = true; diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 992ef7784..21ee95a52 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -109,7 +109,6 @@ function switchUiMode() { const fastUi = localStorage.getItem(storage_keys.fast_ui_mode); power_user.fast_ui_mode = fastUi === null ? true : fastUi == "true"; $("body").toggleClass("no-blur", power_user.fast_ui_mode); - $("#send_form").toggleClass("no-blur-sendtextarea", power_user.fast_ui_mode); } function switchWaifuMode() { @@ -241,13 +240,13 @@ async function applyTheme(name) { console.log('theme applied: ' + name); } -applyAvatarStyle(); switchUiMode(); -applyChatDisplay(); -applySheldWidth(); applyFontScale(); -applyBlurStrength(); applyThemeColor(); +applySheldWidth(); +applyAvatarStyle(); +applyBlurStrength(); +applyChatDisplay(); switchWaifuMode() function loadPowerUserSettings(settings, data) { diff --git a/public/style.css b/public/style.css index bfdbe9d82..ff75c8908 100644 --- a/public/style.css +++ b/public/style.css @@ -250,10 +250,14 @@ code { border: 1px solid var(--grey30a); border-radius: 0 0 20px 20px; - background-color: var(--crimson70a); + background-color: var(--SmartThemeBlurTintColor); backdrop-filter: blur(var(--SmartThemeBlurStrength)); } +#send_form.no-connection { + background-color: rgba(100, 0, 0, 0.5) !important; +} + #send_but_sheld { padding: 0; border: 0; @@ -3303,16 +3307,10 @@ body.no-blur * { backdrop-filter: unset !important; } -#send_form.no-blur-sendtextarea { - background-color: var(--SmartThemeFastUIBGColor); -} -#send_form.no-connection { - background-color: rgba(100, 0, 0, 0.5); -} -#send_form.no-blur-sendtextarea.no-connection { - background-color: rgba(100, 0, 0, 0.9); +body.no-blur #send_form.no-connection { + background-color: rgba(100, 0, 0, 0.9) !important; } body.no-blur #bg1,