From d6bd0941e7a9976cff121be73ca60ed7411fda5f Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Thu, 4 Dec 2025 15:19:23 +0100 Subject: [PATCH] refactor: simplify utility classes in CSS and Blade templates --- resources/css/utilities.css | 2 +- .../new/github-private-repository-deploy-key.blade.php | 4 ++-- .../project/new/github-private-repository.blade.php | 6 +++--- resources/views/livewire/project/new/select.blade.php | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/css/utilities.css b/resources/css/utilities.css index fbfb98e9f..abb177835 100644 --- a/resources/css/utilities.css +++ b/resources/css/utilities.css @@ -230,7 +230,7 @@ @utility box-without-bg-without-border { } @utility coolbox { - @apply relative 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-warning hover:ring-coollabs cursor-pointer min-h-[4rem]; + @apply relative flex transition-all duration-150 dark:bg-coolgray-100 bg-white p-2 rounded border border-neutral-200 dark:border-coolgray-400 hover:ring-2 dark:hover:ring-warning hover:ring-coollabs cursor-pointer min-h-[4rem]; } @utility on-box { diff --git a/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php b/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php index 596559817..43b54db9c 100644 --- a/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php +++ b/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php @@ -7,7 +7,7 @@
@forelse ($private_keys as $key) @if ($private_key_id == $key->id) -
@@ -20,7 +20,7 @@ class="loading loading-xs dark:text-warning loading-spinner">
@else -
diff --git a/resources/views/livewire/project/new/github-private-repository.blade.php b/resources/views/livewire/project/new/github-private-repository.blade.php index e7f90788e..cbb659156 100644 --- a/resources/views/livewire/project/new/github-private-repository.blade.php +++ b/resources/views/livewire/project/new/github-private-repository.blade.php @@ -21,7 +21,7 @@
@foreach ($github_apps as $ghapp)
-
@@ -118,8 +118,8 @@ }" class="gap-2 flex flex-col"> + helper="Directory to use as root. Useful for monorepos." x-model="baseDir" + @blur="normalizeBaseDir()" />
-
@@ -470,7 +470,7 @@ function searchResources() {
-
@@ -489,7 +489,7 @@ function searchResources() {
-
@@ -508,7 +508,7 @@ function searchResources() {
-