From b30f50b96dff7f3f9a934c8a6e3d5afc7fa09585 Mon Sep 17 00:00:00 2001 From: N-Pex Date: Fri, 17 Oct 2025 15:11:47 +0200 Subject: [PATCH 1/2] Re-add the file drop initial view --- src/assets/css/sendattachments.scss | 27 +++ .../file_mode/SendAttachmentsLayout.vue | 168 ++++++------------ 2 files changed, 80 insertions(+), 115 deletions(-) diff --git a/src/assets/css/sendattachments.scss b/src/assets/css/sendattachments.scss index 46f8394..8243dfa 100644 --- a/src/assets/css/sendattachments.scss +++ b/src/assets/css/sendattachments.scss @@ -38,6 +38,14 @@ $hiliteColor: #4642f1; display: flex; align-items: center; justify-content: center; + &.file-drop { + flex: 0 0 100px; + background-color: transparent; + flex-direction: column; + .file-drop-title { + margin-top: 8px; + } + } } .v-btn { @@ -119,6 +127,25 @@ $hiliteColor: #4642f1; } } + .file-drop-choose-files { + background-color: $backgroundSection; + border-radius: 19px; + padding: 16px 18px; + flex: 0 0 40%; + margin: 20px; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + .file-format-info { + font-family: "Inter", sans-serif; + font-size: 11 * $chat-text-size; + line-height: 117%; + color: rgba(white, 0.6); + margin-top: 5px; + } + } + .file-drop-thumbnail-container, .gallery-thumbnail-container { width: 100%; diff --git a/src/components/file_mode/SendAttachmentsLayout.vue b/src/components/file_mode/SendAttachmentsLayout.vue index ed26912..5c7d2f3 100644 --- a/src/components/file_mode/SendAttachmentsLayout.vue +++ b/src/components/file_mode/SendAttachmentsLayout.vue @@ -1,29 +1,32 @@