From 2e705cfb87348b21e3348ec9c44c00631ee43165 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 12 Jan 2025 21:33:49 +0800 Subject: [PATCH] WebUI: add percentage sign for hsl components This is a workaround to avoid confusing the stylelint checker (and probably some other checker internally). They cannot accept the fact that the component can be `` but instead insist it should be `` Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl#formal_syntax Also, MDN recommended to use `hsl()` instead of `hsla()`. From https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl : > Note: The hsla() functional notation is an alias for hsl(). They are > exactly equivalent. It is recommended to use hsl(). --- src/webui/www/private/css/Window.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/css/Window.css b/src/webui/www/private/css/Window.css index 2546a9dcb..865fc8051 100644 --- a/src/webui/www/private/css/Window.css +++ b/src/webui/www/private/css/Window.css @@ -205,7 +205,7 @@ div.mochaToolbarWrapper.bottom { ---------------------------------------------------------------- */ #modalOverlay { - background: hsla(0deg 0 0 / 30%); + background: hsl(0deg 0% 0% / 30%); display: none; left: 0; opacity: 0;