diff --git a/frontend/src/views/MapView.vue b/frontend/src/views/MapView.vue
index 032034a..3fc4c4d 100644
--- a/frontend/src/views/MapView.vue
+++ b/frontend/src/views/MapView.vue
@@ -99,6 +99,7 @@ function selectStopFromSearch(stop: BusStop) {
function openUberSearch() {
showUberSearch.value = true;
+ showRoutesToggle.value = true; // Forzar que al abrir estemos en modo rutas
}
function closeUberSearch() {
@@ -852,8 +853,8 @@ async function calculateWalkingPath(origin: { lat: number, lng: number }, target
class="uber-search-trigger"
@click="openUberSearch"
>
- search
- ¿A dónde vamos?
+ directions_bus
+ Ver Rutas
@@ -865,102 +866,46 @@ async function calculateWalkingPath(origin: { lat: number, lng: number }, target
-
Planear viaje
+ Rutas Disponibles
-
-
-
-
+
+
-
-
-
-
-
- directions_bus
-
-
-
{{ stop.name }}
-
Parada de Autobús
-
-
chevron_right
+
+
+
-
+
@@ -1588,79 +1533,12 @@ async function calculateWalkingPath(origin: { lat: number, lng: number }, target
letter-spacing: -0.02em;
}
-.search-inputs-wrapper {
+.search-actions-header {
display: flex;
- gap: 16px;
- background: var(--bg-secondary);
- padding: 14px;
- border-radius: 16px;
- margin-bottom: 12px;
- border: 1px solid var(--border-color);
-}
-
-.location-line {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding-top: 15px;
-}
-
-.dot-origin {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background: var(--active-color);
- box-shadow: 0 0 10px var(--active-color);
-}
-
-.line {
- width: 2px;
- height: 45px;
- background: linear-gradient(to bottom, var(--active-color), var(--border-color));
- margin: 4px 0;
-}
-
-.dot-dest {
- width: 10px;
- height: 10px;
- border-radius: 2px;
- background: #fff;
-}
-
-.inputs-column {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 16px;
-}
-
-.input-group {
- position: relative;
- display: flex;
- align-items: center;
-}
-
-.uber-input {
- width: 100%;
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid var(--border-color);
- padding: 12px 16px;
- border-radius: 12px;
- font-size: 1rem;
- color: var(--text-primary);
-}
-.uber-input:focus {
- background: rgba(255, 255, 255, 0.07);
- border-color: var(--active-color);
- box-shadow: 0 0 0 4px rgba(254, 231, 21, 0.1);
-}
-
-.search-options {
- padding: 12px 0;
- border-top: 1px solid var(--border-color);
- display: flex;
- justify-content: space-between;
- align-items: center;
+ justify-content: flex-end;
+ padding: 8px 0 16px;
+ border-bottom: 1px solid var(--border-color);
+ margin-bottom: 8px;
}
.clear-map-btn {
@@ -1689,24 +1567,7 @@ async function calculateWalkingPath(origin: { lat: number, lng: number }, target
}
.clear-map-btn .material-icons {
- font-size: 20px;
-}
-
-.route-toggle {
- display: flex;
- align-items: center;
- gap: 12px;
- cursor: pointer;
- font-weight: 700;
- color: var(--text-primary);
- font-size: 1rem;
-}
-
-.route-toggle input {
- width: 20px;
- height: 20px;
- cursor: pointer;
- accent-color: var(--active-color);
+ font-size: 18px;
}
.uber-results {