diff --git a/resources/css/app.css b/resources/css/app.css index eefe21a17..e6639945b 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -21,7 +21,7 @@ input[type="checkbox"] { @apply toggle toggle-warning toggle-xs rounded; } input { - @apply input input-sm h-7 outline-none placeholder:text-neutral-700 text-white rounded-none; + @apply input input-sm h-7 outline-none placeholder:text-neutral-700 text-white rounded; } input[type="text"], [type="number"], @@ -35,10 +35,10 @@ label { } textarea { - @apply textarea placeholder:text-neutral-700 text-white rounded-none scrollbar; + @apply textarea placeholder:text-neutral-700 text-white rounded scrollbar; } select { - @apply select select-sm text-sm disabled:bg-coolgray-200 border-none disabled:opacity-50 font-normal placeholder:text-neutral-700 text-white rounded-none; + @apply select select-sm text-sm disabled:bg-coolgray-200 border-none disabled:opacity-50 font-normal placeholder:text-neutral-700 text-white rounded; } .loading { @apply w-4 text-warning; @@ -79,7 +79,7 @@ .icon:hover { @apply text-white; } .box { - @apply flex items-center justify-center text-sm rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white p-2 hover:no-underline transition-colors; + @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 { @@ -93,7 +93,7 @@ .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-none; + @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; diff --git a/resources/js/components/MagicBar.vue b/resources/js/components/MagicBar.vue index 258655ed7..1821dd4b7 100644 --- a/resources/js/components/MagicBar.vue +++ b/resources/js/components/MagicBar.vue @@ -503,7 +503,6 @@ async function redirect() { let targetUrl = new URL(window.location.origin) const selected = sequenceState.value.selected const { main, destination = null, project = null, environment = null, server = null } = selected - console.log({ main }) switch (main) { case 1: targetUrl.pathname = `/project/${project}/${environment}/new` diff --git a/resources/views/components/forms/input.blade.php b/resources/views/components/forms/input.blade.php index 26d79842f..99b1af51c 100644 --- a/resources/views/components/forms/input.blade.php +++ b/resources/views/components/forms/input.blade.php @@ -35,11 +35,32 @@ class="w-4 h-4 stroke-current"> @endif - + + @if ($required !== null) required @endif @if ($readonly !== null) readonly @endif + @if (!$noDirty && $id) wire:dirty.class="input-warning" @endif {{ $attributes }} /> + @if ($type === 'password') + + + + + + @endif + + @else + + @endif + @error($id)