step 18 : animate modal show and hover button cancel, save
This commit is contained in:
@@ -157,8 +157,7 @@
|
||||
</div>
|
||||
|
||||
<!-- modal add desktop -->
|
||||
<div x-show="showDialogAdd">
|
||||
<div class="fixed z-10 inset-0">
|
||||
<div x-show="showDialogAdd" x-transition.duration.200ms class="fixed z-10 inset-0">
|
||||
<div class="flex items-center justify-center min-h-screen bg-[#0F0F0F4D] transition-all">
|
||||
<!-- box -->
|
||||
<div class="flex flex-col bg-white rounded-lg w-2/3">
|
||||
@@ -385,15 +384,24 @@
|
||||
</div>
|
||||
</template>
|
||||
<!-- namaJenis TCP Client -->
|
||||
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- footer -->
|
||||
<div class="h-10 px-4 py-2">
|
||||
<div class="h-10 px-4 py-2 mb-5">
|
||||
<div class="flex items-end justify-end">
|
||||
<button
|
||||
class="mr-3 text-[#FF5252] font-bold text-sm uppercase" @click="closeDialog()">Cancel</button>
|
||||
<button class="text-[#1976D2] font-bold text-sm uppercase">Save</button>
|
||||
</div>
|
||||
@click="closeDialog()"
|
||||
class="mr-3 text-[#FF5252] hover:text-white font-bold text-sm uppercase transition duration-200
|
||||
hover:bg-[#FF5252] px-4 py-2 rounded-md">
|
||||
Cancel
|
||||
</button>
|
||||
<button
|
||||
class="text-[#1976D2] font-bold text-sm uppercase px-4 py-2 rounded-md transition duration-200
|
||||
hover:bg-[#1976D2] hover:text-white">
|
||||
Save
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user