go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.25k stars 5.5k forks source link

Move dropzone CSS to first-party and fix background color issue #32483

Open silverwind opened 1 week ago

silverwind commented 1 week ago

Instead of loading and overriding part of the third-party CSS, move it to our own file. I kept some of the !important rules because they don't match the existing selectors.

Before:

Screenshot 2024-11-12 at 19 57 05

After:

Screenshot 2024-11-12 at 19 56 03 Screenshot 2024-11-12 at 19 58 17
silverwind commented 1 day ago

I will do one more pass on this to verify that text over both black and white images looks okay on both themes.