diff --git a/changelog/unreleased/enhancement-redesign-filesdrop b/changelog/unreleased/enhancement-redesign-filesdrop new file mode 100644 index 00000000000..c11fcbff88f --- /dev/null +++ b/changelog/unreleased/enhancement-redesign-filesdrop @@ -0,0 +1,5 @@ +Enhancement: Redesigned filesdrop page + +The filesdrop page has been redesigned to be more user-friendly and fit the overall "look-and-feel" of the files app. + +https://github.com/owncloud/web/pull/10438 diff --git a/packages/design-system/src/styles/theme/background.scss b/packages/design-system/src/styles/theme/background.scss index 3015138bdcc..d07d9025356 100644 --- a/packages/design-system/src/styles/theme/background.scss +++ b/packages/design-system/src/styles/theme/background.scss @@ -48,6 +48,11 @@ background-color: var(--oc-color-background-highlight) !important; } +.oc-background-warning { + background-color: var(--oc-color-swatch-warning-default) !important; + color: var(--oc-color-text-inverse) !important; +} + .oc-background-contain { background-size: contain; } diff --git a/packages/design-system/src/styles/theme/oc-text.scss b/packages/design-system/src/styles/theme/oc-text.scss index 909eca13963..f5b926de66d 100644 --- a/packages/design-system/src/styles/theme/oc-text.scss +++ b/packages/design-system/src/styles/theme/oc-text.scss @@ -192,6 +192,13 @@ td.oc-text-break { color: var(--oc-color-text-muted); } +/* + * Give text the brand contrast color. + */ +.oc-text-brand-contrast { + color: var(--oc-color-swatch-brand-contrast) ; +} + /* * Transform text to all uppercase */ diff --git a/packages/web-app-files/src/components/AppBar/Upload/ResourceUpload.vue b/packages/web-app-files/src/components/AppBar/Upload/ResourceUpload.vue index 7b75fbbb63f..574dfbc0d09 100644 --- a/packages/web-app-files/src/components/AppBar/Upload/ResourceUpload.vue +++ b/packages/web-app-files/src/components/AppBar/Upload/ResourceUpload.vue @@ -4,16 +4,20 @@ isRemoteUploadInProgress ? $gettext('Please wait until all imports have finished') : null " > - - - {{ buttonLabel }} - + +
+ + + {{ buttonLabel }} + +
+
- -
-
-

{{ pageTitle }}

-
-
-
-

- - -
-

- -

-

-

-
-

-

-

+
+ +
+

{{ pageTitle }}

+ +
+
+
+
+ +
+

-
-

+ +

+ {{ $gettext("Drop files here to upload or use the 'Upload' button.") }} +

+
+ + + +
+
+ + + + + + +
+

+ +

+

+

+
+ +
+

+

+

+
+ +
+ +

+

+ + {{ $gettext('Learn more about ownCloud') }} + +

+

+
@@ -47,17 +85,6 @@ + + diff --git a/packages/web-runtime/src/components/UploadInfo.vue b/packages/web-runtime/src/components/UploadInfo.vue index 4e7cff88108..d6d99aac5bf 100644 --- a/packages/web-runtime/src/components/UploadInfo.vue +++ b/packages/web-runtime/src/components/UploadInfo.vue @@ -1,6 +1,11 @@