Spaces:
Running
Running
Cambios color + adecuacion teclado en movil
Browse files
chatbot/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<html lang="es">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
<title>Valor Sentimental · Recomendador emocional de cine</title>
|
| 7 |
</head>
|
| 8 |
<body>
|
|
|
|
| 2 |
<html lang="es">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, interactive-widget=resizes-content" />
|
| 6 |
<title>Valor Sentimental · Recomendador emocional de cine</title>
|
| 7 |
</head>
|
| 8 |
<body>
|
chatbot/src/App.vue
CHANGED
|
@@ -54,6 +54,7 @@ body { overflow-x: hidden; }
|
|
| 54 |
--vs-section-bg: transparent;
|
| 55 |
--vs-card-shadow: 0 2px 16px rgba(102,126,234,0.1);
|
| 56 |
--vs-glass-blur: 20px;
|
|
|
|
| 57 |
}
|
| 58 |
|
| 59 |
/* ─── Dark theme ──────────────────────────────── */
|
|
@@ -89,6 +90,7 @@ body { overflow-x: hidden; }
|
|
| 89 |
--vs-section-alt: transparent;
|
| 90 |
--vs-section-bg: transparent;
|
| 91 |
--vs-card-shadow: 0 4px 24px rgba(0,0,0,0.25);
|
|
|
|
| 92 |
--vs-glass-blur: 24px;
|
| 93 |
}
|
| 94 |
|
|
|
|
| 54 |
--vs-section-bg: transparent;
|
| 55 |
--vs-card-shadow: 0 2px 16px rgba(102,126,234,0.1);
|
| 56 |
--vs-glass-blur: 20px;
|
| 57 |
+
--vs-accent: #667eea;
|
| 58 |
}
|
| 59 |
|
| 60 |
/* ─── Dark theme ──────────────────────────────── */
|
|
|
|
| 90 |
--vs-section-alt: transparent;
|
| 91 |
--vs-section-bg: transparent;
|
| 92 |
--vs-card-shadow: 0 4px 24px rgba(0,0,0,0.25);
|
| 93 |
+
--vs-accent: #d4af37;
|
| 94 |
--vs-glass-blur: 24px;
|
| 95 |
}
|
| 96 |
|
chatbot/src/components/MessageComposer.vue
CHANGED
|
@@ -100,4 +100,14 @@ defineEmits(["update:input", "analyze", "update:estrategia"]);
|
|
| 100 |
color: var(--vs-text) !important;
|
| 101 |
font-size: 0.94rem;
|
| 102 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
</style>
|
|
|
|
| 100 |
color: var(--vs-text) !important;
|
| 101 |
font-size: 0.94rem;
|
| 102 |
}
|
| 103 |
+
|
| 104 |
+
@media (max-width: 960px) {
|
| 105 |
+
.composer-card {
|
| 106 |
+
flex-shrink: 0;
|
| 107 |
+
position: sticky;
|
| 108 |
+
bottom: 0;
|
| 109 |
+
z-index: 10;
|
| 110 |
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
</style>
|
chatbot/src/components/MessageFeed.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
<template>
|
| 2 |
-
<v-col cols="12">
|
| 3 |
<v-card class="chat-card" rounded="xl" elevation="0">
|
| 4 |
<v-card-text ref="feedEl" class="feed-scroll">
|
| 5 |
|
|
@@ -667,7 +667,26 @@ watch(() => props.loading, val => { if (val) scrollToBottom(); });
|
|
| 667 |
}
|
| 668 |
|
| 669 |
@media (max-width: 960px) {
|
| 670 |
-
.feed-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 671 |
.bar-row { grid-template-columns: 90px 1fr 36px; }
|
| 672 |
.poster-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
|
| 673 |
}
|
|
|
|
| 1 |
<template>
|
| 2 |
+
<v-col cols="12" class="feed-col">
|
| 3 |
<v-card class="chat-card" rounded="xl" elevation="0">
|
| 4 |
<v-card-text ref="feedEl" class="feed-scroll">
|
| 5 |
|
|
|
|
| 667 |
}
|
| 668 |
|
| 669 |
@media (max-width: 960px) {
|
| 670 |
+
.feed-col {
|
| 671 |
+
height: 100%;
|
| 672 |
+
display: flex !important;
|
| 673 |
+
flex-direction: column;
|
| 674 |
+
overflow: hidden;
|
| 675 |
+
padding: 0 !important;
|
| 676 |
+
}
|
| 677 |
+
|
| 678 |
+
.chat-card {
|
| 679 |
+
flex: 1;
|
| 680 |
+
min-height: 0;
|
| 681 |
+
}
|
| 682 |
+
|
| 683 |
+
.feed-scroll {
|
| 684 |
+
flex: 1;
|
| 685 |
+
height: 0 !important;
|
| 686 |
+
min-height: 0 !important;
|
| 687 |
+
overflow-y: auto;
|
| 688 |
+
}
|
| 689 |
+
|
| 690 |
.bar-row { grid-template-columns: 90px 1fr 36px; }
|
| 691 |
.poster-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
|
| 692 |
}
|
chatbot/src/views/ChatView.vue
CHANGED
|
@@ -34,7 +34,7 @@
|
|
| 34 |
</v-btn>
|
| 35 |
</div>
|
| 36 |
|
| 37 |
-
<v-row align="start" class="mt-0">
|
| 38 |
<MessageFeed
|
| 39 |
:messages="messages"
|
| 40 |
:loading="loading"
|
|
@@ -424,6 +424,34 @@ async function confirmClearHistory() {
|
|
| 424 |
position: relative;
|
| 425 |
}
|
| 426 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 427 |
|
| 428 |
/* Recently viewed bar */
|
| 429 |
.recent-bar {
|
|
|
|
| 34 |
</v-btn>
|
| 35 |
</div>
|
| 36 |
|
| 37 |
+
<v-row align="start" class="mt-0 feed-row">
|
| 38 |
<MessageFeed
|
| 39 |
:messages="messages"
|
| 40 |
:loading="loading"
|
|
|
|
| 424 |
position: relative;
|
| 425 |
}
|
| 426 |
|
| 427 |
+
@media (max-width: 960px) {
|
| 428 |
+
.chat-main {
|
| 429 |
+
height: 100dvh;
|
| 430 |
+
overflow: hidden;
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
.chat-main :deep(.v-main__wrap) {
|
| 434 |
+
height: 100%;
|
| 435 |
+
overflow: hidden;
|
| 436 |
+
}
|
| 437 |
+
|
| 438 |
+
.chat-container {
|
| 439 |
+
height: 100%;
|
| 440 |
+
display: flex !important;
|
| 441 |
+
flex-direction: column;
|
| 442 |
+
overflow: hidden;
|
| 443 |
+
padding-bottom: 0 !important;
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
.feed-row {
|
| 447 |
+
flex: 1;
|
| 448 |
+
min-height: 0;
|
| 449 |
+
overflow: hidden;
|
| 450 |
+
align-items: stretch !important;
|
| 451 |
+
margin: 0 !important;
|
| 452 |
+
}
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
|
| 456 |
/* Recently viewed bar */
|
| 457 |
.recent-bar {
|
chatbot/src/views/LandingPage.vue
CHANGED
|
@@ -430,7 +430,7 @@ const circomplexPositions = {
|
|
| 430 |
font-weight: 700;
|
| 431 |
text-transform: uppercase;
|
| 432 |
letter-spacing: 0.1em;
|
| 433 |
-
color:
|
| 434 |
}
|
| 435 |
|
| 436 |
.section-title {
|
|
|
|
| 430 |
font-weight: 700;
|
| 431 |
text-transform: uppercase;
|
| 432 |
letter-spacing: 0.1em;
|
| 433 |
+
color: var(--vs-accent);
|
| 434 |
}
|
| 435 |
|
| 436 |
.section-title {
|