From 32e1963d5a72beb87b752986d5f1409e14eee72d Mon Sep 17 00:00:00 2001 From: Envision <9063072+elapsingdreams@user.noreply.gitee.com> Date: Mon, 12 Aug 2024 16:47:16 +0800 Subject: [PATCH] =?UTF-8?q?:art:=E7=83=AD=E4=BF=AE=E5=A4=8D=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=98=BE=E7=A4=BA=20:see=5Fno=5Fevil:=E6=9B=B4?= =?UTF-8?q?=E6=96=B0.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ src/resources/liteyuki_weather/templates/css/weather_now.css | 2 +- src/resources/liteyuki_weather/templates/js/weather_now.js | 4 ++-- src/resources/liteyuki_weather/templates/weather_now.html | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a80db66f..67716fee 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ .vscode/ .cache/ +venv/ + node_modules/ data/ db/ diff --git a/src/resources/liteyuki_weather/templates/css/weather_now.css b/src/resources/liteyuki_weather/templates/css/weather_now.css index c8d83d2a..dd1f4298 100644 --- a/src/resources/liteyuki_weather/templates/css/weather_now.css +++ b/src/resources/liteyuki_weather/templates/css/weather_now.css @@ -227,7 +227,7 @@ justify-content: center; } -.attribution-info { +#attribution-info { backdrop-filter: blur(10px); padding: 0 5px 0; background-color: rgba(0, 0, 0, 0.5); diff --git a/src/resources/liteyuki_weather/templates/js/weather_now.js b/src/resources/liteyuki_weather/templates/js/weather_now.js index d822caec..8e9b9e7a 100644 --- a/src/resources/liteyuki_weather/templates/js/weather_now.js +++ b/src/resources/liteyuki_weather/templates/js/weather_now.js @@ -179,6 +179,6 @@ function get_time_hour(fxTime) { } let attrinfo = document.getElementById('attribution-info'); -if (!is_dev & !attr) attrinfo.parentElement.style.display = "none" +if (!is_dev & !attr) attrinfo.parentElement.style.display = "none"; -attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather") +attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather"); \ No newline at end of file diff --git a/src/resources/liteyuki_weather/templates/weather_now.html b/src/resources/liteyuki_weather/templates/weather_now.html index 6d0f9154..3cb2de7c 100644 --- a/src/resources/liteyuki_weather/templates/weather_now.html +++ b/src/resources/liteyuki_weather/templates/weather_now.html @@ -83,7 +83,7 @@
-
+