style: Improve calendar input appearance and button styles

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-11 05:52:32 +08:00
1 parent 300cd79019
commit 666b6ac603
1 file changed
+3 -3
+3 -3
View File
@@ -37,7 +37,7 @@
opacity-0 pointer-events-none peer-focus:opacity-100 peer-focus:pointer-events-auto
group-hover:opacity-100 group-hover:pointer-events-auto
transition-opacity duration-150 ease-in-out">
<div class="flex justify-between items-stretch h-48 relative">
<div class="flex justify-between items-stretch h-48 relative border-b border-gray-200">
<div class="absolute top-1/2 left-0 right-0 h-px bg-indigo-300 -translate-y-1/2 z-0"></div>
<div class="absolute top-1/2 left-0 right-0 h-8 bg-indigo-50 -translate-y-1/2 z-0 rounded-sm"></div>
@@ -81,8 +81,8 @@
</div>
</div>
<div class="mt-3 pt-2.5 border-t border-gray-200 flex items-center space-x-2">
<button type="button" class="bg-gray-100 text-gray-700 text-sm font-semibold py-2 px-4 rounded-lg flex-1 flex items-center justify-center border-2 border-transparent hover:bg-gray-200 hover:border-gray-400 focus:outline-none focus:ring-1 focus:ring-indigo-500">Cancel</button>
<div class="mt-3 pt-2.5 border-gray-200 flex items-center space-x-2">
<button type="button" class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">Cancel</button>
<button type="button" class="bg-indigo-900 text-sm text-gray-100 font-semibold py-2 px-4 rounded-lg flex-1 flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-indigo-500">Set Date</button>
</div>
<p class="text-xs text-gray-500 mt-2 text-center">This is a visual mock-up. Date selection is not functional.</p>