From 63aa8864c8607170733fbf1ce5d3c63b800522b3 Mon Sep 17 00:00:00 2001 From: lukibeg Date: Sun, 9 Nov 2025 16:38:44 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20Ajusta=20o=20checkmark=20ap=C3=B3s=20sel?= =?UTF-8?q?ect=20da=20op=C3=A7=C3=A3o.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/css/app.css | 3 +- resources/css/client-cards.css | 1 - resources/css/user-form-modal.css | 26 +++++++ .../livewire/admin/create-user.blade.php | 68 ++++++++++--------- 4 files changed, 65 insertions(+), 33 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index 2afe698..5d548b8 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -93,4 +93,5 @@ @layer components { .container h1 { @apply text-2xl font-bold transition-all duration-300 transform hover:scale-105 mb-4; - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/resources/css/client-cards.css b/resources/css/client-cards.css index 734ddaf..fc4c9b2 100644 --- a/resources/css/client-cards.css +++ b/resources/css/client-cards.css @@ -65,5 +65,4 @@ @layer components { /* Espaçamento e uma borda sutil no topo */ @apply p-4 border-t border-gray-100; } -} } \ No newline at end of file diff --git a/resources/css/user-form-modal.css b/resources/css/user-form-modal.css index 5ebd290..50f4170 100644 --- a/resources/css/user-form-modal.css +++ b/resources/css/user-form-modal.css @@ -147,6 +147,32 @@ @layer components { background-color: #eff6ff; } + /* Ajuste visual do ícone de check dentro do select */ + .select-option { + position: relative; + padding-left: 2.5rem; + /* espaço para o check */ + } + + .select-option .absolute { + position: absolute; + inset-y: 0; + left: 0.5rem; + display: flex; + align-items: center; + justify-content: center; + pointer-events: none; + } + + .select-option svg { + width: 1rem; + height: 1rem; + color: #2563eb; + flex-shrink: 0; + transition: transform 0.15s ease, opacity 0.15s ease; + } + + .form-footer { display: flex; justify-content: flex-end; diff --git a/resources/views/livewire/admin/create-user.blade.php b/resources/views/livewire/admin/create-user.blade.php index f0db43e..34ce836 100644 --- a/resources/views/livewire/admin/create-user.blade.php +++ b/resources/views/livewire/admin/create-user.blade.php @@ -1,18 +1,12 @@ -
+
\ No newline at end of file