mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-25 20:21:34 -04:00
[release/3.6] 新增内存显示条禁用样式 (#4442)
https://github.com/HMCL-dev/HMCL/pull/4185 Co-authored-by: 神奇的赵二 (OrzMiku) <miku@ecy.pink>
This commit is contained in:
parent
865c8588d8
commit
9dcc2727aa
@ -106,14 +106,26 @@
|
|||||||
-fx-background-color: -fx-base-darker-color;
|
-fx-background-color: -fx-base-darker-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.memory-used:disabled {
|
||||||
|
-fx-opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
.memory-allocate {
|
.memory-allocate {
|
||||||
-fx-background-color: derive(-fx-base-color, 100%);
|
-fx-background-color: derive(-fx-base-color, 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.memory-allocate:disabled {
|
||||||
|
-fx-opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
.memory-total {
|
.memory-total {
|
||||||
-fx-background-color: -fx-base-rippler-color;
|
-fx-background-color: -fx-base-rippler-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.memory-total:disabled {
|
||||||
|
-fx-opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
.update-label {
|
.update-label {
|
||||||
-fx-text-fill: red;
|
-fx-text-fill: red;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user