From 531ca100acab7526432c8f58126dbd72ae27bc8b Mon Sep 17 00:00:00 2001 From: bagus-arie05 Date: Wed, 21 Jan 2026 12:58:50 +0700 Subject: [PATCH] update header --- pages/MonitoringPasien/monitoringPasien.vue | 58 +- pages/Setting/HakAkses.vue | 116 ++-- pages/Setting/MasterAnjungan.vue | 48 +- pages/Setting/MasterKlinik.vue | 56 +- pages/Setting/MasterKlinikRuang.vue | 92 ++- pages/Setting/MasterLoket.vue | 56 +- pages/Setting/UserLogin.vue | 609 +++++++++++--------- stores/navItems1.ts | 2 +- 8 files changed, 626 insertions(+), 411 deletions(-) diff --git a/pages/MonitoringPasien/monitoringPasien.vue b/pages/MonitoringPasien/monitoringPasien.vue index f6b2a42..1e55ffa 100644 --- a/pages/MonitoringPasien/monitoringPasien.vue +++ b/pages/MonitoringPasien/monitoringPasien.vue @@ -5,31 +5,35 @@
- mdi-heart-pulse + mdi-heart-pulse

Monitoring Pasien

{{ currentDate }} - Manajemen Data Pasien

-
- +
+
+ + + +
+
+ mdi-account-group {{ totalCount }} Total - + mdi-clock-outline {{ waitingCount }} Menunggu - + mdi-check-circle {{ doneCount }} Selesai
- - @@ -410,7 +414,8 @@ $font-weight-semibold: 600; display: flex; align-items: center; justify-content: space-between; - padding: 32px; + padding: 16px 28px; + height: 80px; color: $neutral-100; } @@ -421,15 +426,15 @@ $font-weight-semibold: 600; .header-icon { background: rgba(255, 255, 255, 0.2); - border-radius: 16px; - padding: 16px; - margin-right: 20px; + border-radius: 12px; + padding: 12px; + margin-right: 16px; backdrop-filter: blur(10px); } .page-title { - font-size: 36px; - line-height: 44px; + font-size: 32px; + line-height: 40px; font-weight: $font-weight-semibold; margin: 0; color: $neutral-100; @@ -437,10 +442,10 @@ $font-weight-semibold: 600; } .page-subtitle { - margin: 4px 0 0 0; + margin: 2px 0 0 0; opacity: 0.9; - font-size: 16px; - line-height: 24px; + font-size: 15px; + line-height: 22px; font-weight: $font-weight-regular; color: $neutral-100; } @@ -458,6 +463,27 @@ $font-weight-semibold: 600; line-height: 20px; } +// ============================================ +// ACTION BAR +// ============================================ +.action-bar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 20px; + background: $neutral-100; + border-radius: 12px; + border: 1px solid $neutral-400; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); +} + +.action-bar-left { + display: flex; + align-items: center; + gap: 8px; + flex-wrap: wrap; +} + // ============================================ // FILTER SECTION TOP // ============================================ diff --git a/pages/Setting/HakAkses.vue b/pages/Setting/HakAkses.vue index a7d27a6..cef2b6f 100644 --- a/pages/Setting/HakAkses.vue +++ b/pages/Setting/HakAkses.vue @@ -1,5 +1,21 @@ + @@ -1722,7 +1728,7 @@ $font-weight-semibold: 600; // ============================================ .page-header { background: linear-gradient(135deg, $primary-600 0%, $primary-700 100%); - border-radius: 16px 16px 0 0; + border-radius: 0 !important; box-shadow: 0 4px 16px rgba(58, 97, 201, 0.2); } @@ -1730,7 +1736,8 @@ $font-weight-semibold: 600; display: flex; align-items: center; justify-content: space-between; - padding: 32px; + padding: 16px 28px; + height: 80px; color: $neutral-100; } @@ -1741,15 +1748,15 @@ $font-weight-semibold: 600; .header-icon { background: rgba(255, 255, 255, 0.2); - border-radius: 16px; - padding: 16px; - margin-right: 20px; + border-radius: 12px; + padding: 12px; + margin-right: 16px; backdrop-filter: blur(10px); } .page-title { - font-size: 36px; - line-height: 44px; + font-size: 32px; + line-height: 40px; font-weight: $font-weight-semibold; margin: 0; color: $neutral-100; @@ -1757,10 +1764,10 @@ $font-weight-semibold: 600; } .page-subtitle { - margin: 4px 0 0 0; + margin: 2px 0 0 0; opacity: 0.9; - font-size: 16px; - line-height: 24px; + font-size: 15px; + line-height: 22px; font-weight: $font-weight-regular; color: $neutral-100; } @@ -1787,6 +1794,35 @@ $font-weight-semibold: 600; color: $primary-600 !important; } +// ============================================ +// ACTION BAR +// ============================================ +.action-bar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 20px; + background: $neutral-100; + border-radius: 12px; + border: 1px solid $neutral-400; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); +} + +.action-bar-left { + display: flex; + align-items: center; + gap: 8px; + flex-wrap: wrap; +} + +.action-btn { + font-weight: $font-weight-semibold; + text-transform: none; + letter-spacing: 0.5px; + font-size: 16px; + line-height: 24px; +} + // ============================================ // DATA TABLE // ============================================ diff --git a/pages/Setting/MasterAnjungan.vue b/pages/Setting/MasterAnjungan.vue index 88a578f..9765dfd 100644 --- a/pages/Setting/MasterAnjungan.vue +++ b/pages/Setting/MasterAnjungan.vue @@ -4,26 +4,31 @@
- mdi-monitor-dashboard + mdi-monitor-dashboard

Master Anjungan

Kelola anjungan dan klinik yang ditampilkan

+
+ + + + +
+ mdi-plus-circle Tambah Anjungan
- -
- mdi-hospital-building + mdi-hospital-building

Master Klinik

Rabu, 13 Agustus 2025 - Manajemen Klinik

+ + + + + +
+ mdi-plus-circle Tambah Klinik
- - @@ -722,7 +727,8 @@ $font-weight-bold: 700; display: flex; align-items: center; justify-content: space-between; - padding: 32px; + padding: 16px 28px; + height: 80px; color: $neutral-100; } @@ -733,15 +739,15 @@ $font-weight-bold: 700; .header-icon { background: rgba(255, 255, 255, 0.2); - border-radius: 16px; - padding: 16px; - margin-right: 20px; + border-radius: 12px; + padding: 12px; + margin-right: 16px; backdrop-filter: blur(10px); } .page-title { - font-size: 36px; - line-height: 44px; + font-size: 32px; + line-height: 40px; font-weight: $font-weight-semibold; margin: 0; color: $neutral-100; @@ -749,10 +755,10 @@ $font-weight-bold: 700; } .page-subtitle { - margin: 4px 0 0 0; + margin: 2px 0 0 0; opacity: 0.9; - font-size: 16px; - line-height: 24px; + font-size: 15px; + line-height: 22px; font-weight: $font-weight-regular; color: $neutral-100; } @@ -766,6 +772,28 @@ $font-weight-bold: 700; color: $primary-600 !important; } +// ============================================ +// ACTION BAR +// ============================================ +.action-bar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 20px; + background: $neutral-100; + border-radius: 12px; + border: 1px solid $neutral-400; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); +} + +.action-btn { + font-weight: $font-weight-semibold; + text-transform: none; + letter-spacing: 0.5px; + font-size: 16px; + line-height: 24px; +} + // ============================================ // DATA TABLE // ============================================ diff --git a/pages/Setting/MasterKlinikRuang.vue b/pages/Setting/MasterKlinikRuang.vue index c4e85e8..4d1e956 100644 --- a/pages/Setting/MasterKlinikRuang.vue +++ b/pages/Setting/MasterKlinikRuang.vue @@ -5,36 +5,40 @@
- mdi-door-open + mdi-door-open

Master Klinik Ruang

Rabu, 13 Agustus 2025 - Manajemen Ruangan

-
- - mdi-hospital-building - {{ masterStore.totalKlinikRuang }} Klinik - - - mdi-door - {{ masterStore.totalRuangan }} Ruang - - - mdi-plus-circle - Tambah Ruang - -
+ +
+
+ + mdi-hospital-building + {{ masterStore.totalKlinikRuang }} Klinik + + + mdi-door + {{ masterStore.totalRuangan }} Ruang + +
+ + mdi-plus-circle + Tambah Ruang + +
+ @@ -469,7 +473,8 @@ $font-weight-semibold: 600; display: flex; align-items: center; justify-content: space-between; - padding: 32px; + padding: 16px 28px; + height: 80px; color: $neutral-100; } @@ -480,15 +485,15 @@ $font-weight-semibold: 600; .header-icon { background: rgba(255, 255, 255, 0.2); - border-radius: 16px; - padding: 16px; - margin-right: 20px; + border-radius: 12px; + padding: 12px; + margin-right: 16px; backdrop-filter: blur(10px); } .page-title { - font-size: 36px; - line-height: 44px; + font-size: 32px; + line-height: 40px; font-weight: $font-weight-semibold; margin: 0; color: $neutral-100; @@ -496,10 +501,10 @@ $font-weight-semibold: 600; } .page-subtitle { - margin: 4px 0 0 0; + margin: 2px 0 0 0; opacity: 0.9; - font-size: 16px; - line-height: 24px; + font-size: 15px; + line-height: 22px; font-weight: $font-weight-regular; color: $neutral-100; } @@ -526,6 +531,35 @@ $font-weight-semibold: 600; color: $primary-600 !important; } +// ============================================ +// ACTION BAR +// ============================================ +.action-bar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 20px; + background: $neutral-100; + border-radius: 12px; + border: 1px solid $neutral-400; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); +} + +.action-bar-left { + display: flex; + align-items: center; + gap: 8px; + flex-wrap: wrap; +} + +.action-btn { + font-weight: $font-weight-semibold; + text-transform: none; + letter-spacing: 0.5px; + font-size: 16px; + line-height: 24px; +} + // ============================================ // DATA TABLE // ============================================ diff --git a/pages/Setting/MasterLoket.vue b/pages/Setting/MasterLoket.vue index 1ee746d..abc69a2 100644 --- a/pages/Setting/MasterLoket.vue +++ b/pages/Setting/MasterLoket.vue @@ -6,26 +6,31 @@
- mdi-view-dashboard + mdi-view-dashboard

Master Loket

Rabu, 13 Agustus 2025 - Pelayanan

+
+ + + + +
+ mdi-plus-circle Tambah Loket
- - @@ -406,7 +411,8 @@ $font-weight-semibold: 600; display: flex; align-items: center; justify-content: space-between; - padding: 32px; + padding: 16px 28px; + height: 80px; color: $neutral-100; } @@ -417,15 +423,15 @@ $font-weight-semibold: 600; .header-icon { background: rgba(255, 255, 255, 0.2); - border-radius: 16px; - padding: 16px; - margin-right: 20px; + border-radius: 12px; + padding: 12px; + margin-right: 16px; backdrop-filter: blur(10px); } .page-title { - font-size: 36px; - line-height: 44px; + font-size: 32px; + line-height: 40px; font-weight: $font-weight-semibold; margin: 0; color: $neutral-100; @@ -433,10 +439,10 @@ $font-weight-semibold: 600; } .page-subtitle { - margin: 4px 0 0 0; + margin: 2px 0 0 0; opacity: 0.9; - font-size: 16px; - line-height: 24px; + font-size: 15px; + line-height: 22px; font-weight: $font-weight-regular; color: $neutral-100; } @@ -450,6 +456,28 @@ $font-weight-semibold: 600; color: $primary-600 !important; } +// ============================================ +// ACTION BAR +// ============================================ +.action-bar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 20px; + background: $neutral-100; + border-radius: 12px; + border: 1px solid $neutral-400; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); +} + +.action-btn { + font-weight: $font-weight-semibold; + text-transform: none; + letter-spacing: 0.5px; + font-size: 16px; + line-height: 24px; +} + // ============================================ // DATA TABLE // ============================================ diff --git a/pages/Setting/UserLogin.vue b/pages/Setting/UserLogin.vue index 0d54b29..3966495 100644 --- a/pages/Setting/UserLogin.vue +++ b/pages/Setting/UserLogin.vue @@ -1,285 +1,289 @@ @@ -1113,7 +1118,7 @@ $font-weight-semibold: 600; // ============================================ .page-header { background: linear-gradient(135deg, $primary-600 0%, $primary-700 100%); - border-radius: 16px 16px 0 0; + border-radius: 0 !important; box-shadow: 0 4px 16px rgba(58, 97, 201, 0.2); } @@ -1121,7 +1126,8 @@ $font-weight-semibold: 600; display: flex; align-items: center; justify-content: space-between; - padding: 32px; + padding: 16px 28px; + height: 80px; color: $neutral-100; } @@ -1132,15 +1138,15 @@ $font-weight-semibold: 600; .header-icon { background: rgba(255, 255, 255, 0.2); - border-radius: 16px; - padding: 16px; - margin-right: 20px; + border-radius: 12px; + padding: 12px; + margin-right: 16px; backdrop-filter: blur(10px); } .page-title { - font-size: 36px; - line-height: 44px; + font-size: 32px; + line-height: 40px; font-weight: $font-weight-semibold; margin: 0; color: $neutral-100; @@ -1148,10 +1154,10 @@ $font-weight-semibold: 600; } .page-subtitle { - margin: 4px 0 0 0; + margin: 2px 0 0 0; opacity: 0.9; - font-size: 16px; - line-height: 24px; + font-size: 15px; + line-height: 22px; font-weight: $font-weight-regular; color: $neutral-100; } @@ -1178,6 +1184,35 @@ $font-weight-semibold: 600; color: $primary-600 !important; } +// ============================================ +// ACTION BAR +// ============================================ +.action-bar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 20px; + background: $neutral-100; + border-radius: 12px; + border: 1px solid $neutral-400; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); +} + +.action-bar-left { + display: flex; + align-items: center; + gap: 8px; + flex-wrap: wrap; +} + +.action-btn { + font-weight: $font-weight-semibold; + text-transform: none; + letter-spacing: 0.5px; + font-size: 16px; + line-height: 24px; +} + // ============================================ // CUSTOM TABLE STYLING // ============================================ diff --git a/stores/navItems1.ts b/stores/navItems1.ts index 1631346..b5db6c5 100644 --- a/stores/navItems1.ts +++ b/stores/navItems1.ts @@ -35,7 +35,7 @@ const defaultNavItems: NavItem[] = [ path: "", children: [ { id: 10, name: "Anjungan", path: "/anjungan/anjungan", icon: "mdi-circle-small" }, - { id: 11, name: "Klinik", path: "/anjungan/AntrianKlinik", icon: "mdi-circle-small" }, + // { id: 11, name: "Klinik", path: "/anjungan/AntrianKlinik", icon: "mdi-circle-small" }, { id: 12, name: "Klinik Ruang", path: "/anjungan/AntrianKlinikRuang", icon: "mdi-circle-small"}, // { id: 13, name: "Penunjang", path: "/anjungan/AntrianPenunjang", icon: "mdi-circle-small"}, {id: 14, name: "Loket", path: "/anjungan/AntrianLoket", icon: "mdi-circle-small"},