[release/3.6] 新增内存显示条禁用样式 (#4442)

https://github.com/HMCL-dev/HMCL/pull/4185

Co-authored-by: 神奇的赵二 (OrzMiku) <miku@ecy.pink>
This commit is contained in:
Glavo 2025-09-10 23:39:12 +08:00 committed by GitHub
parent 865c8588d8
commit 9dcc2727aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}