style: Adjust UI typography and colors
This commit is contained in:
1 parent
c960072b3e
commit
dc2c09421e
4 files changed
+31
-31
No files matched your search
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<div class="relative flex px-3 mt-2 lg:px-2 lg:mt-3 xl:mt-1 xl:px-4 xxl:px-3">
|
||||
<a>
|
||||
<p class="sm:w-10/12 md:w-auto lg:w-11/12 font-heading font-bold text-2xl tracking-wider md:tracking-normal xl:tracking-wide xxl:tracking-tighter leading-7 lg:leading-6 xl:leading-7 break-words">
|
||||
<p class="sm:w-10/12 md:w-auto lg:w-11/12 font-heading font-bold text-xl tracking-wider md:tracking-normal xl:tracking-wide xxl:tracking-tighter leading-7 lg:leading-6 xl:leading-7 break-words">
|
||||
{{ listing.title }}
|
||||
</p>
|
||||
</a>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<nav class="sticky top-0 z-50 w-full bg-indigo-700">
|
||||
<nav class="sticky top-0 z-50 w-full bg-indigo-900">
|
||||
<div class="container mx-auto px-4 sm:px-6 lg:px-12 xl:px-24 xxl:px-32 py-3">
|
||||
|
||||
<!-- Mobile & Tablet: Logo + Post Button (Top Stack) -->
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
<!-- Left: Logo -->
|
||||
<div class="flex justify-between items-center md:w-auto w-full">
|
||||
<a href="#" class="text-2xl font-heading text-gray-100">resharespace</a>
|
||||
<a href="#" class="text-xl font-heading font-bold text-gray-100">resharespace</a>
|
||||
|
||||
<!-- Post Space button (mobile visible only inline with logo) -->
|
||||
<div class="md:hidden">
|
||||
<button class="bg-indigo-900 text-gray-100 font-heading text-base px-4 py-2 rounded-base ml-auto" onclick="toggleNavbar('post-modal');toggleOverlay('collapse-overlay')">
|
||||
<button class="bg-indigo-700 text-gray-100 font-heading text-base px-4 py-2 rounded-base ml-auto" onclick="toggleNavbar('post-modal');toggleOverlay('collapse-overlay')">
|
||||
Post Space
|
||||
</button>
|
||||
</div>
|
||||
@@ -23,7 +23,7 @@
|
||||
<input
|
||||
type="search"
|
||||
placeholder="Where do you want to work today?"
|
||||
class="w-full bg-indigo-800 opacity-75 h-10 px-3 pr-10 rounded-lg text-sm text-gray-200 focus:outline-none"
|
||||
class="w-full bg-gray-100 h-10 px-3 pr-10 rounded-base text-sm text-indigo-900 focus:outline-none"
|
||||
/>
|
||||
<button type="submit" class="absolute right-0 top-1.5 mr-2">
|
||||
<img alt="Search" src="assets/svg/icon_search.svg" class="h-5 w-5 text-indigo-700">
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<!-- Right: Post Space button (desktop only) -->
|
||||
<div class="hidden md:flex md:items-center">
|
||||
<button class="bg-indigo-900 text-gray-100 font-heading text-lg px-5 py-2 rounded-base" onclick="toggleNavbar('post-modal');toggleOverlay('collapse-overlay')">
|
||||
<button class="bg-indigo-700 text-gray-100 font-heading text-base px-5 py-2 rounded-base" onclick="toggleNavbar('post-modal');toggleOverlay('collapse-overlay')">
|
||||
Post Space
|
||||
</button>
|
||||
</div>
|
||||
|
||||
+21
-21
@@ -1,10 +1,10 @@
|
||||
<!-- Filter Section -->
|
||||
<section class="bg-white py-2 sm:py-4 border-b border-gray-200 text-sm">
|
||||
<div class="container mx-auto px-4 sm:px-16 md:px-10 lg:px-12 xl:px-24 xxl:px-32">
|
||||
<div class="container mx-auto mx-auto px-4 sm:px-6 lg:px-12 xl:px-24 xxl:px-32 py-3">
|
||||
<!-- Mobile Filter Trigger -->
|
||||
<div class="sm:hidden flex justify-between items-center">
|
||||
<span class="text-base font-semibold text-gray-800 font-heading">Filters & Sort</span>
|
||||
<button id="open-mobile-filters-btn" class="bg-indigo-700 text-white font-semibold py-2 px-4 rounded-lg text-sm inline-flex items-center font-heading text-lg">
|
||||
<button id="open-mobile-filters-btn" class="bg-indigo-700 text-white font-semibold py-2 px-4 rounded-lg text-sm inline-flex items-center font-heading text-base">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="flex flex-wrap gap-4 items-center">
|
||||
<!-- Geolocation Filter -->
|
||||
<div class="relative">
|
||||
<button onclick="toggleDropdown('location-filter-dropdown')" class="w-full 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 text-lg">
|
||||
<button onclick="toggleDropdown('location-filter-dropdown')" class="w-full 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 text-base">
|
||||
<span>Location</span>
|
||||
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
||||
</button>
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
<!-- Availability Filter -->
|
||||
<div class="relative">
|
||||
<button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full 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 text-lg">
|
||||
<button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full 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 text-base">
|
||||
<span>Availability</span>
|
||||
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
||||
</button>
|
||||
@@ -74,7 +74,7 @@
|
||||
|
||||
<!-- Rates Filter -->
|
||||
<div class="relative">
|
||||
<button onclick="toggleDropdown('rates-filter-dropdown')" class="w-full 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 text-lg">
|
||||
<button onclick="toggleDropdown('rates-filter-dropdown')" class="w-full 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 text-base">
|
||||
<span>Rates</span>
|
||||
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
||||
</button>
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
<!-- Type of Spaces Filter -->
|
||||
<div class="relative">
|
||||
<button onclick="toggleDropdown('spacetype-filter-dropdown')" class="w-full 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 text-lg">
|
||||
<button onclick="toggleDropdown('spacetype-filter-dropdown')" class="w-full 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 text-base">
|
||||
<span>Space Type</span>
|
||||
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
||||
</button>
|
||||
@@ -125,7 +125,7 @@
|
||||
|
||||
<!-- Pricing Range Filter -->
|
||||
<div class="relative">
|
||||
<button onclick="toggleDropdown('pricerange-filter-dropdown')" class="w-full 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 text-lg">
|
||||
<button onclick="toggleDropdown('pricerange-filter-dropdown')" class="w-full 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 text-base">
|
||||
<span>Price Range</span>
|
||||
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
||||
</button>
|
||||
@@ -155,7 +155,7 @@
|
||||
<div class="flex justify-between items-center mt-8 space-x-3">
|
||||
<input type="number" id="minPriceInput" value="100" class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700"
|
||||
oninput="var minSlider = document.getElementById('minRangeSlider'); var maxSlider = document.getElementById('maxRangeSlider'); var val = parseInt(this.value); if (isNaN(val)) { this.value = minSlider.value; return; } if (val >= parseInt(maxSlider.value)) val = parseInt(maxSlider.value) -1; if (val < parseInt(minSlider.min)) val = parseInt(minSlider.min); this.value = val; minSlider.value = val; minSlider.dispatchEvent(new Event('input'));">
|
||||
<span class="text-gray-500 text-lg">-</span>
|
||||
<span class="text-gray-500 text-base">-</span>
|
||||
<input type="number" id="maxPriceInput" value="700" class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700"
|
||||
oninput="var minSlider = document.getElementById('minRangeSlider'); var maxSlider = document.getElementById('maxRangeSlider'); var val = parseInt(this.value); if (isNaN(val)) { this.value = maxSlider.value; return; } if (val <= parseInt(minSlider.value)) val = parseInt(minSlider.value) + 1; if (val > parseInt(maxSlider.max)) val = parseInt(maxSlider.max); this.value = val; maxSlider.value = val; maxSlider.dispatchEvent(new Event('input'));">
|
||||
</div>
|
||||
@@ -165,14 +165,14 @@
|
||||
|
||||
<!-- Sorting Group -->
|
||||
<div class="flex gap-4 items-center">
|
||||
<button class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize border-2 border-indigo-700 hover:border-indigo-700 font-heading text-lg">
|
||||
<button class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize border-2 border-indigo-700 hover:border-indigo-700 font-heading text-base">
|
||||
Relevance
|
||||
</button>
|
||||
<button class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize border-2 border-transparent hover:border-indigo-700 font-heading text-lg">
|
||||
<button class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize border-2 border-transparent hover:border-indigo-700 font-heading text-base">
|
||||
Newest
|
||||
</button>
|
||||
<div class="relative">
|
||||
<button onclick="toggleDropdown('price-sort-dropdown')" 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 capitalize font-heading text-lg">
|
||||
<button onclick="toggleDropdown('price-sort-dropdown')" 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 capitalize font-heading text-base">
|
||||
<span>Price</span>
|
||||
<svg class="fill-current h-4 w-4 ml-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
||||
</button>
|
||||
@@ -193,8 +193,8 @@
|
||||
<!-- Drawer Header -->
|
||||
<div class="flex items-center justify-between p-4 border-b border-gray-200">
|
||||
<div class="w-8 h-1 bg-gray-300 rounded-full mx-auto absolute top-2 left-1/2 -translate-x-1/2"></div> <!-- Drag handle -->
|
||||
<h3 class="text-lg font-semibold text-gray-800 flex-1 text-center font-heading">Filters & Sort</h3>
|
||||
<button id="close-mobile-filters-btn" class="text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100 font-heading text-lg">
|
||||
<h3 class="text-base font-semibold text-gray-800 flex-1 text-center font-heading">Filters & Sort</h3>
|
||||
<button id="close-mobile-filters-btn" class="text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100 font-heading text-base">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
|
||||
</svg>
|
||||
@@ -204,7 +204,7 @@
|
||||
<div class="overflow-y-auto p-4 space-y-4 flex-1">
|
||||
<!-- Location Filter Accordion -->
|
||||
<div>
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-lg">
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-base">
|
||||
<span>Location</span>
|
||||
<svg class="accordion-icon-mobile h-5 w-5 transform transition-transform duration-200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
@@ -222,7 +222,7 @@
|
||||
|
||||
<!-- Availability Filter Accordion -->
|
||||
<div>
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-lg">
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-base">
|
||||
<span>Availability</span>
|
||||
<svg class="accordion-icon-mobile h-5 w-5 transform transition-transform duration-200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
@@ -237,7 +237,7 @@
|
||||
|
||||
<!-- Rates Filter Accordion -->
|
||||
<div>
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-lg">
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-base">
|
||||
<span>Rates</span>
|
||||
<svg class="accordion-icon-mobile h-5 w-5 transform transition-transform duration-200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
@@ -254,7 +254,7 @@
|
||||
|
||||
<!-- Space Type Filter Accordion -->
|
||||
<div>
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-lg">
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-base">
|
||||
<span>Space Type</span>
|
||||
<svg class="accordion-icon-mobile h-5 w-5 transform transition-transform duration-200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
@@ -273,7 +273,7 @@
|
||||
|
||||
<!-- Price Range Filter Accordion -->
|
||||
<div>
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-lg">
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-base">
|
||||
<span>Price Range</span>
|
||||
<svg class="accordion-icon-mobile h-5 w-5 transform transition-transform duration-200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
@@ -313,7 +313,7 @@
|
||||
|
||||
<!-- Sort By Accordion -->
|
||||
<div>
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-lg">
|
||||
<button type="button" class="accordion-toggle-mobile w-full flex justify-between items-center py-3 px-2 text-left text-sm font-semibold text-gray-700 hover:bg-gray-50 rounded-md font-heading text-base">
|
||||
<span>Sort By</span>
|
||||
<svg class="accordion-icon-mobile h-5 w-5 transform transition-transform duration-200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
@@ -329,8 +329,8 @@
|
||||
</div>
|
||||
<!-- Drawer Footer -->
|
||||
<div class="p-4 border-t border-gray-200 flex justify-between items-center sticky bottom-0 bg-white">
|
||||
<button id="reset-mobile-filters-btn" class="text-gray-700 hover:text-indigo-700 font-semibold py-2 px-4 rounded-lg text-sm border border-gray-300 hover:border-indigo-600 font-heading text-lg">Clear All</button>
|
||||
<button id="apply-mobile-filters-btn" class="bg-indigo-700 hover:bg-indigo-800 text-white font-semibold py-2 px-6 rounded-lg text-sm font-heading text-lg">Apply Filters</button>
|
||||
<button id="reset-mobile-filters-btn" class="text-gray-700 hover:text-indigo-700 font-semibold py-2 px-4 rounded-lg text-sm border border-gray-300 hover:border-indigo-600 font-heading text-base">Clear All</button>
|
||||
<button id="apply-mobile-filters-btn" class="bg-indigo-700 hover:bg-indigo-800 text-white font-semibold py-2 px-6 rounded-lg text-sm font-heading text-base">Apply Filters</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Overlay for mobile drawer -->
|
||||
|
||||
Reference in new issue
Block a user