From db16bce35e7c045a74a0147b11f4ef03a43a471a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Wed, 29 Apr 2026 07:49:23 +0300 Subject: [PATCH] feat: implement new Citrus design theme and header layout with tightened UI spacing --- .../views/admin/inc/citrus-design.blade.php | 10 ++++++---- resources/views/admin/inc/header.blade.php | 17 +++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/resources/views/admin/inc/citrus-design.blade.php b/resources/views/admin/inc/citrus-design.blade.php index 470c875..e58167b 100644 --- a/resources/views/admin/inc/citrus-design.blade.php +++ b/resources/views/admin/inc/citrus-design.blade.php @@ -201,15 +201,16 @@ #page-header .btn-dual-secondary { background: transparent !important; border: none !important; - width: 36px !important; + min-width: 36px !important; height: 36px !important; + padding: 0 10px !important; border-radius: 8px !important; color: #475569 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; } - - - #page-header .btn-dual-secondary:hover { background: #f1f5f9 !important; color: var(--citrus-primary) !important; @@ -234,6 +235,7 @@ .content-header-section { display: flex !important; align-items: center !important; + gap: 8px !important; /* Added gap between buttons */ } diff --git a/resources/views/admin/inc/header.blade.php b/resources/views/admin/inc/header.blade.php index 02def5a..f70c3b0 100644 --- a/resources/views/admin/inc/header.blade.php +++ b/resources/views/admin/inc/header.blade.php @@ -8,10 +8,7 @@

@yield('title', e2('Dashboard'))

- +
@@ -36,16 +33,16 @@
Admin Tools
+ Swal.fire('', 'Cronjob is Started', 'success'); + $.get('{{url("cron")}}', function(d){ + Swal.fire('', 'Cronjob is OK', 'success') + });"> {{e2("Run CronJOB")}} + Swal.fire('', 'Cache is Cleared!', 'success') + });"> {{__('Clear cache')}}