style: update color scheme to green
This commit is contained in:
1 parent
5ac816578c
commit
e9db48d98c
10 files changed
+69
-69
No files matched your search
+14
-14
@@ -29,7 +29,7 @@
|
||||
<div class="space-y-5">
|
||||
<div>
|
||||
<label for="photo" class="block text-sm font-medium text-gray-700 mb-1">Listing Photo</label>
|
||||
<input type="file" id="photo" name="photo" class="w-full text-sm text-gray-500 file:mr-4 file:py-2 file:px-4 file:rounded-lg file:border-0 file:text-sm file:font-semibold file:bg-indigo-50 file:text-green-300 hover:file:bg-indigo-100 border border-gray-400 rounded-sm cursor-pointer focus:outline-none focus:border-green-300" accept="image/*">
|
||||
<input type="file" id="photo" name="photo" class="w-full text-sm text-gray-500 file:mr-4 file:py-2 file:px-4 file:rounded-lg file:border-0 file:text-sm file:font-semibold file:bg-green-50 file:text-green-300 hover:file:bg-green-100 border border-gray-400 rounded-sm cursor-pointer focus:outline-none focus:border-green-300" accept="image/*">
|
||||
<p class="text-sm text-gray-500 mt-1">Upload one image for your listing (e.g., JPG, PNG).</p>
|
||||
</div>
|
||||
<div>
|
||||
@@ -53,7 +53,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-8 flex justify-end">
|
||||
<button type="button" class="next-step-btn bg-green-300 hover:bg-indigo-800 text-white font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-opacity-50 transition-colors">
|
||||
<button type="button" class="next-step-btn bg-green-300 hover:bg-green-800 text-white font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition-colors">
|
||||
Next <span aria-hidden="true">→</span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -68,11 +68,11 @@
|
||||
<input type="text" id="location-search" name="location-search" placeholder="Type to search for a city or area..." class="w-full px-3 py-2 border border-gray-400 rounded-sm focus:outline-none focus:border-green-300 sm:text-sm" autocomplete="off">
|
||||
<div id="location-dropdown" class="absolute z-20 mt-1 w-full rounded-md bg-white shadow-lg hidden ring-1 ring-black ring-opacity-5 max-h-60 overflow-y-auto py-1">
|
||||
<!-- Example items, real implementation would populate this dynamically or use a service -->
|
||||
<a href="#" data-value="Manila, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-indigo-50 hover:text-green-300 location-item">Manila, Philippines</a>
|
||||
<a href="#" data-value="Makati, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-indigo-50 hover:text-green-300 location-item">Makati, Philippines</a>
|
||||
<a href="#" data-value="Quezon City, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-indigo-50 hover:text-green-300 location-item">Quezon City, Philippines</a>
|
||||
<a href="#" data-value="Cebu City, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-indigo-50 hover:text-green-300 location-item">Cebu City, Philippines</a>
|
||||
<a href="#" data-value="Taguig, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-indigo-50 hover:text-green-300 location-item">Taguig, Philippines</a>
|
||||
<a href="#" data-value="Manila, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-green-50 hover:text-green-300 location-item">Manila, Philippines</a>
|
||||
<a href="#" data-value="Makati, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-green-50 hover:text-green-300 location-item">Makati, Philippines</a>
|
||||
<a href="#" data-value="Quezon City, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-green-50 hover:text-green-300 location-item">Quezon City, Philippines</a>
|
||||
<a href="#" data-value="Cebu City, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-green-50 hover:text-green-300 location-item">Cebu City, Philippines</a>
|
||||
<a href="#" data-value="Taguig, Philippines" class="block px-4 py-2 text-sm text-gray-700 hover:bg-green-50 hover:text-green-300 location-item">Taguig, Philippines</a>
|
||||
<p class="px-4 py-2 text-sm text-gray-500 no-results hidden">No locations found.</p>
|
||||
</div>
|
||||
<input type="hidden" id="selected-location" name="selected-location">
|
||||
@@ -90,7 +90,7 @@
|
||||
<button type="button" class="prev-step-btn bg-gray-200 hover:bg-gray-300 text-gray-700 font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-gray-400 focus:ring-opacity-50 transition-colors">
|
||||
<span aria-hidden="true">←</span> Previous
|
||||
</button>
|
||||
<button type="button" class="next-step-btn bg-green-300 hover:bg-indigo-800 text-white font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-opacity-50 transition-colors">
|
||||
<button type="button" class="next-step-btn bg-green-300 hover:bg-green-800 text-white font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition-colors">
|
||||
Next <span aria-hidden="true">→</span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -154,17 +154,17 @@
|
||||
class="sr-only peer day-specific-availability-toggle"
|
||||
data-day="{{ day_label | downcase }}"
|
||||
onchange="toggleDayTimeSelection('{{ day_label | downcase }}')">
|
||||
<div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-offset-2 peer-focus:ring-indigo-500 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
|
||||
<div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-offset-2 peer-focus:ring-green-500 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-900"></div>
|
||||
</label>
|
||||
|
||||
<div id="time-selection-{{ day_label | downcase }}" class="day-specific-time-inputs mt-4 grid grid-cols-1 sm:grid-cols-2 gap-x-4 gap-y-3 hidden">
|
||||
<div>
|
||||
<label for="start-time-{{ day_label | downcase }}" class="block text-xs font-medium text-gray-700 mb-1">Open</label>
|
||||
<input type="time" id="start-time-{{ day_label | downcase }}" name="start_time_{{ day_label | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm bg-white">
|
||||
<input type="time" id="start-time-{{ day_label | downcase }}" name="start_time_{{ day_label | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-green-500 focus:border-green-500 sm:text-sm bg-white">
|
||||
</div>
|
||||
<div>
|
||||
<label for="end-time-{{ day_label | downcase }}" class="block text-xs font-medium text-gray-700 mb-1">Close</label>
|
||||
<input type="time" id="end-time-{{ day_label | downcase }}" name="end_time_{{ day_label | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm bg-white">
|
||||
<input type="time" id="end-time-{{ day_label | downcase }}" name="end_time_{{ day_label | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-1 focus:ring-green-500 focus:border-green-500 sm:text-sm bg-white">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -176,7 +176,7 @@
|
||||
<button type="button" class="prev-step-btn bg-gray-200 hover:bg-gray-300 text-gray-700 font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-gray-400 focus:ring-opacity-50 transition-colors">
|
||||
<span aria-hidden="true">←</span> Previous
|
||||
</button>
|
||||
<button type="button" class="next-step-btn bg-green-300 hover:bg-indigo-800 text-white font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-opacity-50 transition-colors">
|
||||
<button type="button" class="next-step-btn bg-green-300 hover:bg-green-800 text-white font-semibold py-2 px-6 rounded-lg shadow-md focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition-colors">
|
||||
Next <span aria-hidden="true">→</span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -374,8 +374,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
function setActiveDayTab(targetDay) {
|
||||
dayTabButtons.forEach(button => {
|
||||
const isTarget = button.dataset.dayTarget === targetDay;
|
||||
button.classList.toggle('border-indigo-500', isTarget); // Active tab style
|
||||
button.classList.toggle('text-indigo-600', isTarget);
|
||||
button.classList.toggle('border-green-500', isTarget); // Active tab style
|
||||
button.classList.toggle('text-green-900', isTarget);
|
||||
button.classList.toggle('font-semibold', isTarget); // Make active tab font bolder
|
||||
button.classList.toggle('text-gray-500', !isTarget); // Inactive tab style
|
||||
button.classList.toggle('hover:border-gray-300', !isTarget); // Corrected hover for inactive
|
||||
|
||||
Reference in new issue
Block a user