From 2ca0078223500b7e43011054bca73234deff381d Mon Sep 17 00:00:00 2001 From: voltsrage Date: Sat, 20 Jun 2026 07:58:15 +0800 Subject: [PATCH] fix styling to be more responsive and clean --- vigilcare-dashboard/index.html | 11 +- .../src/components/alerts/AlertCard.vue | 6 +- .../src/components/alerts/AlertFilters.vue | 28 +- .../src/components/layout/AppHeader.vue | 90 +++++- .../src/components/layout/AppShell.vue | 14 +- .../src/components/layout/AppSidebar.vue | 65 +++- .../src/components/layout/MobileNav.vue | 64 ++++ .../src/components/patient/AlertsList.vue | 6 +- .../src/components/patient/OrdersPanel.vue | 6 +- .../src/components/patient/ScoresPanel.vue | 6 +- .../components/patient/SepsisBundlePanel.vue | 8 +- .../src/components/patient/VitalsPanel.vue | 6 +- .../src/components/ui/Badge.vue | 2 +- .../src/components/ui/Button.vue | 4 +- .../src/components/ui/Card.vue | 4 +- .../src/components/ui/Modal.vue | 4 +- .../src/components/ui/Skeleton.vue | 2 +- .../src/components/ward/PatientCard.vue | 53 +++ .../src/components/ward/PatientRow.vue | 12 +- .../src/components/ward/WardTable.vue | 30 +- vigilcare-dashboard/src/style.css | 304 +----------------- vigilcare-dashboard/src/views/AlertCenter.vue | 2 +- .../src/views/PatientDetail.vue | 8 +- .../src/views/WardDashboard.vue | 30 +- 24 files changed, 398 insertions(+), 367 deletions(-) create mode 100644 vigilcare-dashboard/src/components/layout/MobileNav.vue create mode 100644 vigilcare-dashboard/src/components/ward/PatientCard.vue diff --git a/vigilcare-dashboard/index.html b/vigilcare-dashboard/index.html index c75431d..15eda8e 100644 --- a/vigilcare-dashboard/index.html +++ b/vigilcare-dashboard/index.html @@ -4,7 +4,16 @@ - vigilcare-dashboard + VigilCare Clinical +
diff --git a/vigilcare-dashboard/src/components/alerts/AlertCard.vue b/vigilcare-dashboard/src/components/alerts/AlertCard.vue index f5dcaca..16aae04 100644 --- a/vigilcare-dashboard/src/components/alerts/AlertCard.vue +++ b/vigilcare-dashboard/src/components/alerts/AlertCard.vue @@ -34,7 +34,7 @@ function formatTime(iso) { diff --git a/vigilcare-dashboard/src/components/layout/AppSidebar.vue b/vigilcare-dashboard/src/components/layout/AppSidebar.vue index 604276a..63a4a82 100644 --- a/vigilcare-dashboard/src/components/layout/AppSidebar.vue +++ b/vigilcare-dashboard/src/components/layout/AppSidebar.vue @@ -1,13 +1,68 @@ diff --git a/vigilcare-dashboard/src/components/layout/MobileNav.vue b/vigilcare-dashboard/src/components/layout/MobileNav.vue new file mode 100644 index 0000000..b0e5dd7 --- /dev/null +++ b/vigilcare-dashboard/src/components/layout/MobileNav.vue @@ -0,0 +1,64 @@ + + + diff --git a/vigilcare-dashboard/src/components/patient/AlertsList.vue b/vigilcare-dashboard/src/components/patient/AlertsList.vue index 837c276..772f2be 100644 --- a/vigilcare-dashboard/src/components/patient/AlertsList.vue +++ b/vigilcare-dashboard/src/components/patient/AlertsList.vue @@ -41,7 +41,7 @@ async function resolve(alertId) {