diff --git a/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue b/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue index 76abe933..2746e7d6 100644 --- a/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue +++ b/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue @@ -12,14 +12,14 @@ @dragleave.prevent="onDragLeave" @drop.prevent="onDrop">
+ :class="{ 'dropzone': true, 'dropzone-dark': isDarkMode, 'dropzone-blurry-bg': loading || isDragOver || recognizing, 'dropzone-dragover': isDragOver }">
-

{{ tt('You can drag and drop, paste or click to select a receipt or transaction image') }}

- {{ tt('Uploaded image and personal data will be sent to the large language model, please be aware of potential privacy risks.') }} +

{{ tt('You can drag and drop, paste or click to select a receipt or transaction image') }}

+ {{ tt('Uploaded image and personal data will be sent to the large language model, please be aware of potential privacy risks.') }}
-

{{ tt('Release to load image') }}

+

{{ tt('Release to load image') }}

{{ tt('Loading image...') }}

-

{{ tt('AI can make mistakes. Check important info.') }}

+

{{ tt('AI can make mistakes. Check important info.') }}

@@ -262,6 +262,24 @@ defineExpose({ pointer-events: none; border-radius: 8px; z-index: 10; + + h3, span { + color: rgb(var(--v-theme-on-grey-200)) !important; + text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; + } + + &.dropzone-dark { + h3, span { + color: rgb(var(--v-theme-on-grey-100)) !important; + text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; + } + } +} + +.dropzone-blurry-bg { + /* stylelint-disable property-no-vendor-prefix */ + -webkit-backdrop-filter: blur(6px); + backdrop-filter: blur(6px); } .dropzone-dragover {