优化项目列表样式提升可读性

This commit is contained in:
liumangmang
2026-02-04 18:06:08 +08:00
parent e9a3238926
commit ddeb7c65ff

View File

@@ -47,18 +47,21 @@
} }
.project-list { .project-list {
-fx-background-color: white; -fx-background-color: #f1f5f9;
} }
.project-card { .project-card {
-fx-background-color: #f9fafb; -fx-background-color: #e5e7eb;
-fx-background-radius: 12; -fx-background-radius: 12;
-fx-border-color: #d1d5db;
-fx-border-radius: 12;
-fx-padding: 16; -fx-padding: 16;
-fx-cursor: hand; -fx-cursor: hand;
-fx-effect: dropshadow(gaussian, rgba(15, 23, 42, 0.12), 6, 0, 0, 2);
} }
.project-card:hover { .project-card:hover {
-fx-background-color: #f3f4f6; -fx-background-color: #d4d4d8;
-fx-translate-x: 4; -fx-translate-x: 4;
} }
@@ -97,21 +100,23 @@
} }
.status-badge { .status-badge {
-fx-background-color: #d1fae5; -fx-background-color: #a7f3d0;
-fx-background-radius: 12; -fx-background-radius: 12;
-fx-padding: 4 8; -fx-padding: 4 8;
-fx-text-fill: #065f46;
-fx-font-weight: 500;
} }
.status-badge.synced { .status-badge.synced {
-fx-background-color: #d1fae5; -fx-background-color: #6ee7b7;
} }
.status-badge.updates { .status-badge.updates {
-fx-background-color: #fef3c7; -fx-background-color: #facc15;
} }
.status-badge.disconnected { .status-badge.disconnected {
-fx-background-color: #f3f4f6; -fx-background-color: #e5e7eb;
} }
.status-dot { .status-dot {