From 151a66639b6c7216cc481ea7971f3289e9c7af4c Mon Sep 17 00:00:00 2001 From: Novy San87 Date: Mon, 3 Aug 2026 14:27:03 +0700 Subject: [PATCH] Poles UI/UX premium: fondasi global MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Font Plus Jakarta Sans (Google Fonts) menggantikan font sistem default - Sidebar: brand area gradient + nama sekolah, nav aktif jadi pill gradient biru-indigo + chevron, label grup lebih elegan, footer badge NOCTKJ.net - Topbar: sticky + backdrop-blur glass - Background utama: gradient halus slate → biru samar - Kartu standar premium (.card) + tombol (.btn-primary/.btn-outline) + input seragam di CSS; kartu utama halaman diseragamkan rounded-2xl - Border global diselaraskan ke palet slate; scrollbar & seleksi teks premium - Verifikasi: 29 test / 99 assertion, blade cache OK, vite build OK --- resources/css/app.css | 49 +++++++++++-- resources/views/attendances/create.blade.php | 12 ++-- resources/views/attendances/index.blade.php | 8 +-- resources/views/attendances/recap.blade.php | 36 +++++----- resources/views/components/nav-item.blade.php | 11 +-- resources/views/dashboard/index.blade.php | 12 ++-- resources/views/face/register.blade.php | 12 ++-- resources/views/face/scan.blade.php | 12 ++-- resources/views/layouts/app.blade.php | 68 +++++++++---------- resources/views/notifications/index.blade.php | 2 +- resources/views/point-audit/index.blade.php | 18 ++--- resources/views/profile/index.blade.php | 4 +- resources/views/reports/violations.blade.php | 14 ++-- resources/views/settings/backup.blade.php | 2 +- resources/views/settings/categories.blade.php | 12 ++-- .../views/settings/handling-types.blade.php | 24 +++---- resources/views/settings/homeroom.blade.php | 6 +- resources/views/settings/index.blade.php | 14 ++-- .../views/settings/permissions.blade.php | 4 +- resources/views/settings/reset.blade.php | 32 ++++----- resources/views/settings/sync.blade.php | 6 +- resources/views/settings/thresholds.blade.php | 22 +++--- .../views/settings/violation-types.blade.php | 36 +++++----- resources/views/sp-letters/index.blade.php | 2 +- resources/views/sp-letters/show.blade.php | 2 +- resources/views/students/index.blade.php | 16 ++--- resources/views/students/show.blade.php | 48 ++++++------- resources/views/users/index.blade.php | 22 +++--- resources/views/violations/create.blade.php | 32 ++++----- resources/views/violations/index.blade.php | 18 ++--- resources/views/violations/show.blade.php | 36 +++++----- resources/views/welcome.blade.php | 2 +- 32 files changed, 317 insertions(+), 277 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index aed00e9..f83e5fa 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -1,3 +1,4 @@ +@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap'); @import 'tailwindcss'; @import '@fortawesome/fontawesome-free/css/fontawesome.css'; @import '@fortawesome/fontawesome-free/css/brands.css'; @@ -7,14 +8,52 @@ @source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php'; @source '../../storage/framework/views/*.php'; +@theme { + --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; +} + /* Custom styles for Aplikasi Ketertiban */ [x-cloak] { display: none !important; } -/* Scrollbar styling */ -::-webkit-scrollbar { width: 6px; } -::-webkit-scrollbar-track { background: #f1f1f1; } -::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } -::-webkit-scrollbar-thumb:hover { background: #a1a1a1; } +html { scroll-behavior: smooth; } + +/* Seleksi teks premium */ +::selection { background: #2563eb; color: #fff; } + +/* Scrollbar halus & premium */ +::-webkit-scrollbar { width: 8px; height: 8px; } +::-webkit-scrollbar-track { background: transparent; } +::-webkit-scrollbar-thumb { + background: #cbd5e1; + border-radius: 8px; + border: 2px solid transparent; + background-clip: content-box; +} +::-webkit-scrollbar-thumb:hover { + background: #94a3b8; + border: 2px solid transparent; + background-clip: content-box; +} + +/* Kartu standar premium — dipakai konsisten di semua halaman */ +.card { + @apply bg-white rounded-2xl border border-slate-200/80 shadow-sm; +} + +/* Tombol aksi primer */ +.btn-primary { + @apply inline-flex items-center gap-2 px-4 py-2.5 text-sm font-semibold text-white bg-gradient-to-r from-blue-600 to-indigo-600 rounded-xl shadow-md shadow-blue-500/25 hover:shadow-lg hover:shadow-blue-500/30 hover:from-blue-700 hover:to-indigo-700 transition-all duration-200; +} + +/* Tombol aksi sekunder (outline lembut) */ +.btn-outline { + @apply inline-flex items-center gap-2 px-4 py-2.5 text-sm font-semibold text-slate-600 bg-white border border-slate-200 rounded-xl hover:text-blue-600 hover:border-blue-200 hover:bg-blue-50/50 transition-all duration-200; +} + +/* Input premium seragam */ +.input { + @apply w-full px-3.5 py-2.5 border border-slate-200 rounded-xl text-sm bg-slate-50/50 focus:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 transition; +} /* Print styles */ @media print { diff --git a/resources/views/attendances/create.blade.php b/resources/views/attendances/create.blade.php index 999250b..850f57e 100644 --- a/resources/views/attendances/create.blade.php +++ b/resources/views/attendances/create.blade.php @@ -18,7 +18,7 @@ {{-- Pilih Kelas + Tanggal --}} -
+
@@ -26,14 +26,14 @@ Tanggal * + class="w-full px-4 py-2.5 border border-slate-200 rounded-xl text-sm bg-white focus:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 transition shadow-sm">
@@ -270,7 +270,7 @@

Foto Diambil (1–3)