From 07594aeac02b12c973af31a314f6db70d91d19e6 Mon Sep 17 00:00:00 2001 From: Julio Ruiz Date: Mon, 11 May 2026 23:55:20 -0500 Subject: [PATCH] Fixing ui issues - adding better color highlights - added bg to separate areas. --- app/assets/css/main.css | 27 ++-- app/components/inbox/InboxActivity.vue | 188 +++++++++++-------------- app/components/inbox/InboxList.vue | 117 +++++++-------- 3 files changed, 152 insertions(+), 180 deletions(-) diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 4fb4c40..738e134 100755 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -41,25 +41,26 @@ /* Client-side highlights inside the detail body. */ mark.search-match { - background-color: #fde68a; - color: #78350f; - padding: 0 2px; + background-color: #fdff32; + color: #000; + padding: 2px; border-radius: 2px; font-weight: 600; - box-shadow: 0 0 0 1px #f59e0b inset; + box-shadow: 0 0 0 1px #e9ff32 inset; } .dark mark.search-match { - background-color: #78350f; - color: #fde68a; - box-shadow: 0 0 0 1px #f59e0b inset; + background-color: #fdff32; + color: #000; + box-shadow: 0 0 0 1px #e9ff32 inset; } /* The currently-focused match (the one the user navigated to). */ mark.search-match.is-current { - background-color: #f97316; - color: #ffffff; - box-shadow: 0 0 0 2px #c2410c inset; + background-color: #8cff32; + padding: 2px; + color: #000; + box-shadow: 0 0 0 2px #8cff32 inset; animation: search-match-pulse 0.9s ease-out 1; } @@ -70,7 +71,7 @@ mark.search-match.is-current { } @keyframes search-match-pulse { - 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.75), 0 0 0 2px #c2410c inset; } - 70% { box-shadow: 0 0 0 14px rgba(249, 115, 22, 0), 0 0 0 2px #c2410c inset; } - 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0), 0 0 0 2px #c2410c inset; } + 0% { box-shadow: 0 0 0 0 #e9ff32, 0 0 0 2px #8cff32 inset; } + 70% { box-shadow: 0 0 0 14px rgba(249, 115, 22, 0), 0 0 0 2px #8cff32 inset; } + 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0), 0 0 0 2px #8cff32 inset; } } diff --git a/app/components/inbox/InboxActivity.vue b/app/components/inbox/InboxActivity.vue index 90eb03c..5c7cd68 100755 --- a/app/components/inbox/InboxActivity.vue +++ b/app/components/inbox/InboxActivity.vue @@ -367,30 +367,90 @@ function onInputKey(e: KeyboardEvent) { - + + + + -
-
-

+

+
+

+ {{ safeDate(activity) }}

-

+

+ {{ formatLocation(activity) }}

-
    +
    + + + + + + + + + + + + + + + + + + +
    + +
-
- -
-
- - - -
- - - - - - - - - - - -
- +
+

No hay contenido disponible para esta coincidencia. @@ -484,34 +482,6 @@ function onInputKey(e: KeyboardEvent) { verla en el sitio.

- - -
diff --git a/app/components/inbox/InboxList.vue b/app/components/inbox/InboxList.vue index f044a0d..b0a6468 100755 --- a/app/components/inbox/InboxList.vue +++ b/app/components/inbox/InboxList.vue @@ -674,7 +674,7 @@ useIntersectionObserver( :ref="(el) => { activitiesRefs[row.activity._id] = el as Element | null }" >
-
-
-
- - +
+
+
+ + + + +
+
+ +

+ {{ safeDate(row.activity) }} + {{ formatLocation(row.activity) }} +

+ +
+
- - + + Coincidencia en el documento (abre para ubicarla con la búsqueda interna) +
+
-
-

- {{ safeDate(row.activity) }} - - {{ formatLocation(row.activity) }} -

- -
- - Coincidencia en el documento (abre para ubicarla con la búsqueda interna) + +
+
-
- -
- - -
- -
- - - Coincide en: - {{ row.extraFields.map(fieldLabel).join(', ') }} - + v-if="!row.extraSnippets.length && row.extraFields.length" + class="mt-1.5 text-xs text-muted flex items-center gap-1.5 " + > + + + Coincide en: + {{ row.extraFields.map(fieldLabel).join(', ') }} + +