From d905ae107b24ff368f3171bc778538ecaebf55f9 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 28 Nov 2025 13:55:54 +0100 Subject: [PATCH] Refactor UI components to use 'coolbox' class for consistent styling across various views - Updated dashboard, destination, project, and server views to replace 'box' class with 'coolbox' for improved visual consistency. - Modified links and buttons in shared variables and scheduled tasks views to utilize 'coolbox' class. - Ensured all relevant components reflect the new styling approach, enhancing user experience and interface coherence. --- resources/css/utilities.css | 4 + .../views/components/resource-view.blade.php | 5 +- .../views/livewire/admin/index.blade.php | 2 +- resources/views/livewire/dashboard.blade.php | 4 +- .../livewire/destination/index.blade.php | 4 +- .../views/livewire/project/index.blade.php | 2 +- ...ub-private-repository-deploy-key.blade.php | 4 +- .../new/github-private-repository.blade.php | 2 +- .../livewire/project/new/select.blade.php | 256 ++++++++++++------ .../livewire/project/resource/index.blade.php | 8 +- .../project/shared/destination.blade.php | 2 +- .../shared/scheduled-task/all.blade.php | 4 +- .../views/livewire/project/show.blade.php | 2 +- .../security/private-key/index.blade.php | 4 +- .../views/livewire/server/create.blade.php | 2 +- .../views/livewire/server/index.blade.php | 2 +- .../views/livewire/server/proxy.blade.php | 6 +- .../environment/index.blade.php | 2 +- .../livewire/shared-variables/index.blade.php | 6 +- .../shared-variables/project/index.blade.php | 2 +- .../livewire/source/github/change.blade.php | 2 +- .../views/livewire/storage/index.blade.php | 2 +- resources/views/livewire/tags/show.blade.php | 8 +- resources/views/source/all.blade.php | 2 +- 24 files changed, 219 insertions(+), 118 deletions(-) diff --git a/resources/css/utilities.css b/resources/css/utilities.css index f36297bdf..5cd8cfd48 100644 --- a/resources/css/utilities.css +++ b/resources/css/utilities.css @@ -179,6 +179,10 @@ @utility box-without-bg-without-border { @apply flex p-2 transition-colors dark:hover:text-white hover:no-underline min-h-[4rem]; } +@utility coolbox { + @apply flex transition-all duration-150 dark:bg-coolgray-100 bg-white p-2 rounded-lg border border-neutral-200 dark:border-coolgray-400 hover:ring-2 dark:hover:ring-yellow-400 hover:ring-coollabs cursor-pointer min-h-[4rem]; +} + @utility on-box { @apply rounded-sm hover:bg-neutral-300 dark:hover:bg-coolgray-500/20; } diff --git a/resources/views/components/resource-view.blade.php b/resources/views/components/resource-view.blade.php index db8360fac..3d216d8da 100644 --- a/resources/views/components/resource-view.blade.php +++ b/resources/views/components/resource-view.blade.php @@ -1,7 +1,6 @@