From 76cd98b52128032164e670f672910a4660f75088 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 17 Jul 2023 17:32:12 +0200 Subject: [PATCH 1/3] Updating AppRise notification library, Improved pover, ntfy support, whatsapp updates, Pagertree support, Voip.ms support, Misskey support, plus many fixes and improvements. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2e53e1b7..e4544f59 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,7 +32,7 @@ dnspython<2.3.0 # jq not available on Windows so must be installed manually # Notification library -apprise~=1.3.0 +apprise~=1.4.5 # apprise mqtt https://github.com/dgtlmoon/changedetection.io/issues/315 paho-mqtt From df0cc7b58502ce0ae1cb9257aec7d56e9560472e Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 17 Jul 2023 18:03:42 +0200 Subject: [PATCH 2/3] 0.44 --- changedetectionio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 8557d5a2..91348670 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -38,7 +38,7 @@ from flask_paginate import Pagination, get_page_parameter from changedetectionio import html_tools from changedetectionio.api import api_v1 -__version__ = '0.43.2' +__version__ = '0.44' datastore = None From e7f726c0576e88192b2aaa2b00e2c2becffa0269 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 24 Jul 2023 14:06:40 +0200 Subject: [PATCH 3/3] UI - Fixing darkmode switch icon --- .../static/styles/scss/parts/_darkmode.scss | 25 +++++++++++++++++++ .../static/styles/scss/styles.scss | 17 +------------ changedetectionio/static/styles/styles.css | 21 +++++++++------- 3 files changed, 38 insertions(+), 25 deletions(-) create mode 100644 changedetectionio/static/styles/scss/parts/_darkmode.scss diff --git a/changedetectionio/static/styles/scss/parts/_darkmode.scss b/changedetectionio/static/styles/scss/parts/_darkmode.scss new file mode 100644 index 00000000..a9719d3c --- /dev/null +++ b/changedetectionio/static/styles/scss/parts/_darkmode.scss @@ -0,0 +1,25 @@ + +#toggle-light-mode { + width: 3rem; + /* default */ + .icon-dark { + display: none; + } + +} + +html[data-darkmode="true"] { + #toggle-light-mode { + .icon-light { + display: none; + } + + .icon-dark { + display: block; + } + } +} + + + + diff --git a/changedetectionio/static/styles/scss/styles.scss b/changedetectionio/static/styles/scss/styles.scss index 90b0ffd4..479837e8 100644 --- a/changedetectionio/static/styles/scss/styles.scss +++ b/changedetectionio/static/styles/scss/styles.scss @@ -8,6 +8,7 @@ @import "parts/_pagination"; @import "parts/_spinners"; @import "parts/_variables"; +@import "parts/_darkmode"; body { color: var(--color-text); @@ -54,22 +55,6 @@ a.github-link { } } -#toggle-light-mode { - width: 3rem; - .icon-dark { - display: none; - } - - &.dark { - .icon-light { - display: none; - } - - .icon-dark { - display: block; - } - } -} #toggle-search { width: 2rem; diff --git a/changedetectionio/static/styles/styles.css b/changedetectionio/static/styles/styles.css index d4b97ea8..396ae65f 100644 --- a/changedetectionio/static/styles/styles.css +++ b/changedetectionio/static/styles/styles.css @@ -316,6 +316,18 @@ html[data-darkmode="true"] { html[data-darkmode="true"] .watch-table .unviewed.error { color: var(--color-watch-table-error); } +#toggle-light-mode { + width: 3rem; + /* default */ } + #toggle-light-mode .icon-dark { + display: none; } + +html[data-darkmode="true"] #toggle-light-mode .icon-light { + display: none; } + +html[data-darkmode="true"] #toggle-light-mode .icon-dark { + display: block; } + body { color: var(--color-text); background: var(--color-background-page); } @@ -350,15 +362,6 @@ a.github-link { a.github-link:hover { color: var(--color-icon-github-hover); } -#toggle-light-mode { - width: 3rem; } - #toggle-light-mode .icon-dark { - display: none; } - #toggle-light-mode.dark .icon-light { - display: none; } - #toggle-light-mode.dark .icon-dark { - display: block; } - #toggle-search { width: 2rem; }