diff --git a/app/assets/css/main.css b/app/assets/css/main.css index d79433e..2ee3f42 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -1,3 +1,6 @@ +@import "tailwindcss"; +@import "@nuxt/ui"; + /* Safe area para PWA en iOS */ .safe-area-bottom { padding-bottom: env(safe-area-inset-bottom); @@ -19,11 +22,20 @@ } ::-webkit-scrollbar-thumb { - @apply bg-gray-300 dark:bg-gray-700 rounded-full; + background: rgb(209 213 219); /* gray-300 */ + border-radius: 9999px; } ::-webkit-scrollbar-thumb:hover { - @apply bg-gray-400 dark:bg-gray-600; + background: rgb(156 163 175); /* gray-400 */ +} + +.dark ::-webkit-scrollbar-thumb { + background: rgb(55 65 81); /* gray-700 */ +} + +.dark ::-webkit-scrollbar-thumb:hover { + background: rgb(75 85 99); /* gray-600 */ } /* Reset básico */ diff --git a/app/components/queue/QueueActions.vue b/app/components/queue/Actions.vue similarity index 100% rename from app/components/queue/QueueActions.vue rename to app/components/queue/Actions.vue diff --git a/app/components/queue/QueueItem.vue b/app/components/queue/Item.vue similarity index 100% rename from app/components/queue/QueueItem.vue rename to app/components/queue/Item.vue diff --git a/app/components/queue/PrintQueue.vue b/app/components/queue/PrintQueue.vue index 216123e..6e64939 100644 --- a/app/components/queue/PrintQueue.vue +++ b/app/components/queue/PrintQueue.vue @@ -15,7 +15,7 @@ const queue = usePrintQueue() - { + matches.value = e.matches + } + + mediaQuery.addEventListener('change', handler) + + onUnmounted(() => { + mediaQuery.removeEventListener('change', handler) + }) + } + + return matches +} diff --git a/app/pages/index.vue b/app/pages/index.vue index 32a8f0a..acb6181 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -28,7 +28,7 @@ const queue = usePrintQueue()
- +
@@ -44,7 +44,7 @@ const queue = usePrintQueue()