From 76bd4ae8ef13ba1ef94dcadf23439c99c4df159a Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 13 Jun 2023 10:30:07 +0200 Subject: [PATCH] fix --- app/Jobs/ApplicationContainerStatusJob.php | 1 - resources/css/app.css | 29 +-------- .../views/components/naked-modal.blade.php | 63 ++++++++++++++++--- resources/views/components/navbar.blade.php | 2 +- .../project/application/deploy.blade.php | 2 +- .../project/application/previews.blade.php | 2 +- .../project/application/status.blade.php | 2 +- 7 files changed, 58 insertions(+), 43 deletions(-) diff --git a/app/Jobs/ApplicationContainerStatusJob.php b/app/Jobs/ApplicationContainerStatusJob.php index f31f067b4..5790d4cbf 100644 --- a/app/Jobs/ApplicationContainerStatusJob.php +++ b/app/Jobs/ApplicationContainerStatusJob.php @@ -4,7 +4,6 @@ use App\Models\Application; use App\Models\ApplicationPreview; -use App\Models\Server; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldBeUnique; use Illuminate\Contracts\Queue\ShouldQueue; diff --git a/resources/css/app.css b/resources/css/app.css index 8ed47bb78..cd8a20f89 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -45,7 +45,7 @@ .loading { } button[isWarning] { - @apply bg-error hover:bg-error; + @apply bg-red-600 hover:bg-red-500; } button[isHighlighted] { @apply btn-primary text-white; @@ -65,10 +65,6 @@ h4 { a { @apply text-neutral-400 hover:text-white text-sm link link-hover hover:bg-transparent; } - -.main-navbar { - @apply fixed h-full overflow-hidden pt-16; -} .kbd-custom { @apply px-2 text-xs border border-dashed rounded border-neutral-700 text-warning; } @@ -82,29 +78,6 @@ .box { @apply flex items-center justify-center text-sm rounded min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white p-2 hover:no-underline transition-colors; } -/* .main-menu { - @apply relative float-left; -} -.main-menu:after { - content: "/"; - @apply absolute border border-dotted rounded border-neutral-600 right-1 top-0 text-warning mx-1 px-2 mt-[0.3rem] text-sm; -} */ -.magic-badge { - @apply min-w-fit px-2 rounded text-center border border-dotted border-primary text-white text-xs; -} -.magic-input { - @apply input input-sm w-80 xl:w-96 placeholder:text-neutral-700 text-sm rounded; -} -.magic-items { - @apply absolute top-12 mt-2 w-[24rem] bg-coolgray-200 rounded z-50; -} -.magic-item { - @apply text-sm flex items-center gap-4 m-2 py-2 pl-4 cursor-pointer hover:bg-coolgray-500 text-neutral-400 hover:text-white transition-colors hover:shadow; -} -.magic-item-focused { - @apply bg-coolgray-400 text-white; -} - .lds-heart { animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1); } diff --git a/resources/views/components/naked-modal.blade.php b/resources/views/components/naked-modal.blade.php index 6b08fe955..44de473e1 100644 --- a/resources/views/components/naked-modal.blade.php +++ b/resources/views/components/naked-modal.blade.php @@ -3,16 +3,59 @@ 'message' => 'Are you sure you want to delete this?', 'action' => 'delete', ]) -