pref: 优化GUI更新功能;项目分为gui和upgrade两个模块

This commit is contained in:
2024-10-30 00:11:41 +08:00
parent 4dc13bb8f1
commit 9bbc3f488f
94 changed files with 1056 additions and 313 deletions

View File

@ -0,0 +1,71 @@
/**************************************************
* Main View
**************************************************/
#homeLabel {
-fx-font-size: 35;
-fx-font-weight: bold;
}
#statusLabel {
-fx-padding: 2 5 2 5;
-fx-font-size: 15;
-fx-background-radius: 10;
-fx-text-alignment: CENTER;
-fx-border-radius: 10;
}
.control-menu, #moreButton {
-fx-font-size: 15;
-fx-background-radius: 15;
-fx-padding: 10 40;
-fx-border-radius: 15;
-fx-border-width: 2;
}
#startButton {
-color-button-bg-focused: -color-button-bg;
-fx-border-color: -color-button-bg;
}
#passwordButton {
-color-button-bg: -color-success-3;
-color-button-bg-hover: -color-button-bg;
-color-button-bg-focused: -color-button-bg;
-color-button-bg-pressed: -color-button-bg;
-fx-border-color: -color-button-bg;
}
#restartButton {
-color-button-bg: linear-gradient(to bottom right, -color-accent-3, -color-chart-6);
-color-button-bg-hover: -color-button-bg;
-color-button-bg-focused: -color-button-bg;
-color-button-bg-pressed: -color-button-bg;
-fx-border-color: -color-button-bg;
}
#moreButton {
-fx-padding: 3 30;
-fx-background-color: transparent;
-fx-border-color: -color-chart-6-alpha70;
-color-button-fg: -color-chart-6-alpha70;
&:hover {
-fx-background-color: -color-chart-6-alpha20;
-fx-border-color: -color-chart-6-alpha70;
}
.context-menu, .menu-item {
-fx-background-radius: 15;
-fx-border-radius: 15;
}
}
.logArea {
-fx-font-family: "Lucida Console";
-fx-font-size: 15;
-fx-background-radius: 15;
-fx-border-radius: 15;
-fx-padding: 5 15 5 15;
-fx-background-color: -color-neutral-muted;
}