From 7b7d23d9751fecc95234f4c53086ded70b2f43d5 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 8 Oct 2024 12:41:59 +0200 Subject: [PATCH] Small fixes --- changedetectionio/static/js/watch-settings.js | 2 -- changedetectionio/static/styles/scss/styles.scss | 2 +- changedetectionio/static/styles/styles.css | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/changedetectionio/static/js/watch-settings.js b/changedetectionio/static/js/watch-settings.js index 5ffb0090..d891c4dc 100644 --- a/changedetectionio/static/js/watch-settings.js +++ b/changedetectionio/static/js/watch-settings.js @@ -78,9 +78,7 @@ $(document).ready(function () { $("#activate-text-preview").click(function (e) { $('body').toggleClass('preview-text-enabled') request_textpreview_update(); - const method = $('body').hasClass('preview-text-enabled') ? 'on' : 'off'; - $("#text-preview-refresh")[method]('click', debounced_request_textpreview_update); $('textarea:visible')[method]('keyup blur', debounced_request_textpreview_update); $('input:visible')[method]('keyup blur change', debounced_request_textpreview_update); $("#filters-and-triggers-tab")[method]('click', debounced_request_textpreview_update); diff --git a/changedetectionio/static/styles/scss/styles.scss b/changedetectionio/static/styles/scss/styles.scss index 81904409..3082d335 100644 --- a/changedetectionio/static/styles/scss/styles.scss +++ b/changedetectionio/static/styles/scss/styles.scss @@ -111,7 +111,7 @@ button.toggle-button { #pure-menu-horizontal-spinner { height: 3px; - background: linear-gradient(-75deg, #ed5900, #ed8600, #edc600, #ed0000); + background: linear-gradient(-75deg, #ff6000, #ff8f00, #ffdd00, #ed0000); background-size: 400% 400%; width: 100%; animation: gradient 200s ease infinite; diff --git a/changedetectionio/static/styles/styles.css b/changedetectionio/static/styles/styles.css index 8885eced..71a285b8 100644 --- a/changedetectionio/static/styles/styles.css +++ b/changedetectionio/static/styles/styles.css @@ -577,7 +577,7 @@ button.toggle-button { #pure-menu-horizontal-spinner { height: 3px; - background: linear-gradient(-75deg, #ed5900, #ed8600, #edc600, #ed0000); + background: linear-gradient(-75deg, #ff6000, #ff8f00, #ffdd00, #ed0000); background-size: 400% 400%; width: 100%; animation: gradient 200s ease infinite; }