feature: Digitization Workstation UI

This commit is contained in:
voltsrage
2026-06-27 12:15:43 +08:00
parent 88e70b3dbe
commit e22d33b654
55 changed files with 6411 additions and 143 deletions
+44
View File
@@ -0,0 +1,44 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.btn-primary {
@apply bg-primary-600 text-white px-4 py-2 rounded-md
hover:bg-primary-700 disabled:opacity-50 disabled:cursor-not-allowed
transition-colors;
}
.btn-danger {
@apply bg-clinical-danger text-white px-4 py-2 rounded-md
hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed
transition-colors;
}
.form-input {
@apply block w-full rounded-md border border-gray-300 px-4 py-2
focus:border-primary-500 focus:ring-2 focus:ring-primary-500
disabled:bg-gray-100 disabled:text-gray-500;
}
.page-container {
@apply p-4 sm:p-6 lg:p-8 max-w-4xl mx-auto;
}
.app-header {
@apply flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between
px-4 py-4 sm:px-6 sm:py-4 bg-white border-b shadow-sm;
}
.app-header-title {
@apply flex flex-col gap-2 sm:flex-row sm:items-center sm:gap-4;
}
.app-header-actions {
@apply flex flex-wrap items-center gap-2 sm:gap-4;
}
.card {
@apply bg-white rounded-lg shadow-md p-4 sm:p-6;
}
.split-pane {
@apply grid grid-cols-1 lg:grid-cols-2 gap-4 lg:gap-8
h-auto lg:h-[calc(100vh-4rem)] min-h-0;
}
.status-badge {
@apply px-2 py-1 rounded-full text-xs font-medium;
}
}