style: Update button styles to use rounded-base

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-12 16:28:22 +08:00
1 parent f067e6b449
commit 0aa3613b61
3 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -4,11 +4,11 @@
<form action="/login" method="POST"> <form action="/login" method="POST">
<div class="mb-4"> <div class="mb-4">
<label for="email" class="block text-gray-700">Email</label> <label for="email" class="block text-gray-700">Email</label>
<input type="email" id="email" name="email" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-600 text-sm" placeholder="Enter your email" required> <input type="email" id="email" name="email" class="w-full px-3 py-2 border border-gray-300 rounded-base focus:outline-none focus:ring-2 focus:ring-indigo-600 text-sm" placeholder="Enter your email" required>
</div> </div>
<div class="mb-6"> <div class="mb-6">
<label for="password" class="block text-gray-700">Password</label> <label for="password" class="block text-gray-700">Password</label>
<input type="password" id="password" name="password" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-600 text-sm" placeholder="Enter your password" required> <input type="password" id="password" name="password" class="w-full px-3 py-2 border border-gray-300 rounded-base focus:outline-none focus:ring-2 focus:ring-indigo-600 text-sm" placeholder="Enter your password" required>
</div> </div>
<button type="submit" class="w-full bg-indigo-700 text-gray-100 font-heading text-base px-5 py-2 rounded-base hover:bg-gray-100 hover:text-indigo-900 focus:outline-none focus:ring-2 focus:ring-indigo-600">Login</button> <button type="submit" class="w-full bg-indigo-700 text-gray-100 font-heading text-base px-5 py-2 rounded-base hover:bg-gray-100 hover:text-indigo-900 focus:outline-none focus:ring-2 focus:ring-indigo-600">Login</button>
</form> </form>
+1 -1
View File
@@ -150,7 +150,7 @@
<p class="text-sm text-red-500 mt-1 hidden">Invalid Message</p> <p class="text-sm text-red-500 mt-1 hidden">Invalid Message</p>
</div> </div>
<div class="pt-2"> <div class="pt-2">
<button type="submit" class="w-full bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-heading"> <button type="submit" class="w-full bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-heading">
<img src="assets/svg/icon_spinner.svg" class="h-4 animate-spin mr-2 hidden" alt="Loading"> Send Inquiry <img src="assets/svg/icon_spinner.svg" class="h-4 animate-spin mr-2 hidden" alt="Loading"> Send Inquiry
</button> </button>
<p class="text-sm mt-2 text-gray-600 font-thin text-center"> <p class="text-sm mt-2 text-gray-600 font-thin text-center">
+7 -7
View File
@@ -69,7 +69,7 @@
</div> </div>
</div> </div>
<div class="mt-6 flex justify-end"> <div class="mt-6 flex justify-end">
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading"> <button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg> Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
</button> </button>
</div> </div>
@@ -102,13 +102,13 @@
</div> </div>
</div> </div>
<div class="mt-6 flex justify-between"> <div class="mt-6 flex justify-between">
<button type="button" class="prev-step-btn-modal 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 font-heading"> <button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> <svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" /> <path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
</svg> </svg>
Previous Previous
</button> </button>
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading"> <button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg> Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
</button> </button>
</div> </div>
@@ -191,13 +191,13 @@
</div> </div>
</div> </div>
<div class="mt-6 flex justify-between"> <div class="mt-6 flex justify-between">
<button type="button" class="prev-step-btn-modal 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 font-heading"> <button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> <svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" /> <path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
</svg> </svg>
Previous Previous
</button> </button>
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading"> <button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg> Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
</button> </button>
</div> </div>
@@ -231,13 +231,13 @@
</div> </div>
</div> </div>
<div class="mt-6 flex justify-between items-center"> <div class="mt-6 flex justify-between items-center">
<button type="button" class="prev-step-btn-modal 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 font-heading"> <button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> <svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" /> <path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
</svg> </svg>
Previous Previous
</button> </button>
<button type="submit" class="bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading"> <button type="submit" class="bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
Submit Listing Submit Listing
</button> </button>
</div> </div>