修复视觉验收夹具与运行态对比度

This commit is contained in:
张家训
2026-08-01 19:27:31 +08:00
parent 1290e3dc01
commit 086077beb6
10 changed files with 320 additions and 37 deletions
+39 -1
View File
@@ -30,7 +30,18 @@
}
.nav-separator {
-fx-background-color: -workutils-border;
-fx-padding: 0;
-fx-min-height: 1px;
-fx-pref-height: 1px;
-fx-max-height: 1px;
-fx-background-color: transparent;
}
.nav-separator .line {
-fx-border-color: -workutils-border transparent transparent transparent;
-fx-border-width: 1px 0 0 0;
-fx-border-insets: 0;
-fx-padding: 0;
}
/* ============ ToggleButton 导航 ============ */
@@ -99,6 +110,22 @@
-fx-max-height: 48px;
}
.app-brand-icon {
-fx-alignment: center;
-fx-background-color: -workutils-primary;
-fx-background-radius: 6px;
-fx-min-width: 32px;
-fx-pref-width: 32px;
-fx-max-width: 32px;
-fx-min-height: 32px;
-fx-pref-height: 32px;
-fx-max-height: 32px;
}
.app-brand-icon .app-icon {
-fx-icon-color: white;
}
/* ---- 内容区 ---- */
.content-area {
-fx-background-color: -workutils-bg;
@@ -153,6 +180,17 @@
-fx-background-color: derive(-workutils-primary, -12%);
}
.btn-primary:disabled:running {
-fx-opacity: 1;
-fx-background-color: -workutils-primary;
-fx-text-fill: white;
}
.btn-primary:disabled:running .loading-spinner {
-fx-progress-color: white;
-fx-opacity: 1;
}
.btn-danger {
-fx-background-color: -workutils-danger;
-fx-text-fill: white;