diff --git a/app/app.vue b/app/app.vue index 3d5a231..6063132 100755 --- a/app/app.vue +++ b/app/app.vue @@ -1,32 +1,25 @@ diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 3e066d7..4fb4c40 100755 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -16,3 +16,61 @@ --color-green-900: #0A5331; --color-green-950: #052E16; } + +/* Search match highlighting --------------------------------------------- */ + +/* Meilisearch returns matches wrapped in . We strip italics and add a + yellow background so they really pop in both list and detail. */ +.search-highlight em, +.search-highlight em * { + font-style: normal; + background-color: #fde68a; + color: #78350f; + padding: 0 2px; + border-radius: 2px; + font-weight: 600; + box-shadow: 0 0 0 1px #f59e0b inset; +} + +.dark .search-highlight em, +.dark .search-highlight em * { + background-color: #78350f; + color: #fde68a; + box-shadow: 0 0 0 1px #f59e0b inset; +} + +/* Client-side highlights inside the detail body. */ +mark.search-match { + background-color: #fde68a; + color: #78350f; + padding: 0 2px; + border-radius: 2px; + font-weight: 600; + box-shadow: 0 0 0 1px #f59e0b inset; +} + +.dark mark.search-match { + background-color: #78350f; + color: #fde68a; + box-shadow: 0 0 0 1px #f59e0b 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; + animation: search-match-pulse 0.9s ease-out 1; +} + +.dark mark.search-match.is-current { + background-color: #ea580c; + color: #fff7ed; + box-shadow: 0 0 0 2px #fdba74 inset; +} + +@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; } +} diff --git a/app/components/NotificationsSlideover.vue b/app/components/NotificationsSlideover.vue deleted file mode 100755 index 715c001..0000000 --- a/app/components/NotificationsSlideover.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - diff --git a/app/components/TeamsMenu.vue b/app/components/TeamsMenu.vue deleted file mode 100755 index 072ac66..0000000 --- a/app/components/TeamsMenu.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/app/components/UserMenu.vue b/app/components/UserMenu.vue deleted file mode 100755 index 66b3abd..0000000 --- a/app/components/UserMenu.vue +++ /dev/null @@ -1,188 +0,0 @@ - - - diff --git a/app/components/customers/AddModal.vue b/app/components/customers/AddModal.vue deleted file mode 100755 index aff4c92..0000000 --- a/app/components/customers/AddModal.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/app/components/customers/DeleteModal.vue b/app/components/customers/DeleteModal.vue deleted file mode 100755 index a38100e..0000000 --- a/app/components/customers/DeleteModal.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/app/components/home/HomeChart.client.vue b/app/components/home/HomeChart.client.vue deleted file mode 100755 index 73808fb..0000000 --- a/app/components/home/HomeChart.client.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - - - diff --git a/app/components/home/HomeChart.server.vue b/app/components/home/HomeChart.server.vue deleted file mode 100755 index 1c48cde..0000000 --- a/app/components/home/HomeChart.server.vue +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/app/components/home/HomeDateRangePicker.vue b/app/components/home/HomeDateRangePicker.vue deleted file mode 100755 index 4eabd4d..0000000 --- a/app/components/home/HomeDateRangePicker.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/app/components/home/HomePeriodSelect.vue b/app/components/home/HomePeriodSelect.vue deleted file mode 100755 index 614e056..0000000 --- a/app/components/home/HomePeriodSelect.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/app/components/home/HomeSales.vue b/app/components/home/HomeSales.vue deleted file mode 100755 index 46159f1..0000000 --- a/app/components/home/HomeSales.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - diff --git a/app/components/home/HomeStats.vue b/app/components/home/HomeStats.vue deleted file mode 100755 index f45ea1a..0000000 --- a/app/components/home/HomeStats.vue +++ /dev/null @@ -1,98 +0,0 @@ - - - diff --git a/app/components/inbox/InboxActivity.vue b/app/components/inbox/InboxActivity.vue index dca2320..f44cf72 100755 --- a/app/components/inbox/InboxActivity.vue +++ b/app/components/inbox/InboxActivity.vue @@ -1,43 +1,296 @@ diff --git a/app/components/inbox/InboxList.vue b/app/components/inbox/InboxList.vue index 6f5ee31..7081633 100755 --- a/app/components/inbox/InboxList.vue +++ b/app/components/inbox/InboxList.vue @@ -1,101 +1,761 @@ + + diff --git a/app/components/settings/MembersList.vue b/app/components/settings/MembersList.vue deleted file mode 100755 index 33fc867..0000000 --- a/app/components/settings/MembersList.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - diff --git a/app/composables/useDashboard.ts b/app/composables/useDashboard.ts index f5cf669..ad3f2c6 100755 --- a/app/composables/useDashboard.ts +++ b/app/composables/useDashboard.ts @@ -1,25 +1,14 @@ import { createSharedComposable } from '@vueuse/core' const _useDashboard = () => { - const route = useRoute() const router = useRouter() - const isNotificationsSlideoverOpen = ref(false) defineShortcuts({ - 'g-h': () => router.push('/'), - 'g-i': () => router.push('/inbox'), - 'g-c': () => router.push('/customers'), - 'g-s': () => router.push('/settings'), - 'n': () => isNotificationsSlideoverOpen.value = !isNotificationsSlideoverOpen.value + 'g-a': () => router.push('/actividades'), + 'g-c': () => router.push('/conferencias') }) - watch(() => route.fullPath, () => { - isNotificationsSlideoverOpen.value = false - }) - - return { - isNotificationsSlideoverOpen - } + return {} } export const useDashboard = createSharedComposable(_useDashboard) diff --git a/app/layouts/default.vue b/app/layouts/default.vue index a0f96c4..64e69e5 100755 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -1,87 +1,19 @@