From 6c5d07adada42db1b12f27a489ee2d22bc15f2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E5=A5=87=E7=9A=84=E8=B5=B5=E4=BA=8C=20=28OrzMiku?= =?UTF-8?q?=29?= Date: Mon, 4 Aug 2025 17:08:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(#4166):=20=E6=96=B0=E5=A2=9E=E5=86=85?= =?UTF-8?q?=E5=AD=98=E6=98=BE=E7=A4=BA=E6=9D=A1=E7=A6=81=E7=94=A8=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=20(#4185)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HMCL/src/main/resources/assets/css/root.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/HMCL/src/main/resources/assets/css/root.css b/HMCL/src/main/resources/assets/css/root.css index 31ca95887..47715dd2e 100644 --- a/HMCL/src/main/resources/assets/css/root.css +++ b/HMCL/src/main/resources/assets/css/root.css @@ -106,14 +106,26 @@ -fx-background-color: -fx-base-darker-color; } +.memory-used:disabled { + -fx-opacity: 0.4; +} + .memory-allocate { -fx-background-color: derive(-fx-base-color, 100%); } +.memory-allocate:disabled { + -fx-opacity: 0.4; +} + .memory-total { -fx-background-color: -fx-base-rippler-color; } +.memory-total:disabled { + -fx-opacity: 0.4; +} + .update-label { -fx-text-fill: red; }