Refined Discover and Transport UI, added shuttle categorization and descriptions

This commit is contained in:
2026-03-03 10:08:57 -05:00
parent 767667b1b6
commit 9d8a535929
8 changed files with 788 additions and 1504 deletions

View File

@ -142,7 +142,7 @@ function resetFilters() {
</header>
<!-- CHIPS DE CATEGORÍA -->
<div class="cat-chips-wrap">
<div class="cat-chips-wrap glass-effect">
<div class="cat-chips-scroll">
<button
v-for="cat in categories"
@ -151,7 +151,10 @@ function resetFilters() {
:class="{ 'cat-chip--active': selectedCategory === cat }"
@click="selectedCategory = cat"
>
{{ catEmoji(cat) }} {{ catName(cat) }}
<span class="cat-chip-inner">
<span class="cat-emoji">{{ catEmoji(cat) }}</span>
<span class="cat-text">{{ catName(cat) }}</span>
</span>
</button>
</div>
</div>
@ -408,8 +411,9 @@ function resetFilters() {
background: var(--bg-primary);
border: 1.5px solid var(--border-color);
border-radius: 0.875rem;
padding: 0.75rem 1rem;
transition: border-color 0.2s;
padding: 0.75rem 1.125rem;
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.search-wrap:focus-within { border-color: var(--active-color); }
@ -426,7 +430,12 @@ function resetFilters() {
outline: none;
}
.search-input::placeholder { color: var(--text-secondary); }
.search-input::placeholder { color: var(--text-secondary); opacity: 0.7; }
.search-wrap:focus-within .search-icon {
transform: scale(1.1);
color: var(--active-color);
}
.search-clear {
background: none;
@ -445,11 +454,13 @@ function resetFilters() {
═══════════════════════════════════════════ */
.cat-chips-wrap {
background: var(--bg-secondary);
padding: 0.75rem 0;
padding: 0.875rem 0;
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 10;
z-index: 100;
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
}
.cat-chips-scroll {
@ -465,27 +476,61 @@ function resetFilters() {
.cat-chip {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.5rem 0.875rem;
padding: 0.125rem;
border-radius: 99px;
border: 1.5px solid var(--border-color);
border: 1px solid var(--border-color);
background: var(--bg-primary);
color: var(--text-secondary);
font-size: 0.8125rem;
font-weight: 700;
font-family: inherit;
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
transition: all 0.18s;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cat-chip:hover { border-color: var(--active-color); color: var(--text-primary); }
.cat-chip-inner {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem 0.5rem 0.625rem;
}
.cat-emoji {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
background: var(--bg-secondary);
border-radius: 50%;
font-size: 1rem;
transition: transform 0.3s ease;
}
.cat-text {
font-size: 0.875rem;
font-weight: 700;
}
.cat-chip:hover {
border-color: var(--active-color);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.cat-chip:hover .cat-emoji {
transform: scale(1.1) rotate(5deg);
}
.cat-chip--active {
background: var(--active-color);
border-color: var(--active-color);
color: #101820;
box-shadow: 0 4px 15px rgba(254, 231, 21, 0.3);
}
.cat-chip--active .cat-emoji {
background: rgba(0, 0, 0, 0.1);
}
/* ═══════════════════════════════════════════
@ -654,8 +699,9 @@ function resetFilters() {
}
.biz-card:hover {
transform: translateY(-4px);
transform: translateY(-6px) scale(1.02);
border-color: var(--active-color);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.biz-img-wrap {