Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix background color of external devices with errors on dark color theme #37807

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Apr 18, 2023

Summary

Currently if a external device has errors the background color of the files entry is hard coded, which will be unreadable on dark color mode.
To fix this I just overlay the background with semi transparent red color.

Screenshots

before after
image image

Checklist

@susnux susnux added bug design Design, UI, UX, etc. 3. to review Waiting for reviews feature: external storage labels Apr 18, 2023
@susnux susnux requested a review from szaimen April 18, 2023 21:43
@susnux
Copy link
Contributor Author

susnux commented Apr 18, 2023

/backport to stable25
/backport to stable26

@susnux susnux requested review from a team, skjnldsv and Pytal and removed request for a team April 18, 2023 21:45
@@ -1,3 +1,4 @@
.files-filestable tbody tr.externalErroredRow {
background-color: #F2DEDE;
/* TODO: As soon as firefox supports it: color-mix(in srgb, var(--color-error) 15%, var(--color-main-background)) */
background-color: #f002;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would that look in light mode?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bright color theme:

before after
image image

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine from the screenshots

@szaimen szaimen added this to the Nextcloud 27 milestone Apr 18, 2023
… should respect color theme

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@szaimen
Copy link
Contributor

szaimen commented Apr 20, 2023

/backport to stable26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug design Design, UI, UX, etc. feature: external storage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: The CSS class 'externalErroredRow' has a wrong background-color in the dark theme
4 participants