Fix the ugly and bloated theme for the new Nextcloud release.
I didn't like the new all-round and animated UI of Nextcloud introduced in Nextcloud 25, so I hacked together something to make it a little more bearable. It's no more of a hack, than most other parts of Nextcloud, so I guess it's okay.
The followings require the installation of the following two addons:
- https://apps.nextcloud.com/apps/jsloader (unsupported by Nextcloud 25, but seems working)
- https://apps.nextcloud.com/apps/theming_customcss
The addons allow you to install the attached scripts. Copy the scripts into the textbox of the corresponding addon:
script.js -> JSLoader
style.css -> Custom CSS
There are many colors that were customizable before, but are no longer in Nextcloud 25. I did not go through all of them (angry coding ftw) so some of them left out. Probably the most eye-catching are the color of the folder icon and the favicon... I might fix them later with some custom js...
The sidebar also seems broken when viewing media. Seems like some conflict with the header... might fix later.
Despite the description, this fix does not remove all animations. Only the ones I felt unnecessary and stupid. Spinning loading icons persist, for example, but on the other hand, menu roll down animations are disabled.
This fix, however, completely breaks the "wallpaper" "feature" in Nextcloud (which is probably the whole reason for this stupid redesign). Too bad, set a wallpaper on your desktop. The globally set background on the login page persists, though.
Thanks for the tip @z8k! Included it in the stylesheet.